.home-banners {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #34343c;
    border-radius: 12px;
    background: #151518;
    color: #f0f0f2;
}

.home-banners [hidden] { display: none !important; }
.home-banners-frame {
    position: relative;
    aspect-ratio: 3 / 1;
    background: #101014;
    touch-action: pan-y pinch-zoom;
}
.home-banners-frame [data-banner-slide] { position: absolute; inset: 0; }
.home-banner-link, .home-banners picture, .home-banners img { display: block; width: 100%; height: 100%; }
.home-banners img { object-fit: contain; }
.home-banner-link:focus-visible { outline: 3px solid #ff8293; outline-offset: -4px; }
.home-banners-controls {
    display: flex;
    align-items: center;
    padding-inline: 12px 5px;
    border-top: 1px solid #34343c;
}
.home-banners-controls[hidden] { display: flex !important; visibility: hidden; }
.home-banners-caption {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}
.home-banners-position {
    min-width: 43px;
    color: #c8c8d3;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
}
.home-banners-controls button {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #f2edf0;
    font: inherit;
    font-size: 26px;
    cursor: pointer;
}
.home-banners-controls button[data-banner-toggle] { font-size: 16px; }
.home-banners-controls button:focus-visible { outline: 2px solid #ff8293; outline-offset: -4px; }
@media (hover: hover) {
    .home-banners-controls button:hover { color: #ff8293; background: #232128; }
}
@media (min-width: 481px) and (max-width: 1000px) {
    .home-banners { margin-inline: 12px; }
}
@media (max-width: 480px) {
    .home-banners-caption { font-size: 12px; }
}
