/* v37: a centered exhibition inspired by the user's supplied recording. */
.gallery-stage{--exhibit-width:min(30vw,360px);position:relative}
.gallery-stage .theme-grid{position:relative;box-sizing:border-box;width:calc(100% + 2 * var(--gutter));max-width:none;margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));padding:28px max(0px,calc((100% + 2 * var(--gutter) - var(--exhibit-width))/2)) 32px;gap:clamp(50px,9vw,150px);scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;align-items:flex-start}
.gallery-stage .theme-grid::-webkit-scrollbar{display:none}
.gallery-stage .theme-grid .theme-card{flex:0 0 var(--exhibit-width);max-width:none;scroll-snap-align:center;scroll-snap-stop:always}
.gallery-stage .theme-image{transform:scale(var(--exhibit-scale,1));transform-origin:50% 55%;transition:filter .4s ease;filter:drop-shadow(0 12px 12px rgb(45 49 37 / .18))}
.gallery-stage .theme-image:hover,.gallery-stage .theme-image:focus-visible{transform:scale(var(--exhibit-scale,1));filter:drop-shadow(0 16px 16px rgb(45 49 37 / .23))}
.gallery-stage .theme-copy{text-align:center;padding:30px 0 0;opacity:var(--exhibit-opacity,1);transition:opacity .2s ease}
.gallery-stage .theme-copy h3 button{text-align:center}
.gallery-stage .theme-copy>p:not(.section-label){margin-inline:auto;min-height:0}
.gallery-stage .gallery-controls{justify-content:center;margin:0 0 12px;gap:14px}
.gallery-stage .gallery-hint{margin:0}
.gallery-stage .gallery-controls button{position:absolute;top:calc(var(--exhibit-width)*.75 + 64px);z-index:4;background:rgb(238 232 216 / .86);backdrop-filter:blur(6px)}
.gallery-stage [data-gallery-prev]{left:0}.gallery-stage [data-gallery-next]{right:0}
@media(max-width:1050px){.gallery-stage{--exhibit-width:min(48vw,340px)}}
@media(max-width:750px){.gallery-stage{--gutter:20px;--exhibit-width:min(60vw,300px)}.gallery-stage .theme-grid{margin-inline:-20px;gap:17vw}.gallery-stage .theme-copy h3{font-size:27px}.gallery-stage .theme-copy .section-label{font-size:10px}.gallery-stage .theme-copy>p:not(.section-label){font-size:15px}.gallery-stage .theme-copy .text-link{font-size:14px}.gallery-stage [data-gallery-prev]{left:-10px}.gallery-stage [data-gallery-next]{right:-10px}.gallery-stage .gallery-controls button{width:38px;height:38px}.gallery-stage .gallery-hint{font-size:12px}.gallery-stage .gallery-controls span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.gallery-stage .theme-image,.gallery-stage .theme-image:hover{transform:none}.gallery-stage .theme-copy{opacity:1;transition:none}}

.gallery-stage .theme-image{display:block}.gallery-stage .theme-copy h3 a{font:inherit;color:inherit;text-decoration:none}.gallery-stage .theme-copy h3 a:hover{text-decoration:underline;text-underline-offset:5px}.couture-framed .couture-atmosphere{margin-top:64px}

/* Center the complete group whenever it fits; no empty lead-in half-screen. */
.gallery-stage .gallery-controls{width:100%;max-width:none}
.gallery-stage.gallery-fits .gallery-controls button,.gallery-stage.gallery-fits [data-gallery-position]{display:none}
@media(min-width:751px){.gallery-stage .theme-grid{padding-inline:48px}}
