/* Hero */
.kh_detail-video-hero {
    max-width: calc(1240px + 200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px 100px;
    padding-top: 18px;
    margin-bottom: 0px;
}
.kh_detail-video-hero .hero-top {
  grid-column: span 12;
  align-items: center;
  align-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0px;
  /* border-bottom: 1px solid var(--Sabre-Blue, #00AFFE); */
    display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0px 20px; /* adjust gutter */
  padding-bottom: 12px;
}
.kh_detail-video-hero .hero-back {
  grid-column: span 12;
  /* strip native arrow */
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
  /* your custom SVG (or emoji) as the arrow */
  background: url('/wp-content/themes/sabre/assets/images/back-arrow.svg') no-repeat;
  /* tweak these values to “move” the arrow */
  background-position: left 0px center;
  background-size: auto;
  padding-left: 12px;
  color: var(--Sabre-Purple, #4B08A1);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.154px;
  text-decoration: none;
}
/* .kh_detail-video-hero .heading-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 13px;
} */
/* .kh_detail-video-hero .heading-line {
    width: 4px;
    height: 20px;
    background: var(--Sabre-Blue, #00AFFE);
}
.kh_detail-video-hero .heading {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 36px */
    /* letter-spacing: -0.264px;
    margin: 0; */
/* }  */
@media (max-width: 1100px) {
    .kh_detail-video-hero {
        padding: 0px 25px;
        padding-top: 22px;
    }
    .kh_detail-video-hero .hero-top {
        padding-bottom: 19px;
    }
    /* .kh_detail-video-hero .heading-wrapper {
        margin-top: 9px;
    }
    .kh_detail-video-hero .heading {
        color: var(--Sabre-Purple, #4B08A1);
        font-family: Poppins;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 150%; /* 27px */
        /* letter-spacing: -0.198px; */
    /* }  */
}

html, body { margin: 0; padding: 0; height: 100dvh;  }
  .single-short-section { max-width: calc(1240px + 200px); margin: 0 auto; display: flex; flex-direction: column; width: 100%; padding: 33px 100px 81px; height: 100dvh; background: #fff; align-items: center; justify-content: center; }
  @media (max-width: 1100px) { .single-short-section { padding: 0 25px; gap: 25px; } }

#page-content ul li:before {
display: none;
}

  .feed-wrapper { flex: 1; height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior: contain; background: #fff; scroll-behavior: smooth; }
  .feed-wrapper::-webkit-scrollbar { display: none; }
  .feed-wrapper { -ms-overflow-style: none; scrollbar-width: none; }
  .video-item { height: 100%; scroll-snap-align: start; position: relative; }
  .video-item iframe { width: 100%; height: 100%; object-fit: cover; display: block; }

  .details-wrapper .description { font-size: 14px; color: #333; }


  .single-short-section .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px 20px;
    width: 100%;
    padding: 0px;
    overflow: hidden;
    border-top: 1px solid var(--Sabre-Blue, #00AFFE);
  }

  .single-short-section .counter-col {
grid-column: span 2;
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
height: calc(90vh - 120px);
    position: relative;

    /* night */
    height: 100%;
  }

.single-short-section .counter-col .heading-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 13px;

    position: absolute;
    top: 0;
    left: 0;
}
.single-short-section .counter-col .heading-line {
    width: 4px;
    height: 20px;
    background: var(--Sabre-Blue, #00AFFE);
}
.single-short-section .counter-col .heading {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 36px */
    letter-spacing: -0.264px;
    margin: 0;
}

    .single-short-section .counter-wrapper {
/* grid-column: span 2; */
    display: flex;
    gap: 25px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
   .single-short-section .arrows-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }
    .single-short-section .arrow-button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: 0;
        width: 60px;
    height: 60px;
        cursor: pointer;
    transition: background 0.3s ease;
  }
.single-short-section .arrow-button:hover {
  background: var(--Sabre-Blue, #00AFFE);
}

     .single-short-section .arrow-button svg {
    width: 60px;
    height: 60px;
  }


.single-short-section_swiper-button {
    display: flex;
    width: 60px;
    height: 60px;
    padding: 18px 17px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 30px;
    border: 1px solid var(--Sabre-Blue, #00AFFE);
    background: var(--Sabre-White, #FFF);
    cursor: pointer;
    transition: background 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
}
.single-short-section_swiper-button:hover {
    background: var(--Sabre-Blue, #00AFFE);
}
.single-short-section_swiper-button:hover svg path {
    fill: #ffffff;
}





  .counter {
color: var(--Sabre-Purple, #4B08A1);
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 160%; /* 25.6px */
letter-spacing: -0.176px;
    user-select: none;
  }
    .counter span {
color: var(--Sabre-Purple, #4B08A1);
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 160%;
letter-spacing: -0.176px;
    user-select: none;
  }

  .single-short-section .feed-wrapper {
    grid-column: 4 / span 5;
    max-width: 403px;
    max-width: 100%;
    max-height: 715px;
    /* aspect-ratio: 16 / 9; */
    justify-self: center;
  }

    .single-short-section .video-item {
    /* width: 715px;
    height: 403px;
    aspect-ratio: 55/31; */
        aspect-ratio: 9 / 16;


            max-width: 100%;
    max-height: fit-content !important;

  }

  .single-short-section .details-wrapper {
    grid-column: span 4;
    grid-column: -5 / -1;
    max-width: 360px;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .single-short-section .tags {
        margin: 0 !important;
    margin-bottom: 19px !important;
  }
  .single-short-section .tags ul {
    display: flex;
    gap: 10px;
  }
  .single-short-section .tags ul li {
    display: inline-flex;
    height: 21px;
    padding: 3px 10px !important;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    color: var(--Sabre-Purple, #4B08A1);
    text-align: center;
    font-family: Poppins;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 150% !important; /* 15px */
    letter-spacing: -0.11px;
    border-radius: 4px;
    border: 1px solid var(--Sabre-Purple-2, #F0FAFF);
    background: var(--Sabre-Purple-2, #F0FAFF);
    margin: 0 !important;
  }
  .single-short-section h1 {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */
    letter-spacing: -0.22px;
    max-width: 360px;
    margin: 0;
    margin-bottom: 14px;
  }
  .single-short-section .details-wrapper .description {
    margin: 0;
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 19.6px */
  }
    .single-short-section .copy-button {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.154px;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    margin-top: 46px;
  }

/* adjustments tues 5th aug */
.single-short-section {
    padding: 0px 100px 0px;
    justify-content: flex-start;
    height: fit-content;
    height: 90vh;

    /* night */
    height: 80vh;
}
/* 1) Center snapped items */
.single-short-section .feed-wrapper {
  /* keep your existing rules… */
  /* padding-top: 5%;
  padding-bottom: 5%; */
  scroll-snap-type: y mandatory;

  max-height: unset;
}

.single-short-section .video-item {
  height: 100%;           /* 2) shrink item height from 100% to 70% */
  scroll-snap-align: center;  /* center instead of start */
  margin: 10px 0;             /* optional gap between items */
  max-height: 715px;
  height: calc(80vh - 120px);
}

.single-short-section .video-item:first-child {
  margin-top: 0;
}
.details-wrapper-mobile {
  display: none;
}
@media (max-width: 1100px) {
  .single-short-section {
    padding: 0px;
  }
      .kh_detail-video-hero .heading-wrapper {
        margin-top: 9px;
    }
    .kh_detail-video-hero .heading {
        color: var(--Sabre-Purple, #4B08A1);
        font-family: Poppins;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 150%; /* 27px */
        letter-spacing: -0.198px;
    }
    .single-short-section .container {
      border-top: none;
    }
     .single-short-section .counter-col {
      display: none;
    }
    .single-short-section .details-wrapper {
      display: none;
    }
    .single-short-section .feed-wrapper {
      grid-column: span 12;
      width: 100%;
    }
    .single-short-section .video-item {
      /* width: fit-content;
      margin: 10px auto;
      height: 90vh; */

              width: 100%;
        aspect-ratio: 9 / 16;
        margin: 10px auto;
        height: auto;
        max-width: 350px;
    }
    /* .details-wrapper-mobile {
      display: flex;
      position: absolute;
      width: 100%;
      bottom: 0px;
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
    } */
  }


  @media (max-width: 1100px){
  .video-item { position: relative; }
  .yt-unmute-cta{
    position: absolute;
    left: 50%; bottom: 16px; transform: translateX(-50%);
    padding: 10px 14px; border-radius: 999px;
    background: rgba(0,0,0,.65); color: #fff;
    font: 600 13px/1.2 Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    z-index: 3; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  }
  .yt-unmute-cta.hidden { display: none; }
}
/* keep swipes smooth over the iframe */
/* .single-short-section_kh_card-media iframe.yt-embed { pointer-events: none; } */

  @media (max-width: 767px){
    .single-short-section .video-item {
        max-width: 100%;
    }
  }

#yt-close {
            display: none;
          }
          @media (max-width: 1100px) {
            #yt-close {
              display: block;
              position: absolute;
              top: 20px;
              right: 20px;
              z-index: 9;
            }
          }

/* it currently has only width + aspect-ratio */
.single-short-section_kh_card-media {
  position: relative;
  width: 100%;
  height: 100%;        /* <-- add this */
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.single-short-section_kh_card-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* pointer-events: none; */
}

.single-short-section .feed-wrapper,
/* .single-short-section .video-item { max-height: none !important; } */

.single-short-section .container { min-height: 0; }  /* grid parent */
.single-short-section .feed-wrapper { min-height: 0; }  /* grid child scroller */



            .details-wrapper-mobile {
              display: flex;
              flex-direction: column;
              position: absolute;
              width: 100%;
              bottom: 0px;
              background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
              padding: 25px 25px 44px 25px;
              height: fit-content;
              transition: height 0.3s ease;
            }
            .details-wrapper-mobile.expanded {
              height: 100%;
              background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
              z-index: 10;
              pointer-events: all;
            }
            .details-wrapper-mobile .title-mobile {
              color: var(--Sabre-White, #FFF);
              font-family: Poppins;
              font-size: 16px;
              font-style: normal;
              font-weight: 700;
              line-height: 130%; /* 20.8px */
              letter-spacing: -0.176px;
              margin: 0;
            }
            .details-wrapper-mobile .description-overlay {
              color: var(--Sabre-White, #FFF);
              font-family: Poppins;
              font-size: 14px;
              font-style: normal;
              font-weight: 500;
              line-height: 140%; /* 19.6px */
              margin: 0;
              margin-top: 22px;
              margin-bottom: 16px;
              display: none;
            }
            .details-wrapper-mobile.expanded .description-overlay {
              display: block;
            }
            .details-wrapper-mobile .description-button-wrapper {
              display: flex;
              align-items: center;
              justify-content: space-between;
              gap: 22px;
              margin-top: 10px;
            }
            .details-wrapper-mobile.expanded .description-button-wrapper {
              justify-content: flex-start;
            }
            .details-wrapper-mobile .description-mobile {
              display: flex;
              flex-direction: row;
              justify-content: flex-start;
              align-items: center;
              gap: 6px;
              cursor: pointer;
            }
            .details-wrapper-mobile .description-mobile .plus {
              color: var(--Sabre-Blue, #00AFFE);
              font-family: Poppins;
              font-size: 14px;
              font-style: normal;
              font-weight: 600;
              line-height: 140%; /* 19.6px */
              margin: 0;
            }
            .details-wrapper-mobile .description-mobile h3 {
              color: var(--Sabre-White, #FFF);
              font-family: Poppins;
              font-size: 14px;
              font-style: normal;
              font-weight: 600;
              line-height: 140%;
              margin: 0;
              max-width: 242px;
            }
            .details-wrapper-mobile .copyLinkBtn-mobile {
              color: var(--Sabre-Purple, #4B08A1);
              font-family: Poppins;
              font-size: 14px;
              font-style: normal;
              font-weight: 600;
              line-height: 140%;
              letter-spacing: -0.154px;
              cursor: pointer;
              background: none;
              border: none;
              display: flex;
              gap: 5px;
              align-items: center;
              justify-content: flex-start;
              margin: 0;
              padding: 0;
            }
            .details-wrapper-mobile .copyLinkBtn-mobile span {
              color: var(--Sabre-White, #FFF);
              font-family: Poppins;
              font-size: 14px;
              font-style: normal;
              font-weight: 600;
              line-height: 140%; /* 19.6px */
              letter-spacing: -0.154px;
            }
            .details-wrapper-mobile .tags-mobile {
              margin-top: 25px;
              display: flex;
              gap: 10px;
              align-items: center;
              justify-content: flex-start;
              position: relative;
            }
            .details-wrapper-mobile.expanded .tags-mobile {
              position: absolute;
              bottom: 44px;
            }
            .details-wrapper-mobile .tags-mobile span {
              display: flex;
              padding: 3px 10px;
              justify-content: center;
              align-items: center;
              gap: 5px;
              border-radius: 4px;
              border: 1px solid var(--Sabre-Purple-2, #F0FAFF);
              color: var(--Sabre-White, #FFF);
              text-align: center;
              font-family: Poppins;
              font-size: 10px;
              font-style: normal;
              font-weight: 500;
              line-height: 150%; /* 15px */
              letter-spacing: -0.11px;
              margin: 0;
            }
            .details-wrapper-mobile .counter-mobile {
              color: var(--Sabre-White, #FFF);
              text-align: right;
              font-family: Poppins;
              font-size: 12px;
              font-style: normal;
              font-weight: 700;
              line-height: 160%; /* 19.2px */
              letter-spacing: -0.132px;
              display: block;
            }
            .details-wrapper-mobile.expanded .counter-mobile {
              display: none;
            }
            .details-wrapper-mobile .counter-mobile span {
              color: var(--Sabre-White, #FFF);
              font-family: Poppins;
              font-size: 12px;
              font-style: normal;
              font-weight: 400;
              line-height: 160%;
              letter-spacing: -0.132px;
            }

            .details-wrapper-mobile {
  pointer-events: none; /* parent ignores clicks */
}

.details-wrapper-mobile-inner {
  pointer-events: auto; /* child still accepts clicks */
}

/* Floating button (phones + desktop; tweak as you like) */
#yt-unlock-audio{
  position: fixed;
  left: 50%;
  top: 50%;               /* or bottom: 16px; if you prefer */
  transform: translateX(-50%);
  z-index: 9999;
  cursor: pointer;
}
#yt-unlock-audio.hidden{ display: none; }

/* Keep scroll & drag smooth over the iframe (no controls shown anyway) */
.single-short-section_kh_card-media iframe.yt-embed{
  width: 100%; height: 100%; border: 0;
  pointer-events: none;
}

.feed-wrapper {
  position: relative; /* ensures absolute children are positioned against it */
}

#yt-unlock-audio {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* sits on top of videos */
  cursor: pointer;
}

#yt-unlock-audio.hidden {
  display: none; /* your script already adds .hidden */
}

@media (max-width: 1100px) {
#yt-unlock-audio {
    top: 50%;
    left: 50%;
    right: 50%;
}
}

  @media (min-width: 1101px){
    .details-wrapper-mobile {
        display: none;
    }
  }

.kh_ask-an-expert {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px 100px;
    max-width: calc(1240px + 200px);
    margin: 0 auto;
    margin-top: 0px;
}
.kh_ask-an-expert_inner {
    display: flex;
    gap: 25px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--Sabre-Purple, #4B08A1);
    padding-top: 30px;
    padding-bottom: 42px;
    flex-wrap: wrap;
}
.kh_ask-an-expert_heading {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 63px */
    letter-spacing: -0.462px;
    min-width: fit-content;
    margin-bottom: 0;
}
.kh_ask-an-expert_links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 78px;
    justify-content: flex-end;
}
.kh_ask-an-expert_link {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.22px;
    text-decoration: none;
    min-width: fit-content;
    transition: .2s ease;
}
.kh_ask-an-expert_link:hover {
    color: var(--Sabre-Blue, #00AFFE);
}
.kh_ask-an-expert_link span {
    color: var(--Sabre-Blue, #00AFFE);
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: -0.22px;
}
.kh_ask-an-expert_btn {
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--Sabre-Blue, #00AFFE);
    color: var(--Sabre-White, #FFF);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    letter-spacing: -0.176px;
    text-decoration: none;
    transition: .5s ease;
    min-width: fit-content;
}
.kh_ask-an-expert_btn:hover {
    opacity: .5;
}

@media (max-width: 767px) {
    .kh_ask-an-expert {
        padding: 0px 25px;
        margin-top: 29px;
    }
    .kh_ask-an-expert_inner {
        padding-top: 17px;
        padding-bottom: 30px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1px;
    }
    .kh_ask-an-expert_heading {
        font-size: 24px;
        letter-spacing: -0.264px;
    }
    .kh_ask-an-expert_links {
        gap: 15px;
        justify-content: space-between;
        width: 100%;
    }
    .kh_ask-an-expert_link {
        font-size: 16px;
    }
}

.kh_newsletter {
    background: var(--Sabre-Purple-2, #F0FAFF);
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px;
    padding-top: 46px;
    padding-bottom: 50px;
}
.kh_newsletter_inner {
    display: flex;
    gap: 46px;
    margin: 0 auto;
    width: 100%;
    padding: 0px 100px;
    max-width: calc(1240px + 200px);
}
.kh_newsletter_heading-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}
.kh_newsletter_heading_line {
    width: 4px;
    height: 20px;
    background: var(--Sabre-Blue, #00AFFE);
}
.kh_newsletter_heading {
    color: var(--Sabre-Purple, #4B08A1);
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 36px */
    letter-spacing: -0.264px;
    min-width: fit-content;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .kh_newsletter {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .kh_newsletter_inner {
        padding: 0px 25px;
    }
    .kh_newsletter_heading {
        font-size: 18px;
    }
}

/* --- Responsive video sizing based on viewport height and aspect ratio --- */
.single-short-section .video-item {
  height: 70svh; /* modern browsers: small viewport height */
  height: 70vh;  /* fallback for older browsers */
  width: auto;
  aspect-ratio: 9 / 16;
  max-width: 100vw;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-short-section_kh_card-media {
  height: 100%;
  width: auto;
  aspect-ratio: 9 / 16;
  max-width: 100vw;
  position: relative;
  overflow: hidden;
}

.single-short-section_kh_card-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .single-short-section .video-item,
  .single-short-section_kh_card-media {
    height: 100dvh;
    max-height: 100svh;
    max-height: 100dvh;
    max-width: 100vw;
    width: 100%;
    aspect-ratio: unset;
    margin: 0;
  }
  div#chat-widget-container {
      display: none;
  }
  .grecaptcha-badge {
    display: none;
  }
  div#page-content {
      margin-top: 0 !important;
  }
  section.kh_detail-video-hero {
      display: none;
  }
  header#page-header {
      display: none;
  }
  section.kh_ask-an-expert {
      display: none;
  }
  section.kh_newsletter {
      display: none;
  }
  #page-footer {
    display: none;
  }
  section.single-short-section {
      height: 100dvh;
  }
}
