.banner {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: #f0f0f0;
    padding-bottom: 0;
    border: none;
}

.banner-hero-viewport {
    position: relative;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.banner-hero-track {
    /* display: flex; */
    transition: transform 0.5s ease;
    will-change: transform;
    height: 100%;
}

.banner-hero-item {
    width: 100%;
    height: 100%;
}

.banner-hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* /////////////////// */

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

.banner-hero-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.banner-hero-dots span.active {
    background: rgba(255, 255, 255, 1);
}

.banner-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
}

.banner-hero-nav button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.banner-hero-nav button img {
    display: block;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.banner-hero-nav button:hover {
    background: rgba(0, 0, 0, 0.5);
}

.banner-hero-viewport .icon {
    opacity: 0.5;
}

.banner-hero-viewport:hover .icon {
    opacity: 1;
}

@media (max-width: 576px) {
    .banner {
        height: 180px;
    }
}
