.hero-slideshow{position:relative;overflow:hidden;isolation:isolate}
.hero-slideshow-frame{position:absolute;inset:0;background:#f5f3ed}
.hero-slideshow-frame img{object-fit:contain;object-position:center}
.hero-slideshow [hidden]{display:none}
.hero-slideshow-controls{position:absolute;right:12px;bottom:10px;display:flex;gap:2px}
.hero-slideshow-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:#252521;cursor:pointer;font:400 16px/1 system-ui,sans-serif}
.hero-slideshow-controls button::before{content:attr(data-arrow);display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:rgba(248,246,239,.88)}
.hero-slideshow-controls button:hover::before,.hero-slideshow-controls button:focus-visible::before{background:#f8f6ef}
.hero-slideshow-controls button:focus-visible{outline:2px solid #55594b;outline-offset:-3px;border-radius:50%}
.hero-slideshow-controls [data-hero-count]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:750px){.hero-image.hero-slideshow{height:auto;aspect-ratio:3/2}.hero-slideshow-controls{right:5px;bottom:4px}}

.hero-slideshow-frame img{position:absolute;inset:0}
.hero-slideshow-frame img[data-active="true"]{z-index:1;opacity:1;visibility:visible;transition:opacity 360ms ease}
.hero-slideshow-frame img[data-active="false"]{opacity:0;visibility:hidden;transition:opacity 360ms ease,visibility 0s linear 360ms}
.hero-slideshow-controls{z-index:2}
@media(prefers-reduced-motion:reduce){
 .hero-slideshow-frame img[data-active]{transition:none}
}
