/* ========================================
   TARJETAS CON EFECTO HOVER
   ======================================== */

.tarjeta-hover {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    overflow: hidden !important;
}


/* ========================================
   PRIMERA CARA - IMAGEN
   ======================================== */

/* Tarjetas que usan cara-gris */
.tarjeta-hover .cara-gris {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 25px !important;

    z-index: 1 !important;

    opacity: 1 !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ========================================
   SEGUNDA CARA - CAPA TRANSPARENTE
   ======================================== */

.tarjeta-hover .cara-azul {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 25px !important;

    z-index: 2 !important;

    /* ELIMINA CUALQUIER IMAGEN DEL EDITOR */
    background-image: none !important;

    /* TRANSPARENCIA */
    background-color: rgba(255, 255, 255, 0.35) !important;

    opacity: 0;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    transition: opacity 0.35s ease !important;
}


/* ========================================
   ELEMENTOS INTERNOS DE LA SEGUNDA CARA
   ======================================== */

/* Si el editor agrega un contenedor interno */
.tarjeta-hover .cara-azul > .ssc-flex {
    background-color: transparent !important;

    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}


/* ========================================
   EFECTO HOVER
   ======================================== */

.tarjeta-hover:hover .cara-azul {
    opacity: 1 !important;
}

.tarjeta-hover:hover .cara-gris {
    opacity: 1 !important;
}


/* ========================================
   TARJETAS QUE NO USAN cara-gris/cara-azul
   ======================================== */

/* Primera caja que contiene la imagen */
.tarjeta-hover > .ssc-flex {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ========================================
   CONTENEDORES GENERALES
   ======================================== */

.container,
.container-fluid,
.container-fluid-full {
    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* ========================================
   LÍNEAS
   ======================================== */

hr {
    width: 100% !important;
}

h1,
.h1 {
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
}

h1::after,
.h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 5px;
    background: #0bb7ff;
    margin: 12px auto 0;
}

h1,
.h1 {
    width: fit-content !important;
    max-width: 100% !important;
    position: relative;
}

h1::after,
.h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 5px;
    background: #0bb7ff;
    margin-top: 12px;
}