/* ===========================================================
   Banner triple (num_columnas = 3)
   Solo lo que no cubren las utilidades de Tailwind del sitio.
   =========================================================== */
.banner-triple__medio {
    grid-template-rows: 1fr 0.48fr;
}

.banner-triple__centro-movil {
    display: none;
}

/* Si el centro solo trae textos o solo imagen, la tarjeta ocupa la columna */
.banner-triple__medio > .banner-triple__card:only-child {
    grid-row: 1 / -1;
    height: 100%;
}

.banner-triple__card--imagen {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Velo oscuro uniforme (azul-textos) para que el texto se lea sobre la imagen */
.banner-triple__velo {
    position: absolute;
    inset: 0;
    background: rgba(3, 34, 53, .2);
}

.banner-triple__card--large {
    min-height: 390px;
}

.banner-triple__card--small {
    min-height: 260px;
}

.banner-triple__card--mini {
    min-height: 157px;
}

@media (min-width: 1024px) {
    .banner-triple__card--large {
        min-height: 458px;
    }

    .banner-triple__card--small {
        min-height: 285px;
    }
}

@media (max-width: 767px) {
    .banner-triple {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 1fr;
    }

    .banner-triple__medio {
        display: none;
    }

    .banner-triple__centro-movil {
        display: grid;
    }
}
