.hero-slider-section {
    position: relative;
    width: 100%;
    height: clamp(520px, 78vh, 980px);
    overflow: hidden;
    background: #0a0a0a;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.hero-slider-empty-screen {
    width: 100%;
    height: 100%;
    background: #000;
}

.hero-slider-section.is-dragging {
    cursor: grabbing;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.58s ease;
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
}

.hero-slider-section[data-slider-direction="vertical-up"] .hero-slider-track,
.hero-slider-section[data-slider-direction="vertical-down"] .hero-slider-track {
    flex-direction: column;
}

.hero-slider-section[data-slider-direction="vertical-up"],
.hero-slider-section[data-slider-direction="vertical-down"] {
    touch-action: pan-x;
}

.hero-slider-section.is-single .hero-slide {
    position: relative;
}

.hero-slider-section.is-single .hero-slide img {
    animation: single-slide-pan 14s ease-in-out infinite alternate;
}

.hero-slide picture,
.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    min-height: 0;
    max-height: none;
    object-fit: cover;
    -webkit-user-drag: none;
    user-drag: none;
}

.hero-slide-overlay {
    position: absolute;
    left: 6%;
    bottom: 10%;
    z-index: 3;
    max-width: min(560px, 88%);
    color: #fff;
}

.hero-slide-subtitle {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.88;
}

.hero-slide-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(24px, 4vw, 54px);
    line-height: 1.05;
}

.hero-slide-cta {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    background: #d0963e;
    color: #121212;
    font-weight: 700;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgb(0 0 0 / 48%);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.hero-slider-nav.prev {
    left: 16px;
}

.hero-slider-nav.next {
    right: 16px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgb(255 255 255 / 45%);
    cursor: pointer;
}

.hero-slider-dot.is-active {
    background: #fff;
}

@keyframes single-slide-pan {
    0% {
        transform: scale(1.04) translateX(-2%);
    }
    100% {
        transform: scale(1.1) translateX(2%);
    }
}
