/* Lightweight homepage slider: no third-party plugin dependency. */
.banner_box .banner {
    overflow: hidden;
}

.banner_box .slider {
    position: relative;
    width: 100%;
    max-width: 1920px;
    aspect-ratio: 1920 / 733;
    margin: 0 auto;
    overflow: hidden;
    background: #f2f2f2;
}

.banner_box .slider > div:not(.slider-dots) {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}

.banner_box .slider > div:not(.slider-dots).is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.banner_box .slider a,
.banner_box .slider img {
    display: block;
    width: 100%;
    height: 100%;
}

.banner_box .slider img {
    object-fit: cover;
}

.banner_box .slider-dots {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.banner_box .slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    cursor: pointer;
}

.banner_box .slider-dots button.is-active {
    background: #fff;
    transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
    .banner_box .slider > div:not(.slider-dots) {
        transition: none;
    }
}
