/* Mangawik: homepage featured block as a carousel (see carrusel.js). Same cards, in one row. */
.mw-carrusel {
    position: relative;
}
.mw-carrusel .js-listing-grid {
    display: flex !important; /* on phones the theme switches this row to floated blocks */
    flex-wrap: nowrap !important;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* room for the card shadows, which the scroll area would otherwise cut */
    padding-top: 6px;
    padding-bottom: 14px;
    margin-bottom: -14px;
}
.mw-carrusel .js-listing-grid::-webkit-scrollbar {
    display: none;
}
.mw-carrusel .js-listing-grid > [class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
    float: none;
    scroll-snap-align: start;
}
@media (max-width: 767px) {
    .mw-carrusel .js-listing-grid > [class*="col-"] {
        flex-basis: 50%;
        max-width: 50%;
    }
}
.mw-carrusel__flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 26px;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    cursor: pointer;
    opacity: .92;
    transition: opacity .2s, transform .2s;
}
.mw-carrusel__flecha:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.06);
}
.mw-carrusel__flecha--ant {
    left: -10px;
}
.mw-carrusel__flecha--sig {
    right: -10px;
}
.mw-carrusel--caben .mw-carrusel__flecha {
    display: none;
}
@media (max-width: 767px) {
    .mw-carrusel__flecha {
        width: 34px;
        height: 34px;
        font-size: 22px;
        line-height: 32px;
    }
    .mw-carrusel__flecha--ant { left: 2px; }
    .mw-carrusel__flecha--sig { right: 2px; }
}
