.banner {
    position: relative;
    aspect-ratio: 320 / 100;
    overflow: hidden;
    width: 95vw;
    margin: 25px auto auto auto;
    max-width: var(--max-page-width);
}

.banner button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    position: absolute;
    z-index: 1;
    top: 45%
}

.banner button i {
    color: #000;
    font-size: 24pt;
    background-color: #eeee;
    border-radius: 50%;
    pointer-events: none;
}

.banner .izquierda {
    left: 12px;
}

.banner .derecha {
    right: 12px;
}

.lista-banner {
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: auto;
}

.transicion_banner {
    transition: transform 1s linear;
}

.lista-banner::before {
    content: '';
}

.img_mobile {
    display: none;
}

.img_large {
    display: block;
}

.lista-banner div {
    position: relative;
    aspect-ratio: 320 / 100;
    overflow: hidden;
    width: 100%;
}

.banner .lista-banner div img {
    object-fit: cover;
    width: 95vw;
    max-width: var(--max-page-width);
}

@media (max-width: 858px) {

    .banner,
    .lista-banner div {
        aspect-ratio: 889 / 500;
    }

    .img_mobile {
        display: block;
    }

    .img_large {
        display: none;
    }
}