.hero.wcs-photo-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: max(24rem, min(36rem, 78vh));
    padding-bottom: max(5rem, 6vw);
}

.wcs-photo-hero > :not(.wcs-hero-stage, .wcs-hero-controls, .wcs-hero-status) {
    position: relative;
    z-index: 2;
    justify-self: start;
}

.wcs-hero-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #081321;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-touch-callout: none;
}

.wcs-hero-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(4 13 24 / 94%), rgb(4 13 24 / 66%) 38%, rgb(4 13 24 / 12%) 77%);
}

.wcs-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 450ms ease;
}
.wcs-hero-slide.is-current { opacity: 1; z-index: 1; }
.wcs-hero-stage::after { z-index: 2; }
.wcs-hero-stage.is-dragging { cursor: grabbing; }
.wcs-hero-stage.is-dragging .wcs-hero-slide { transition: none; }

.wcs-hero-controls {
    position: absolute;
    z-index: 3;
    right: clamp(0.75rem, 3vw, 1.5rem);
    bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem;
    border: 1px solid #58738c;
    border-radius: 12px;
    background: rgb(5 14 25 / 90%);
    color: #eef7ff;
}
.wcs-hero-controls button {
    border: 0;
    border-radius: 7px;
    min-height: 44px;
    min-width: 44px;
    padding: 0.35rem 0.55rem;
    background: transparent;
    color: inherit;
    font: 600 0.85rem/1 system-ui, sans-serif;
    cursor: pointer;
}
.wcs-hero-controls button:hover { background: #223e55; }
.wcs-hero-controls button:focus-visible,
.wcs-hero-stage:focus-visible { outline: 3px solid #ffcf75; outline-offset: -4px; }
.wcs-hero-count { min-width: 3rem; text-align: center; font: 0.8rem system-ui, sans-serif; }
.wcs-hero-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 600px) {
    .wcs-hero-stage::after {
        background: linear-gradient(160deg, rgb(4 13 24 / 94%), rgb(4 13 24 / 63%) 59%, rgb(4 13 24 / 38%));
    }
}
@media (prefers-reduced-motion: reduce) {
    .wcs-hero-slide { transition: none; }
}
