.md-banners-carousel {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

.md-banners-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.md-banner-slide {
    flex: 0 0 100%;
    width: 100%;
}

.md-banner-link {
    display: block;
    line-height: 0;
}

.md-banner-picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.md-banner-picture img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Desktop: banner panoramico */
@media (min-width: 783px) {
    .md-banner-picture img {
        aspect-ratio: 1600 / 310;
    }
}

/* Mobile: banner vertical tipo story */
@media (max-width: 782px) {
    .md-banner-picture img {
        aspect-ratio: 768 / 1040;
    }
}

.md-banners-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease;
}

.md-banners-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.md-banners-prev { left: 14px; }
.md-banners-next { right: 14px; }

.md-banners-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.md-banners-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.md-banners-dot.active {
    background: #fff;
    transform: scale(1.25);
}

@media (max-width: 600px) {
    .md-banners-arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
