.gallery-rotating{overflow-anchor:none}
.gallery-rotating .gallery-frame{position:relative;height:245px;overflow:hidden;border-radius:14px;background:var(--soft)}
.gallery-rotating .gallery-frame img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:0;animation:gallery-drift 8s ease-in-out infinite alternate}
.gallery-rotating.is-paused img{animation-play-state:paused}
.gallery-motion-toggle{margin-top:20px}
@keyframes gallery-drift{from{transform:scale(1)}to{transform:scale(1.06)}}
@media(max-width:700px){.gallery-rotating .gallery-frame{height:185px}}
@media(prefers-reduced-motion:reduce){.gallery-rotating .gallery-frame img{animation:none}}
