.hero {
    margin-top: 16px;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #E9EEF8;
    isolation: isolate;
}

.hero-slider__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.hero-image-slide {
    display: block;
}

.hero-image-slide:not([href]) {
    cursor: default;
}

.hero-image-slide__img {
    display: block;
    width: 100%;
    aspect-ratio: 1024 / 292;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-arrow--prev {
    left: 24px;
}

.hero-arrow--next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 2;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
}

.hero-dots__dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-dots__dot--active {
    width: 20px;
    background: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider__track {
        transition: none;
    }
}

@media (max-width: 760px) {
    .hero {
        margin-top: 15px;
    }

    .hero-slider {
        border-radius: 20px;
    }

    .hero-image-slide__img {
        aspect-ratio: 7 / 4;
    }

    .hero-image-slide__img {
        object-position: left center;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 12px;
    }
}
