# Staging-only: карусель включена (prod — display:none в banner-carousel.css)
.menu-clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}

.banner-carousel-wrap {
    width: 90%;
    max-width: 1000px;
    text-align: center;
    margin: 15px 5% 25px 5%;
    display: inline-block;
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: none;
}

.banner-link {
    display: block;
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
    line-height: 0;
}

.banner-link img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1024 / 571;
    object-fit: cover;
    object-position: center;
    background: #fff;
}

.banner-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: transparent;
    opacity: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-nav.prev { left: 6px; }
.banner-nav.next { right: 6px; }

@media (max-width: 768px) {
    .banner-carousel-wrap {
        width: 94%;
        margin: 8px 3% 12px 3%;
    }

    .banner-carousel {
        border: 1px solid #e8e8e8;
    }
}
