.banner-track {
    display: flex;
    width: 100%;
    will-change: transform;
}

.banner-track > img {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.banner-card::after {
    z-index: 2;
}

.banner-track > .banner-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.banner-slide img,
.banner-slide video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.banner-card {
    aspect-ratio: 1024 / 498;
    background: #14081f;
}
.banner-track {
    height: 100%;
}
.banner-track > .banner-slide {
    height: 100%;
}
.banner-card .banner-slide img,
.banner-card .banner-slide video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    background: #14081f;
}
.banner-card::after {
    display: none;
}
.banner-card:not(:has(.banner-slide)) {
    display: none;
}
