/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/*
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/* Fonts  */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Frank+Ruhl+Libre:wght@300..900&display=swap");
/*@import url("/wp-content/themes/bootscore-child/assets/fonts/MargaliotMFW-Bold.woff2");*/

@font-face {
  font-family: "Margaliot";
  src: url("assets/fonts/Margaliot-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Margaliot";
  src: url("assets/fonts/Margaliot-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Margaliot";
  src: url("assets/fonts/Margaliot-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Margaliot";
  src: url("assets/fonts/Margaliot-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Margaliot";
  src: url("assets/fonts/Margaliot-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

:root {
  --color-primary-bg: #1c1f2e;
  --color-secondary-bg: #fff;
  --color-third-bg: #85e9e1;
  --color-fourth-bg: #f7f7f7;
  --color-fifth-bg: #ffee34;
  --color-primary-text: #1c1f2e;
  --color-secondary-text: #fff;
  --color-gold-text: #D49149;
  --color-gray-text: #848796;
  --color-notif-success: #3c763d;
  --background-notif-success: #dff0d8;
  --border-notif-success: #cae6be;
  --color-notif-warning: #8a6d3b;
  --background-home: #F6F4F1;
  --background-notif-warning: #fcf8e3;
  --border-notif-warning: #f9f0c3;
  --main-background-color: #F6F4F1;
  --color-filter-first: #f1f1f1;
  --color-light: #ffffff;
  --color-border: #cecece;

  --font-family-primary: "Montserrat", sans-serif;
  --font-family-secondary: "Playfair Display", sans-serif;
  --font-family-third: "Assistant", sans-serif;
  --font-family-custom-first: "Margaliot", sans-serif;

  --border-color-primary: #1c1f2e;
  --button-border-radius: 50px;
  --button-padding: 0.4em 2em;
  --text-shadow-default: 0px 0px 10px rgba(0, 0, 0, 0.3);
  --background-gradient-overlay: linear-gradient(180deg,
      #1c1f2e00 0%,
      #1c1f2e 92%);

  --font-weight-thin: 100;
  --font-weight-extra-light: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;
  --font-weight-black: 900;

  --font-size-xxs: 0.5em;
  /* +- 8px */
  --font-size-xs: 0.6em;
  /* +- 9.6px */
  --font-size-s: 0.7em;
  /* +- 12px */
  --font-size-sm: 0.8em;
  /* +- 12.8px */
  --font-size-md-sm: 0.9em;
  /* +- 14px */
  --font-size-base: 1em;
  /* +- 16px */
  --font-size-md: 1.1em;
   /* +- 18px */
  --font-size-md-lg: 1.15em;
  /* +- 19px */
  --font-size-lg: 1.2em;
  /* +- 20px */
  --font-size-xl-sm: 1.4em;
  /* +- 22.4px */
  --font-size-xl: 1.5em;
  /* +- 24px */
  --font-size-xl-lg: 1.6em;
  /* +- 25.6px */
  --font-size-xxl: 1.75em;
  /* +- 28px */
  --font-size-2xl: 1.9em;
  /* +- 30.4px */
  --font-size-3xl: 2em;
    /* +- 32px */
  --font-size-2-5xl: 2.3em;
  /* +- 32px */
  --font-size-4xl: 2.3em;
  
  /* +- 36px */
  --font-size-5xl: 2.5em;
  /* +- 40px */
  --font-size-5-5xl: 2.75em;
  /* +- 44px */
  --font-size-6xl: 3em;
  /* +- 48px */
  --font-size-7xl: 3.5em;
  /* +- 56px */
  --font-size-8xl: 4em;
  /* +- 64px */
  --font-size-9xl: 4.5em;
  /* +- 72px */

}


.highlighterd_yellow {
  background: var(--color-fifth-bg);
  padding: 0 0.1em;
}

html[lang="ar"]:root,
html[lang="he-IL"]:root {
  --font-size-xxs: 0.6em;
  /* ~9.6px */
  --font-size-xs: 0.7em;
  /* ~11.2px */
  --font-size-s: 0.85em;
  /* ~13.6px */
  --font-size-sm: 0.95em;
  /* ~15.2px */

  --font-size-base-rtl: 1em;
  /* ~19.2px */
  --font-size-md-sm: 1.1em;
  /* ~17.6px */
  --font-size-base: 1.2em;
  /* ~19.2px */
  --font-size-md-lg: 1.25em;
  /* +- 19px */
  --font-size-md: 1.35em;
  /* ~21.6px */
  --font-size-lg: 1.5em;
  /* ~24px */
  --font-size-xl-sm: 1.7em;
  /* ~27.2px */
  --font-size-xl: 1.9em;
  /* ~30.4px */
  --font-size-xl-lg: 2.1em;
  /* ~33.6px */
  --font-size-xxl: 2em;
  /* ~38.4px */
  --font-size-2-5xl: 2.5em;
    /* ~38.4px */
  --font-size-2xl: 2.6em;
  /* ~41.6px */
  --font-size-3xl: 2.9em;
  /* ~46.4px */
  --font-size-4xl: 3.2em;
  /* ~51.2px */
  --font-size-5xl: 3.5em;
  /* ~56px */
  --font-size-5-5xl: 3.75em;
  /* +- 60px */
  --font-size-6xl: 4em;
  /* ~64px */
  --font-size-7xl: 4.5em;
  /* ~72px */
  --font-size-8xl: 5.2em;
  /* ~83.2px */
  --font-size-9xl: 5.8em;
  /* ~92.8px */


}



html[lang="he-IL"] {
  --font-family-primary: "Assistant", sans-serif;
  --font-family-secondary: "Margaliot", sans-serif;
}

html[lang="ar"] {
  --font-family-primary: "Assistant", Sans-serif;
  --font-family-secondary: "Assistant", Sans-serif;
}

.font-montserrat {
  font-family: var(--font-family-primary);
}

.font-playfair {
  font-family: "Playfair Display", Sans-serif;
}

.no-body-scroll {
  overflow: hidden;

  .search-button .mobile-only,
  .header-title .mobile-only {
    display: none;
  }
}

h1:not([class]),
h2:not([class]),
h3:not([class]),
h4:not([class]),
h5:not([class]),
p:not([class]) {
  padding: 0;
  margin: 0;
}

.reset-filter-button {
  cursor: pointer;
}

.ssp-site-content {
  background: var(--main-background-color);
}
.max-2560 {
  max-width: 2560px;
  margin: 0 auto;
}

.max-2828 {
  max-width: 2828px;
  margin: 0 auto;
}

.pt-3rem {
  padding-top: 3rem;
}

.pt-4rem {
  padding-top: 4rem;
}
/*** country tags bg color ***/

.editors_choice_country, .story_country_tag {
    background-color: #897E01; /* default */
}

.country_tag_bg_1 {
  background-color: #554BDE;
}
.country_tag_bg_2 {
  background-color: #22A2FD;
}
.country_tag_bg_3 {
  background-color: #8B4BDE;
}
.country_tag_bg_4 {
  background-color: #DC4BDE;
}
.country_tag_bg_5 {
  background-color: #897E01;
}
.country_tag_bg_6 {
  background-color: #C71316;
}
.country_tag_bg_7 {
  background-color: #0BA8BA;
}
.country_tag_bg_8 {
  background-color: #0B7DBA;
}
.country_tag_bg_9 {
  background-color: #0E9568;
}

/* Animation : */

.raise-animation {
  transition: transform 0.5s ease;

  &:hover {
    transform: translateY(-0.5em);
  }
}

@keyframes icon-rotate {
  0% {
    transform: rotate(-25deg);
  }

  100% {
    transform: rotate(25deg);
  }
}

.animate-icon-rotate {
  animation: icon-rotate 1s linear alternate-reverse infinite;
  transform-origin: center;
}

/* Arrow Pulse */
@keyframes arrow-pulse {
  0% {
    transform: scale(0.93);
  }

  100% {
    transform: scale(1.07);
  }
}

.arrow-pulse {
  animation: arrow-pulse 1s ease-in-out 1s infinite alternate none running;
}

/* Button Pulse */

@keyframes button-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

.button-pulse {
  animation: button-pulse 2s infinite;
}

/* Headphones Pulse */

@keyframes headphones {
  0% {
    transform: scale(0.93);
  }

  100% {
    transform: scale(1.07);
  }
}

.headphones-pulse {
  animation: headphones 1s infinite ease-in-out alternate;
}

/* Animate Arrow Bounce */

@keyframes bounce-arrow {
  0% {
    transform: translateY(0);
    /* Initial position */
  }

  70% {
    transform: translateY(8px);
    /* Smooth downward motion */
    animation-timing-function: ease-in;
    /* Slow down as it moves down */
  }

  100% {
    transform: translateY(0);
    /* Fast upward motion */
    animation-timing-function: ease-out;
    /* Speed up as it moves up */
  }
}

.animate-arrow-bounce {
  animation: bounce-arrow 1.5s infinite;
}

/* Animate Button Pulse */

@keyframes button-dance {

  5%,
  50% {
    transform: scale(1);
  }

  10% {
    transform: scale(0.9);
  }

  15% {
    transform: scale(1.15);
  }

  20% {
    transform: scale(1.15) rotate(-5deg);
  }

  25% {
    transform: scale(1.15) rotate(5deg);
  }

  30% {
    transform: scale(1.15) rotate(-3deg);
  }

  35% {
    transform: scale(1.15) rotate(2deg);
  }

  40% {
    transform: scale(1.15) rotate(0);
  }
}

@keyframes button-hover-pulse {
  50% {
    transform: scale(1.1);
  }
}

.animate-button-pulse {
  animation: button-dance 4s infinite;
  /* Анимация по умолчанию */
  transition: transform 0.3s ease;
  /* Плавный переход при наведении */

  &:hover {
    animation: button-hover-pulse 0.5s infinite;
    /* Анимация пульсации */
  }
}

/* Animate Button Rotate */

@keyframes button-rotate-hover {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  25% {
    transform: rotate(3deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-3deg) translate3d(0, 0, 0);
  }

  75% {
    transform: rotate(1deg) translate3d(0, 0, 0);
  }

  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

@keyframes button-hover-text {
  0% {
    transform: translate3d(0, 0, 0) translateZ(0);
  }

  25% {
    transform: translate3d(4px, 0, 0) translateZ(0);
  }

  50% {
    transform: translate3d(-3px, 0, 0) translateZ(0);
  }

  75% {
    transform: translate3d(2px, 0, 0) translateZ(0);
  }

  100% {
    transform: translate3d(0, 0, 0) translateZ(0);
  }
}

.animate-button-rotate:hover {
  animation: button-rotate-hover 0.7s ease-in-out both;

  p {
    animation: button-hover-text 0.7s ease-in-out both;
  }
}

/* *----------------------* */

/* Default Classes */
.opacity-0 {
  opacity: 0;
  pointer-events: none;
}

.ssp-page-background {
  background-color: var(--main-background-color);
}

.link-tile-wrap {
  cursor: pointer;

  & .proposed-story-title,
  .slide-backout-image,
  .slide-title,
  .author-card__link,
  .author-card__image,
  .author-card__name,
  .audio-card__image {
    cursor: pointer;
  }
}

.hover-highlight {
  cursor: pointer;
  transition: 0.8s;

  &:hover {
    color: #1c1f2e;
    fill: #1c1f2e;
    background-color: #85e9e1;
  }
}

.link-genre {
  font-family: var(--font-family-primary);
  color: var(--color-primary-bg);
  text-decoration: none;
  font-size: var(--font-size-base);
}

.reset-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;

  .reset-filter-button {
    background: transparent;
    text-transform: uppercase;
    border-width: 0px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    letter-spacing: 1px;
  }
}

.audio-icon,
.ssp-icon {
  height: 24px;
  width: 24px;
}

.white-button,
.yellow-button {
  text-decoration: none;
  border-radius: var(--button-border-radius);
  background-color: var(--color-fifth-bg);
  text-transform: uppercase;
  color: #1c1f2e;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border: solid #02010100;
  letter-spacing: 1px;
}

.white-button {
  background-color: var(--color-secondary-bg);
}

.nav-link,
.link {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

.offcanvas-header {
  display: none;
}

.ssp-pagination-wrap {
  margin-bottom: 2rem;
}

.ssp-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;

  .page-numbers {
    &:not(.dots) {
      border-radius: 50px;
      border: none;
      background-color: #ffee34;
      padding: 6px 14px;
      color: var(--color-primary-text);
      text-decoration: none;
      font-family: var(--font-family-primary);
      font-size: var(--font-size-md-sm);
      font-weight: var(--font-weight-semibold);

      &:hover {
        background-color: #85e9e1;
      }
    }
  }

  .page-numbers:not(.dots).current {
    cursor: pointer;
    background-color: #85e9e1;
  }

  .dots {
    align-content: center;
  }
}

.add_archive_story {
  position: absolute;
  left: 2rem;
  top: 2rem;
  z-index: 2;
}

.short_text_content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  height: auto;
  box-sizing: border-box;
  z-index: 1;
  font-size: var(--font-size-lg);
  text-align: start;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

html[lang="ar"],
html[lang="he-IL"] {
  .add_archive_story {
    right: 2rem;
    left: unset;
    top: 2.5rem;
  }

  .short_text_content {
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
  }
}

@media (min-width: 768px) {
  .hover_story_info {
    &:hover {

      .short_text_content {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
    }
  }
}

@media (max-width: 1024px) {
  .add_archive_story {
    top: 1rem;
    left: 1rem;
  }

  html[lang="ar"],
  html[lang="he-IL"] {
    .add_archive_story {
      right: 1rem;
      top: 1rem;
    }
  }
}

@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }

  .mobile_story_info {
    .add_archive_story {
      display: block;
    }

    .short_text_content {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
  }
}

/* *------------------* */

/* Common Blocks : */
#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#content {
flex-grow: 1
}
/* SSP Slide */

html[lang="he-IL"] {
  .slide-country-label {
    right: 0;
    left: unset;
  }
}

.ssp-slide {
  box-sizing: border-box;
  display: flex;
  min-height: 320px;
  background-color: var(--color-fourth-bg);
  transition: 0.4s;

  &:hover {
    box-shadow: 0px 25px 50px -4px rgba(47.99999999999999, 61.00000000000001, 81.99999999999999, 0.26);
  }
}

.slide-image {
  display: flex;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 50%;
  position: relative;
}

.slide-backout-image {
  background-image: linear-gradient(180deg,
      #f7f7f700 15%,
      var(--color-primary-bg) 92%);
  opacity: 0.89;
  width: 100%;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--color-primary-bg);
  padding: 10px;
}

.slide-country-label {
  background-color: var(--color-secondary-bg);
  opacity: 0.8;
  position: absolute;
  top: 20px;
  left: 0;
  padding: 4px 8px;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
}

.read-time-swiper {
  width: 30%;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md-sm);
  font-weight: var(--font-weight-medium);
  display: flex;
  color: var(--color-secondary-text);
  gap: 8px;
  align-items: center;

  .ssp-icon {
    height: 23px;
  }
}

.slide-content {
  box-sizing: border-box;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4em 1em;
  background-color: var(--color-secondary-bg);
}

.slide-author {
  display: block;
  color: var(--color-primary-text);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 1px;
  text-decoration: none;
}

.slide-title {
  display: block;
  font-family: var(--font-family-secondary);
  color: var(--color-primary-text);
  font-size: var(--font-size-xl-sm);
  font-weight: var(--font-weight-extra-bold);
  letter-spacing: 0.3px;
  text-decoration: none;
  word-break: break-word;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

.slide-tags {
  display: block;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md-sm);
}

.slide-button {
  display: flex;
  margin-top: 16px;
  font-size: var(--font-size-sm);
  padding: 4px;
  justify-content: center;
  width: 50%;
  padding: 0.1em;
}

@media (max-width: 768px) {
  .ssp-slide {
    flex-direction: column;
  }

  .slide-image {
    width: 100%;
    min-height: 36vh;
  }

  .slide-content {
    width: auto;
  }

  .slide-button {
    display: none;
  }
}

/* Story Swiper */

.ssp_story_swiper {
  width: 100%;

  .story_swiper_wrapper {
    display: flex;
    align-items: center;
    min-height: 500px;

    .ssp-story_slide {
      display: flex;
      transition: all 0.3s;
      padding: 1rem;
      justify-content: space-between;

      &:hover {
        opacity: 1;

        .story_item_name {
          display: block;
        }
      }

      .story_item_name {
        max-height: 195px;
        font-size: var(--font-size-xl);
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .story_item_writer_link {
        color: var(--color-secondary-text);
        text-decoration: none;

        &:hover {
          text-decoration: underline;
        }
      }

      .story_item_time {
        font-size: var(--font-size-base);
      }
    }
  }
}


.ssp_story_swiper_new {
  width: 100%;
  font-family: var(--font-family-primary);
  transition: all 0.3s;

  .story_item_info_wrap {
    position: relative;
    bottom: 0;
    transition: all 0.3s;

    p{
      padding-bottom: 2px;
    }
  }

  .story_swiper_wrapper {
    display: flex;
    align-items: center;
    /* min-height: 360px; */
    min-height: 304px;

    .ssp-story_slide {
      display: flex;
      /*transition: all 0.3s;*/
      padding: 0.8rem 0;

      &:hover {
        opacity: 1;

        .story_item_name {
          /*display: block;*/
        }
      }

      .story_item_name {
        max-height: 48px;
        font-size: var(--font-size-lg);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-family: var(--font-family-primary);
      }

      .story_item_writer_link {
        color: var(--color-gold-text);
        text-decoration: none;
        font-size: var(--font-size-sm);
        letter-spacing: 0.15em;

        &:hover {
          text-decoration: underline;
        }
      }

      .story_item_countries {
        font-size: var(--font-size-base);
        font-family: var(--font-family-primary);
      }

      .story_item_time {
        font-size: var(--font-size-base);
      }
    }
  }

  .story_item_image_wrap{
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 145px;
    max-height: 145px;
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
  }

  .story_item_image{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
  }

  .story_item_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  .story_item_listen {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 8%;
    right: 8%;
  }  
  .story_item_listen img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;

  }
}
.ssp-story_item_new:hover .story_item_image > img{
    transform: scale(1.2);
    z-index: 10;
    opacity: 1;
}

.ssp-story_item_new:hover .story_item_listen > img{
    transform: scale(0.9);
    z-index: 10;
    opacity: 1;
}

.ssp-story_item_new:hover .story_item_info_wrap{
  bottom: 0.6em;
}

@media (min-width: 768px) {
  .ssp_story_swiper .story_swiper_wrapper .ssp-story_slide:hover {
    transform: scale(1.2);
    z-index: 10;
    opacity: 1;
  }

  .ssp_story_swiper_new .story_swiper_wrapper .ssp-story_slide:hover {

  }
}

@media (max-width: 768px) {
  .ssp_story_swiper {

    .story_swiper_wrapper {
      min-height: 400px;
    }
  }

  /* .ssp_story_swiper_new {

    .story_swiper_wrapper {
      min-height: 316px;
    }
  } */
}

/* Playlist and Subscription Blocks */

/* Playlist Swiper */
.ssp_playlist_swiper {
  width: 100%;

  .playlist_swiper_wrapper {
    display: flex;
    align-items: center;
    min-height: 380px;
  }
}

.ssp_playlist_swiper .ssp-playlist_slide {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 200px;
  aspect-ratio: 1 / 0.6;
  transition: all 0.5s ease;
  align-items: end;
  padding: 1em;
  box-sizing: border-box;
  gap: 8px;
  text-decoration: none;
}

.ssp_playlist_swiper_new {
  position: relative;
  width: 100%;
}

.ssp_playlist_swiper_new .ssp-playlist_slide.ssp-playlist_slide_new {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  align-items: end;
  padding: 0em;
  box-sizing: border-box;

  text-decoration: none;
  /*transition: all 0.5s ease;*/
}
.ssp-playlist_slide_new .playlist-slide-image-wrap {
  height: 162px;
  width: 162px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 767px) {
.ssp-playlist_slide_new .playlist-slide-image-wrap {
  height: 200px;
  width: 200px;
}
}

.ssp-playlist_slide_new .playlist-slide-image {
  object-fit: cover;
  width: 80%;
  height: 80%;
  border-radius: 20px;
  position: absolute;
  bottom: 0;
  transition: all 0.3s ease-in-out;
}
img.playlist-slide-image.image-layer-1 {
  left: 10%;
  z-index: 8;
}
img.playlist-slide-image.image-layer-2 {
  bottom: 11%;
  left: 22%;
  z-index: 5;
  left: 10%;
  transform: scale(0.9);
}
img.playlist-slide-image.image-layer-3 {
  bottom: 20%;
  left: 4%;
  z-index: 3;
  left: 10%;
  transform: scale(0.8);
}
/*
.ssp-playlist_slide_new:hover img.playlist-slide-image.image-layer-2{
  left: 10%;
  transform: scale(0.9);
}
.ssp-playlist_slide_new:hover img.playlist-slide-image.image-layer-3{
  left: 10%;
  transform: scale(0.8);
}
*/
.ssp-playlist_slide_new .slide-playlist-audio-icon-wrap img{
  transition: all 0.3s ease-in-out;
}
.ssp-playlist_slide_new:hover .slide-playlist-audio-icon-wrap img{
  transform: scale(1.2);
}

img.default-cover-2 {
  filter: brightness(116%) contrast(81%) saturate(97%) blur(0px) hue-rotate(221deg);
}
img.default-cover-3 {
  filter: brightness(61%) contrast(100%) saturate(90%) blur(0px) hue-rotate(89deg);
}


.ssp-playlist_slide_new  .playlist-slide-info {
  width: 100%;
}

.slide-playlist-name-wrap {
  height: calc(1.4rem * 2);
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
}

.ssp-playlist_slide_new  .playlist-slide-info .slide-playlist-name, .audio-card-wrapper  .playlist-slide-info .slide-playlist-name {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  color: var(--color-primary-text);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4rem;
  max-height: calc(1.4rem * 2);
  text-decoration: underline transparent;
  transition: all 0.3s ease-in-out;
}
.ssp-playlist_slide_new:hover .playlist-slide-info .slide-playlist-name {
      text-decoration: underline var(--color-primary-text);
}

.ssp-playlist_slide_new .playlist-slide-info .slide-playlist-tags {
  color: var(--color-gold-text);
  text-align: center;
}

.playlist_swiper_wrapper_new.playlist_swiper_wrapper {
  align-items: initial; 
  min-height: initial;
}

.slide-playlist-audio-icon-wrap {
  position: absolute;
  z-index: 10;
  top: 28%;
  right: 18%;
}
.slide-playlist-play-icon-wrap {
  position: absolute;
  bottom: 5%;
  left: 20%;
  z-index: 8;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.ssp-playlist_slide_new:hover .slide-playlist-play-icon-wrap {
  opacity: 1;
}
.see-all-playlists-link, .story_swiper_blue_button {
  text-decoration: none;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-light);
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.5rem 2rem;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
}
.see-all-playlists-link:hover, .story_swiper_blue_button:hover {
    padding: 0.6rem 2.4rem;
}
.story_swiper_blue_button{
    margin-top: 2rem;
    display: inline-block;
}

@media screen and (max-width: 768px) {
  .ssp-playlist_slide_new img.playlist-slide-image.image-layer-2{
    left: 10%;
    transform: scale(0.9);
  }
  .ssp-playlist_slide_new img.playlist-slide-image.image-layer-3{
    left: 10%;
    transform: scale(0.8);
  }
}

html[dir="rtl"]{

  .slide-playlist-audio-icon-wrap {
    right: initial;
    left: 18%
  }
  .slide-playlist-play-icon-wrap {
    left: initial;
    right: 20%;
  }
  .ssp_story_swiper_new {
    & .story_swiper_wrapper {
        & .ssp-story_slide {
          .story_item_name {
            max-height: 64px;
          }
        }
    }
  }
}

/*
.ssp-playlist_slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      #f7f7f700 15%,
      var(--color-primary-bg) 92%);
}*/

.playlist-slide-info {
  display: flex;
  flex-direction: column;
  justify-content: end;
  flex-grow: 1;
  z-index: 1;

  .slide-playlist-name {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-base);
    text-transform: capitalize;
    color: var(--color-secondary-text);
    word-break: break-word;
    margin: 0;
  }

  .slide-playlist-tags {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    word-break: break-all;
    color: var(--color-secondary-text);
    margin: 0.5em 0;
  }
}

.play-audio-icon {
  display: flex;
  align-items: end;
  padding: 0.5em;
  background-color: var(--color-secondary-bg);
  border-radius: 50px;
  z-index: 1;

  .ssp-icon {
    width: 16px;
    height: 16px;
  }
}

img.story-slide-image {
  width: 100%;
  object-fit: cover;
}

.story_swiper_bottom_container {
    overflow: hidden;
}

.story_swiper_bottom_slide_wrap {
    /*max-width: 292px;*/
    display: flex;
    flex-direction: column;
    clip-path: inset(0 round 15px);
    transform: translateZ(0);
    background: var(--color-light);
    overflow: hidden;
    transition: transform 0.15s ease;
}

/*
.story_swiper_bottom .swiper-wrapper {
    margin-left: -130px;
}
*/
.story-slide-image-wrap {
    /*width: 292px;*/
    height: 204px;
    display: flex;
    position: relative;
}

.story_swiper_bottom_slider_nav{
  display: flex;
  gap: 1rem;
  margin: 3rem 0;
  justify-content: center;
  align-items: center;
}
.swiper-new-button-prev, .swiper-new-button-next{
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.swiper-new-button-prev:hover, .swiper-new-button-next:hover{
  filter: invert(64%) sepia(48%) saturate(561%) hue-rotate(348deg) brightness(89%) contrast(86%);
}

html[dir="rtl"] {

  .swiper-new-button-prev, .swiper-new-button-next {
    transform: rotate(180deg);
  }
}

.quote-story-slide:not(:last-child) {
  border-right: 1px solid var(--border-color-primary);
}


@media screen and (max-width: 768px) {
  .story_swiper_bottom_container {
    padding-bottom: 4rem;
  }
}
@media screen and (max-width: 539px) {
  .story_swiper_bottom_slide_wrap {
    justify-self: center;
  }
  .story_swiper_bottom .swiper-wrapper {
    margin: 0;
  }
  .story_swiper_bottom_slide_wrap {
    max-width: 100%;
    width: 100%;
  }
  .story-slide-image-wrap {
    width: 100%; 
  }
}


.new-slide-info-info {
  display: flex;
  flex-direction: column;
  justify-content: end;
  flex-grow: 1;
  z-index: 1;
}

.new-slide-main-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  color: var(--color-primary-text);
  font-weight: var(--font-weight-bold);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4rem;
  max-height: calc(1.4rem * 2);
  text-decoration: underline transparent;
  transition: all 0.3s ease-in-out;
}

.new-slide-yellow-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  /* word-break: break-all; */
  color: var(--color-gold-text);
  margin: 0.5em 0;
  text-decoration: none;
  text-decoration: underline transparent;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

a.new-slide-yellow-title:hover {
  text-decoration: underline var(--color-gold-text);
}

/*.new-slide-info {
    display: flex;
    flex-direction: column;
    justify-content: end;
    flex-grow: 1;
    z-index: 1;
    padding: 0rem 2rem 1rem 2rem;
}*/
.new-slide-info {
    display: flex;
    flex-direction: column;
    height: 158px;
	max-height:159px;
    flex-grow: 1;
    z-index: 1;
    padding: 1rem 2rem 1rem 2rem;
}
/*.new-slide-name-wrap {
    position: relative;
    top: 0;
    height: calc(1.4em * 2);
    margin-top: 0.8rem;
    transition: all 0.5s ease-in-out;
}*/

.new-slide-name-wrap {
    position: relative;
    top: 0;
    margin-top: 0.8rem;
    transition: all 0.5s ease-in-out;
}

.slider_story_time {
  display: flex;
  gap: 8px;
  z-index: 1;
  align-items: center;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md-sm);
  font-weight: var(--font-weight-medium);
}
.slider_story_time .ssp-icon {
    width: 16px;
    height: 16px;
}
/*.new-slide-info .slider_story_time{
  margin-top: 2rem;
  transition: all 0.5s ease-in-out;
}*/

.new-slide-info .slider_story_time{
  display: flex;
  flex-grow: 1;
  align-items:end;
  transition: all 0.5s ease-in-out;
}

.swiper_slider_nav_wrap{
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
    align-items: center;
}

.story_slide_icons_wrap {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 11;
    gap: 0.5rem;
}
.story_slide_icons_wrap .audio-icon-new {
  width: 24px;
  height: 24px;
  background: url(/wp-content/themes/bootscore-child/icons/headphones-icon-yellow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s ease-in-out;
}
.story_slide_icons_wrap .ssp-icon-new{
  width: 22px;
  height: 22px;
}

.story_slide_descr_wrap{
  background: #E9E5E0;
  width: 100%;
  position: absolute;
  top: -100%;
  transition: all 0.5s ease-in-out;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  height: 67%;
  z-index: 10;
}
.story_slide_descr_wrap_inner {
  padding: 2rem 1rem;
  height: calc(1.4rem * 4);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.story_slide_descr_wrap_text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: calc(1.4em * 4);
}
.story_swiper_bottom_slide_writer_link {
  position: relative;
  top: 0;
  transition: all 0.5s ease-in-out;
}
.opacity-0 {
  opacity: 0;
}
@media (max-width: 768px) {
  .story_swiper_bottom_slide_wrap:active, .fresh_arivals_story_item:active, .editors_choice_story_item:active, .story_swiper_bottom_slide_wrap:hover, .fresh_arivals_story_item:hover, .editors_choice_story_item:hover  {
    transform: scale(0.95);
  }
  .hovered{
    .story_swiper_bottom_slide_wrap, .fresh_arivals_story_item, .editors_choice_story_item  {
      transform: scale(0.95);
    }
  }
  /* .editors_choice_descr_wrap, .fresh_arivals_descr_wrap{
    display: none;
  } */
}
@media (min-width: 769px) {
  .story_swiper_bottom_slide_wrap:hover .story_slide_descr_wrap, .hovered .story_swiper_bottom_slide_wrap .story_slide_descr_wrap {
    top: 0;
  }
  .story_swiper_bottom_slide_wrap:hover .new-slide-info .slider_story_time, .hovered .story_swiper_bottom_slide_wrap .new-slide-info .slider_story_time {
    opacity: 0;
  }
  .story_swiper_bottom_slide_wrap:hover .new-slide-info .new-slide-name-wrap, .hovered .story_swiper_bottom_slide_wrap .new-slide-info .new-slide-name-wrap {
    top: 3rem;
  }
  .story_swiper_bottom_slide_wrap:hover .new-slide-info .story_swiper_bottom_slide_writer_link, .hovered .story_swiper_bottom_slide_wrap .new-slide-info .story_swiper_bottom_slide_writer_link {
    top: 3.5rem;
  }
  .story_swiper_bottom_slide_wrap:hover .story_slide_icons_wrap .audio-icon-new, .hovered .story_swiper_bottom_slide_wrap .story_slide_icons_wrap .audio-icon-new {
    opacity: 1;
  }
  .story_swiper_bottom_slide_wrap:hover .new-slide-main-title, .hovered .story_swiper_bottom_slide_wrap .new-slide-main-title {
    text-decoration: underline var(--color-primary-text);
  }
}


/*
@media (min-width: 768px) {
  .ssp_playlist_swiper .ssp-playlist_slide {
    &:hover {
      transform: scale(1.5);
      z-index: 10;
    }
  }
}*/

@media (max-width: 768px) {
  .ssp_playlist_swiper {
    .playlist_swiper_wrapper {
      min-height: 400px;
    }
  }
}

/* **************** */
.subscription-section,
.playlist-section {
  background-repeat: no-repeat;
  background-size: 28% auto;
  transition: background-position 0.1s ease-out;
  background-color: var(--color-third-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 2em;
  min-height: 256px;
}

.subscription-title,
.playlist-title {
  display: flex;
  color: var(--color-primary-bg);
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-2-5xl);
  /* font-weight: var(--font-weight-bold); */
  text-transform: capitalize;

  p {
    display: flex;
    column-gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  strong {
    font-weight: var(--font-weight-bold);
  }
}

.subscription-description {
  text-align: center;
  color: var(--color-primary-bg);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md-sm);

  p {
    padding: 1em 0;
  }
}

.subscription-button {
  padding: 0.7em 2em;
  cursor: pointer;
  letter-spacing: 0.15em;
  font-size: var(--font-size-sm);
}

.subscription-section {
  background-color: #ffee34;
  background-position: bottom right;
}

@media (max-width: 768px) {
  .subscription-description {
    font-size: var(--font-size-sm);
  }

  .ssp_playlist_swiper .ssp-playlist_slide {

    &.swiper-slide-active {
      transform: scale(1);
    }
  }
}


/* Intro Block */

html[lang="he-IL"] {
  .banner-intro__button {
    padding: 0.5em 1.5em;

    &.yellow-button {
      font-weight: var(--font-weight-bold);
    }
  }
}

.intro-banner {
  display: flex;
  align-items: center;
  background-color: var(--color-secondary-bg);
  width: 75%;
  padding: 2% 5%;
  gap: 1em;
  box-sizing: border-box;
}

.banner-intro__image {
  width: 42%;
  justify-content: center;

  img {
    max-width: 70%;
    height: auto;
  }
}

.banner-intro__container {
  width: 45%;
}

.banner-intro__title {
  margin: 0;
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-text);
}

.banner-intro__subtext,
.banner-intro__description {
  color: var(--color-primary-text);
  font-family: var(--font-family-primary);
  padding: 1em 0 5.5em;
  margin: 0;
}

.banner-intro__subtext {
  font-size: var(--font-size-md-sm);
}

.banner-intro__subtext {
  padding: 0;
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.intro-banner .banner-intro__button {
  display: inline-block;
  padding: 1em 2em;
  font-size: var(--font-size-sm);
  letter-spacing: 0.15em;
  margin-top: 0.6em;
}

.authors-wrapper {
  padding: 0% 3% 0%;
}

@media (max-width: 1024px) {
  .banner-intro__image {
    width: auto;
  }

  .intro-banner {
    width: auto;
    justify-content: center;
  }

  .banner-intro__container {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .banner-intro__title {
    text-align: center;
    font-size: var(--font-size-6xl);
  }

  .banner-intro__subtext {
    text-align: center;
    font-size: var(--font-size-sm);
  }

  .banner-intro__button {
    font-size: var(--font-size-xs);
  }
}

@media (max-width: 768px) {
  .banner-intro__title {
    font-size: var(--font-size-3xl);
  }
}

/* Explore Block */

html[lang="ar"],
html[lang="he-IL"] {
  .explore-wrapper {
    flex-direction: row-reverse;
  }

  .explore-title {
    text-align: unset;
  }

  @media (max-width: 1024px) {
    .page-authors .explore-wrapper {
      flex-direction: column;
    }

    .explore-title {
      text-align: center;
    }

    .explore-recommendation {
      background-color: var(--color-secondary-bg);
    }
  }
}

.explore-wrapper {
  display: flex;
  margin: 0;
  padding: 0% 1% 4%;
}

.explore-label {
  background-image: url(https://shortstoryproject.com/wp-content/uploads/2021/10/moire_bg1-1.png);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: contain;
  width: 40%;
  background-color: var(--color-secondary-bg);
  display: flex;
  align-items: center;
  padding: 2em;
}

.explore-content {
  display: flex;
  position: relative;
}

.explore-title {
  display: flex;
  flex-wrap: wrap;
  text-align: end;
  justify-content: end;
  font-family: var(--font-family-secondary);
  word-break: break-word;
  font-size: var(--font-size-6xl);
  margin: 0;
  padding: 0 1em;

  strong {
    display: block;
    margin: 5px 0;
    font-weight: var(--font-weight-extra-bold);
    color: var(--color-primary-text);
  }

  em {
    display: block;
    margin: 5px 0;
    font-weight: var(--font-weight-semibold);
    color: #313131;
    width: 100%;
  }
}

.explore-title__decor {
  background-image: url(https://shortstoryproject.com/wp-content/uploads/2021/10/award-2.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 50% auto;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

.explore-recommendation {
  box-sizing: border-box;
  width: 60%;
  background-image: linear-gradient(90deg,
      var(--color-secondary-bg) 80%,
      #f2295b00 66%);
  padding: 2em;
}

@media (max-width: 1024px) {
  .explore-wrapper {
    flex-direction: column;
  }

  .explore-label {
    width: 100%;
    justify-content: center;
    padding: 1em 1em 0.5em;
    box-sizing: border-box;
  }

  .explore-title {
    text-align: center;
  }

  .explore-title__decor {
    background-size: 40% auto;
  }

  .explore-recommendation {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .explore-title {
    font-size: var(--font-size-xl-lg);
  }
}

/* Story Item Block */

.ssp-story_item_new {
  display: flex;
  flex-direction: column;
  /*min-height: 400px;*/
  align-self: stretch;
  height: 100%;
  gap: 6px;
  text-align: center;
  align-items: center;
  width: 100%;
  padding: 40px;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  overflow: hidden;
}

.ssp-story_item {
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /*min-height: 330px;*/
  height: 100%;
  gap: 16px;
  color: var(--color-secondary-text);
  text-align: center;
  align-items: center;
  width: 100%;
  padding: 40px;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  opacity: 1;
  overflow: hidden;
    aspect-ratio: 1 / 0.7;
}

.ssp-story_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f7f7f700 15%, var(--color-primary-bg) 115%);
}

.story_item_countries {
  font-size: var(--font-size-xl);
  font-family: var(--font-family-primary);
}


.story_item_name {
  padding: 0;
  margin: 0;
  font-size: var(--font-size-2xl);
  font-family: var(--font-family-secondary);
  font-weight: 600;
  z-index: 1;
}

.story_item_writer_name {
  margin: 0;
  font-family: var(--font-family-primary);
  z-index: 1;
  text-transform: uppercase;
}

.ssp-story_item:hover {
  opacity: 0.9;
}

.ssp-story_item a:hover {
  text-decoration: underline;
}

.story_item_button {
  z-index: 1;
  padding: 1.5px 0.5em;
}

.story_item_time {
  font-size: var(--font-size-xl-sm);
  font-family: var(--font-family-primary);
  display: flex;
  gap: 16px;
  z-index: 1;
  align-items: center;
}

@media (max-width: 768px) {
  .ssp-story_group {
    flex-direction: column;
  }

  .ssp-story_item {
    padding: 1rem;
  }
}

html[lang="ar"] {
  .story_item_name {
    font-size: var(--font-size-3xl);
  }
}

/* Header  */

header {
  position: sticky;
  top: 0;
  z-index: 998;
}

.header-menu {
  display: flex;
  align-items: center;
  background-color: #1c1f2e;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.27);
}

.header-logo {
  flex-basis: 100%;

  .header-logo-icon {
    background-image: url("https://shortstoryproject.com/wp-content/uploads/2025/06/yellow_logo.png");
    min-width: 51.2px;
    min-height: 51.2px;
    background-size: contain;
    display: flex;
  }
}

.header-title {
  flex-basis: 100%;
  text-align: center;

  .header-title-text {
    font-family: var(--font-family-secondary);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  flex-basis: 100%;
  justify-content: end;
  gap: 10px;
}

.subscribe-action {
  display: flex;
  font-size: var(--font-size-xs);
  padding: 0.3rem 1.8rem;
  white-space: nowrap;
  line-height: 1.5;
}

.profile-menu .nav-link {
  display: flex;
  gap: 5px;
}

.profile-menu .nav-link,
.login-action {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-medium);
  padding: 19px;
  font-family: var(--font-family-primary);
  white-space: nowrap;
}

.lang-switch-action {
  position: relative;
}

.current-lang-link {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-medium);
  padding: 18px 20px;
  font-family: var(--font-family-primary);
  display: flex;
  align-items: center;
}

.rest_lang_wrap {
  display: flex;
  position: absolute;
  flex-direction: column;
  list-style: none;
  display: none;
  background-color: #1c1f2e;
  padding: 0;
  box-shadow: 0px 4px 24px -4px rgba(0, 0, 0, 0.28);
  width: 100%;
  margin: 0;
}

.rest-lang-link {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  display: block;
  padding: 25px;
  display: flex;
  justify-content: center;
}

.arrow-lang {
  color: #fff;
  font-size: var(--font-size-xxs);
  margin-left: 5px;
}

.search-button {
  background-color: inherit;
  border: none;
  padding: 13px 16px;
  min-width: 32px;

  background-color: #ffee34;
  cursor: pointer;
}

.search-button svg {
  min-height: 20px;
}

/*  nav bar  */

.ssp-header .navbar {
  background-color: var(--color-fourth-bg);
}

.profile-menu .navbar-nav,
.navbar .navbar-nav {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 100px;
}

.dropdown-menu {
  display: flex;
  position: absolute;
  flex-direction: column;
  list-style: none;
  display: none;
  background-color: var(--color-fourth-bg);
  padding: 0;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.28);
}

.navbar .nav-link,
.dropdown-item {
  font-family: var(--font-family-primary);
  display: flex;
  padding: 20px 16px;
  text-decoration: none;
  color: var(--color-primary-text);
  text-transform: uppercase;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  gap: 5px;

  &:hover,
  &.active {
    background-color: #85e9e1;
    transition: 0.8s;
    color: #1c1f2e;
  }

  &.dropdown-item {
    padding: 24px;
  }
}

.desktop-navbar .dropdown:hover>.dropdown-menu {
  display: initial;
}

.nav-toggler {
  background-color: #1c1f2e;
  border: none;
  padding: 0;
  height: 100%;
}

.dropdown-toggle::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: var(--font-weight-black);
  font-size: var(--font-size-s);
  display: flex;
  align-items: center;
}

#profile-menu>li,
#bootscore-navbar>li {
  position: unset;
}

/* Mobile Navbar  */

.mobile-navbar-button {
  margin-left: auto;

  svg {
    min-width: 32px;
    min-height: 32px;
  }
}

.mobile-navbar {
  position: absolute;
  width: 100%;
  background-color: #1c1f2e;
  display: none;
  padding: 0.7em 0.7em 0.7em 0.7em;
  box-sizing: border-box;
  overflow-y: auto;

  &.show {
    display: block;
  }

  .navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

.navbar-login-block {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* padding: 64px 0; */
}

.nav-menu {
  border-top: 1px solid #fff;
  padding-top: 10px;
}

.nav-menu-alt {
  padding: 10px 0;
}

.profile-menu_list ul[id="profile-menu"] li ul.show {
  position: unset !important;
  display: initial;
}

.profile-menu_list {

  .navbar .nav-link,
  .dropdown-item {
    color: var(--color-secondary-text);
  }
}

/* Search Bar  */

.search-bar {
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  background-color: #1c1f2ec4;
  bottom: 0;

  &.show {
    display: flex;
  }
}

.search-block {
  display: flex;
  flex-direction: column;
  position: relative;
  /* margin-top: 6%; */
  background-color: #ffee34;
  width: 88vw;
  padding: 1rem;
  box-sizing: border-box;
  left: 50%;
  top: 6rem;
  /* top: 32%; */
  transform: translate(-50%, 0%);
  justify-content: center;
  max-width: 56rem;
}

.close-icon {
  display: flex;
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
}

.search-block .close-icon svg {
  min-width: 24px;
  max-height: 26px;
}

.search-text {
  font-family: "Playfair Display", Sans-serif;
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  color: #1c1f2e;
  margin-bottom: 2rem;
}

.form-search {
  border-bottom: 1px solid var(--color-primary-text);
  display: flex;
  align-items: center;
}

.form-search svg {
  max-height: 1.3rem;
  padding-left: 16px;
  opacity: 0.7;
}

.search-input {
  min-height: 50px;
  width: 100%;
  background-color: inherit;
  border: none;
  padding: 0 16px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xl-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-text);
  outline: none;
  background-clip: text;
  text-overflow: ellipsis;

  &::placeholder {
    color: #3f444b;
    opacity: 0.7;
  }
}

/* Header media and Hebrew */
html[dir="rtl"] {
  .close-icon {
    right: initial;
    left: 12px;
  }
}


@media (min-width: 1024px) {
  .current_language:hover>.rest_lang_wrap {
    display: block;
  }

  .lang-switch-action {
    &.show-rest-lang {
      .rest_lang_wrap {
        display: block;
      }
    }
  }

  .dropdown-menu {
    &.show {
      display: flex;
    }
  }
}

@media (max-width: 1024px) {
  .header-menu {
    padding: 10px 16px;
  }

  .mobile-navbar {
    max-height: 400px;
    /* transform: translate(0, 15%); */
  }

  .mobile-only {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .ssp-header .navbar {
    display: none;
  }

  
  html[lang="ar"] {
    .navbar-login-block {
      flex-direction: row-reverse;
    }

    .login-action,
    .subscribe-action {
      line-height: normal;
    }
  }

  .login-action,
  .subscribe-action {
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    border: none;
  }

  .login-action {
    background-color: #ebe9ee;
    color: var(--color-primary-text);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 3rem;
  }

  .subscribe-action {
    padding: 0.5rem 1rem;
    margin-right: -2.5rem;
    z-index: 1;
  }

  html[dir="rtl"] {
    .subscribe-action {
      margin-right: initial;
      margin-left: -2.5rem;
      line-height: normal;  
    }
    .login-action {
      padding: 0.5rem 3rem 0.5rem 1rem;
      line-height: normal;  
    }

  }


  html[dir="rtl"] .block-upgrade, .block-upgrade {
    .subscribe-action {
      margin: 0;
    }
  }

  .search-button {
    background-color: inherit;
    fill: #ffee34;
    padding: 0;

    svg {
      height: 28px;
      width: 28px;
    }
  }

  .mobile-navbar-button svg {
    min-width: 28px;
    min-height: 28px;
  }


  .mobile-navbar-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 0 1rem;
  }

  .navbar .nav-link,
  .dropdown-item {
    font-size: var(--font-size-xs);
  }

  .lang-switch-action {
    /* padding: 64px 0; */
    display: flex;
    flex-direction: column;

    &.show-rest-lang {
      .current-lang-link {
        color: #1c1f2e;
        background-color: #85e9e1;
        cursor: pointer;
        transition: 0.8s;

        .arrow-lang {
          color: #1c1f2e;
          transition: 0.8s;
        }
      }

      .rest_lang_wrap {
        display: block;
        box-shadow: none;
        position: absolute;
        top: 62px;
        z-index: 2;
      }
    }
  }

  .current_language {
    display: flex;
    flex-direction: column;
  }

  .rest-lang-link,
  .current-lang-link {
    text-align: center;
    font-size: var(--font-size-s);
    padding: 24px 20px;
    margin: 0;
    justify-content: center;
  }

  .arrow-lang {
    font-size: var(--font-size-s);
  }

  .profile-menu_list {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .nav-link {
    font-family: var(--font-family-primary);
    display: flex;
    padding: 10px 20px;
    font-size: var(--font-size-s);
    gap: 0.5rem;
  }

  .search-block {
    width: 96vw;
    text-align: center;
    padding: 1rem;
    transform: translate(-50%, 0%);
    top: 6rem;
  }

  .search-text {
    display: block;
    width: 100%;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-3xl);
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  
  body.admin-bar .mobile-navbar {
    min-height: calc(100vh - 94px);
	padding-bottom: 100px;
  }

  body:not(.admin-bar) .mobile-navbar {
    min-height: calc(100vh - 48px);
  }

  .mobile-navbar {
    transform: none;
  }

  .header-title-text {
    font-size: var(--font-size-s);
  }

  .lang-switch-action {
    padding: 2em 0;
  }

  .nav-link {
    font-size: var(--font-size-md-sm);
    padding: 18px;
    gap: 10px;
  }

  html[lang="he-IL"] {
    .nav-link {
      padding: 16px;
      font-size: 1.2rem;
    }
  }

  .navbar-login-block {
    padding: 0;
  }

  .search-block {
    margin: 0;
    /* padding: 24% 5% 0 5%; */
  }

  .search-text {
    font-size: var(--font-size-3xl);
  }

  .search-input {
    font-size: var(--font-size-lg);
  }

  .lang-switch-action {
    &.show-rest-lang {
      .rest_lang_wrap {
        top: 94px;
      }
    }
  }
}

@media (max-width: 350px) {
  .mobile-navbar-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

html[lang="he-IL"],
html[lang="ar"] {
  .current-lang-link {
    gap: 8px;
  }

  .rest-lang-link {
    padding: 1.3em;
    text-align: center;
  }

  .profile-menu {
    .nav-link {
      font-size: var(--font-size-s);
    }

    .dropdown-item {
      font-size: var( --font-size-md-sm);
    }
  }

  .subscribe-action {
    font-size: var(--font-size-s);
    line-height: unset;
  }

  .header-title {
    .header-title-text {
      font-size: var(--font-size-lg);
    }
  }

  .navbar .nav-link,
  .dropdown-item {
    font-size: var(--font-size-base);
  }
}

/* Modal Popup */

.modal-wrapper {
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0;
  left: 0;
  transition: all 0.3s;
}

.modal-inner {
  background-color: var(--color-secondary-bg);
  line-height: 1.5;
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
}

/* Modal Share Popup Logged-Out */
.modal-listen-audio_image-wrapper {
  display: flex;
  width: 50%;
}

.modal-listen-audio_image {
  width: 100%;
  background-image: url(https://shortstoryproject.com/wp-content/uploads/2021/10/audio-block.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.modal-listen-audio_content {
  padding: 2em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  text-align: center;
  box-sizing: border-box;
  overflow: auto;
}

.modal-listen-audio_title {
  color: #0c0c0c;
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  text-transform: capitalize;
  line-height: 1.3em;
}

.modal-listen-audio_subtitle {
  color: var(--color-primary-text);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 20px;
}

.modal-listen-audio_text {
  color: var(--color-primary-text);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 20px;
}

.modal-listen-audio_button {
  padding: 1em 2em 1em 2em;
  font-size: var(--font-size-base);
}

/* Modal Favorite Popup Logged-Out */
.modal-favorite_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1em;
  width: 100%;
  text-align: center;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  box-sizing: border-box;

  .modal-favorite_title {
    margin: 0;
  }

  .modal-favorite_text {
    font-size: 1rem;
    margin-top: 0;
  }
}

.modal-favorite_button {
  padding: 0.3em 1.8em 0.3em 1.8em;
  font-size: var(--font-size-s);
  letter-spacing: 1px;
}


/* Modal media and hebrew language */

html[dir="rtl"] {
  .modal-inner .close-icon {
    right: unset;
    left: 12px;
  }

  .modal-listen-audio_content {
    justify-content: space-between;

    .modal-listen-audio_title {
      font-size: var(--font-size-7xl);
      line-height: 1em;
      font-family: var(--font-family-custom-first);
    }

    .modal-listen-audio_subtitle {
      font-size: var(--font-size-xl-lg);
      line-height: 1em;
    }

    .modal-listen-audio_button {
      font-size: var(--font-size-xl-sm);
      line-height: 1;
      padding: 1rem;
      
    }
  }

  .modal-favorite_content {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
  }

  .search-block{
    left: initial;
    right: 50%;
    transform: translate(50%, 0%);
  }
}

@media (max-width: 1024px) {
  .modal-inner {
    width: 92%;
    max-height: 65vh;
  }
}

@media (max-width: 768px) {
  .modal-listen-audio {
    flex-direction: column;

    .modal-listen-audio_image-wrapper {
      width: 100%;
      height: 160px;
    }

    .modal-listen-audio_content {
      width: 100%;
      padding: 2em;
    }
  }

  .modal-listen-audio_title {
    font-size: var(--font-size-2xl);
  }

  .modal-listen-audio_text,
  .modal-listen-audio_subtitle {
    font-size: var(--font-size-base);
  }

  .modal-listen-audio_button {
    font-size: var(--font-size-md-sm);
  }

  html[lang="he-IL"] {
    .modal-listen-audio_content {
      .modal-listen-audio_button {
        font-size: var(--font-size-base);
      }
    }
  }
}

/*  Footer  */

.footer {
  position: relative;
  background-color: #1c1f2e;
  z-index: 999;
}

.footer-main {
  display: flex;
  padding: 60px 0;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.footer-block {
  padding: 10px;
}

/* Footer Social */

.logo-wrap {
  padding-bottom: 2em;
}

.logo-image {
  max-width: 32px;
  opacity: 0.61;

  &:hover {
    opacity: 1;
  }
}

.social-container {
  display: flex;
  gap: 24px;
}

.social-link i {
  color: #ffee34;
  font-size: var(--font-size-xl);

  &:hover {
    color: #85e9e1;
  }
}

.footer-nav {
  display: flex;
  justify-content: space-around;
  width: 60%;
}

.footer .menu-alt-wrap {
  padding: 10px;
}

.footer .nav-menu-alt {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 24px;
}

.footer .nav-link {
  color: #ffffffbd;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);

  &:hover {
    transition: all 0.4s;
    color: #85e9e1;
  }
}

.footer-mifal-logo {
  max-width: 118px;
}

.footer .nf-form-title h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #ffffffc2;
  font-family: "Playfair Display", Sans-serif;
  font-size: var(--font-size-xl-sm);
  font-weight: var(--font-weight-medium);
  text-transform: capitalize;
  font-style: italic;
  letter-spacing: 0.4px;
  direction: rtl;
}

.footer .nf-form-content {
  padding: 0;
}

.footer .nf-field-element input[type="email"] {
  padding: 0.5rem 1rem;
  max-height: 40px;
  background: inherit;
  border: none;
  border-bottom: 1px solid #ffffffeb;
  font-family: var(--font-family-primary);
  font-size: medium;

  &:focus {
    background-color: inherit;
    color: #fff;
    box-shadow: 0 0 1px 0 #000;
  }
}

.footer .nf-field-element input[type="submit"] {
  color: #1c1f2e;
  background-color: #ffee34;
  border-radius: 50px;
  width: 100%;
  padding: 0;
  min-height: 40px;
  text-transform: uppercase;
  font-family: "Assistant", sans-serif;
  cursor: pointer;
  height: auto;

  &:hover {
    color: #1c1f2e;
    fill: #1c1f2e;
    background-color: #85e9e1;
  }
}

footer.footer .nf-response-msg {
    color: #fff;
}
footer.footer .nf-pass.field-wrap .nf-field-element:after {
    line-height: 1.4;
}

/* Footer License  */

.footer-license {
  background-color: #101117;
}

.license-container {
  display: flex;
  /* justify-content: space-between; */
  margin: 0 auto;
  color: #ffffffd1;
  max-width: 1140px;
  min-height: 40px;
  align-items: center;
}

.license-item {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  letter-spacing: 0.5px;
  padding: 10px;
  margin: 0;
  width: 100%;

  &.license-item:nth-child(2) {
    text-align: right;
  }
}

/* Footer Media  */

/* Comments Section */
.comments-area {
  font-family: var(--font-family-primary);
}

#reply-title,
.comments-title {
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}

#reply-title {
  text-align: center;
  margin-bottom: 36px;
}

.comment-list .comment {
  padding: 10px 0;
  font-family: inherit;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
}

.comment-list .comment:first-child {
  border-top: 1px solid var(--color-border);
}

.comment-body {
  display: flex;
  gap: 36px;
  width: 100%;
}

.comment-profile {
  max-width: 48px;
  width: 100%;
  flex-shrink: 0;
}

.comment-content {
  align-self: center;
  width: 100%;
}

.comment-profile-name {
  font-size: var(--font-size-s);
  line-height: 1.2;
  word-break: break-all;
  text-align: center;
  margin: 0;
}

.comments-area img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 48px;
  display: block;
  overflow: hidden;
  margin-bottom: 4px;
}

.comments-read-more-container {
  text-align: center;
  margin-top: 36px;
  display: none;
}

.comments-read-more {
  border: none;
  background: none;
  text-decoration: underline;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
  font-size: var(--font-size-base);
  font-family: inherit;
  padding: 0;
}

.comments-read-more:hover {
  text-decoration: none;
}

.short-comment-list .comment-list .comment:nth-of-type(n + 3) {
  display: none;
}

.short-comment-list .comment-pagination {
  display: none;
}

.short-comment-list .comments-read-more-container {
  display: block;
}

.comment-form-message {
  background-color: rgba(252, 207, 207, 0.6);
  font-size: var(--font-size-md-sm);
  line-height: 1.2;
  padding: 20px;
  margin: 24px 0;
  display: none;
}

.comment-form-message[data-status=success] {
  background-color: rgba(212, 237, 218, 0.6);
}

.block-comments.hide {
  display: none;
}

/* Comment form */
.comment-form {
  margin-bottom: 36px;
}

.comment-form-field {
  display: flex;
  gap: 24px;
  align-items: center;
}

.comment-form-field textarea {
  background: none;
  border: 1px solid var(--color-border);
  line-height: 1.2;
  font-size: var(--font-size-base);
  font-family: inherit;
  box-sizing: border-box;
  padding: 0.75rem;
  resize: none;
  width: 100%;
  font-weight: 500;
  border-radius: 4px;
  height: fit-content;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 0;
}

.btn {
  border: none;
  background-color: #000000;
  color: var(--color-light);
  font-weight: 500;
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  padding: 10px 15px;
  min-width: 100px;
  text-align: center;
  border-radius: 4em;
  font-size: inherit;
  line-height: 1.2;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--color-third-bg);
  color: #000;
}

.btn-spin {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  margin-left: -0.5em;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  animation: spin 0.6s linear infinite;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.btn.loading {
  color: transparent;
  position: relative;
  pointer-events: none;
}

.btn.loading .btn-spin {
  opacity: 1;
  visibility: visible;
}

/* # Comment form */

/* Laptop Responsive */

@media (max-width: 1024px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
  }

  .social-link,
  .logo-icon-wrap {
    padding: 1em;
  }

  .logo-wrap {
    padding-bottom: 1em;
    text-align: center;
  }

  .logo-image {
    max-width: 67px;
  }

  .footer-nav {
    width: 100%;
  }

  .footer .menu-alt-wrap {
    flex-basis: 100%;
  }

  .footer .nav-link {
    padding: 0;
  }

  .footer-big-logo {
    flex-basis: 100%;
  }

  .footer-mifal-logo {
    max-width: 182px;
    width: 100%;
  }

  .footer-form {
    width: 100%;
  }

  .footer .nf-form-title h3 {
    text-align: center;
  }
}

/* Tablet Responsive */

@media (max-width: 768px) {
  .footer {
    z-index: 0;
  }

  .hide-tablet {
    display: none;
  }

  .footer-main {
    padding: 32px 16px 7px;
  }

  .logo-icon-wrap {
    width: 100%;
    margin-bottom: 20px;
  }

  .logo-image {
    max-width: 90px;
    width: 13%;
  }

  .social-container {
    justify-content: center;
  }

  .footer-form {
    padding: 0;
  }

  .footer .nf-form-title h3 {
    padding-bottom: 1.7em;
  }

  .license-container {
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 8px 4px;
    justify-content: space-around;
  }

  .license-item {
    width: auto;
    padding: 0;
  }
}

/****** Share Popup *********/
.share-popup {
  display: none;
  position: fixed;
  top: 50%;
  width: auto;
  height: auto;
  padding: 1.2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(-50%);
}

.social-icons-wrap {
  display: flex;
  gap: 2rem;
  padding: 0rem 4rem;
}

html .share-popup {
  right: 2rem;
}

.comments-mus-login {
  margin-bottom: 36px;
}

.comments-mus-login__inner {
  display: flex;
  gap: 36px;
}

.comments-mus-login__avatar {
  background-color: var(--color-border);
  border-radius: 48px;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.comments-mus-login__text {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-gray-text);
  line-height: 1.2;
  font-size: var(--font-size-base);
  font-family: inherit;
  box-sizing: border-box;
  padding: 10px;
  resize: none;
  width: 100%;
  font-weight: 500;
  border-radius: 4px;
  align-self: center;
}

.comments-mus-login-button {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

html[dir="rtl"] .share-popup {
  right: initial;
  left: 2rem;
}

/* Button styling */
.share-popup a {
  color: var(--color-primary-text);
  font-size: var(--font-size-xxl);
}

@media (max-width: 1380px) {
  .story_item_name {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 768px) {
  .social-icons-wrap {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 1rem;
  }

}

.favorite-wrap {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  
  a {
    display: flex;
    align-items: center
  }

  a.show-modal-favorite {
    .ssp-icon {
      height: auto;
    }
  }
}
.bookmark_wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-wrapper .favorite-wrap {
  padding: 10px 0;
}

.proposed-block .favorite-wrap, 
.grey-yellow-favorite-wrap .favorite-wrap {
  padding: 0;
}

/* Customize tooltip appearance */
.tooltip-inner {
  background-color: var(--color-primary-bg);
  color: #ffffff;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.2rem;
}

/* Ensure tooltip appears above the button */
.tooltip {
  margin-bottom: 1rem !important;
  z-index: 999;
}

.tooltip-arrow {
  bottom: 0;
  transform: none !important;
  width: 100%;
}

/* Customize tooltip arrow */
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  top: -1px;
  border-style: solid;
  border-width: .4rem .4rem 0;
  border-top-color: #000;
  inset-inline-start: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* Notification Popup */
.favorite-notification-popup {
  font-family: var(--font-family-primary);
  font-size: 1rem;
  display: none;
  position: fixed;
  top: 25%;
  width: auto;
  height: auto;
  padding: 1.2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(-50%);
}

.favorite-notification-popup.added {
  color: var(--color-notif-success);
  background-color: var(--background-notif-success);
  border-color: var(--border-notif-success);
}

.favorite-notification-popup.removed {
  color: var(--color-notif-warning);
  background-color: var(--background-notif-warning);
  border-color: var(--border-notif-warning);
}

html .favorite-notification-popup.added,
.favorite-notification-popup.removed {
  border-left: 5px solid transparent;
}

html[dir="rtl"] .favorite-notification-popup.added,
html[dir="rtl"] .favorite-notification-popup.removed {
  border-left: none;
  border-right: 5px solid transparent;
}

html .favorite-notification-popup {
  right: 2rem;
}

html[dir="rtl"] .favorite-notification-popup {
  right: initial;
  left: 2rem;
}



/******* LOADER *********/
#hideAll {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  background-color: white;
  z-index: 9999;
}

.main-loader {
  border: 15px solid #FFEE34;
  border-radius: 50%;
  border-top: 15px solid #85E9E1;
  width: 52px;
  height: 52px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
  top: calc(50% - 48px);
  right: calc(50% - 48px);
}

/* Comments */
.comments-container {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.comments-container.loading {
  opacity: 0.6;
}

.comment-pagination {
  margin-top: 24px;
}

.comment-pagination.loading {
  pointer-events: none;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/****** our collection ******/

.our_collection_wrap {
    display: flex;
    align-items: center;
    height: 100vh;
    position: fixed;
    top: 52px;
    left: -42px;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}
:dir(rtl) .our_collection_wrap {
	/*flex-direction: row-reverse;*/
}
.our_collection_bg {
    width: 43px;
    display: flex;
    background: #feed34;
    height: 100vh;
    align-items: center;
	justify-content: center;
}

.our_collection_text {
	width: 300px;
    font-size: 14px;
    rotate: -90deg;
    font-weight: 500;
    font-family: 'Montserrat';
    /* text-decoration: none; */
    text-transform: uppercase;
    color: #000;
    white-space: nowrap;
}

.our_collection_wrap img {
	height: 98px;
}

.our_collection_wrap:hover, .our_collection_wrap:focus {
  left: 0;
}

html[dir="rtl"] {

  .our_collection_wrap {
    left: auto;
    right: -44px;
  }

  .our_collection_wrap img{
    transform: rotate(180deg);
  }


}


html[dir="rtl"] .our_collection_wrap:hover, html[dir="rtl"] .our_collection_wrap:focus {
  left: initial;
  right: 0px;
}
@media (max-width: 1024px) {
  .our_collection_wrap {
    display: none;
  }

}



/******* Animated buttons ***********/

.pt_plus_adv_button.ab-cta .adv-button-link-wrap {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.pt_plus_adv_button.ab-cta .adv-button-link-wrap {
    padding: 10px 15px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background: none;
    border: 3px solid #000;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    color: #4a4d5c;
    font-size: 12px;
    z-index: 1;
    outline: none;
    text-align: center;
}

.pt_plus_adv_button.ab-cta.tp_cta_st_12 .adv-button-link-wrap {
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cwsb_item.pt_plus_adv_button.ab-cta .adv-button-link-wrap {
    color: #1C1F2E;
    background: #FFEE33;
    font-size: 1.2rem;
    border: none;
    border-radius: 1rem;
    padding: 0.3rem 0.8rem;
}

.cwsb_item.pt_plus_adv_button.ab-cta .adv-button-link-wrap:hover {
    background: #85E9E1;
}

.pt_plus_adv_button.ab-cta.tp_cta_st_12 .adv-button-link-wrap:hover {
    animation: tp-rotate 0.7s ease-in-out both;
}

@keyframes tp-rotate {
  0% {
      transform: rotate(0deg) translate3d(0, 0, 0);
  }
  25% {
      transform: rotate(3deg) translate3d(0, 0, 0);
  }
  50% {
      transform: rotate(-3deg) translate3d(0, 0, 0);
  }
  75% {
      transform: rotate(1deg) translate3d(0, 0, 0);
  }
  100% {
      transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

/*** fade in and up animation ***/
@keyframes slideFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slideup-fade-in {
  opacity: 0;
  animation: slideFadeInUp 0.8s ease forwards;
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.3s ease;
}


/*** fade out animation ***/
@keyframes slideFadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.slide-fade-out {
  opacity: 1;
  animation: slideFadeout 0.5s ease forwards;
}

/* keep slide in DOM but hidden */
.ssp-hidden {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

:focus-visible, .ssp-filter .select2-selection:focus-visible {
    outline: 2px solid #ffffff !important;
    border: 2px solid #000000 !important;
    box-sizing: border-box;
    opacity: 1 !important;
}
.top_stories_filter_item:focus-visible {
    outline: 2px solid #000000 !important;
    border: 2px solid #000000 !important;
}

.btn:focus-visible {
    outline: 2px solid #000000 !important;
    border: 2px solid #ffffff !important;
    box-sizing: initial;
}

.proposed-button:focus-visible {
    box-sizing: initial;
}

.star-rating-point:focus-visible {
    outline: 0;
    border: 0;
    box-sizing: initial;
    box-shadow: inset 0em 0em 0em 2px #000000 !important;
}
.comment-form-field textarea:focus-visible {
    box-shadow: inset 0em 0em 0em 2px #000000 !important;
}

input[name="genre"]:focus-visible {
    outline: 6px solid #000000 !important;
    margin: 0.5em;
}
input[name="sort_by"]:focus-visible {
    outline: 3px solid #000000 !important;
    margin: 0.3em;
}

a.page-numbers:focus-visible, .player-controls button:focus-visible {
    box-shadow: inset 0em 0em 0em 2px #000000 !important;
}
.speed-controls button:focus-visible {
    box-shadow: inset 0em 0em 0em 2px #ffffff !important;
}

.timeline input:focus-visible {
    outline: 4px solid #85e9e1 !important;
}
a.personal-slide_link:focus-visible {
    display: block;
}



.story_country_tag {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-light);
  /*position: absolute;
  top: 2.3rem;
  left: 1rem; */
  padding: 0.2rem 0.5rem;
  font-weight: 500;
  border-radius: 0.3rem;
  z-index: 11;
}
.story-slide-image-wrap .story_country_tag {
  /* top: 1rem;
  left: 1rem; */
}
.story-card-countries {
    display: flex;
    top: 2.3rem;
    left: 1rem;
    position: absolute;
    gap: 0.5rem;
}
.story-slide-image-wrap .story-card-countries {
    top: 1rem;
    left: 1rem;
}

body > #pojo-a11y-toolbar {
      top: unset !important;
      bottom: 120px !important;
}

@media (max-width: 767px) {
body > #pojo-a11y-toolbar {
      bottom: 72px !important;
}
}

@keyframes move {
  from {
    transform: translateX(-180px);
  }
  to {
    transform: translateX(0);
  }
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-left {
	left: unset !important;
	transform: translateX(-180px);
}
/* dir rtl */

:dir(rtl) #pojo-a11y-toolbar.pojo-a11y-toolbar-left {
	left: unset !important;
	transform: translateX(180px);
}

:dir(rtl) #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
	transform: translateX(-180px);
}

@keyframes rtlMove {
  from {
    transform: translateX(180px);
  }
  to {
    transform: translateX(0);
  }
}

:dir(rtl) #pojo-a11y-toolbar.pojo-a11y-toolbar-left.pojo-a11y-toolbar-open
  {
	animation: rtlMove 1s linear forwards;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-left.pojo-a11y-toolbar-open
  {
	animation: move 1s linear forwards;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle {
    position: absolute;
    bottom: 0;
}
@media (max-width: 768px) { 
	#pojo-a11y-toolbar {
   	 bottom: -100px;
	}	
}

  #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
	left: unset !important;
	  transform: translateX(180px);
}

@media (max-width: 768px) {
  .story_country_tag{
    font-size: 0.75em;
    /* top: 1rem; */
  }
  .story-card-countries {
    top: 1rem;
  }
  
  #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    font-size: 12px;
  }

  
}

a.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link {
    border-radius: 50%;
}
a.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link svg, #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg {
    max-width: 1.5rem ;
}

html[dir="rtl"] {
 /* .story_country_tag {
    left: auto;
    right: 2rem;
  } */
  .story-card-countries {
    left: auto;
    right: 2rem;
  }



  /* .story-slide-image-wrap .story_country_tag {
    right: 1rem;
    left: auto;
  } */
  .story-slide-image-wrap .story-card-countries {
    right: 1rem;
    left: auto;
  }

  
  .story_slide_icons_wrap {
    right: auto;
    left: 1rem;
  }

  @media (max-width: 768px) {

    .story-card-countries {
      right: 1rem;
    }
  }
  

}

html[lang="en-US"] {
  div.nsl-container .nsl-button-default div.nsl-button-label-container {
      margin: 0 12px 0 12px !important;
      font-size: 12px !important;
      min-width: 136px !important;
  }
}

section.error-404 {
    text-align: center;
    padding: 5rem 2rem;
    min-height: 32vh;
}

.nf-before-form-content,
#nf-label-field-15,
#nf-label-field-17,
#nf-label-field-9,
#nf-label-field-11,
.nf-error.field-wrap .nf-field-element:after,
.nf-error-field-errors,
.nf-error-required-error
 {
    display: none;
}




/**********multilink items ******/

.story_multilink_wrap{
  position: relative;
}

.story_sublinks_wrap {
  position: relative;
  pointer-events: none;
  z-index: 999;
}

.story_main_link{
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 11;
}

.story_sublinks_wrap a {
  pointer-events: all;
}


.story-countries-list {
  writing-mode: tb-rl;
  display: flex;
  transition: transform 1s ease-in-out;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-gray-text);
  font-family: 'Assistant';
}

.author-countries-list{
  display: flex;
  align-items: center;
  text-transform: uppercase;
  color: var(--color-gray-text);
  font-weight: var(--font-weight-medium);
  /* font-family: 'Assistant'; */
  font-weight: 700;
  gap: 0.2rem;
}
.author-countries-list a{
  color: var(--color-gray-text);
    display: flex;
    color: var(--color-gray-text);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    text-decoration: none;
}