.banner-carousel {
    --banner-radius: clamp(14px, 2vw, 24px);
    margin: 0 auto 24px;
    min-width: 0;
}
.banner-carousel__layout {
    display: flex;
    gap: clamp(3px, .5vw, 8px);
}
.banner-carousel__stage {
    flex: 1;
    min-width: 0;
    position: relative;
    isolation: isolate;
}
.banner-carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: var(--banner-radius);
}
.banner-carousel__track::-webkit-scrollbar, .banner-carousel__dots::-webkit-scrollbar {
    display: none;
}
.banner-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    aspect-ratio: 10 / 3;
}
.banner-carousel picture, .banner-carousel img, .banner-carousel__slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.banner-carousel img {
    object-fit: cover;
}
.banner-carousel__peek {
    position: relative;
    flex: 0 0 9%;
    overflow: hidden;
    border: 0;
    border-radius: var(--banner-radius);
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.banner-carousel__peek picture {
    position: absolute;
    inset: 0;
}
.banner-carousel__peek img {
    object-position: right center;
}
.banner-carousel__controls {
    position: absolute;
    inset: auto 0 clamp(4px, .65vw, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, .6vw, 9px);
    padding-inline: 8px;
    pointer-events: none;
}
.banner-carousel__controls button {
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
}
.banner-carousel__action {
    flex: none;
    width: clamp(32px, 3.6vw, 44px);
    aspect-ratio: 1;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 76%);
    border-radius: 50%;
    background: linear-gradient(140deg, rgb(110 99 147 / 38%), rgb(22 15 40 / 42%));
    box-shadow: inset 0 0 4px rgb(255 255 255 / 26%), 0 1px 4px #19102770;
}
.banner-carousel__action::before, .banner-carousel__dots button::before {
    content: "";
    box-sizing: border-box;
}
.banner-carousel [data-banner-prev]::before, .banner-carousel [data-banner-next]::before {
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2.5px 2.5px 0;
}
.banner-carousel [data-banner-prev]::before { transform: translateX(1px) rotate(135deg); }
.banner-carousel [data-banner-next]::before { transform: translateX(-1px) rotate(-45deg); }
.banner-carousel [data-banner-pause]::before {
    width: 10px;
    height: 13px;
    border-inline: 3px solid currentColor;
}
.banner-carousel [data-banner-pause][aria-pressed="true"]::before {
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 7px 0 7px 11px;
    border-left-color: currentColor;
    transform: translateX(1px);
}
.banner-carousel__dots {
    display: flex;
    position: relative;
    min-width: 0;
    max-width: 48%;
    overflow-x: auto;
    scrollbar-width: none;
    pointer-events: auto;
}
.banner-carousel__dots button {
    width: 24px;
    flex: none;
    height: 32px;
    border: 0;
    background: transparent;
}
.banner-carousel__dots button::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 3px #1b0b38;
}
.banner-carousel__dots [aria-current="true"]::before {
    width: 13px;
    height: 13px;
    border: 1px solid #fff;
    background: #1978e9;
}
.banner-carousel button:focus-visible, .banner-carousel__track:focus-visible {
    outline: 2px solid white;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 4px #17457b;
}
@media (max-width: 600px) {
    .banner-carousel { margin-bottom: 18px; }
    .banner-carousel__slide { aspect-ratio: 900 / 400; }
    .banner-carousel__slide img { object-fit: contain; }
}
