/* Keep the approved image-section framing. */
#club-dar-nour-home .image-motion-panel {
  height:calc(100svh - var(--scene-header,78px));min-height:0;
  padding-block:32px;display:flex;align-items:center;box-sizing:border-box;
}
#club-dar-nour-home .image-motion-panel>.wrap {flex-shrink:0}
#club-dar-nour-home .image-motion-panel .reveal {opacity:1;transform:none}
#club-dar-nour-home .image-motion-panel.goals-section .section-top {position:relative;z-index:1;margin-bottom:24px}
#club-dar-nour-home .image-motion-panel.goals-section .goal-grid {margin-block:0;padding-block:0}
#club-dar-nour-home .image-motion-panel.goals-section .goal img {max-height:calc(100svh - var(--scene-header,78px) - 210px)}
#club-dar-nour-home .image-motion-panel .gallery-atmosphere {top:-100vh;bottom:-100vh}
#club-dar-nour-home .image-motion-panel .gallery-image,
#club-dar-nour-home .image-motion-panel .gallery-image img {max-height:calc(100svh - var(--scene-header,78px) - 320px);object-fit:contain}
@media(max-width:767px) {
  #club-dar-nour-home .image-motion-panel {padding-block:24px}
  #club-dar-nour-home .goals-section .goal figure {width:calc(100% - 48px);max-width:none;margin-inline:24px}
  #club-dar-nour-home .image-motion-panel.goals-section .goal img {width:100%;height:auto;max-height:none}
  #club-dar-nour-home .image-motion-panel.goals-section .section-top {margin-bottom:32px}
  #club-dar-nour-home .image-motion-panel.goals-section,
  #club-dar-nour-home .image-motion-panel.coaching-section {align-items:flex-start}
  #club-dar-nour-home #membership-story {margin-top:32px}
}
/* Owner revision: static phone sections and the original three text blocks. */
@media(max-width:767px) {
  #club-dar-nour-home .gallery-atmosphere {display:none}
  #club-dar-nour-home #membership-story .privilege .link {display:none}
  #club-dar-nour-home .goals-motion .goal,
  #club-dar-nour-home .coaching-motion .coach-photo img {will-change:transform,opacity}
}
@media(max-width:767px) {
  #club-dar-nour-home .phone-image-slider .phone-image-stage {
    display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;
  }
  #club-dar-nour-home .phone-image-stage::-webkit-scrollbar {display:none}
  html[lang^="ar"] #club-dar-nour-home .phone-image-stage {direction:rtl}
  #club-dar-nour-home .phone-image-stage>.goal,
  #club-dar-nour-home .phone-image-stage>.goal:nth-child(even) {
    flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start;scroll-snap-stop:always;
  }
  #club-dar-nour-home .phone-image-slider .goal {align-self:flex-start;opacity:1;transform:none}
  #club-dar-nour-home .phone-image-slider .goal figure {background:transparent}
  #club-dar-nour-home .phone-image-slider .goal img {display:block}
  #club-dar-nour-home .phone-image-slider .phone-image-count {
    width:max-content;margin-top:18px;font-weight:400;
  }
  #club-dar-nour-home .phone-image-slider .coach-photo {gap:18px;opacity:1;transform:none}
  #club-dar-nour-home .phone-image-slider .coach-photo .phone-image-count {margin-top:0}
  #club-dar-nour-home .phone-image-slider .coach-photo img {
    flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;
    width:100%;height:auto;align-self:flex-start;
  }
}
