/* ============================================================= */
/* 1. DECLARACIÓN DE FUENTE CON LA RUTA REAL DE CPANEL           */
/* ============================================================= */

@font-face {
    font-family: 'Daggersquare';
    src: url('/eec/fuentes/DAGGERSQUARE.otf') format('opentype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================================= */
/* 2. TÍTULOS Y LISTA DE ESPACIOS DISPONIBLES                    */
/* ============================================================= */

h1, h2, h3, h4, h5, h6,
.programa-h1, .programa-h2, .programa-h3,
.talento-main-title,
ul.espacios-check-list li,
ul.espacios-check-list li .check-text,
.espacios-check-list .check-text {
    font-family: 'Daggersquare', sans-serif !important;
}

/* ============================================================= */
/* 3. TAMAÑO Y COLOR DEL TEXTO DE LA LISTA                       */
/* ============================================================= */

.espacios-check-list .check-text {
    font-size: 1.35rem !important;
    color: #0b4372 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
}






/* IMAGEN CABECERA */
#mod-custom130 img {
    width: 100%;
    margin: 0px;
}

.container-banner img {
    display: block;
    margin: auto;
}

img {
    max-width: 100%;
    height: auto;
}

img, svg {
    vertical-align: middle;
}

*, ::before, ::after {
    box-sizing: border-box;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

/* Limitar el tamaño del icono SVG dentro del botón de inscripción */
.feria-intro-wrapper a.btn svg,
.feria-intro-wrapper .feria-cta-btn svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

/* Limitar el ancho completo EXCLUSIVAMENTE a la cabecera de la portada */
.home .banner-cabecera-completa,
.home .mod-custom img[src*="fondo_cabecera"],
.itemid-101 .mod-custom img[src*="fondo_cabecera"] {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* Control estricto para que las imágenes de las noticias NO se expandan */
.com-content img,
.blog img,
.card img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* TEXTO INTRODUCTORIO (Con Daggersquare) */
.feria-intro-wrapper .feria-intro-text p {
    font-size: 1.35rem !important;
    font-family: 'Daggersquare', sans-serif !important;
    color: #0b4372 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    text-align: center !important;
}

/* BOTON FLOTANTE*/

/* ============================================================= */
/* BOTÓN FLOTANTE: BACK TO TOP                                   */
/* ============================================================= */

.btn-back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 48px !important;
    height: 48px !important;
    background-color: #0b4372 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 1050 !important; /* Por encima del resto de capas y mapas */
    box-shadow: 0 4px 15px rgba(11, 67, 114, 0.3) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease !important;
}

/* Estado cuando se ha hecho scroll hacia abajo */
.btn-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Efecto hover */
.btn-back-to-top:hover {
    background-color: #2dafe6 !important;
    color: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 20px rgba(45, 175, 230, 0.4) !important;
}

/* Ajuste para dispositivos móviles para que no tape elementos */
@media (max-width: 768px) {
    .btn-back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 42px !important;
        height: 42px !important;
    }
}


/*-----------------------------------------------------------*/


/* ------------------------------------------------------------- */
/* MÓDULO DE TARJETAS (MUCHO MÁS QUE UNA FERIA)                  */
/* ------------------------------------------------------------- */

.feria-info-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem 1rem !important;
}

.feria-info-wrapper .grid-features {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

/* Tarjeta individual limpia (marcos blancos, sombras y centrado) */
.feria-info-wrapper .feature-card {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feria-info-wrapper .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Insignia del icono SVG centrada */
.feria-info-wrapper .feature-icon-badge {
    width: 60px !important;
    height: 60px !important;
    background-color: #0b4372 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Títulos de las tarjetas SÍ con Daggersquare */
.feria-info-wrapper .feature-card h3 {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0b4372 !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
}

/* Textos/Párrafos de las tarjetas CON TIPOGRAFÍA NORMAL (aislados) */
.feria-info-wrapper .feature-card p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: #4a5568 !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
}


/* ------------------------------------------------------------- */
/* MÓDULO EL ESPACIO EMPLEO CÁDIZ                                */
/* ------------------------------------------------------------- */

.feria-intro-wrapper {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 2.5rem 1rem !important;
    text-align: center !important;
}

.feria-intro-wrapper .feria-btn-container {
    margin-bottom: 2rem !important;
    text-align: center !important;
}

.feria-intro-wrapper .feria-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #0b4372 !important;
    border-color: #0b4372 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.85rem 2rem !important;
    font-size: 1.15rem !important;
    border-radius: 50rem !important;
    box-shadow: 0 4px 14px rgba(11, 67, 114, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.feria-intro-wrapper .feria-cta-btn:hover {
    background-color: #083156 !important;
    border-color: #083156 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(11, 67, 114, 0.4) !important;
    color: #ffffff !important;
}


/* ------------------------------------------------------------- */
/* MÓDULO FORMATO GENERAL                                        */
/* ------------------------------------------------------------- */

.feria-formato-container {
    background: transparent !important;
    padding: 70px 0 85px 0 !important;
    width: 100% !important;
}

.feria-formato-wrapper {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.feria-formato-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 50px !important;
    width: 100% !important;
}

.feria-formato-col-left {
    flex: 1 1 50% !important;
    max-width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.feria-formato-col-left .formato-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.8rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: #0b4372 !important;
    margin-bottom: 18px !important;
    letter-spacing: 0.5px !important;
}

.feria-formato-col-left .formato-highlight {
    color: #2dafe6 !important;
}

.feria-formato-col-left .formato-separator {
    width: 50px !important;
    height: 4px !important;
    background-color: #2dafe6 !important;
    margin-bottom: 30px !important;
    border-radius: 2px !important;
}

.feria-formato-col-left .formato-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.feria-formato-col-left .formato-item-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    background-color: #f8fafc !important;
    border-left: 4px solid #0b4372 !important;
    padding: 18px 22px !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: 0 2px 8px rgba(11, 67, 114, 0.04) !important;
}

.feria-formato-col-left .formato-item-icon {
    color: #0b4372 !important;
    font-size: 1.3rem !important;
    margin-top: 3px !important;
    min-width: 24px !important;
}

.feria-formato-col-left .formato-item-text {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #222222 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.feria-formato-col-right {
    display: block !important;
    width: 100% !important;
    flex: 1 1 40% !important;
    min-width: 280px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* La imagen tiene dimensiones definidas y comportamiento de bloque */
.feria-formato-col-right img {
    display: block !important;
    width: 100% !important;
    height: 440px !important; /* Altura fija para evitar el colapso a 0 */
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(11, 67, 114, 0.12) !important;
}

/* Modo Móvil (< 768px) */
@media (max-width: 767px) {
    .feria-formato-col-right {
        flex: 1 1 100% !important;
        margin-top: 1.5rem !important;
    }

    .feria-formato-col-right img {
        height: 240px !important; /* Altura exacta para móvil: no deja huecos ni colapsa */
        border-radius: 16px !important;
    }
}

/*------------------------------------------------------------------*/
/* ============================================================= */
/* MÓDULO TRES EJES ESTRATÉGICOS (RESPONSIVE BOOTSTRAP)          */
/* ============================================================= */

.feria-ejes-section {
    background-color: transparent !important;
    margin-bottom: 2rem !important;
}

/* --- TÍTULO Y CABECERA --- */
.ejes-main-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

.ejes-main-title .text-ifef {
    color: #2dafe6 !important;
}

/* ============================================================= */
/* MÓDULO INTRODUCTORIO CON ANCLAS E INSCRIPCIÓN                 */
/* ============================================================= */

.feria-info-section {
    background-color: transparent !important;
}

/* Tipografía de los párrafos introductorios */
.feria-info-text {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.45rem !important;
    color: #0b4372 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.5px !important;
}

/* Botones de navegación previa (Anclas) */
.btn-feria-anchor {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #ffffff !important;
    color: #0b4372 !important;
    border: 2px solid #0b4372 !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: 50rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(11, 67, 114, 0.08) !important;
    transition: all 0.25s ease !important;
}

.btn-feria-anchor svg {
    color: #2dafe6 !important;
    transition: color 0.25s ease !important;
}

.btn-feria-anchor:hover {
    background-color: #0b4372 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(11, 67, 114, 0.2) !important;
}

.btn-feria-anchor:hover svg {
    color: #ffffff !important;
}

/* Botón de inscripción principal */
.btn-feria-inscribete {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: #0b4372 !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 0.85rem 2.2rem !important;
    border-radius: 50rem !important;
    border: 2px solid #0b4372 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-feria-inscribete:hover {
    background-color: #2dafe6 !important;
    border-color: #2dafe6 !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(45, 175, 230, 0.35) !important;
}

/* Ajustes responsivos para móviles */
@media (max-width: 768px) {
    .feria-info-text {
        font-size: 1.2rem !important;
    }

    .btn-feria-anchor {
        width: 100% !important;
        justify-content: center !important;
    }

    .btn-feria-inscribete {
        width: 100% !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
    }
}

.ejes-lead {
    font-size: 1.25rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    max-width: 800px !important;
}

/* --- TARJETAS DE LOS EJES --- */
.eje-panel {
    border-top: 5px solid #2dafe6 !important; /* Detalle de color superior */
    border-left: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    z-index: 1 !important;
    overflow: hidden !important; /* Para que el número gigante no se salga */
}

.eje-panel:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(11, 67, 114, 0.1) !important;
}

/* --- NÚMERO GIGANTE DE FONDO --- */
.eje-badge-index {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 6rem !important;
    color: #e0f2fe !important; /* Cyan extremadamente claro */
    line-height: 1 !important;
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    z-index: -1 !important; /* Se queda por debajo del texto */
    opacity: 0.6 !important;
}

/* --- TEXTOS DE LA TARJETA --- */
.eje-headline {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 2rem !important;
    color: #0b4372 !important;
    position: relative !important;
    z-index: 2 !important;
}

.eje-claim {
    font-size: 1.1rem !important;
    color: #334155 !important;
    position: relative !important;
    z-index: 2 !important;
}

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 991px) {
    .ejes-main-title {
        font-size: 2.6rem !important;
    }
}
/*---------------------------------------------------------------*/

/* ============================================================= */
/* MÓDULO PROGRAMA & LÍNEA DE TIEMPO (TIMELINE) - DEFINITIVO     */
/* ============================================================= */

.feria-programa-container {
    width: 100% !important;
    padding: 70px 0 85px 0 !important;
    background: transparent !important;
}

.feria-programa-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Título de la sección Programa */
.feria-programa-wrapper .section-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
}

/* Selector de pestañas (Días) */
.feria-programa-wrapper .programa-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-bottom: 3rem !important;
}

.feria-programa-wrapper .tab-btn {
    background-color: #f1f5f9 !important;
    color: #0b4372 !important;
    border: 2px solid #0b4372 !important;
    padding: 0.75rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 50rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.feria-programa-wrapper .tab-btn.active,
.feria-programa-wrapper .tab-btn:hover {
    background-color: #0b4372 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11, 67, 114, 0.3) !important;
}

/* Paneles de los días */
.feria-programa-wrapper .timeline-day-panel {
    display: none !important;
}

.feria-programa-wrapper .timeline-day-panel.active {
    display: block !important;
    animation: fadeInDay 0.4s ease-in-out !important;
}

@keyframes fadeInDay {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------- */
/* MATEMÁTICA EXACTA DE LA LÍNEA DE TIEMPO Y LAS HORAS           */
/* ------------------------------------------------------------- */
.feria-programa-wrapper .timeline {
    position: relative !important;
    padding-left: 200px !important; /* Espacio masivo a la izquierda */
}

.feria-programa-wrapper .timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 170px !important; /* La línea vertical */
    top: 10px !important;
    bottom: 10px !important;
    width: 3px !important;
    background-color: #cbd5e1 !important;
}

.feria-programa-wrapper .timeline-item {
    position: relative !important;
    margin-bottom: 2.5rem !important;
}

/* HORA A LA IZQUIERDA (Blindada para que no corte la 'h.') */
.feria-programa-wrapper .timeline-time {
    position: absolute !important;
    left: -200px !important; 
    width: 155px !important; /* Deja 15px de aire antes de la línea */
    text-align: right !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    color: #0b4372 !important;
    top: 5px !important;
    white-space: nowrap !important; /* Prohíbe que la 'h.' salte abajo */
    overflow: visible !important;
}

/* MARCADOR/BOLITA CENTRADO EN LA LÍNEA */
.feria-programa-wrapper .timeline-marker {
    position: absolute !important;
    left: -39px !important; /* Centrado matemático sobre la línea de 170px */
    top: 6px !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.feria-programa-wrapper .timeline-node {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    background-color: #0b4372 !important;
    border-radius: 50% !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 2px #0b4372 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.feria-programa-wrapper .timeline-node.node-hollow {
    background-color: #ffffff !important;
    border: 3px solid #0b4372 !important;
    box-shadow: 0 0 0 2px #ffffff !important;
}

/* ------------------------------------------------------------- */
/* CONTENIDOS Y TALLERES                                         */
/* ------------------------------------------------------------- */
.feria-programa-wrapper .timeline-content {
    background: #ffffff !important;
    padding: 1.75rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    border-left: 5px solid #0b4372 !important;
}

.feria-programa-wrapper .timeline-heading {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.35rem !important;
    color: #0b4372 !important;
    margin-bottom: 0.35rem !important;
}

.feria-programa-wrapper .timeline-meta-tag {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1rem !important;
}

.feria-programa-wrapper .timeline-body-text {
    font-size: 1rem !important;
    color: #334155 !important;
    margin-bottom: 1rem !important;
}

.feria-programa-wrapper .timeline-desc-box {
    background-color: #f8fafc !important;
    padding: 1.25rem !important;
    border-radius: 0.5rem !important;
    margin-top: 1rem !important;
    border: 1px solid #e2e8f0 !important;
}

.feria-programa-wrapper .workshop-tree {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 1.5rem 0 !important;
}

.feria-programa-wrapper .workshop-item {
    background: #ffffff !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
    border: 1px solid #e2e8f0 !important;
}

.feria-programa-wrapper .workshop-title {
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 1.02rem !important;
    margin-bottom: 0.5rem !important;
}

.feria-programa-wrapper .hora-tag {
    display: inline-block !important;
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.85rem !important;
    margin-right: 6px !important;
}

/* ------------------------------------------------------------- */
/* DETALLES DEL PONENTE Y AVATAR (Blindaje estructural)          */
/* ------------------------------------------------------------- */
.feria-programa-wrapper .branch-tree-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 1.5rem !important;
    font-size: 0.95rem !important;
    color: #475569 !important;
    margin-top: 0.25rem !important;
    margin-left:1.25rem;
}

.feria-programa-wrapper .branch-row {
    display: flex !important;
    flex-direction: row !important; /* Fuerza dirección horizontal */
    align-items: center !important; /* Centrado vertical perfecto */
    flex-wrap: nowrap !important; /* Prohibido saltar de línea */
    gap: 8px !important;
}

.feria-programa-wrapper .branch-label {
    font-weight: 700 !important;
    color: #64748b !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
}

.feria-programa-wrapper .branch-val {
    display: inline-flex !important; /* Clave para juntar texto e icono horizontalmente */
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important; /* Prohibido saltar de línea */
    gap: 8px !important;
    font-weight: 600 !important;
    color: #0b4372 !important;
    margin: 0 !important;
    white-space: nowrap !important; /* Mantiene el nombre pegado a la foto */
}

/* AVATAR ESTRICTAMENTE ACORRALADO PARA QUE NO CREZCA */
.feria-programa-wrapper .branch-photo,
.feria-programa-wrapper .branch-val svg {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    flex: 0 0 64px !important; /* Impide terminantemente que la plantilla lo expanda */
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

/* ------------------------------------------------------------- */
/* SUBLISTAS Y RESPONSIVE                                        */
/* ------------------------------------------------------------- */
.feria-programa-wrapper .timeline-sublist {
    list-style: disc !important;
    padding-left: 1.25rem !important;
    margin: 0.5rem 0 !important;
    color: #334155 !important;
}

.feria-programa-wrapper .timeline-sublist li {
    margin-bottom: 0.4rem !important;
    font-size: 0.95rem !important;
}

@media (max-width: 768px) {
    .feria-programa-wrapper .timeline {
        padding-left: 30px !important;
    }
    .feria-programa-wrapper .timeline::before {
        left: 10px !important;
    }
    .feria-programa-wrapper .timeline-time {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 0.25rem !important;
        white-space: normal !important;
    }
    .feria-programa-wrapper .timeline-marker {
        left: -30px !important;
    }
}

/* ============================================================= */
/* MÓDULO ESPACIOS DISPONIBLES (UNIFORME 2 COLUMNAS)             */
/* ============================================================= */

.espacios-section {
    background-color: transparent !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* --- COLUMNA IZQUIERDA: TEXTOS --- */
.espacios-info-col .espacios-main-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
}

.espacios-info-col .text-ifef {
    color: #2dafe6 !important;
}

.espacios-decor-line {
    width: 80px !important;
    height: 5px !important;
    background-color: #2dafe6 !important;
    margin-bottom: 2rem !important;
    border-radius: 2px !important;
}

.espacios-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.espacios-checklist li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 1.2rem !important;
}

.espacios-checklist .check-bullet {
    color: #2dafe6 !important;
    font-size: 2rem !important;
    line-height: 0.5 !important;
}

.espacios-checklist .check-text {
    font-size: 1.15rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

/* --- TARJETAS: MISMO ANCHO Y ALTO EXACTO --- */
.espacio-photo-card {
    position: relative !important;
    height: 190px !important; /* Altura estándar idéntica para todas */
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #cbd5e1 !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: block !important;
    width: 100% !important;
}

.espacio-photo-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(11, 67, 114, 0.2) !important;
}

/* Degradado */
.espacio-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(11, 67, 114, 0.95) 0%, rgba(11, 67, 114, 0.1) 60%, transparent 100%) !important;
    opacity: 0.85 !important;
    transition: opacity 0.3s ease !important;
}

.espacio-photo-card:hover .espacio-card-overlay {
    opacity: 1 !important;
}

/* Textos dentro de la tarjeta */
.espacio-card-content {
    position: absolute !important;
    bottom: 15px !important;
    left: 15px !important;
    right: 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    z-index: 2 !important;
}

.espacio-card-title {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.espacio-card-btn {
    background-color: #2dafe6 !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    transition: background-color 0.3s ease !important;
}

.espacio-photo-card:hover .espacio-card-btn {
    background-color: #ffffff !important;
    color: #0b4372 !important;
}

/* Anulación directa de cualquier estilo previo para la primera tarjeta */
.espacios-gallery-col .espacio-photo-card,
.espacios-gallery-col .espacio-photo-card.card-andenes {
    height: 190px !important;
    max-height: 190px !important;
    min-height: 190px !important;
    width: 100% !important;
    grid-column: auto !important;
}

/* Responsivo títulos */
@media (max-width: 991px) {
    .espacios-info-col .espacios-main-title {
        font-size: 2.8rem !important;
    }
}

/* ============================================================= */
/* MÓDULO MESAS SECTORIALES - CENTRADO ABSOLUTO                  */
/* ============================================================= */

.mesas-section {
    background-color: #ffffff !important;
    margin-bottom: 2rem !important;
}

/* --- ENCABEZADO --- */
.mesas-main-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
}

.mesas-main-title .text-ifef {
    color: #2dafe6 !important;
}

.mesas-divider-line {
    width: 80px !important;
    height: 5px !important;
    background-color: #2dafe6 !important;
    margin-bottom: 1.5rem !important;
    border-radius: 2px !important;
}

.mesas-subtitle {
    font-size: 1.25rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

/* --- LISTA DE SECTORES --- */
.mesas-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important; /* Cambiado a block para asegurar el margen automático */
    width: 100% !important;
}

/* CLAVE PARA CENTRAR LOS BOTONES INFALIBLEMENTE */
.mesas-item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 750px !important; 
    margin: 0 auto 1.25rem auto !important; /* Centrado forzoso en el eje X */
    background-color: #f8fafc !important;
    padding: 1rem 1.5rem !important;
    border-radius: 50rem !important;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.mesas-item:hover {
    transform: translateY(-4px) !important; /* Movimiento vertical para evitar que se desalinee */
    box-shadow: 0 6px 16px rgba(11, 67, 114, 0.15) !important;
    border-color: #2dafe6 !important;
}

.mesas-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #0b4372 !important;
    color: #ffffff !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50% !important;
    margin-right: 1.25rem !important;
    box-shadow: 0 2px 6px rgba(11, 67, 114, 0.2) !important;
}

.mesas-text {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    letter-spacing: 0.5px !important;
}

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 991px) {
    .mesas-main-title {
        font-size: 2.8rem !important;
    }
    
    .mesas-item {
        border-radius: 12px !important;
        padding: 1rem !important;
    }
}




/* ============================================================= */
/* MÓDULO MESAS SECTORIALES: ¿DE QUÉ HABLAREMOS?                 */
/* ============================================================= */

.mesas-temas-section {
    background-color: transparent !important; 
    margin-bottom: 2rem !important;
}

/* --- CABECERA --- */
.mesas-temas-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
}

.mesas-temas-title .text-ifef {
    color: #2dafe6 !important;
}

/* Reutilizamos la misma línea divisoria por coherencia */
.mesas-divider-line {
    width: 80px !important;
    height: 5px !important;
    background-color: #2dafe6 !important;
    margin-bottom: 1.5rem !important;
    border-radius: 2px !important;
}

/* --- TARJETAS --- */
.mesas-tema-card {
    display: flex !important;
    align-items: flex-start !important;
    background-color: #ffffff !important;
    padding: 1.75rem !important;
    border-radius: 12px !important;
    border-left: 5px solid #2dafe6 !important; /* Detalle de color en el borde izquierdo */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.mesas-tema-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(11, 67, 114, 0.1) !important;
}

/* --- ICONO DE CHECK --- */
.mesas-card-check {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #e0f2fe !important; /* Fondo azul muy claro */
    color: #2dafe6 !important; /* Color cyan del check */
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    margin-right: 1.25rem !important;
}

/* --- TEXTO DE LA TARJETA --- */
.mesas-card-content p {
    font-size: 1.05rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 991px) {
    .mesas-temas-title {
        font-size: 2.5rem !important;
    }
    
    .mesas-tema-card {
        padding: 1.25rem !important;
    }
}


/* ============================================================= */
/* MÓDULO JORNADAS: DOS MAÑANAS, DOS DÍAS DE TALENTO             */
/* ============================================================= */

.jornadas-section {
    background-color: transparent !important;
    margin-bottom: 2rem !important;
}

/* --- CABECERA --- */
.jornadas-tag {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 2px !important;
}

.jornadas-main-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
}

.jornadas-main-title .text-ifef {
    color: #2dafe6 !important;
}

.jornadas-divider-line {
    width: 80px !important;
    height: 5px !important;
    background-color: #2dafe6 !important;
    border-radius: 2px !important;
}

/* --- TARJETAS --- */
.jornada-card {
    border: 1px solid #e2e8f0 !important;
    transition: box-shadow 0.3s ease !important;
}

.jornada-card:hover {
    box-shadow: 0 10px 25px rgba(11, 67, 114, 0.08) !important;
}

/* --- INSIGNIA DE FECHA --- */
.jornada-badge-date {
    background-color: #0b4372 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    box-shadow: 0 4px 10px rgba(11, 67, 114, 0.2) !important;
}

.jornada-day {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.jornada-month {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

/* Texto junto a la fecha */
.jornada-session-tag {
    color: #2dafe6 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.jornada-date-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #0b4372 !important;
}

/* --- LÍNEA DE TIEMPO INTERNA --- */
.jornada-timeline {
    border-left: 2px solid #e2e8f0 !important;
    margin-left: 15px !important;
    padding-left: 25px !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}

.jornada-event {
    position: relative !important;
    margin-bottom: 2rem !important;
}

.jornada-event:last-child {
    margin-bottom: 0 !important;
}

/* Marcador (Puntito en la línea) */
.jornada-event-marker {
    position: absolute !important;
    left: -32px !important; /* Centrado exacto sobre el borde izquierdo */
    top: 4px !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #2dafe6 !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 2px #2dafe6 !important;
}

/* Contenido del evento */
.jornada-event-time {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0b4372 !important;
    margin-bottom: 0.25rem !important;
}

.jornada-event-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 0.5rem !important;
}

/* --- LISTA DE PÍLDORAS (TALLERES) --- */
.jornada-pills-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 0.75rem !important;
}

.jornada-pills-list li {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    border-radius: 50rem !important;
    border: 1px solid #e2e8f0 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .jornadas-main-title {
        font-size: 2.8rem !important;
    }
}



/* ============================================================= */
/* MÓDULO TALENTO: CONECTA CON EL TALENTO QUE BUSCAS             */
/* ============================================================= */

.talento-section {
    background-color: #ffffff !important;
    margin-bottom: 2rem !important;
}

/* --- TÍTULO --- */
.talento-main-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

.talento-main-title .text-ifef {
    color: #2dafe6 !important;
}

/* --- LISTA DE BARRAS DE PERFILES --- */
.talento-bars-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
}

.talento-bar-item {
    background-color: #0b4372 !important;
    color: #ffffff !important;
    padding: 1rem 1.5rem !important;
    margin-bottom: 1rem !important;
    border-radius: 50rem !important; /* Bordes redondeados */
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(11, 67, 114, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}

.talento-bar-item:hover {
    transform: translateX(10px) !important;
    background-color: #2dafe6 !important; /* Cambia a cyan al pasar el ratón */
}

/* Flecha decorativa dentro de la barra */
.talento-bar-item::before {
    content: '→' !important;
    margin-right: 15px !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #2dafe6 !important;
    transition: color 0.3s ease !important;
}

.talento-bar-item:hover::before {
    color: #ffffff !important;
}

/* --- NOTA DEL PIE --- */
.talento-footer-note {
    background-color: #f1f5f9 !important; /* Fondo gris muy clarito */
    border-left: 5px solid #2dafe6 !important; /* Línea lateral gruesa */
    padding: 1.5rem !important;
    border-radius: 0 12px 12px 0 !important;
}

.talento-note-strong {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0b4372 !important;
    margin-bottom: 0.5rem !important;
}

.talento-note-sub {
    font-size: 1rem !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
}

/* --- IMAGEN --- */
.talento-image-card {
    border: 4px solid #ffffff !important;
    transition: transform 0.4s ease !important;
}

.talento-image-card:hover {
    transform: scale(1.02) !important;
}

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 991px) {
    .talento-main-title {
        font-size: 2.8rem !important;
    }
    
    .talento-bar-item {
        border-radius: 12px !important; /* Mejor en cajas rectangulares para móvil */
    }
    
    .talento-image-col {
        margin-top: 1.5rem !important;
    }
}


/* ============================================================= */
/* MÓDULO CONTACTO Y MAPA                                        */
/* ============================================================= */

.contacto-section {
    background-color: #f1f5f9 !important; /* Fondo gris para diferenciar el pie */
    padding-bottom: 4rem !important;
}

/* --- TÍTULO --- */
.contacto-main-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 3.5rem !important;
    color: #0b4372 !important;
    letter-spacing: 1px !important;
}

.contacto-main-title .text-ifef {
    color: #2dafe6 !important;
}

/* --- TARJETA DE INFORMACIÓN (Izquierda) --- */
.contacto-info-card {
    border-top: 5px solid #2dafe6 !important; /* Detalle corporativo arriba */
    border-left: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.contacto-subtitle {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #0b4372 !important;
}

.contacto-address {
    font-size: 1.15rem !important;
    color: #334155 !important;
    line-height: 1.4 !important;
}

.contacto-address strong {
    color: #0b4372 !important;
    font-size: 1.25rem !important;
}

.contacto-details {
    font-size: 1rem !important;
    border-top: 1px solid #e2e8f0 !important;
    line-height: 1.5 !important;
}

/* --- TARJETA FLOTANTE DEL MAPA (Overlay) --- */
.gmap-overlay-card {
    top: 20px !important;
    left: 20px !important;
    width: 290px !important;
    z-index: 10 !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.gmap-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #0b4372 !important;
    margin-bottom: 0.35rem !important;
}

.gmap-card-address {
    font-size: 0.85rem !important;
    color: #475569 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
}

.gmap-card-event {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #2dafe6 !important;
    margin-bottom: 0 !important;
}

/* Botón de "Abrir en Maps" */
.btn-gmap-open {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #ffffff !important;
    color: #0b4372 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    border: 2px solid #0b4372 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-gmap-open:hover {
    background-color: #0b4372 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 991px) {
    .contacto-main-title {
        font-size: 2.8rem !important;
    }
    
    .gmap-overlay-card {
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 350px !important;
    }
}


.contacto-section {
    background-color: transparent !important; /* Quita el fondo gris */
    padding-bottom: 4rem !important;
}


/* -------------------------------------------------------------
   4.2 SEPARADOR PANORÁMICO PARALLAX
------------------------------------------------------------- */
/* ============================================================= */
/* MÓDULO PARALLAX: ANCHO COMPLETO (100% VIEWPORT)               */
/* ============================================================= */

/* ============================================================= */
/* MÓDULO PARALLAX: ANCHO COMPLETO (SIN CAPA/OVERLAY)            */
/* ============================================================= */

.parallax-divider {
    position: relative !important;
    /* Técnica de escape para ancho completo 100vw */
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    
    min-height: 550px !important;
    background-color: transparent !important;
    background-image: url('/eec//images/collage.png'), url('/eec/images/collage.png') !important;
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 100px 20px !important;
    overflow: hidden !important;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Contenedor del contenido centrado */
.parallax-divider-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 950px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 15px !important;
}

.parallax-divider-content h2 {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 2.8rem !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
    /* Sombra de contorno pronunciada para legibilidad directa sobre la foto */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.8) !important;
    letter-spacing: 0.5px !important;
}

.parallax-divider-content p {
    font-size: 1.25rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    max-width: 820px !important;
    margin: 18px auto 0 auto !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

/* Optimización para dispositivos móviles */
@media (max-width: 991px) {
    .parallax-divider {
        min-height: 400px !important;
        padding: 60px 15px !important;
        background-attachment: scroll !important;
    }

    .parallax-divider-content h2 {
        font-size: 1.85rem !important;
    }

    .parallax-divider-content p {
        font-size: 1.1rem !important;
    }
}

/*-----------------------------------------------------------*/

#mod-custom144, #mod-custom144 #info, #mod-custom144 .container, #feria-info-section{
    margin: 0 !important;
    padding: 0 !important;
}

.ocultar{
    display: none;
}

div#info{
    padding-bottom: 0 !important;
}




/*RESPONSIVIDAD MUCHO MAS*/

//* ============================================================= */
/* MÓDULO FORMATO GENERAL (MUCHO MÁS QUE UNA FERIA)              */
/* ============================================================= */

.feria-formato-bloque {
    width: 100% !important;
    background-color: transparent !important;
}

/* Título principal con Daggersquare y colores corporativos */
.formato-titulo-modulo {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 2.8rem !important;
    color: #0b4372 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.formato-titulo-modulo .text-azul-claro {
    color: #2dafe6 !important;
}

/* Caja/Tarjeta blanca con marco, borde y sombra */
.tarjeta-formato {
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 18px !important;
    padding: 2rem 1.25rem !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(11, 67, 114, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.tarjeta-formato:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(11, 67, 114, 0.14) !important;
}

/* Recuadro azul del icono */
.icono-cuadro-azul {
    width: 62px !important;
    height: 62px !important;
    background-color: #0b4372 !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
}

.icono-cuadro-azul svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Título de cada tarjeta (¿Cómo?, ¿Cuándo?, etc.) */
.tarjeta-formato-titulo {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.6rem !important;
    color: #0b4372 !important;
    margin-bottom: 0.5rem !important;
}

/* Texto descriptivo estándar */
.tarjeta-formato-texto {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

/* Adaptación para pantallas de móvil */
@media (max-width: 767px) {
    .feria-formato-bloque {
        padding-top: 4rem !important; /* Margen para no chocar con el menú */
    }

    .formato-titulo-modulo {
        font-size: 1.85rem !important;
        margin-bottom: 1.5rem !important;
    }

    .tarjeta-formato {
        padding: 1.25rem 1rem !important;
    }

    .icono-cuadro-azul {
        width: 52px !important;
        height: 52px !important;
        border-radius: 12px !important;
        margin-bottom: 0.85rem !important;
    }

    .icono-cuadro-azul svg {
        width: 26px !important;
        height: 26px !important;
    }

    .tarjeta-formato-titulo {
        font-size: 1.35rem !important;
    }
}


/* ============================================================= */
/* MÓDULO FORMATO GENERAL: ESTRUCTURA GRID Y RESPONSIVE         */
/* ============================================================= */

.feria-formato-container {
    width: 100% !important;
    padding: 3rem 1rem !important;
    background-color: transparent !important;
}

.feria-formato-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* En PC: 2 columnas equilibradas */
.feria-formato-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 2.5rem !important;
}

.feria-formato-col-left {
    flex: 1 1 55% !important;
    min-width: 300px !important;
}

.feria-formato-col-right {
    flex: 1 1 38% !important;
    min-width: 280px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Tipografía y elementos de la columna izquierda */
.formato-title {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 2.8rem !important;
    color: #0b4372 !important;
    line-height: 1.15 !important;
    margin-bottom: 0.5rem !important;
    white-space: normal !important;
    word-break: normal !important;
}

.formato-highlight {
    color: #2dafe6 !important;
}

.formato-separator {
    width: 60px !important;
    height: 4px !important;
    background-color: #2dafe6 !important;
    border-radius: 2px !important;
    margin-bottom: 1.75rem !important;
}

.formato-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

/* Tarjetas individuales de los puntos */
.formato-item-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    background-color: #ffffff !important;
    border-left: 4px solid #0b4372 !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    box-shadow: 0 4px 15px rgba(11, 67, 114, 0.06) !important;
}

.formato-item-icon {
    font-size: 1.4rem !important;
    color: #0b4372 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.formato-item-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
}

/* Imagen lateral en PC */
.feria-formato-col-right img {
    width: 100% !important;
    max-height: 480px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(11, 67, 114, 0.12) !important;
    display: block !important;
}

/* ============================================================= */
/* MODO MÓVIL (< 768px): 1 COLUMNA COMPLETA                     */
/* ============================================================= */
@media (max-width: 767px) {
    .feria-formato-container {
        padding-top: 4.5rem !important; /* Evita que la cabecera fija tape el título */
        padding-bottom: 2rem !important;
    }

    .feria-formato-grid {
        flex-direction: column !important; /* Pone una columna encima de otra */
        gap: 1.75rem !important;
    }

    .feria-formato-col-left,
    .feria-formato-col-right {
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }

    .formato-title {
        font-size: 2rem !important; /* Tamaño proporcional para que no desborde en móvil */
        line-height: 1.2 !important;
    }

    .feria-formato-col-right img {
        max-height: 250px !important; /* Altura adecuada para la foto en móvil */
        width: 100% !important;
    }
}

/* Corrección: la columna de la imagen se ajusta al contenido sin dejar hueco blanco */
.feria-formato-col-right {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: center !important; /* En PC se centra verticalmente con el texto */
}

/* La imagen pasa a gobernar su propio tamaño con su sombra y bordes */
.feria-formato-col-right img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 480px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(11, 67, 114, 0.12) !important;
}

@media (max-width: 767px) {
    .feria-formato-col-right {
        margin-top: 1.5rem !important;
    }

    .feria-formato-col-right img {
        max-height: 260px !important;
        border-radius: 16px !important;
    }
}

/* ============================================================= */
/* DETALLES DE DIRECCIÓN Y UBICACIÓN (TARJETA ¿DÓNDE?)           */
/* ============================================================= */

.tarjeta-formato-subtexto {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #0b4372 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.65rem !important;
    line-height: 1.3 !important;
}

.tarjeta-formato-badge {
    display: inline-block !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.8rem !important;
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0.3rem 0.55rem !important;
    line-height: 1.3 !important;
}

/*==================================================================*/

/* VARIOS */

/* ============================================================= */
/* APLICAR DAGGERSQUARE AL SUBTÍTULO DE EJES (CLASE REAL)       */
/* ============================================================= */

.ejes-lead {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.35rem !important;
    color: #0b4372 !important;
    letter-spacing: 0.6px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 767px) {
    .ejes-lead {
        font-size: 1.1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* ============================================================= */
/* FORZAR DAGGERSQUARE EN TODOS LOS TEXTOS DE ESPACIOS           */
/* ============================================================= */

.espacios-section ul,
.espacios-section ul li,
.espacios-section ul li *,
ul.espacios-check-list,
ul.espacios-check-list li,
ul.espacios-check-list li *,
.espacios-check-list span,
.espacios-check-list p {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.35rem !important;
    color: #0b4372 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
}

@media (max-width: 767px) {
    .espacios-section ul li,
    .espacios-section ul li *,
    ul.espacios-check-list li,
    ul.espacios-check-list li * {
        font-size: 1.15rem !important;
    }
}

/* ============================================================= */
/* SUBTÍTULO MESAS SECTORIALES (DAGGERSQUARE)                    */
/* ============================================================= */

.mesas-subtitle,
p.mesas-subtitle {
    font-family: 'Daggersquare', sans-serif !important;
    font-size: 1.25rem !important;
    color: #0b4372 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    max-width: 750px !important;
    margin: 0 auto 1.5rem auto !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    .mesas-subtitle,
    p.mesas-subtitle {
        font-size: 1.1rem !important;
    }
}


/* ============================================================= */
/* ESTRUCTURA FILAS BRANCH-TREE (ALINEACIÓN UNIFICADA)           */
/* ============================================================= */

.branch-row {
    display: flex !important;
    align-items: center !important; /* Centra PONENTE con el nombre y el avatar */
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.branch-label {
    min-width: 95px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    align-self: center !important;
}

.branch-val-group,
.branch-val {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    flex-grow: 1 !important;
}

.branch-text {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
}

.branch-text-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.branch-item {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    color: #0b4372 !important;
}

.branch-photo {
    flex-shrink: 0 !important;
    border-radius: 50% !important;
}

/* Excepción necesaria: En las filas con múltiples ponentes apilados (Tamara, Junta, Ian), 
   la etiqueta PONENTES debe alinearse arriba del todo */
.branch-row-ponentes {
    align-items: flex-start !important;
}

.branch-row-ponentes .branch-label {
    align-self: flex-start !important;
    padding-top: 4px !important;
}

@media (max-width: 767px) {
    .branch-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    
    .branch-label {
        min-width: auto !important;
        align-self: flex-start !important;
    }

    .branch-val-group,
    .branch-val {
        width: 100% !important;
    }
}

/* ============================================================= */
/* CUADRÍCULA DE LOGOS (BLINDADA)                                */
/* ============================================================= */

.logos-grid-container {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

.logo-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    width: 100% !important;
    height: 170px !important; /* Altura forzada fija para que nunca colapse a 0 */
    min-height: 170px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
}

.logo-card img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

/* Tablet */
@media (max-width: 991px) {
    .logos-grid-container {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .logo-card {
        height: 150px !important;
        min-height: 150px !important;
    }
}



@media (max-width: 768px) {
    /* Destruimos cualquier ancho heredado o restricción de las cajas en móvil */
    .feria-programa-container .timeline-desc-box,
    .feria-programa-container .workshop-tree,
    .feria-programa-container .workshop-item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        clear: both !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 10px !important;
        overflow: visible !important;
    }

    /* Forzamos que la línea del ponente y ubicación sean bloques verticales completos */
    .feria-programa-container .branch-row,
    .feria-programa-container .branch-val-group {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        float: none !important;
        clear: both !important;
    }

    /* Hacemos que cualquier texto, nombre o ubicación salte de línea y se adapte al marco */
    .feria-programa-container .branch-val,
    .feria-programa-container .branch-text,
    .feria-programa-container .branch-person-role,
    .feria-programa-container .timeline-heading,
    .feria-programa-container .workshop-title {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Obligamos al avatar a situarse abajo de forma limpia */
    .feria-programa-container .branch-photo,
    .feria-programa-container img.branch-photo,
    .feria-programa-container svg.branch-photo {
        position: static !important;
        float: none !important;
        display: block !important;
        margin: 12px 0 0 0 !important;
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }
}



/* Corrección definitiva para mesas redondas y múltiples ponentes en pantallas grandes */
.branch-row-ponentes {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.branch-row-ponentes .branch-val-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 15px !important;
    box-sizing: border-box !important;
}

.branch-row-ponentes .branch-text-list {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: calc(100% - 75px) !important;
    max-width: calc(100% - 75px) !important;
}

.branch-row-ponentes .branch-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.branch-row-ponentes .branch-person-role {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.branch-row-ponentes .branch-photo,
.branch-row-ponentes img.branch-photo,
.branch-row-ponentes svg.branch-photo {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
}



/* Eliminamos cualquier efecto de zoom, transición o sombra al pasar el ratón */
.espacio-photo-card,
.espacio-photo-card:hover,
.espacio-photo-card:focus {
    transform: none !important;
    transition: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

/* Estilo general para asegurar que las tarjetas mantengan su altura y posición */
.espacio-photo-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    height: 190px !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Contenedor específico para la imagen real del Auditorio para que llene la tarjeta perfectamente */
.card-auditorio .img-auditorio {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 1 !important;
}

/* Aseguramos que el título del auditorio quede por encima de la foto de forma visible */
.card-auditorio .espacio-card-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Posicionamiento y diseño idéntico para la etiqueta del título en el auditorio */
.card-auditorio {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.card-auditorio .img-auditorio {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 1 !important;
}

.card-auditorio .espacio-card-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 12px !important;
    z-index: 2 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%) !important;
}

.card-auditorio .espacio-card-title {
    color: #fff !important;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: left !important;
}


/* estilos zonas y espacios */

/* ==========================================================
   ESTILOS EXTERNOS - SECCIONES DE LA FERIA
   ========================================================== */

.feria-contenedor-general {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155 !important;
    line-height: 1.7 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* Tarjeta contenedora de cada sección con amplia separación vertical */
.feria-tarjeta-seccion {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 50px !important;
    overflow: hidden !important;
}

/* Títulos principales con posición relativa para el subrayado */
.feria-titulo {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    font-size: 1.8rem !important;
    color: #0b3c5d !important;
    padding: 22px 25px !important;
    margin: 0 !important;
    font-weight: 800 !important;
    position: relative !important;
    background: #ffffff !important;
    border-bottom: 2px solid transparent !important;
}

/* Línea degradada desde celeste (#00b4d8) hasta transparente */
.feria-titulo::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(to right, #00b4d8 0%, rgba(0, 180, 216, 0.4) 50%, rgba(255, 255, 255, 0) 100%) !important;
    display: block !important;
    z-index: 2 !important;
}

/* Contenedor del icono (AUMENTADO DE TAMAÑO) */
.feria-titulo .icono-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    background: #e0f7fa !important;
    border-radius: 14px !important;
    font-size: 1.8rem !important; /* Icono/emoji más grande */
    flex-shrink: 0 !important;
}

/* Cuerpo interno de la tarjeta */
.feria-cuerpo-contenido {
    padding: 35px !important;
}

.feria-cuerpo-contenido p {
    margin-bottom: 18px !important;
    font-size: 1.1rem !important;
}

/* Subtítulos internos (AUMENTADOS DE TAMAÑO) */
.feria-subtitulo {
    font-size: 1.45rem !important; /* Texto de subtítulo más grande y visible */
    color: #0b3c5d !important;
    margin-top: 35px !important;
    margin-bottom: 18px !important;
    font-weight: 700 !important;
    border-left: 5px solid #00b4d8 !important;
    padding-left: 14px !important;
}

/* Grid de instituciones (enlaces) */
.instituciones-grid {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 14px !important;
    margin: 25px 0 !important;
}

.instituciones-grid li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
}

.instituciones-grid li a::after {
    content: "→" !important;
    color: #00b4d8 !important;
    font-weight: bold !important;
}

.instituciones-grid li a:hover {
    background: #0b3c5d !important;
    color: #ffffff !important;
    border-color: #0b3c5d !important;
    transform: translateY(-3px) !important;
}

/* Listas con viñetas personalizadas */
.lista-tematicas {
    margin-bottom: 25px !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.lista-tematicas li {
    position: relative !important;
    padding-left: 28px !important;
    margin-bottom: 12px !important;
    font-size: 1.05rem !important;
}

.lista-tematicas li::before {
    content: "▪" !important;
    position: absolute !important;
    left: 0 !important;
    color: #00b4d8 !important;
    font-size: 1.3rem !important;
}

.destacado-cierre {
    font-weight: 800 !important;
    color: #0b3c5d !important;
    font-size: 1.25rem !important;
    margin-top: 30px !important;
    text-align: center !important;
    background: #f0fdf4 !important;
    border: 1px dashed #22c55e !important;
    padding: 15px !important;
    border-radius: 10px !important;
}

.link-externo {
    color: #00b4d8 !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

/* ==========================================================
   ESTILOS PARA LA GRILLA DE LOGOS Y TARJETAS
   ========================================================== */

/* Contenedor general de la rejilla de logos */
.logos-grid-container {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; /* Fuerza estrictamente 5 columnas por fila */
    gap: 20px !important; /* Espacio uniforme entre tarjetas */
    width: 100% !important;
    margin: 30px 0 !important;
    box-sizing: border-box !important;
}

/* Tarjeta individual contenedora del logo */
.logo-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03) !important;
    height: 120px !important; /* Altura fija para mantener todas las tarjetas alineadas */
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Efecto hover suave al pasar el cursor por la tarjeta */
.logo-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Clase universal para ajustar cualquier imagen dentro de la tarjeta */
.logo-img-fit {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

/* ==========================================================
   ADAPTACIÓN RESPONSIVA (MÓVILES Y TABLETS)
   ========================================================== */

/* En tablets (pantallas medianas), bajamos a 3 columnas */
@media (max-width: 992px) {
    .logos-grid-container {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* En smartphones (pantallas pequeñas), bajamos a 2 columnas */
@media (max-width: 576px) {
    .logos-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}