.ccs-banners {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.ccs-banners__item {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.75rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .ccs-banners[data-cols="2"] .ccs-banners__item {
        flex-basis: 50%;
        width: 50%;
        max-width: 50%;
    }

    .ccs-banners[data-cols="3"] .ccs-banners__item {
        flex-basis: 33.3333%;
        width: 33.3333%;
        max-width: 33.3333%;
    }

    .ccs-banners[data-cols="4"] .ccs-banners__item {
        flex-basis: 25%;
        width: 25%;
        max-width: 25%;
    }
}

.ccs-banners__link {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: auto;
    background: #fff;
    aspect-ratio: var(--ccs-promo-ratio, 16 / 5);
}

.ccs-banners__link img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ccs-home-banners {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.ccs-home-banners__viewport {
    width: 100%;
    overflow: hidden;
}

.ccs-home-banners__track {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.ccs-home-banners__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

.ccs-home-banners__link {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    background: #fff;
    aspect-ratio: var(--ccs-home-mobile-ratio, 1 / 1);
}

@media (min-width: 768px) {
    .ccs-home-banners__link {
        aspect-ratio: var(--ccs-home-desktop-ratio, 16 / 5);
    }
}

.ccs-home-banners__link picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.ccs-home-banners__link img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ccs-home-banners__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--wd-primary-color);
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.ccs-home-banners__nav:hover,
.ccs-home-banners__nav:focus {
    background: transparent!important;
}

.ccs-home-banners__prev {
    left: 0.75rem;
}

.ccs-home-banners__next {
    right: 0.75rem;
}

.ccs-home-banners__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.ccs-home-banners__dot {
    width: 15px;
    height: 15px;
    min-height: 15px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.ccs-home-banners__dot.is-active {
    background: rgba(0, 0, 0, 0.7);
}

.ccs-home-banners--single .ccs-home-banners__nav,
.ccs-home-banners--single .ccs-home-banners__dots {
    display: none;
}
