/* Breakpoint styles, merged from styles-xsm/sm/md/lg/xl.css (same order, unchanged rules)
   so the page makes 1 request instead of 5. Edit the matching section below. */

/* ===== styles-xsm.css ===== */
@media screen and (max-width: 390px) {
  header {
    max-height: 56px;
  }
  .logo > svg {
    max-width: 122px;
  }
  .video-section{
    height: 187px !important;
  }
  .contact-us {
    max-width: 150px;
    max-height: 36px;
    font-size: 14px;
  }
  .hero-section {
    background-image: url("../img/workshop/detail/hero-bg-sm.webp");
  }
  /* .scroll-section{
    background: linear-gradient(to bottom, #dbf7f2 0%, #f4f2eb 3%);
  } */
  .video-section {
    position: relative;
    width: calc(100vw - 40px);
    height: 185px;
    border-radius: 13px;
    overflow: hidden;
    /* margin: 0 10px; */
  }
  .ty-container {
    padding-top: 1.5rem;
  }
  .hero-section-ty {
    margin-bottom: 0.5rem;
    min-height: 255px;
    background-image: url("../img/thank-you/hero-bg-sm-thankyou.webp");
  }
  .ty-session-counter {
    background-image: url("../img/icons/timer-bg.webp");
  }
  .grid-responsive {
    grid-template-columns: repeat(1, 1fr);
  }
  .benefits-subheading {
    margin-top: 0px;
  }
  .scholarship-terms {
    font-size: 12px;
  }
  /* Restore contribution intro paragraph to desktop size on mobile.
     The 10px override reported in #337 (Item 6) made the helper text
     unreadable, especially while iOS Safari auto-zoomed the viewport
     on input focus. */
  #scholarshipForm > p {
    font-size: 14px;
    line-height: 1.5;
  }

  .scholarshipFormInput {
    height: 40px;
    /* 16px base prevents iOS Safari auto-zoom-on-focus, which was
       making surrounding labels appear tiny after the user tapped
       into the contribution field (#337, Item 6). */
    font-size: 16px;
  }
  .whats-say-subheading {
    font-size: 16px;
  }
  .workshop-included-br {
    display: block;
  }
 
}
@media screen and (max-width: 370px) {
  .contact-us {
    max-width: 122px;
    max-height: 32px;
    font-size: 12px;
  }
  .ws-iconbox:nth-child(3) {
    max-width: 100%;
    height: auto !important;
  }
  .video-section{
    height: 174px !important;
  }
}

/* ===== styles-sm.css ===== */
@media screen and (max-width: 640px) {
  header > section > a {
    width: 100%;
    max-width: 122.609px;
    height: 30px;
  }
  .video-section{
    height: 201px !important;
  }

  .logo {
    margin-left: 0;
    max-width: 122.222px;
    height: 40px;
    display: flex;
    align-items: center;
  }
  .contact-us {
    max-width: 150px;
    max-height: 36px;
    font-size: 14px;
  }
  .mt-responsive {
    margin-top: 35px;
  }
  .workshop-include-main {
    margin-top: 9rem;
    display: flex;
    flex-direction: column;
    gap: 9rem;
  }
  .workshop-include-section {
    position: relative;
  }

  .workshop-include-section > div {
    padding-top: 58px;
  }
  .workshop-include-section-image-parent {
    max-width: 246px;
    position: absolute;
    top: -8rem;
  }
  .workshop-not-for{
    font-size: 24px !important;
  }
  .workshop-not-subheading{
font-size: 14px;
  }
  .grid-responsive {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
  }
  .counter-card {
    width: 55px;
    height: 49.049px;
  }
  .counter-card h6 {
    font-size: 20px;
  }
  .counter-card p {
    font-size: 12px;
  }
  .modal-content {
    max-width: 90%;
  }
  /* Scholarship modal: shrinks to content, capped at viewport height (mobile) */
  #scholarshipModal .modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transform: none;
    opacity: 1;
  }
  /* The h2 + close button stay direct children of .modal-content on top,
     before the scrollable form area. Give them a fixed header area. */
  #scholarshipModal .modal-content > h2,
  #scholarshipModal .modal-content > .close {
    flex: 0 0 auto;
  }
  #scholarshipModal .modal-content > h2 {
    padding: 22px 22px 0 22px;
    margin: 0;
  }
  .scholarship-form-scroll {
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 22px 12px;
    min-height: 0;
  }
  .scholarship-modal-footer {
    flex: 0 0 auto;
    /* Mobile: .modal-content padding is 0, so reset the desktop bleed. */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 14px 22px;
    box-shadow: 0 -4px 10px rgba(43, 43, 43, 0.06);
  }
  .benefits-subheading {
    margin-top: 0px;
  }
  .testimonial-div {
    padding-top: 0px !important;
    margin-top: 20px;
  }
  .testimonial-main {
    margin-top: 0px;
  }
  /* .testimonial-heading {
    display: none;
  }
  .testimonial-heading-mobile {
    display: block;
  } */
  .sm-hidden {
    display: none;
  }
  .footer-bottom-ty {
    height: 125px;
  }
  .footer-ul,
  .ty-footer-ul {
    flex-direction: column;
  }
  .step.active .circle .number {
    padding-top: 4px;
  }
}
@media screen and (max-width: 430px) {
  .video-section{
    height: 217px !important;
  }
}
@media screen and (max-width: 390px) {
  .video-section{
    height: 195px !important;
  }
}
@media screen and (max-width: 640px) {
  .feature-banner-div {
    max-height: 890px;
  }
}


/* ===== styles-md.css ===== */
@media only screen and (max-width: 767px) {
  /* Reviews page - mobile styles */
  .review-container-class {
    margin-left: 23px;
    margin-right: 23px;
  }
  .reviews-breadcrumb.review-breadcrumb-style {
    font-size: 14px;
  }
  .reviews-workshop-title {
    font-size: 18px;
    font-weight: 400;
  }
  .review-summary-header {
    padding: 16px 24px;
  }
  .reviews-main-content {
    padding: 16px;
  }
  .reviews-main-content .testimonial-grid {
    padding: 0;
  }
  .reviews-main-content .testimonial-card {
    width: auto;
  }
  .reviews-main-content .testimonial-card-name {
    font-weight: 400;
  }
  .reviews-rating-container {
    gap: 7px;
  }
  .reviews-rating-container .rating-value {
    font-size: 24px;
  }
  .reviews-stars svg {
    width: 21px;
    height: 21px;
  }
  .total-reviews {
    font-size: 16px;
  }
  .reviews-avatar {
    width: 33px;
    height: 33px;
  }
  /* Hero */
  /* .workshop-iconbox {
    flex-direction: row;
  } */

  .ws-iconbox {
    height: auto !important;
  }
  .ws-iconbox:nth-child(3) {
    max-width: 100%;
    height: auto !important;
  }
  .flip-card-front,
  .flip-card-back {
    padding: 7px 15px;
    max-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }
  .flip-card-back {
    align-items: center;
    text-align: center;
    /*padding-left: 3rem;*/
  }
  .ws-iconbox-text h4 {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .image-box > picture {
    margin-top: 3px;
    width: 24px;
    height: 24px;
  }
  .ws-iconbox-text {
    color: #49887b;
    font-weight: 500;
    line-height: 16px;
    margin-bottom: 5px;
    text-align: left;
    font-size: 16px;
  }
  .sidebar {
    display: none;
  }
  .first-col.content {
    width: 100%;
  }
  .pre-requisite-div {
    padding: 30px;
  }
  .pre-requisite-div h4 {
    text-align: center;
    padding: 10px;
    font-size: 28px;
    margin-bottom: 10px;
  }
  .workshop-include-section {
    text-align: center !important;
  }
  .workshop-include-section .d-flex {
    flex-direction: column;
  }
  .width-responsive {
    width: 100%;
  }
  .flex-responsive {
    flex-direction: column;
  }
  .grid-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-sections {
    width: 50%;
  }
  .benefits {
    padding: 30px 10px;
  }
  .benefits-sections img {
    height: 200px;
    object-fit: contain;
  }
  .benefit-img {
    margin-bottom: 5px;
  }
  .benefits-sections {
    margin-bottom: 10px;
  }
  .bg-white-section:before {
    background-image: none;
    background-color: transparent;
  }
  .habits-parent > div {
    background-color: white !important;
  }
  .habit-seven {
    background-color: white !important;
  }
  .habit-item {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 102px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: start;
    padding: 10px;
    align-items: center;
  }
  /* .habit-gif, .habit-seven-img{
    width: 86px;
    height: 86px;
  } */
  .habit-heading {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  .habit-text {
    text-align: left;
    padding: 0;
    font-size: 14px;
    line-height: 19px;
  }
  .habit-seven {
    height: 102px;
    background: rgba(191, 229, 221, 0.2);
    padding: 10px;
  }
  .habit-item .mb-20 {
    margin-bottom: 0px !important;
    margin-right: 10px;
  }
  .habit-item img,
  .habit-seven-img img {
    min-width: 70px;
  }
  .habit-seven .width-40 {
    display: none !important;
  }
  .habit-seven .width-60 {
    width: 100%;
  }

  .habit-gif,
  .habit-seven-img {
    margin-right: 10px;
  }
  .habit-seven > div {
    gap: 0px;
  }
  .habit-register-now {
    display: none;
  }
  .taTabs {
    margin: 0;
  }
  .taTabs__contentWrap {
    padding: 0px;
  }
  .taTabs__navWap {
    justify-content: center;
    margin: 15px 0;
  }
  /* .taTabs__nav {
  } */
  .days-info {
    padding: 10px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .program-info {
    padding: 15px;
  }
  .testimonial-main .d-flex {
    flex-direction: column;
  }
  .testimonial-section {
    padding: 40px 0;
    margin-top: 0;
  }
  .testimonial-heading {
    font-size: 28px;
  }
  .testimonial-subheading {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .testimonial-white-card {
    padding: 16px;
  }
  .testimonial-card-time {
    display: inline-block;
    margin-top: 5px;
  }
  .testimonial-card {
    margin-bottom: 17px;
  }
  .testimonial-card-name {
    font-weight: 600;
  }
  .highlighted-testimonials,
  .other-testimonials {
    padding: 1rem;
    width: 100%;
  }
  .testimoni-top {
    flex-direction: row !important;
  }

  .testimonial-div {
    width: 100%;
    background-color: var(--white);
    padding: 30px 0px;
    border-radius: 10px;
    transition: all 0.3s ease-in;
    margin-bottom: 20px;
  }

  .other-testimonials {
    padding: 0px 15px;
  }
  /* .bg-F4F2EB {
    background-color: #ffffff;
  } */
  .who-is-for-item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .who-is-for-div {
    flex-direction: column;
    padding: 0;
    border-bottom: none;
  }
  .who-is-for-item-text .heading {
    font-weight: 600;
    text-align: center;
  }
  .who-is-for-item-text .text-details {
    text-align: center;
  }

  .who-is-heading {
    text-align: center;
  }

  .workshop-not-for {
    font-size: 28px;
    text-align: center;
    margin-bottom: 0px;
  }
  .workshop-not-subheading {
    text-align: center;
    padding: 0 25px;
  }
  .wrapper.about-host-div {
    flex-direction: column;
  }
  .read-more-text {
    padding: 0px 15px;
  }

  .radio-group label {
    max-width: 65px;
  }
  .form-info-text {
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    width: 100%; /* same left/right extent as .form-input-container (w-full) */
    padding-top: 15px;
  }

  /* Mobile: Pay Now button renders above the shipping banner (banner is last in DOM
     here, and the pay button precedes it) — banner becomes a standalone white card */
  .workshop-addons-shipping-banner {
    background: #fff;
    border-radius: 8px;
    margin-top: 10px;
  }
  .terms a {
    font-size: 13px;
  }

  /* Mobile: from .product-upsell-section down to the bottom of .register-box the background
     is #fff. The .register-form-bottom-white wrapper (added around the upsell section + pay
     button + shipping banner) bleeds past the 28px .register-box padding (styles-lg) using
     negative margins so the white panel reaches the box edges, with a 13px bottom radius to
     match the box corners.

     The white panel is scoped to .upsell-active, a class that productUpsell.js adds only when
     upsell products are actually loaded/shown. When the upsell section is hidden (no upsell
     data), the wrapper stays display:contents (styles.css) and the Pay Now button renders
     normally on the teal register-box background instead of on a white panel. */
  .register-box {
    margin-bottom: 20px;
  }
  .register-form-bottom {
    width: 100%;
  }
  .register-form-bottom-white.upsell-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Stretch the panel across the full form width, then pull the side margins -28px each
       way so the panel lands EXACTLY on the .register-box edges (cancelling the 28px box
       padding from styles-lg). Using align-self:stretch instead of width: calc(100% + 112px)
       avoids the flex-centering + negative-margin overflow that made the panel bleed past
       the box and take the full screen width. */
    align-self: stretch;
    margin: 0 -28px -28px;     /* cancel the 28px .register-box padding (styles-lg) */
    padding-bottom: 10px;      /* restore breathing room above the box's bottom edge */
    background: #fff;
    border-radius: 13px; /* match .register-box border-radius */
  }
  .register-form-bottom-white.upsell-active .product-upsell-section {
    background: #fff;          /* blend the add-ons card into the white panel */
    margin-top: 5px;           /* 5px + 15px heading padding = 20px above the heading */
    margin-bottom: 10px;       /* 10px + 10px cards padding-bottom = 20px below the cards */
  }
  .register-form-bottom-white.upsell-active .workshop-addons-heading {
    text-align: left;          /* heading left-aligned on mobile */
  }
  .register-form-bottom-white.upsell-active .pay-now {
    width: 304px;
    max-width: 304px;
    margin-top: 0;
  }
  .register-form-bottom-white.upsell-active .contribution {
    color: #418b78 !important; /* inline color:white would be invisible on #fff */
  }
  .footer-data {
    align-items: center;
  }

  .footer-data div {
    color: #919191;
  }
}

/* ===== styles-lg.css ===== */
@media screen and (max-width: 1024px) {
  section {
    padding-left: 22px;
    padding-right: 22px;
  }
  .scroll-section {
    background: linear-gradient(to bottom, #dbf7f2 0%, #f4f2eb 3%);
  }
  header {
    position: relative;
  }
  header > section > nav {
    display: none;
  }
  .text-section {
    margin-top: -3rem;
  }

  .uhc-mobile {
    /*display: block;*/
    width: 100%;
    /* height: 78px; */
    position: fixed;
    bottom: 0;
    background-color: #f2e3c4;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px 12px;
    border-radius: 12px 12px 0px 0px;
    transition: all 0.3s ease-in-out;
  }

  .uhc-mobile-text{
    max-width: 210px;
  }

  .uhc-mobile-text h5 {
    color: #b98c43;
    font-weight: 600;
    font-size: 17px;
  }
  .uhc-mobile-text p {
    padding-top: 4px;
    color: #ce9f50;
    font-weight: 600;
    font-size: 14px;
  }
  
  /* Mobile footer discount pricing */
  .uhc-mobile-price {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .uhc-mobile-discounted {
    color: #b98c43;
    font-weight: 700;
    font-size: 16px;
  }
  
  .uhc-mobile-original {
    color: #999;
    font-weight: 500;
    font-size: 15px;
    text-decoration: line-through;
    padding-top: 2px;
  }
  .uhc-mobile-button {
    width: 100%;
    height: 36px;
    max-width: 100px;
    font-weight: 700;
    font-size: 13px;
    background-color: #b98c43;
    color: white;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Discount mobile footer - gradient background */
  .uhc-mobile-discount {
    background: #DBAF64;
  }
  .uhc-mobile-discount .uhc-mobile-text h5 {
    color: #FFFFFF;
  }
  .uhc-mobile-discount .uhc-mobile-discounted {
    color: #FFFFFF;
    font-weight: 700;
  }
  .uhc-mobile-discount .uhc-mobile-original {
    color: #FFFF;
  }
  .uhc-mobile-button-discount {
    background-color: #FFFFFF;
    color: #DBAF64;
  }
  .last-day-register {
    position: relative;
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
    background-color: #f4ebe1;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ba824e;
    font-weight: 400;
    outline: none;
    overflow: hidden;
    font-size: 16px;
    /* display: block; */
  }

  .last-day-register:before {
    animation: shine 5s ease-in-out infinite;
  }

  .last-day-register::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 100%;
    background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 10%,
      #ba824e96,
      rgba(255, 255, 255, 0) 90%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
  }

  @keyframes shine {
    0% {
      left: -100px;
    }

    50% {
      left: 100%;
    }

    100% {
      left: -100px;
    }
  }
  .last-day-register p {
    font-weight: 500;
  }

  @keyframes zoomText {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

  .zoom-text {
    /* font-size: 2rem; */
    display: inline-block;
    animation: zoomText 3s infinite ease-in-out;
  }
  /* .hero-clip-path {
    clip-path: none;
  } */
  .hero-section {
    /* background-image: url("../img/workshop/detail/hero-bg-sm.webp"); */
    padding-top: 36px;
    padding-left: 22px;
    padding-right: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    background-color: #e6f3ef;
    padding-bottom: 10rem;
  }

  .hero-content {
    flex-direction: column;
  }
  .text-section {
    text-align: center;
    padding-top: 36px;
  }
  .hero-content > .text-section > div > h1,
  .hero-content > .text-section > div > .hero-title,
  .hero-content > .text-section > div > h4 {
    margin-top: 0px;
    color: #49887b;
    font-size: 39px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
  }
  .hero-content > .text-section > div > p,
  .hero-content > .text-section > div > .hero-subtitle,
  .hero-content > .text-section > div > h2 {
    margin-top: 13px;
    color: #666;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
  }
  .whats-include-heading,
  .whats-say-heading,
  .who-is-heading,
  .workshop-not-for,
  .faq-heading,
  .about-the-host,
  .register-now-heading {
    font-size: 28px;
  }
  .register-now-div {
    margin: 36px auto;
  }
  .register-now {
    width: 200px;
    margin: 0 auto;
    border-radius: 35px;
  }
  .people-joined {
    text-align: center;
    justify-content: center;
  }
  .people-joined img {
    display: none;
  }
  .video-section {
    margin-bottom: 36px;
    position: relative;
    width: 100%;
    /* height: 100%; */
    /* width: calc(100vw - 40px); */
    height: 482px;
    border-radius: 13px;
    overflow: hidden;
  }
  .first-col.content {
    width: 100%;
  }
  .workshop-for-not-all {
    padding: 17px 12px;
  }
  .workshop-for-not-all-inner {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
  .not-for-items {
    max-width: 100%;
  }
  .not-for-items-text {
    font-size: 14px;
  }
  .sidebar {
    display: none;
  }
  .workshop-iconbox {
    flex-direction: column;
  }
  .ws-iconbox {
    max-width: 100% !important;
    cursor: pointer;
  }

  .flip-card-inner {
    transform: rotateY(0deg);
  }
  .session-counter-hero,
  .hr-hero {
    display: none;
  }
  .session-counter-home h3 {
    display: none;
  }
  .session-counter-home h4 {
    display: block;
    color: white;
    font-weight: 500;
    font-size: 20px;
  }
  .workshop-details {
    background: #dbf7f2;
  }
  .workshop-include-section {
    padding: 20px 19px 24px 19px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    text-align: start;
  }
  
  .benefits {
    padding: 0px;
    background-color: transparent;
    &:hover {
      box-shadow: none;
    }
  }
  .benefit-img {
    min-height: auto;
  }
  .habit-item {
    height: auto;
  }
  .habit-item:hover img,
  .habit-seven:hover img {
    scale: 1;
  }
  .habit-text > br {
    display: none;
  }
  .scholarship-card-image-parent {
    display: none;
  }
  .scholarship-card-content > p {
    max-width: 100%;
  }
  .modal-content > h2 {
    font-size: 18px;
    font-weight: 500;
    color: #4a4a4a;
  }
  #scholarshipForm {
    gap: 5px;
  }
  .taTabs__nav {
    font-weight: 600;
    font-size: 16px;
  }
  .pr-info-title,
  .pr-info-details {
    font-size: 14px;
  }
  .whats-say-heading {
    margin-bottom: 0px;
  }
  .day {
    font-size: 16px;
  }

  .weekday {
    font-size: 14px;
  }
  .terms label {
    font-size: 12px;
  }
  /* Gap removed on mobile/tablet — the 14px gap made the spacing between form
     fields too much. Explicit gap: 0 also overrides the base .gap-20 utility on
     .form-input-container (styles-lg loads after styles.css). */
  .form-input-container {
    gap: 0;
  }
  .form-gap-responsive {
    gap: 0;
  }
  .register-box {
    max-height: 100%;
    padding: 28px;
  }
  .register-form-bottom {
    /*margin-top: 24px;*/
    margin-top: 0px;
  }
  /* .footer-bottom {
    margin-bottom: 100px;
} */

  /* Discount banner on mobile - scrolls with page */
  .discount-banner {
    position: relative;
    top: auto;
  }
  body.has-discount-banner #hero-container {
    padding-top: 0;
  }
}

/* ===== styles-xl.css ===== */
@media screen and (max-width: 1220px) {
  section {
    padding-left: 22px;
    padding-right: 22px;
  }
}
