.hero-carousel {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.hero-carousel__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.hero-carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.hero-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.hero-carousel__nav--prev {
    left: 14px;
}

.hero-carousel__nav--next {
    right: 14px;
}

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

.hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
}

.hero-carousel__dot.is-active {
    background: #ffffff;
}

@media (max-width: 820px) {
    .hero-carousel__nav {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .hero-carousel__nav--prev {
        left: 8px;
    }

    .hero-carousel__nav--next {
        right: 8px;
    }
}
