/* Home — from public/index.html only */

img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }

.download-season .series-downloaditems {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    }


    .content-toggle {
      max-height: max-content !important;
      position: static !important;
    }


    #suggested-movies #cover-suggested-movies .splide__slide .cover:before {

      background: none !important;

    }



    @media (max-width: 991px) {


      html {
        margin-top: 0 !important;
      }




      #siteHead #notificationsList {
        inset-inline-start: unset !important;
        inset-inline-start: 0px !important;
      }


      :root {
        --spiner_size: 1rem !important;
      }




      
        /* Splide owns home carousels on all viewports — do not force flex % widths */






        .posts .entry .entry-cover {
          height: 175px !important;
        }



        .posts .entry .entry-icons .icon {
          width: 20px !important;
          height: 20px !important;
        }

        .posts .entry .entry-icons .icon>svg {
          width: 13px !important;
          height: 13px !important;
        }


        .posts .entry .entry-ganers a {
          font-size: 7px !important;
        }

        .entry-meta .d-flex.align-items-end.justify-content-between.fsz-13 {
          font-size: 10px !important;
        }

        .entry-meta .d-flex span:first-child svg {
          width: 18px !important;
          height: 9px !important;
        }

        .entry-meta .d-flex span:last-child svg {
          width: 9px !important;
          height: 9px !important;
        }

        .entry-meta .d-flex span strong {
          font-size: 10px !important;
        }

        .posts .entry .entry-title {
          font-size: 13px !important;
          margin: 0 5px;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          white-space: pre-line;
          overflow: hidden;

        }

        .entry p {
          font-size: 9px !important;
        }

        .posts .entry .entry-cover {
          margin-bottom: 1rem;
        }

        .entry-cover {
          border-radius: .5rem !important;
        }

        .list-section:not(:last-child) {
          margin-bottom: 2.5rem !important;
        }

        .posts .entry .entry-cover img {
          -o-object-fit: fill !important;
          object-fit: fill !important;
        }







      

    }

    .switch-div {
      position: sticky;
      right: 20px;
      /* Adjust as needed */
      top: 50%;
      /* Center vertically */
      transform: translateY(-50%);
      /* Adjust for perfect centering */
      z-index: 1000;
      /* Ensure it stays on top */
    }


    .light-mode {
      background-color: #ededed !important;
      color: #000000 !important;
      --bg-card: #ffffff;
      --bg-body: #e1e1e1;
      --text-body: #000000;
      --border-color: #999999;
      --info-lighten-color: #e4e8ed;
      --danger-lighten-color: #e9c5c5;
      --primary-color: #070c12;
      --primary-lighten-color: #727272;

      input,
      textarea {
        background: white !important;
      }

      .content-toggle:after {
        background: none !important;
      }


      .download-list.hardsub>.title>span {
        background-color: #c1d2e7;
      }

      .posts .entry .entry-ganers a {
        color: white;
      }

      #siteHead .menu .megasub .lists .list>li>a {
        color: #fff;
      }



      #menucanvas .list>li,
      .pagination,
      #siteHead .menu .megasub .lists .list>li,
      #siteHead .menu a,
      #siteHead .menu {
        color: var(--text-body) !important;
      }

      #siteFoot,
      #siteFoot p,
      #siteFoot a,
      #siteFoot .text-muted,
      #siteFoot a.text-muted {
        color: var(--text-body) !important;
      }

      #siteHead .menu .megasub .navs .list-group.active {
        color: #ffffff;
      }


      #siteHead .menu .megasub .navs .list-group {
        color: white;
      }

      span.d-flex.flex-column.gap-05 {
        color: #fff;
      }


      span.d-inline-flex.align-items-center.gap-05 {
        color: white;
      }


      #suggested-movies #suggested-thumbnails .splide__list .splide__slide.is-active {
        border-color: rgb(233 233 233);
      }


      #post-intro .coverimg {
        -webkit-filter: blur(20px) brightness(4.35);
        filter: blur(20px) brightness(4.35);
      }



    }

    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;

      margin-left: 10px;
    }

    .switch #input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #2196f3;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      z-index: 0;
      overflow: hidden;
    }

    .sun-moon {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: yellow;
      -webkit-transition: 0.4s;
      transition: 0.4s;
    }

    #input:checked+.slider {
      background-color: black;
    }

    #input:focus+.slider {
      box-shadow: 0 0 1px #2196f3;
    }

    #input:checked+.slider .sun-moon {
      -webkit-transform: translateX(26px);
      -ms-transform: translateX(26px);
      transform: translateX(26px);
      background-color: white;
      -webkit-animation: rotate-center 0.6s ease-in-out both;
      animation: rotate-center 0.6s ease-in-out both;
    }

    .moon-dot {
      opacity: 0;
      transition: 0.4s;
      fill: gray;
    }

    #input:checked+.slider .sun-moon .moon-dot {
      opacity: 1;
    }

    .slider.round {
      border-radius: 34px;
    }

    .slider.round .sun-moon {
      border-radius: 50%;
    }

    #moon-dot-1 {
      left: 10px;
      top: 3px;
      position: absolute;
      width: 6px;
      height: 6px;
      z-index: 4;
    }

    #moon-dot-2 {
      left: 2px;
      top: 10px;
      position: absolute;
      width: 10px;
      height: 10px;
      z-index: 4;
    }

    #moon-dot-3 {
      left: 16px;
      top: 18px;
      position: absolute;
      width: 3px;
      height: 3px;
      z-index: 4;
    }

    #light-ray-1 {
      left: -8px;
      top: -8px;
      position: absolute;
      width: 43px;
      height: 43px;
      z-index: -1;
      fill: white;
      opacity: 10%;
    }

    #light-ray-2 {
      left: -50%;
      top: -50%;
      position: absolute;
      width: 55px;
      height: 55px;
      z-index: -1;
      fill: white;
      opacity: 10%;
    }

    #light-ray-3 {
      left: -18px;
      top: -18px;
      position: absolute;
      width: 60px;
      height: 60px;
      z-index: -1;
      fill: white;
      opacity: 10%;
    }

    .cloud-light {
      position: absolute;
      fill: #eee;
      animation-name: cloud-move;
      animation-duration: 6s;
      animation-iteration-count: infinite;
    }

    .cloud-dark {
      position: absolute;
      fill: #ccc;
      animation-name: cloud-move;
      animation-duration: 6s;
      animation-iteration-count: infinite;
      animation-delay: 1s;
    }

    #cloud-1 {
      left: 30px;
      top: 15px;
      width: 40px;
    }

    #cloud-2 {
      left: 44px;
      top: 10px;
      width: 20px;
    }

    #cloud-3 {
      left: 18px;
      top: 24px;
      width: 30px;
    }

    #cloud-4 {
      left: 36px;
      top: 18px;
      width: 40px;
    }

    #cloud-5 {
      left: 48px;
      top: 14px;
      width: 20px;
    }

    #cloud-6 {
      left: 22px;
      top: 26px;
      width: 30px;
    }

    @keyframes cloud-move {
      0% {
        transform: translateX(0px);
      }

      40% {
        transform: translateX(4px);
      }

      80% {
        transform: translateX(-4px);
      }

      100% {
        transform: translateX(0px);
      }
    }

    .stars {
      transform: translateY(-32px);
      opacity: 0;
      transition: 0.4s;
    }

    .star {
      fill: white;
      position: absolute;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      animation-name: star-twinkle;
      animation-duration: 2s;
      animation-iteration-count: infinite;
    }

    #input:checked+.slider .stars {
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }

    #star-1 {
      width: 20px;
      top: 2px;
      left: 3px;
      animation-delay: 0.3s;
    }

    #star-2 {
      width: 6px;
      top: 16px;
      left: 3px;
    }

    #star-3 {
      width: 12px;
      top: 20px;
      left: 10px;
      animation-delay: 0.6s;
    }

    #star-4 {
      width: 18px;
      top: 0px;
      left: 18px;
      animation-delay: 1.3s;
    }

    @keyframes star-twinkle {
      0% {
        transform: scale(1);
      }

      40% {
        transform: scale(1.2);
      }

      80% {
        transform: scale(0.8);
      }

      100% {
        transform: scale(1);
      }
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }

    .switch #input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #2196f3;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      z-index: 0;
      overflow: hidden;
    }

    .sun-moon {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: yellow;
      -webkit-transition: 0.4s;
      transition: 0.4s;
    }

    #input:checked+.slider {
      background-color: black;
    }

    #input:focus+.slider {
      box-shadow: 0 0 1px #2196f3;
    }

    #input:checked+.slider .sun-moon {
      -webkit-transform: translateX(26px);
      -ms-transform: translateX(26px);
      transform: translateX(26px);
      background-color: white;
      -webkit-animation: rotate-center 0.6s ease-in-out both;
      animation: rotate-center 0.6s ease-in-out both;
    }

    .moon-dot {
      opacity: 0;
      transition: 0.4s;
      fill: gray;
    }

    #input:checked+.slider .sun-moon .moon-dot {
      opacity: 1;
    }

    .slider.round {
      border-radius: 34px;
    }

    .slider.round .sun-moon {
      border-radius: 50%;
    }

    #moon-dot-1 {
      left: 10px;
      top: 3px;
      position: absolute;
      width: 6px;
      height: 6px;
      z-index: 4;
    }

    #moon-dot-2 {
      left: 2px;
      top: 10px;
      position: absolute;
      width: 10px;
      height: 10px;
      z-index: 4;
    }

    #moon-dot-3 {
      left: 16px;
      top: 18px;
      position: absolute;
      width: 3px;
      height: 3px;
      z-index: 4;
    }

    #light-ray-1 {
      left: -8px;
      top: -8px;
      position: absolute;
      width: 43px;
      height: 43px;
      z-index: -1;
      fill: white;
      opacity: 10%;
    }

    #light-ray-2 {
      left: -50%;
      top: -50%;
      position: absolute;
      width: 55px;
      height: 55px;
      z-index: -1;
      fill: white;
      opacity: 10%;
    }

    #light-ray-3 {
      left: -18px;
      top: -18px;
      position: absolute;
      width: 60px;
      height: 60px;
      z-index: -1;
      fill: white;
      opacity: 10%;
    }

    .cloud-light {
      position: absolute;
      fill: #eee;
      animation-name: cloud-move;
      animation-duration: 6s;
      animation-iteration-count: infinite;
    }

    .cloud-dark {
      position: absolute;
      fill: #ccc;
      animation-name: cloud-move;
      animation-duration: 6s;
      animation-iteration-count: infinite;
      animation-delay: 1s;
    }

    #cloud-1 {
      left: 30px;
      top: 15px;
      width: 40px;
    }

    #cloud-2 {
      left: 44px;
      top: 10px;
      width: 20px;
    }

    #cloud-3 {
      left: 18px;
      top: 24px;
      width: 30px;
    }

    #cloud-4 {
      left: 36px;
      top: 18px;
      width: 40px;
    }

    #cloud-5 {
      left: 48px;
      top: 14px;
      width: 20px;
    }

    #cloud-6 {
      left: 22px;
      top: 26px;
      width: 30px;
    }

    @keyframes cloud-move {
      0% {
        transform: translateX(0px);
      }

      40% {
        transform: translateX(4px);
      }

      80% {
        transform: translateX(-4px);
      }

      100% {
        transform: translateX(0px);
      }
    }

    .stars {
      transform: translateY(-32px);
      opacity: 0;
      transition: 0.4s;
    }

    .star {
      fill: white;
      position: absolute;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      animation-name: star-twinkle;
      animation-duration: 2s;
      animation-iteration-count: infinite;
    }

    #input:checked+.slider .stars {
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }

    #star-1 {
      width: 20px;
      top: 2px;
      left: 3px;
      animation-delay: 0.3s;
    }

    #star-2 {
      width: 6px;
      top: 16px;
      left: 3px;
    }

    #star-3 {
      width: 12px;
      top: 20px;
      left: 10px;
      animation-delay: 0.6s;
    }

    #star-4 {
      width: 18px;
      top: 0px;
      left: 18px;
      animation-delay: 1.3s;
    }

    @keyframes star-twinkle {
      0% {
        transform: scale(1);
      }

      40% {
        transform: scale(1.2);
      }

      80% {
        transform: scale(0.8);
      }

      100% {
        transform: scale(1);
      }
    }





    #post-intro .entry-poster .btn-tracking {
      top: 1rem;
      left: 4rem;
      position: absolute;
      width: 42px;
      height: 42px;
      border-radius: 50px;
    }


    .quick-access-menu.is-stuck {
      position: fixed;
      top: 0;
      width: -webkit-fill-available;
      z-index: 1000;
    }


    .quick-access-menu {
      position: sticky;
      top: 0;
      width: -webkit-fill-available;
      background-color: var(--bg-body);
      z-index: 1000;
      transition: box-shadow .2s ease;
    }

    .quick-access-menu ul {
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      margin: 0;
      list-style: none;
    }

    .quick-access-menu li {
      position: relative;
    }

    .quick-access-menu a {
      text-decoration: none;
      color: var(--text-body);
      padding: 10px 15px;
      transition: color 0.3s;
    }

    .quick-access-menu a.active {
      color: red;
      /* Change color for active link */
    }

    .quick-access-menu a::after {
      content: '';
      display: block;
      height: 2px;
      background: red;
      position: absolute;
      left: 50%;
      right: 50%;
      bottom: -5px;
      /* Adjust as needed */
      transition: left 0.3s, right 0.3s;
    }

    .quick-access-menu a.active::after {
      left: 0;
      right: 0;
    }



    @media (max-width: 768px) {

      .entry-genres {
        scrollbar-width: none;
      }

      .float-search.bg-card.border.fsz-13 {
        width: 700%;
        left: -125%;
      }
    }

    @media (min-width: 992px) {
      .site-search-overlay {
        position: fixed;
        inset: 0;
        z-index: 1060;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s;
        pointer-events: none;
      }

      .site-search-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }

      .site-search-overlay[hidden]:not(.is-open) {
        display: none !important;
      }

      .site-search-overlay.is-open {
        display: flex !important;
      }

      .site-search-overlay__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.62);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
      }

      .site-search-overlay__panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 760px;
        margin-top: min(10vh, 100px);
        padding: 0 1.5rem 2rem;
        max-height: calc(100vh - min(10vh, 100px));
        display: flex;
        flex-direction: column;
        transform: translateY(-16px) scale(0.98);
        transition: transform 0.25s ease;
      }

      .site-search-overlay.is-open .site-search-overlay__panel {
        transform: translateY(0) scale(1);
      }

      .site-search-overlay__header {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
      }

      .site-search-overlay__field {
        flex: 1;
      }

      .site-search-overlay__inner.float-search {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        display: block !important;
        background: var(--card-bg, #fff);
        border-radius: 14px;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
        padding: 1.25rem 1.25rem 0.75rem;
        border: none;
      }

      .site-search-overlay__field input {
        font-size: 1.25rem;
        padding: 0.9rem 3rem 0.9rem 1rem;
        border-radius: 10px;
        border: 2px solid transparent;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
        height: auto;
      }

      .site-search-overlay__field input:focus {
        border-color: var(--primary, #0d6efd);
        outline: none;
        box-shadow: 0 4px 24px rgba(13, 110, 253, 0.15);
      }

      .site-search-overlay__close {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.65rem 0.85rem;
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 0.85rem;
        cursor: pointer;
        backdrop-filter: blur(4px);
      }

      .site-search-overlay__close:hover {
        background: rgba(255, 255, 255, 0.2);
      }

      .site-search-overlay .search-ajax-result {
        max-height: min(52vh, 520px);
        overflow-y: auto;
        margin-top: 0.75rem;
        padding-bottom: 0.5rem;
      }

      .site-search-overlay .search-ajax-result .listunstyled {
        margin: 0;
        padding: 0;
      }

      body.site-search-open {
        overflow: hidden;
      }
    }

    @media (max-width: 991.98px) {
      #site-search-overlay {
        display: none !important;
      }
    }

    #filter-results .search-bar .icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      inset-inline-start: 1rem;
      pointer-events: none;
      z-index: 2;
    }

    #filter-results .search-ajax-result {
      margin-top: 1rem;
    }

    /* Front-page search (must not reuse #filter-results — that id is a fixed mobile sheet) */
    #page-search .search-bar {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      gap: 0.75rem;
      width: 100%;
    }
    #page-search .search-bar__input {
      flex: 1 1 auto;
      min-width: 0;
      width: 100%;
    }
    #page-search .search-bar__btn {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding-inline: 1.25rem;
      white-space: nowrap;
      min-width: 7.5rem;
    }
    #page-search .search-ajax-result {
      margin-top: 1rem;
    }
    #page-search .search-bar .icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      inset-inline-start: 1rem;
      pointer-events: none;
      z-index: 2;
    }

    .home-section-archive {
      margin-inline-start: 0;
    }


    .download-season .series-downloaditems a button {
      padding: 0 .8rem !important;

    }

    .download-season .series-downloaditems a:first-child {
      margin-left: 3%;

    }

    .download-season .series-downloaditems .btn {
      place-content: center;

    }




    .main-footer-insta {
      background: linear-gradient(145deg, #FA9F6F, #FA697C);
      box-shadow: 0 3px 20px rgba(250, 123, 119, .3);
    }

    .main-footer-telegram {
      background: linear-gradient(145deg, #96D5F5, #5EBAE8);
      box-shadow: 0 3px 20px rgba(142, 209, 243, .35);
    }

    .ficon-instagram,
    .ficon-telegram {

      margin-left: 10px;

    }


    .ficon-instagram,
    .ficon-telegram {

      width: 22px;
      height: 22px;
      line-height: 1;
      font-weight: 300;
      transform: translate(-5px, 0);
      display: inline-block;
      fill: #fff;


    }

    .ficon-instagram g,
    .ficon-telegram g {
      fill: #fff;

    }


    .main-footer-insta .ficon-arrow-left-sign,
    .main-footer-telegram .ficon-arrow-left-sign {
      width: 22px;
      height: 22px;
      display: inline-block;
      left: 15px;
      top: 15px;
      position: absolute;
      border-radius: 100px;
      font-size: 10px;
      background: rgba(255, 255, 255, .15);
      fill: #fff;
    }

    .position-absolute {
      position: absolute !important;
    }


    .single-mb-header {
      display: flex;
      justify-content: space-around;
      height: 60% !important;

    }

    .light-mode #menucanvas .list>li,
    .light-mode #siteHead:not(.position-absolute) .menu,
    .light-mode #siteHead:not(.position-absolute) .menu a,
    .light-mode #siteHead:not(.position-absolute) .menu>li>a {
      color: #000000 !important;
    }

    .light-mode #siteFoot,
    .light-mode #siteFoot p,
    .light-mode #siteFoot a,
    .light-mode #siteFoot .text-muted,
    .light-mode #siteFoot a.text-muted {
      color: #000000 !important;
    }

#suggested-movies #cover-suggested-movies .splide__slide .hero-details-btn {
      position: absolute;
      top: 40%;
      inset-inline-start: 20%;
      transform: translateY(-50%);
      z-index: 9999;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.72rem 1.45rem;
      border-radius: 999px;
      font-size: 0.9375rem;
      font-weight: 800;
      line-height: 1;
      text-decoration: none;
      white-space: nowrap;
      color: #0a1206;
      background: linear-gradient(135deg, #b8ff3d 0%, #96F207 55%, #7bc805 100%);
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow: 0 4px 24px rgba(150, 242, 7, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
      transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    }

    #suggested-movies #cover-suggested-movies .splide__slide .hero-details-btn:hover {
      color: #0a1206;
      filter: brightness(1.06);
      transform: translateY(calc(-50% - 2px));
      box-shadow: 0 8px 32px rgba(150, 242, 7, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.42);
    }

    #suggested-movies #cover-suggested-movies .splide__slide .hero-details-btn__icon {
      flex-shrink: 0;
      opacity: 0.88;
    }

/* ruberah-index-custom */
#siteFoot .footer-logo--copyright {
      max-height: 22px;
      max-width: 72px;
    }
    #siteFoot .footer-namad-list {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      list-style: none;
      gap: 10px 14px;
      padding: 0;
      margin: 0;
    }

    #siteFoot .footer-namad-item {
      margin: 0;
      padding: 0;
    }

    #siteFoot .footer-namad-item img {
      height: 90px;
      width: auto;
      max-width: 100%;
      object-fit: contain;
      border: none;
      background: transparent;
    }

    #siteFoot .footer-quick-links a {
      text-decoration: none;
    }

    #siteFoot .footer-quick-links a:hover {
      text-decoration: underline;
    }

    /* Header contact — desktop */
    .site-head-contact {
      gap: 0.65rem;
      font-size: 0.8125rem;
      line-height: 1.3;
      white-space: nowrap;
    }

    .site-head-contact__item {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      text-decoration: none;
      color: inherit;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.18);
      transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .site-head-contact__item:hover {
      color: #0a1206;
      background: #96F207;
      border-color: #96F207;
    }

    .light-mode .site-head-contact__item {
      background: rgba(0, 0, 0, 0.04);
      border-color: rgba(0, 0, 0, 0.1);
      color: #222;
    }

    .light-mode .site-head-contact__item:hover {
      color: #0a1206;
      background: #96F207;
      border-color: #96F207;
    }

    .site-head-contact__icon {
      flex-shrink: 0;
      width: 1rem;
      height: 1rem;
      opacity: 0.85;
    }

    .site-head-contact__label {
      opacity: 0.72;
      font-size: 0.75rem;
    }

    .site-head-contact__number {
      font-weight: 700;
      direction: ltr;
      unicode-bidi: embed;
    }

    /* Header menu — compact to stay on one line */
    #siteHead .menu {
      gap: 1rem;
      flex-wrap: nowrap;
    }

    #siteHead .menu > li > a {
      font-size: 0.76rem;
      line-height: 1.3;
      white-space: nowrap;
    }

    #siteHead .menu > li > a svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    @media (min-width: 1600px) {
      #siteHead .menu {
        gap: 1.25rem;
      }

      #siteHead .menu > li > a {
        font-size: 0.8125rem;
      }
    }

    /* Header contact — mobile offcanvas */
    .menucanvas-contact {
      margin-bottom: 1.25rem;
      padding: 1rem;
      border-radius: 0.75rem;
      background: linear-gradient(135deg, rgba(150, 242, 7, 0.14) 0%, rgba(150, 242, 7, 0.05) 100%);
      border: 1px solid rgba(150, 242, 7, 0.28);
    }

    .menucanvas-contact__title {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      margin-bottom: 0.75rem;
      font-size: 0.875rem;
      font-weight: 800;
      color: #96F207;
    }

    .menucanvas-contact__title svg {
      width: 1.1rem;
      height: 1.1rem;
      flex-shrink: 0;
    }

    .menucanvas-contact__list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .menucanvas-contact__link {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      padding: 0.65rem 0.85rem;
      border-radius: 0.55rem;
      text-decoration: none;
      color: inherit;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .menucanvas-contact__link:hover {
      background: rgba(150, 242, 7, 0.18);
      border-color: rgba(150, 242, 7, 0.4);
      color: inherit;
    }

    .light-mode .menucanvas-contact__link {
      background: #fff;
      border-color: #e0e0e0;
    }

    .light-mode .menucanvas-contact__link:hover {
      background: rgba(150, 242, 7, 0.15);
      border-color: rgba(150, 242, 7, 0.45);
    }

    .menucanvas-contact__icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: rgba(150, 242, 7, 0.2);
      color: #96F207;
    }

    .menucanvas-contact__icon svg {
      width: 1rem;
      height: 1rem;
    }

    .menucanvas-contact__text {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
      min-width: 0;
    }

    .menucanvas-contact__label {
      font-size: 0.75rem;
      opacity: 0.7;
    }

    .menucanvas-contact__number {
      font-size: 0.9375rem;
      font-weight: 800;
      direction: ltr;
      unicode-bidi: embed;
      text-align: right;
    }

/* Glass header overlay — hero (over slider) */
    #siteHead.position-absolute {
      background: linear-gradient(180deg, rgba(6, 8, 4, 0.72) 0%, rgba(6, 8, 4, 0.46) 100%);
      -webkit-backdrop-filter: blur(16px) saturate(1.15);
      backdrop-filter: blur(16px) saturate(1.15);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    }

    @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
      #siteHead.position-absolute {
        background: linear-gradient(180deg, rgba(6, 8, 4, 0.58) 0%, rgba(6, 8, 4, 0.36) 100%);
      }
    }

    /* Hero header menu — dark theme / dark glass */
    body:not(.light-mode) #siteHead.position-absolute .menu,
    body:not(.light-mode) #siteHead.position-absolute .menu a,
    body:not(.light-mode) #siteHead.position-absolute .menu > li > a {
      color: rgba(255, 255, 255, 0.93) !important;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    body:not(.light-mode) #siteHead.position-absolute .menu a:hover {
      color: #b8ff3d !important;
      text-shadow: none;
    }

    #siteHead.position-absolute .site-head-contact__item,
    .light-mode #siteHead.position-absolute .site-head-contact__item {
      color: rgba(255, 255, 255, 0.95);
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.24);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    }

    #siteHead.position-absolute .site-head-contact__label {
      opacity: 0.8;
    }

    #siteHead.position-absolute .site-head-contact__item:hover,
    .light-mode #siteHead.position-absolute .site-head-contact__item:hover {
      color: #0a1206;
      background: #96F207;
      border-color: #96F207;
      box-shadow: 0 2px 10px rgba(150, 242, 7, 0.4);
    }

    #siteHead.position-absolute .site-head-icon-btn,
    .light-mode #siteHead.position-absolute .site-head-icon-btn {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.26);
      color: #fff;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    #siteHead.position-absolute .site-head-icon-btn:hover,
    .light-mode #siteHead.position-absolute .site-head-icon-btn:hover {
      background: rgba(150, 242, 7, 0.22);
      border-color: rgba(150, 242, 7, 0.55);
      color: #b8ff3d;
    }

/* Glass header — hero over slider */
    #siteHead.position-absolute {
      z-index: 10;
      -webkit-backdrop-filter: blur(18px) saturate(1.08);
      backdrop-filter: blur(18px) saturate(1.08);
    }

    
    .light-mode #siteHead.position-absolute .menu,
    .light-mode #siteHead.position-absolute .menu a,
    .light-mode #siteHead.position-absolute .menu > li > a {
      color: #1a1a1a !important;
      text-shadow: none;
    }

    /* Light theme: bright frosted bar, black text, clear separation */
    .light-mode #siteHead.position-absolute {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 100%);
      border-bottom: 1px solid rgba(0, 0, 0, 0.09) !important;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }

    @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
      .light-mode #siteHead.position-absolute {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
      }
    }

    .light-mode #siteHead.position-absolute .menu a:hover {
      color: #5a8f00 !important;
    }

    .light-mode #siteHead.position-absolute .site-head-contact__item {
      color: #1a1a1a;
      background: rgba(255, 255, 255, 0.96);
      border-color: rgba(0, 0, 0, 0.11);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }

    .light-mode #siteHead.position-absolute .site-head-contact__label {
      opacity: 0.65;
      color: #444;
    }

    .light-mode #siteHead.position-absolute .site-head-contact__item:hover {
      color: #0a1206;
      background: #96F207;
      border-color: #96F207;
      box-shadow: 0 2px 8px rgba(150, 242, 7, 0.35);
    }

    .light-mode #siteHead.position-absolute .site-head-icon-btn {
      background: #6b6b6b;
      border-color: #5a5a5a;
      color: #fff;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    }

    .light-mode #siteHead.position-absolute .site-head-icon-btn:hover {
      background: rgba(150, 242, 7, 0.35);
      border-color: rgba(150, 242, 7, 0.55);
      color: #b8ff3d;
    }

    /* Lighten top of slider behind header for contrast — removed: caused white band under home header */

/* Sticky inner header — same as inner pages (home loads index-overrides only) */
.site-head-inner {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--body-bg, #0f0f0f);
}
body.light-mode .site-head-inner {
  background: var(--bg-body, #e1e1e1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

    /* Dark theme fallback on hero (if toggled) */
    body:not(.light-mode) #siteHead.position-absolute {
      background: linear-gradient(180deg, rgba(6, 8, 4, 0.58) 0%, rgba(6, 8, 4, 0.36) 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    }

    body:not(.light-mode) #siteHead.position-absolute .menu,
    body:not(.light-mode) #siteHead.position-absolute .menu a,
    body:not(.light-mode) #siteHead.position-absolute .menu > li > a {
      color: rgba(255, 255, 255, 0.93) !important;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    body:not(.light-mode) #siteHead.position-absolute .menu a:hover {
      color: #b8ff3d !important;
      text-shadow: none;
    }

    body:not(.light-mode) #siteHead.position-absolute .site-head-contact__item {
      color: rgba(255, 255, 255, 0.95);
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.24);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    }

    body:not(.light-mode) #siteHead.position-absolute .site-head-icon-btn {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.26);
      color: #fff;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }
