.hero-slider {
    min-height: 0;
    height: auto;
}

.hero-slider .swiper-slide {
    height: auto;
}

.hero-slide {
    position: relative;
    isolation: isolate;
    min-height: 690px;
}

.hero-slider .hero-title {
    max-width: 820px;
    font-size: clamp(3rem, 6.7vw, 6.5rem);
    line-height: 1.08;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
}

.hero-slider .hero-intro {
    white-space: pre-line;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    right: max(20px, calc((100% - 1240px) / 2));
    bottom: 18px;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 4px;
    border: 1px solid #ffffff55;
    border-radius: 999px;
    background: #0911268c;
    backdrop-filter: blur(8px);
    color: #fff;
}

.hero-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.hero-controls button:hover {
    background: #ffffff24;
}

.hero-controls button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hero-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 58px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
}

.hero-counter-rule {
    width: 16px;
    height: 1px;
    background: #ffffff99;
}

.hero-total {
    color: #ffffffb3;
}

@media (max-width: 700px) {
    .hero-slide {
        min-height: 640px;
    }

    .hero-slider .hero-title {
        font-size: clamp(3.2rem, 12vw, 4.5rem);
    }

    .hero-controls {
        right: 20px;
        bottom: 16px;
    }
}