.home-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #9c8b73 var(--pm-navy);
}
.home-slider-frame {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: clamp(17rem, 55vw, 36rem);
}
.home-slider-controls:not([hidden]) {
    display: flex; justify-content: center; align-items: center;
    gap: clamp(.85rem, 2vw, 1.65rem);
    padding: .65rem;
    font-variant-numeric: tabular-nums;
}
.home-slider-controls button {
    display: grid; place-items: center;
    min-width: 44px; min-height: 44px;
    background: var(--pm-sand); color: var(--pm-navy);
    border: 0; border-radius: 50%; cursor: pointer; font-size: 1.25rem;
}
.gallery-lightbox {
    padding: 0; border: 0; border-radius: .55rem; background: var(--pm-navy);
    max-width: min(94vw, 1200px); max-height: 92dvh; overflow: hidden;
}
.gallery-lightbox::backdrop { background: #102b3cec; }
.gallery-lightbox img { display: block; max-width: 100%; max-height: 88dvh; object-fit: contain; }
.gallery-lightbox button {
    position: absolute; top: .65rem; right: .65rem; min-width: 44px; min-height: 44px;
    border: 0; border-radius: 50%; color: var(--pm-navy); background: var(--pm-sand);
    cursor: pointer; font: 1.6rem/1 system-ui, sans-serif;
}
.site-photo-slider { margin-block: clamp(2.5rem, 6vw, 5rem); }
.site-photo-slider .home-slider {
    display: block; width: min(100%, 74rem); margin-inline: auto; padding: 0;
    background: var(--pm-navy); color: var(--pm-ivory); overflow: hidden; border-radius: .65rem;
}
.site-photo-slider .home-slider-frame img {
    display: block; width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto;
}
[data-home-slider] .home-slider-frame img, .gallery-stage [data-gallery-image] { cursor: zoom-in; }
.home-slider-controls button:focus-visible, .gallery-stage .gallery-autoplay:focus-visible {
    outline: 2px solid #fff; outline-offset: -3px;
}
.gallery-stage .gallery-autoplay {
    inset: auto auto .75rem .75rem; transform: none;
    color: #102b3c; background: #d5c4ac; font-size: 1.05rem;
}
