/* T128 — iPhone Safari backgrounds without injecting a visible image element. */
#home .t126-policy-background{display:none !important;}

@media (max-width:920px){
  @supports (-webkit-touch-callout:none){
    body.nile-home-active{background:#020713 !important;}

    #home .home-after-hero-content{
      position:relative !important;
      isolation:isolate !important;
      min-height:100svh;
      min-height:100dvh;
      overflow:hidden;
      background:linear-gradient(180deg,#020713 0%,#061425 44%,#020713 100%) !important;
    }

    #home .t124-ios-scene-layer,
    #home .home-after-hero-media{display:none !important;}

    #home .booking-policies-lux{
      position:relative !important;
      isolation:isolate !important;
      overflow:hidden !important;
      min-height:min(860px,calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
      background:
        linear-gradient(180deg,rgba(2,10,23,.27) 0%,rgba(2,10,23,.43) 56%,rgba(2,10,23,.62) 100%),
        #071425 url("assets/home-policy-scene-mobile.jpg") center 43% / cover no-repeat !important;
      background-attachment:scroll !important;
    }

    #home .booking-policies-lux::after{
      content:"" !important;
      display:block !important;
      position:absolute !important;
      inset:0 !important;
      z-index:-1 !important;
      pointer-events:none !important;
      background:linear-gradient(180deg,rgba(2,10,23,.05),rgba(2,10,23,.14)) !important;
    }

    #home .atmosphere-highlight,
    #home .gallery-showcase,
    #home .identity-section,
    #home .guest-reviews-section,
    #home .partner-promo{
      position:relative !important;
      isolation:isolate !important;
      background-attachment:scroll !important;
      background-repeat:no-repeat !important;
      background-size:cover !important;
    }

    #home .atmosphere-highlight{
      background-image:linear-gradient(180deg,rgba(2,11,25,.48),rgba(2,11,25,.64)),url("assets/atmosphere-evening-wide.webp") !important;
      background-position:center center !important;
    }
    #home .gallery-showcase{
      background-image:linear-gradient(180deg,rgba(2,11,25,.60),rgba(2,11,25,.70)),url("assets/gallery-one.webp") !important;
      background-position:center 46% !important;
    }
    #home .identity-section{
      background-image:linear-gradient(180deg,rgba(2,11,25,.53),rgba(2,11,25,.69)),url("assets/home-heritage-corridor.webp") !important;
      background-position:center 38% !important;
    }
    #home .guest-reviews-section{
      background-image:linear-gradient(180deg,rgba(2,11,25,.78),rgba(2,11,25,.88)),url("assets/gallery-two.webp") !important;
      background-position:center 54% !important;
    }
    #home .partner-promo{
      background-image:linear-gradient(180deg,rgba(2,11,25,.76),rgba(2,11,25,.88)),url("assets/home-policy-scene-mobile.jpg") !important;
      background-position:center 78% !important;
    }

    #home .booking-policies-lux .booking-policy-card,
    #home .home-after-hero-content .gallery-card,
    #home .home-after-hero-content .identity-section .section-copy,
    #home .home-after-hero-content .stats-strip,
    #home .home-after-hero-content .feature-strip,
    #home .home-after-hero-content .reviews-list-card,
    #home .home-after-hero-content .review-form-card,
    #home .home-after-hero-content .review-card,
    #home .home-after-hero-content .partner-promo-copy,
    #home .home-after-hero-content .atmosphere-highlight .section-copy{
      background:linear-gradient(145deg,rgba(39,77,115,.22),rgba(3,15,29,.40)) !important;
      -webkit-backdrop-filter:blur(6px) saturate(114%) !important;
      backdrop-filter:blur(6px) saturate(114%) !important;
    }

    #home .gallery-showcase .gallery-card img,
    #home .identity-section img,
    #home .partner-promo img{
      filter:brightness(.96) saturate(1.02) contrast(1.02) !important;
    }
    body.nile-home-active .site-footer-open::before{
      background-attachment:scroll !important;
      opacity:.13 !important;
    }
  }
}

@supports (height:100dvh){
  @media (max-width:920px){#home .hero{min-height:100dvh}}
}
