/* Home — full-width photo band with a quote (parallax). Mostafa Fawzi add this. */
.sd-band{position:relative;isolation:isolate;overflow:hidden;overflow:clip; /* clip (not hidden) so the band isn't a scroll box and the parallax follows the page */
  margin:0 !important;padding:0 !important;height:560px;background:#012f66}
.sd-band .wp-block-group__inner-container{display:contents} /* classic themes add an extra wrapper div */
.sd-band p,.sd-band figure,.sd-band .wp-block-group{margin:0 !important}
/* Photo: a bit taller than the band, so it has room to move */
.sd-band .sd-band-bg{position:absolute !important;inset:-14% 0;z-index:-2}
.sd-band .sd-band-bg img{width:100%;height:100%;object-fit:cover;display:block}
/* Navy shade — darker on the right, where the Arabic text sits */
.sd-band::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(1,24,52,.25),rgba(1,24,52,.8))}
/* Text */
.sd-band .sd-band-in{position:relative;height:100%;max-width:1296px;margin:0 auto !important;padding:0 clamp(20px,5vw,72px);box-sizing:border-box;
  display:flex;flex-direction:column;justify-content:center;gap:22px;color:#fef3ef}
.sd-band .sd-band-eb{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;font-size:14px;color:#e6c9b0}
.sd-band .sd-band-eb::before{content:"";width:32px;height:1px;background:#c19773;transform-origin:right;animation:sdBandLine 1s cubic-bezier(.65,0,.35,1) .2s backwards}
.sd-band .sd-band-q{max-width:820px;font-family:var(--sd-font-serif);font-weight:700;font-size:clamp(30px,5vw,72px);line-height:1.3;color:#fef3ef;text-wrap:balance}
.sd-band .sd-band-eb,.sd-band .sd-band-q{animation:sdBandUp 1.1s cubic-bezier(.22,1,.36,1) backwards}
.sd-band .sd-band-q{animation-delay:.15s}

/* Parallax: the photo drifts slower than the page while the band crosses the screen.
   Only in browsers that support scroll-driven animations; others show a still photo. */
@supports (animation-timeline:view()){
  .sd-band{view-timeline:--sdband block}
  .sd-band .sd-band-bg{animation:sdBandPar linear both;animation-timeline:--sdband;animation-range:cover}
}
@keyframes sdBandPar{from{transform:translate3d(0,-11%,0)}to{transform:translate3d(0,11%,0)}}
@keyframes sdBandUp{from{opacity:0;transform:translateY(24px)}}
@keyframes sdBandLine{from{transform:scaleX(0)}}
/* Text animations wait until the band scrolls into view (sd-reveal.js adds .is-in) */
.sd-js .sd-band.sd-reveal:not(.is-in) .sd-band-eb,
.sd-js .sd-band.sd-reveal:not(.is-in) .sd-band-eb::before,
.sd-js .sd-band.sd-reveal:not(.is-in) .sd-band-q{animation-play-state:paused}

/* Tablet + mobile */
@media (max-width:1024px){.sd-band{height:480px}}
@media (max-width:767px){
  .sd-band{height:420px}
  .sd-band::before{background:linear-gradient(90deg,rgba(1,24,52,.5),rgba(1,24,52,.85))} /* stronger shade: text covers more of the photo on small screens */
  .sd-band .sd-band-in{gap:16px}
}
@media (prefers-reduced-motion:reduce){
  .sd-band .sd-band-bg,.sd-band .sd-band-eb,.sd-band .sd-band-eb::before,.sd-band .sd-band-q{animation:none !important}
}
