.home-banners {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem 0 0;
    background: var(--color-white, #ffffff);
    overflow-x: clip;
}

.home-banners__viewport {
    position: relative;
    width: min(100% - 80px, var(--container, 1200px));
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #0a234f;
    box-shadow: 0 8px 28px rgba(0, 32, 104, 0.1);
    line-height: 0;
}

.home-banners__track {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    line-height: 0;
}

.home-banners__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.home-banners__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.home-banners__slide.is-animating {
    pointer-events: none;
}

.home-banners__link,
.home-banners__frame {
    position: absolute;
    inset: 0;
    display: block;
    line-height: 0;
}

.home-banners__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-banners__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-banners__ad-label {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #6b7280;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.home-banners__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-navy, #002068);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 32, 104, 0.18);
    transform: translateY(-50%);
    transition: transform 0.25s ease, background 0.25s ease;
    line-height: 0;
}

.home-banners__nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.home-banners__nav svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.home-banners__nav--prev {
    left: 12px;
}

.home-banners__nav--next {
    right: 12px;
}

.home-banners__dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    line-height: 0;
}

.home-banners__dot {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
    overflow: hidden;
    line-height: 0;
}

.home-banners__dot.is-active {
    width: 18px;
}

.home-banners__dot-pip {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.home-banners__dot.is-active .home-banners__dot-pip {
    background: #fff;
}

@media (max-width: 767px) {
    .home-banners {
        padding-top: 0.75rem;
    }

    .home-banners__viewport {
        width: min(100% - 32px, var(--container, 1200px));
        border-radius: 10px;
    }

    .home-banners__track {
        aspect-ratio: 16 / 9;
    }

    .home-banners__nav {
        width: 34px;
        height: 34px;
    }

    .home-banners__nav svg {
        width: 16px;
        height: 16px;
    }

    .home-banners__nav--prev {
        left: 8px;
    }

    .home-banners__nav--next {
        right: 8px;
    }

    .home-banners__dots {
        bottom: 10px;
    }
}
