/*
====================================
Medium Screen - Others
====================================
*/
/* @media screen and (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

  .sec2_main {
    max-width: 560px;
  }

  .sec2_cnt img {
    height: 380px;
  }

  .sec5_item img {
    height: 180px;
  }

  .section2_area {
    min-height: 90vh;
  }

  .sec2_main {
    min-height: 500px;
  }
} */

/*
====================================
Small Screen - Tablate
====================================
*/
/* @media screen and (min-width: 768px) and (max-width: 991px) {

  .container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

  .sec2_main {
    max-width: 500px;
  }

  .sec2_cnt img {
    height: 320px;
  }

  .sec5_item img {
    height: 150px;
  }

  .video_inner {
    max-width: 550px;
  }

  .video_inner p {
    font-size: 15px;
  }

  .section2_area {
    min-height: initial;
  }

  .sec2_cnt p {
    font-size: 16px;
  }

  .section7_area .video_inner,
  .section8_area .video_inner {
    max-width: 600px;
  }

  .sec2_main {
    min-height: 500px;
  }
} */

/*
====================================
Small Screen - Mobile
====================================
*/
@media screen and (max-width: 992px) {

  /* Custom: Reduce height for non-full-height crossfader sections */
  .crossfader-section:not(.crossfader-section-2):not(.crossfader-section-6):not(.crossfader-section-7) .crossfader-container {
    height: auto;
    min-height: 60vh;
    padding: 10vh 5vw;
  }

  /* Custom: Adjust image and text for smaller container */
  .crossfader-section:not(.crossfader-section-2):not(.crossfader-section-6):not(.crossfader-section-7) .crossfader-img {
    width: 90vw;
    height: auto;
    max-height: 40vh;
  }

  .crossfader-section:not(.crossfader-section-2):not(.crossfader-section-6):not(.crossfader-section-7) .crossfader-text {
    width: 90vw;
    margin-top: 25px;
  }

  /* Mobile: slim offwhite strip above header */
  .mobile-topbar-strip {
    height: 14px;
    background-color: #f5f5f5;
    transition: opacity 150ms ease;
    will-change: opacity;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  }

  /* Add vertical offset so header content sits below the strip */
  .header_area .container {
    padding-top: 16px;
    padding-bottom: 8px;
  }

  /* When header switches to light theme (white text), hide strip and remove extra top padding */
  .header_area.header--light .mobile-topbar-strip {
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
  }

  .header_area.header--light .container {
    padding-top: 16px;
  }

  .header_main {
    padding: 0 25px;
  }

  .crossfader-text {
    display: none;
  }

  .crossfader-text-responsive {
    display: block;
    margin-top: 15px;
    text-align: left;
    line-height: 1.2em;
    width: 100%;
    padding: 0;
  }

  .crossfader-content-text {
    display: none;
  }

  .crossfader-full .crossfader-content-text-responsive {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-35%);
    color: white;
    text-align: center;
    padding: 0 62px;
  }

  .crossfader-img {
    width: calc(100% - 50px);
    aspect-ratio: 1.25/1;
    height: auto;
    object-fit: cover;
    /* padding: 0 25px; */
  }

  .hide-mobile {
    display: none;
  }

  .close-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0 30px;
  }

  /* .container {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

  .sec2_main {
    max-width: 500px;
  }

  .sec2_cnt img {
    height: 320px;
  }

  .sec5_item img {
    height: 95px;
  }

  .video_inner {
    max-width: 84%;
  }

  .video_inner p {
    font-size: 15px;
  }

  .section2_area {
    min-height: initial;
  }

  .sec2_cnt p {
    font-size: 16px;
  }

  .section7_area .video_inner,
  .section8_area .video_inner {
    max-width: 84%;
  }

  .flex-slider .slides>li {
    height: 100vh;
  }

  .header_right ul li {
    padding-left: 10px;
    font-size: 17px;
  }

  .video_item {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
  }

  .video_item video {
    position: absolute;
    height: 100vh;
    width: 100%;
    top: 0;
    object-fit: cover;
  }

  .sec2_main {
    min-height: 500px;
  }

  .crossfader-img {
    width: 45vh;
    height: 45vh;
    max-height: 45vh;
    object-fit: cover;
  }

  .crossfader-section .crossfader-full .crossfader-content p {
    font-size: 15px;
    line-height: 2em;
    text-align: center;
    min-height: 0;
  } */

  .crossfader-section .crossfader-content {
    height: 50vh;
    justify-content: flex-start;
  }

  /* Override: make crossfader sections 2, 6, 7 full-height on mobile */
  .crossfader-section-2 .crossfader-content,
  .crossfader-section-6 .crossfader-content,
  .crossfader-section-7 .crossfader-content {
    height: 100vh;
  }

  .crossfader-section .crossfader-content .h-screen {
    height: 100vh;
  }

  .crossfader-section .crossfader-content p {
    max-width: 90vh;
  }

  /* Mobile: force white header text when header has light theme */
  .header_area.header--light .header-text,
  .header_area.header--light .header-text.logo,
  .header_area.header--light .header_right ul li,
  .header_area.header--light .language-selector.header-text {
    color: #fff !important;
  }

}

/* iOS Safari - disable background-attachment fixed to reduce flicker/overlap */
@supports (-webkit-touch-callout: none) {
  .crossfader-container {
    background-attachment: scroll;
  }
}



/* .crossfader-content-text-responsive .crossfader-content p {
    width: 100%;
    margin-top: 30px;
    line-height: 2.5em;
    text-align: left;
    min-height: 120px;
  } */