
/* =====================================================
   OABI - VIDEOS HOME
   ESTILOS INDEPENDIENTES
   ===================================================== */

.oabi-videos-home {
    --ovh-azul: #224f9d;
    --ovh-oscuro: #092049;
    --ovh-negro: #231f20;
    --ovh-dorado: #ad8411;

    width: 100%;
    padding: 32px 20px 70px;
    background: linear-gradient(
        180deg,
        #224f9d 0%,
        #092049 100%
    );
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.oabi-videos-home *,
.oabi-videos-home *::before,
.oabi-videos-home *::after {
    box-sizing: border-box;
}

/* CONTENEDOR CENTRAL */

.oabi-videos-home-contenedor {
    max-width: 1350px;
    margin: 0 auto;
}

/* ENCABEZADO */

.oabi-videos-home-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.oabi-videos-home-encabezado h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

/* NAVEGACIÓN */

.oabi-videos-home-navegacion {
    display: none;
    align-items: center;
    gap: 14px;
}

.oabi-videos-home-navegacion button {
    appearance: none;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 23px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: opacity .25s ease;
}

.oabi-videos-home-navegacion button:hover {
    opacity: .6;
}

/* LISTA DE VIDEOS */

.oabi-videos-home-lista {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* TARJETAS */

.oabi-videos-home-tarjeta {
    min-width: 0;
    margin: 0;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    transition:
        background-color .3s ease,
        border-color .3s ease;
}

.oabi-videos-home-abrir {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* MINIATURA */

.oabi-videos-home-miniatura {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #092049;
}

.oabi-videos-home-miniatura img,
.oabi-videos-home-miniatura video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

/* BOTÓN PLAY ABAJO A LA IZQUIERDA */

.oabi-videos-home-reproduccion {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
}

.oabi-videos-home-play {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    transition: background-color .25s ease;
}

/* TRIÁNGULO BLANCO */

.oabi-videos-home-play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #ffffff;
    transition: border-left-color .25s ease;
}

.oabi-videos-home-duracion {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,.65);
}

/* INFORMACIÓN INFERIOR */

.oabi-videos-home-informacion {
    min-height: 85px;
    padding: 11px 12px 14px;
    background: transparent;
    transition: background-color .3s ease;
}

.oabi-videos-home-categoria {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    transition: color .3s ease;
}

.oabi-videos-home-nombre {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    transition: color .3s ease;
}

/* =====================================================
   EFECTOS HOVER
   SOLO DISPOSITIVOS CON MOUSE
   ===================================================== */

@media (hover: hover) and (pointer: fine) {

    .oabi-videos-home-tarjeta:hover {
        background: #ffffff;
        border-color: #ffffff;
    }

    .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-informacion {
        background: #ffffff;
    }

    .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-categoria {
        color: #54595f;
    }

    .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-nombre {
        color: #231f20;
    }

   
    /* CÍRCULO BLANCO CON TRIÁNGULO RECORTADO */

    .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-play {
        background: #ffffff;
    }

    .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-play::before {
        border-left-color: #092049;
    }
}

/* =====================================================
   TABLET - HASTA 1024px
   ===================================================== */

@media (max-width: 1024px) {

    .oabi-videos-home {
        padding: 30px 24px 55px;
    }

    .oabi-videos-home-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .oabi-videos-home-encabezado h2 {
        font-size: 22px;
    }
}

/* =====================================================
   MÓVIL - HASTA 767px
   ===================================================== */

@media (max-width: 767px) {

    .oabi-videos-home {
        padding: 22px 14px 30px;
    }

    .oabi-videos-home-encabezado {
        margin-bottom: 16px;
    }

    .oabi-videos-home-encabezado h2 {
        font-size: 18px;
    }

    .oabi-videos-home-navegacion {
        display: flex;
    }

    .oabi-videos-home-lista {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .oabi-videos-home-lista::-webkit-scrollbar {
        display: none;
    }

    .oabi-videos-home-tarjeta {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .oabi-videos-home-miniatura {
        aspect-ratio: 16 / 9;
    }

    .oabi-videos-home-informacion {
        min-height: 76px;
        padding: 10px 11px 12px;
    }

    .oabi-videos-home-categoria {
        font-size: 12px;
    }

    .oabi-videos-home-nombre {
        font-size: 13px;
    }

    .oabi-videos-home-play {
        width: 39px;
        height: 39px;
    }

    .oabi-videos-home-duracion {
        font-size: 12px;
    }
}

/* =====================================================
   MODAL - REPRODUCTOR DE VIDEO
   ===================================================== */

.oabi-videos-home-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: rgba(0,0,0,.96);
    box-sizing: border-box;
}

.oabi-videos-home-modal[hidden] {
    display: none !important;
}

.oabi-videos-home-modal-contenido {
    width: min(1100px, 100%);
    max-height: 100%;
    aspect-ratio: 16 / 9;
}

.oabi-videos-home-reproductor {
    width: 100%;
    height: 100%;
    background: #000000;
}

.oabi-videos-home-reproductor iframe,
.oabi-videos-home-reproductor video {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.oabi-videos-home-cerrar {
    position: absolute;
    top: 15px;
    right: 22px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

/* MODAL EN MÓVIL VERTICAL Y HORIZONTAL */

@media (max-width: 767px) {

    .oabi-videos-home-modal {
        padding: 55px 10px;
    }

    .oabi-videos-home-cerrar {
        top: 12px;
        right: 15px;
        font-size: 36px;
    }
}

@media (orientation: landscape) and (max-height: 550px) {

    .oabi-videos-home-modal {
        padding: 8px 45px;
    }

    .oabi-videos-home-modal-contenido {
        width: auto;
        height: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .oabi-videos-home-cerrar {
        top: 8px;
        right: 10px;
    }
}

/* ACCESIBILIDAD */

.oabi-videos-home-abrir:focus-visible,
.oabi-videos-home-navegacion button:focus-visible,
.oabi-videos-home-cerrar:focus-visible {
    outline: 3px solid #ad8411;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .oabi-videos-home *,
    .oabi-videos-home *::before,
    .oabi-videos-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* =====================================================
   OABI VIDEOS - CORRECCIÓN DE ALTURA Y VISIBILIDAD
   ===================================================== */

.oabi-videos-home .oabi-videos-home-tarjeta {
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.oabi-videos-home .oabi-videos-home-abrir {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    appearance: none;
}

.oabi-videos-home .oabi-videos-home-miniatura {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.oabi-videos-home .oabi-videos-home-miniatura > video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.oabi-videos-home .oabi-videos-home-reproduccion {
    display: flex;
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    align-items: center;
}

.oabi-videos-home .oabi-videos-home-informacion {
    display: block;
    height: auto;
    min-height: 85px;
    padding: 11px 12px 14px;
}

.oabi-videos-home .oabi-videos-home-categoria {
    display: block;
}

.oabi-videos-home .oabi-videos-home-nombre {
    display: block;
}


/* =====================================================
   OABI VIDEOS - AJUSTE DE TEXTOS Y BOTÓN PLAY
   ===================================================== */

/* Restablecer tipografía frente a estilos generales */

.oabi-videos-home .oabi-videos-home-abrir {
    letter-spacing: normal;
    text-transform: none;
    line-height: normal;
}

.oabi-videos-home .oabi-videos-home-informacion {
    display: block;
    min-height: 90px;
    padding: 12px 13px 15px;
    text-align: left;
}

.oabi-videos-home .oabi-videos-home-categoria {
    display: block;
    margin: 0 0 5px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    position: static;
}

.oabi-videos-home .oabi-videos-home-nombre {
    display: block;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    position: static;
}

/* Botón Play y duración */

.oabi-videos-home .oabi-videos-home-reproduccion {
    display: flex;
    align-items: center;
    gap: 10px;
    left: 13px;
    bottom: 13px;
    width: auto;
    height: auto;
}

.oabi-videos-home .oabi-videos-home-play {
    position: relative;
    display: flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin: 0;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.oabi-videos-home .oabi-videos-home-duracion {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Mantener el cambio de colores al pasar el mouse */

@media (hover: hover) and (pointer: fine) {

    .oabi-videos-home .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-categoria {
        color: #54595f;
    }

    .oabi-videos-home .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-nombre {
        color: #231f20;
    }
}

/* CORRECCIÓN DE POSICIÓN DE LOS TEXTOS */

.oabi-videos-home .oabi-videos-home-informacion
.oabi-videos-home-categoria,
.oabi-videos-home .oabi-videos-home-informacion
.oabi-videos-home-nombre {
    position: static;
    float: none;
    transform: none;
}


/* ==========================================
   OABI VIDEOS - PLAY Y DURACIÓN
   SIN ZOOM
   ========================================== */

/* Evitar ampliación de las miniaturas */

.oabi-videos-home .oabi-videos-home-miniatura img,
.oabi-videos-home .oabi-videos-home-miniatura video,
.oabi-videos-home .oabi-videos-home-tarjeta:hover
.oabi-videos-home-miniatura img,
.oabi-videos-home .oabi-videos-home-tarjeta:hover
.oabi-videos-home-miniatura video {
    transform: none;
}

/* Contenedor de Play y duración */

.oabi-videos-home .oabi-videos-home-reproduccion {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: auto;
    top: auto;

    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    width: auto;
    height: auto;
    z-index: 5;

    transform: none;
}

/* Círculo del botón Play */

.oabi-videos-home .oabi-videos-home-play {
    position: relative;
    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;
    margin: 0;
    padding: 0;

    border: 2px solid #ffffff;
    border-radius: 50%;
    transform: none;
}

/* Triángulo interior */

.oabi-videos-home .oabi-videos-home-play::before {
    position: static;
    display: block;
    transform: none;
}

/* Duración a la derecha */

.oabi-videos-home .oabi-videos-home-duracion {
    position: static;
    display: inline-block;
    flex: 0 0 auto;

    width: auto;
    height: auto;
    margin: 0;
    padding: 0;

    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;

    transform: none;
}

/* ==========================================
   OABI VIDEOS - SIN ZOOM NI DESPLAZAMIENTOS
   Conserva los colores del hover
   ========================================== */

.oabi-videos-home .oabi-videos-home-tarjeta,
.oabi-videos-home .oabi-videos-home-abrir,
.oabi-videos-home .oabi-videos-home-miniatura,
.oabi-videos-home .oabi-videos-home-miniatura img,
.oabi-videos-home .oabi-videos-home-miniatura video,
.oabi-videos-home .oabi-videos-home-reproduccion,
.oabi-videos-home .oabi-videos-home-play,
.oabi-videos-home .oabi-videos-home-duracion,
.oabi-videos-home .oabi-videos-home-informacion,
.oabi-videos-home .oabi-videos-home-categoria,
.oabi-videos-home .oabi-videos-home-nombre {
    scale: 1 !important;
    translate: none !important;
    transform: none !important;
}

/* Mantener la miniatura inmóvil */
.oabi-videos-home .oabi-videos-home-miniatura img,
.oabi-videos-home .oabi-videos-home-miniatura video {
    transition: none !important;
}


/* ==========================================
   OABI VIDEOS - BORDE SOLO EN INFORMACIÓN
   ========================================== */

/* Quitar borde exterior de toda la tarjeta */
.oabi-videos-home .oabi-videos-home-tarjeta {
    border: none;
    overflow: visible;
    background: transparent;
}

/* Miniatura libre de borde */
.oabi-videos-home .oabi-videos-home-miniatura {
    border: none;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* Borde únicamente alrededor del texto */
.oabi-videos-home .oabi-videos-home-informacion {
    border: 1px solid rgba(255,255,255,0.85);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-sizing: border-box;
}

/* Mantener el borde al pasar el mouse */
@media (hover: hover) and (pointer: fine) {
    .oabi-videos-home .oabi-videos-home-tarjeta:hover
    .oabi-videos-home-informacion {
        border-color: #ffffff;
    }
}

/* =====================================================
   NAVEGACIÓN MÓVIL: FLECHAS VISIBLES Y SIN SOMBRAS
   ===================================================== */
@media (max-width: 767px) {
    .oabi-videos-home .oabi-videos-home-encabezado {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .oabi-videos-home .oabi-videos-home-navegacion {
        display: flex !important;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: auto;
        min-width: 88px;
        height: auto;
        padding: 0;
        margin: 0;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }
    .oabi-videos-home .oabi-videos-home-navegacion button {
        display: inline-flex !important;
        position: static !important;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 0 !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-size: 27px;
        line-height: 1;
        opacity: 1;
        visibility: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
        appearance: none;
        cursor: pointer;
    }
    .oabi-videos-home .oabi-videos-home-navegacion button:disabled {
        opacity: .35;
        cursor: default;
    }
    .oabi-videos-home .oabi-videos-home-navegacion button:not(:disabled) {
        opacity: 1;
    }
    .oabi-videos-home .oabi-videos-home-navegacion button::before,
    .oabi-videos-home .oabi-videos-home-navegacion button::after {
        content: none !important;
        display: none !important;
    }
}

/* =========================================
   MULTIMEDIA OABI - LÍNEA SUPERIOR MÓVIL
   ========================================= */

@media (max-width: 767px) {
    .oabi-videos-home-contenedor::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.8);
        margin-bottom: 12px;
    }
}

/* ==========================================
   MULTIMEDIA OABI
   INDICADOR DE DIRECCIÓN DEL CARRUSEL
   ========================================== */

@media (max-width: 767px) {

    /* Estado normal de ambas flechas */
    .oabi-videos-home
    .oabi-videos-home-anterior,
    .oabi-videos-home
    .oabi-videos-home-siguiente {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #ffffff !important;
        opacity: 1 !important;
        transition: background-color 0.2s ease !important;
    }

    /* Cuadro gris según la dirección utilizada */
    .oabi-videos-home
    .oabi-videos-home-anterior.oabi-videos-home-activa:not(:disabled),
    .oabi-videos-home
    .oabi-videos-home-siguiente.oabi-videos-home-activa:not(:disabled) {
        background: rgba(255, 255, 255, 0.25) !important;
    }

    /* Flecha deshabilitada */
    .oabi-videos-home
    .oabi-videos-home-anterior:disabled,
    .oabi-videos-home
    .oabi-videos-home-siguiente:disabled {
        background: transparent !important;
        color: rgba(255, 255, 255, 0.35) !important;
        opacity: 1 !important;
        cursor: default !important;
    }
}

/* ==============================================
   OABI MULTIMEDIA
   CIERRE PROFESIONAL FUERA DEL VIDEO
   ============================================== */

/* Contenedor del reproductor */
.oabi-videos-home-modal
.oabi-videos-home-modal-contenido {
    position: relative !important;
    overflow: visible !important;
}

/* Botón superior derecho */
.oabi-videos-home-modal
.oabi-videos-home-cerrar {
    position: absolute !important;

    top: -52px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;

    z-index: 100 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    width: auto !important;
    height: 38px !important;
    min-width: 94px !important;

    padding: 0 13px !important;
    margin: 0 !important;

    background: #252d3c !important;
    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.25) !important;
    border-radius: 5px !important;

    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .2s ease !important;
}

/* Texto */
.oabi-videos-home-modal
.oabi-videos-home-cerrar-texto {
    display: inline-block;
    line-height: 1;
}

/* X perfectamente centrada */
.oabi-videos-home-modal
.oabi-videos-home-cerrar svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

/* Eliminar adornos heredados */
.oabi-videos-home-modal
.oabi-videos-home-cerrar::before,
.oabi-videos-home-modal
.oabi-videos-home-cerrar::after {
    content: none !important;
    display: none !important;
}

/* Hover solo en equipos con mouse */
@media (hover: hover) and (pointer: fine) {
    .oabi-videos-home-modal
    .oabi-videos-home-cerrar:hover {
        background: #224f9d !important;
    }
}

/* Tablet y móvil */
@media (max-width: 1024px) {
    .oabi-videos-home-modal
    .oabi-videos-home-cerrar {
        top: -47px !important;
        right: 0 !important;
        height: 36px !important;
        min-width: 88px !important;
        font-size: 12px !important;
    }
}

/* ==========================================
   CORRECCIÓN BOTÓN CERRAR - OABI
   ========================================== */

.oabi-videos-home-modal
.oabi-videos-home-cerrar {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

/* Texto Cerrar */
.oabi-videos-home-modal
.oabi-videos-home-cerrar
.oabi-videos-home-cerrar-texto {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    transform: none !important;
}

/* Icono X */
.oabi-videos-home-modal
.oabi-videos-home-cerrar svg {
    position: static !important;
    display: block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
/* ==========================================
   OABI MULTIMEDIA
   ALTURA UNIFORME DE LAS TARJETAS
   ========================================== */

/* Cuadrícula */
.oabi-videos-home .oabi-videos-home-lista {
    align-items: stretch;
}

/* Todas las tarjetas con la misma altura */
.oabi-videos-home .oabi-videos-home-tarjeta {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Botón que contiene imagen e información */
.oabi-videos-home .oabi-videos-home-abrir {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 0;
}

/* Miniatura: mantiene su proporción */
.oabi-videos-home .oabi-videos-home-miniatura {
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

/* Información: se estira hasta el borde inferior */
.oabi-videos-home .oabi-videos-home-informacion {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    min-height: 90px;
}

/* Mantener la distribución en móvil */
@media (max-width: 767px) {

    .oabi-videos-home .oabi-videos-home-tarjeta {
        flex: 0 0 100%;
        height: auto;
    }

    .oabi-videos-home .oabi-videos-home-informacion {
        min-height: 90px;
    }
}
/* ==========================================
   OABI MULTIMEDIA
   CONTROLES DE TIPOGRAFÍA
   ========================================== */

/* CATEGORÍA: Institucional / Presidencia */
.oabi-videos-home .oabi-videos-home-categoria {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

/* TÍTULO DE CADA VIDEO */
.oabi-videos-home .oabi-videos-home-nombre {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

/* AJUSTES PARA MÓVIL */
@media (max-width: 767px) {

    .oabi-videos-home .oabi-videos-home-categoria {
        font-size: 11px;
        font-weight: 400;
    }

    .oabi-videos-home .oabi-videos-home-nombre {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
    }
}
/* ==========================================
   MULTIMEDIA - AJUSTE DE ESPACIO EN MÓVIL
   ========================================== */

@media (max-width: 767px) {

    .oabi-videos-home {
        margin-top: -35px !important;
    }

}
/* ==========================================
   OABI MULTIMEDIA
   BOTÓN CERRAR MÁS PEQUEÑO EN MÓVIL
   ========================================== */

@media (max-width: 767px) {

    .oabi-videos-home-modal
    .oabi-videos-home-cerrar {
        top: -38px !important;
        right: 0 !important;

        width: auto !important;
        height: 28px !important;
        min-width: 65px !important;
        min-height: 28px !important;

        padding: 0 8px !important;
        gap: 5px !important;

        font-size: 10px !important;
        border-radius: 4px !important;
    }

    /* Reducir también el ícono X */
    .oabi-videos-home-modal
    .oabi-videos-home-cerrar svg {
        width: 12px !important;
        height: 12px !important;
        flex: 0 0 12px !important;
    }

}