/* The reference layers photographs without removing the previous image. */
#club-dar-nour-home .home-gallery {position:relative;overflow:clip;isolation:isolate}
#club-dar-nour-home .home-gallery > .wrap {position:relative;isolation:isolate}
#club-dar-nour-home .home-gallery .gallery-controls .section-end {
  margin:0;padding:0;text-align:right;flex:0 1 auto;
}
#club-dar-nour-home .gallery-atmosphere {
  position:absolute;z-index:-1;pointer-events:none;
  left:50%;margin-left:-50vw;width:100vw;top:-50vh;bottom:-50vh;
  overflow:hidden;background:var(--section);
}
#club-dar-nour-home .gallery-atmosphere-light,
#club-dar-nour-home .gallery-atmosphere-gold {
  position:absolute;inset:-25%;pointer-events:none;will-change:transform;
}
#club-dar-nour-home .gallery-atmosphere-light {
  background:
    radial-gradient(ellipse at 18% 40%,rgba(255,255,255,.65),transparent 46%),
    radial-gradient(ellipse at 88% 70%,rgba(189,169,122,.21),transparent 48%);
}
#club-dar-nour-home .gallery-atmosphere-gold {
  background:
    linear-gradient(118deg,transparent 25%,rgba(189,169,122,.15) 39%,rgba(255,255,255,.55) 49%,transparent 62%),
    radial-gradient(ellipse at 76% 22%,rgba(139,115,80,.18),transparent 50%);
  opacity:.45;
}
@media(prefers-reduced-motion:reduce) {
  #club-dar-nour-home .gallery-atmosphere-light,
  #club-dar-nour-home .gallery-atmosphere-gold {will-change:auto}
}
#club-dar-nour-home .scroll-gallery .gallery-slide {
  opacity:1;visibility:visible;transition:none!important;pointer-events:none;
}
#club-dar-nour-home .scroll-gallery .gallery-intro,
#club-dar-nour-home .scroll-gallery .gallery-image {opacity:0}
#club-dar-nour-home .scroll-gallery .gallery-slide:first-child .gallery-intro,
#club-dar-nour-home .scroll-gallery .gallery-slide:first-child .gallery-image {opacity:1}
#club-dar-nour-home .scroll-gallery .gallery-count {position:relative}
#club-dar-nour-home .scroll-gallery .gallery-count::after {
  content:"";position:absolute;bottom:-1px;left:0;height:1px;
  width:calc(var(--gallery-progress,0) * 100%);background:var(--gold);
}

/* Phone gallery returns to sideways movement, without a vertical pin. */
@media(max-width:767px) {
  #club-dar-nour-home .phone-gallery .gallery-stage {overflow:hidden}
  #club-dar-nour-home .phone-gallery .gallery-slide {
    opacity:1;visibility:visible;
    transform:translate3d(var(--phone-gallery-x,0%),0,0);
    transition:transform .4s cubic-bezier(.22,1,.36,1);
  }
}
