/* Home — moving photo strip before the footer. Mostafa Fawzi add this. */
.sd-strip{margin:0 !important;padding:0 !important;background:#fffaf9;overflow:hidden}
.sd-strip .wp-block-group__inner-container{display:contents}
.sd-strip .wp-block-gallery{margin:0 !important} /* editor / fallback view */
.sd-strip-vp{overflow:hidden;padding:0 0 clamp(48px,6vw,80px)}
/* Two identical "laps" side by side; moving by exactly one lap (-50%) loops with no jump */
.sd-strip-t{display:flex;width:max-content;direction:ltr;animation:sdStrip var(--dur,40s) linear infinite}
.sd-strip-lap{display:flex}
.sd-strip-t i{display:block;flex:none;width:360px;height:260px;margin-inline-start:12px;border-radius:16px;overflow:hidden;background:#efe2db}
.sd-strip-t img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
@keyframes sdStrip{to{transform:translate3d(-50%,0,0)}}
/* Stops while the mouse is over it, and while it is off screen (home-strip.js adds .is-off) */
@media (hover:hover){.sd-strip-vp:hover .sd-strip-t{animation-play-state:paused}.sd-strip-t i:hover img{transform:scale(1.05)}}
.sd-strip-vp.is-off .sd-strip-t{animation-play-state:paused}
@media (max-width:767px){
  .sd-strip-t i{width:240px;height:180px;margin-inline-start:10px;border-radius:12px}
}
/* Reduce motion: no movement, the row can be swiped sideways instead */
@media (prefers-reduced-motion:reduce){
  .sd-strip-vp{overflow-x:auto}
  .sd-strip-t{animation:none}
  .sd-strip-lap+.sd-strip-lap{display:none}
}
