.elementor-18277 .elementor-element.elementor-element-3c36893{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18277 .elementor-element.elementor-element-3c36893.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-18277 .elementor-element.elementor-element-173d4b0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18277 .elementor-element.elementor-element-9573877{--display:flex;}@media(min-width:768px){.elementor-18277 .elementor-element.elementor-element-3c36893{--width:86.57%;}}/* Start custom CSS for html, class: .elementor-element-b602f60 *//* ------------------------------------- */
/* 1. Estilos Globales y Variables (CSS) */
/* ------------------------------------- */

:root {
    --lumbreras-red: #cc0000; 
    --lumbreras-dark: #a00000;
    --aduni-blue: #20356e;
    --background-soft: #f9f9f9;
    --text-dark: #212529;
    --text-light: #fff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* IMPORTANTE: Incluir fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Oswald:wght@500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

.conamat-container {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-soft); margin-left: auto;
    margin-right: auto;max-width: 800px;
}

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 2.4em;
    margin-bottom: 40px;
    color: var(--text-dark);
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--lumbreras-red);
}

/* ------------------------------ */
/* Estilos del Encabezado (Hero) */
/* ------------------------------ */
.hero {
    background-color: var(--lumbreras-red);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
}

.logo-conamat {
    max-width: 150px;
    margin-bottom: 30px; 
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 20px; 
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 50px; 
    font-weight: 400;
}

/* ------------------------------ */
/* Botones CTA */
/* ------------------------------ */
.cta-button {
    display: inline-block;
    padding: 14px 30px;
    margin: 10px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-cta {
    background-color: var(--aduni-blue);
    color: var(--text-light);
    border: 2px solid var(--aduni-blue);
}
.primary-cta:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); }

.secondary-cta {
    background-color: var(--lumbreras-red);
    color: var(--text-light);
    border: 2px solid var(--lumbreras-red);
}
.secondary-cta:hover { background-color: var(--lumbreras-dark); }

.final-cta-block {
    margin-top: 50px;
    padding: 50px 20px;
    background-color: #e6ffec; 
    border-radius: 12px;
    border: 2px solid #00b33c;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.final-cta-block p {
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 25px;
    color: #007028; 
}

.final-cta-button {
    background-color: #00b33c; 
    border: 2px solid #00b33c;
    color: var(--text-light);
    font-size: 1.3em;
}

/* ------------------------------ */
/* Organizadores (RESPONSIVA 5-3-2) */
/* ------------------------------ */

.organization-section { background-color: white; }

.organizers-list {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px;
    margin-bottom: 40px;
}

.organizer-link {
    text-decoration: none; 
    display: block; 
    color: var(--text-dark); 
    width: 100%; 
    max-width: 300px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.organizer-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
}

.organizer-link span {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: white; 
    padding: 15px 10px; 
    border-radius: 8px; 
    width: 100%;
    /* 💥 AUMENTO AGRESIVO DE LA ALTURA MÍNIMA DEL CONTENEDOR */
    min-height: 150px; 
}

.organizer-link img {
    max-width: 90%;
    /* 💥 AUMENTO AGRESIVO Y FORZADO */
    max-height: 120px !important; 
    width: auto;
    height: auto;
    object-fit: contain; 
}

.university-organizer {
    background-color: var(--aduni-blue) !important; 
    padding: 20px 10px;
}

/* MEDIA QUERIES RESPONSIVAS */
/* TABLET (3 en una fila, 2 en otra) */
@media (min-width: 768px) {
    .organizer-link {
        width: calc(33.333% - 13px); 
        max-width: none;
    }
}

/* LAPTOP (5 en una sola fila) */
@media (min-width: 1200px) {
    .organizer-link {
        width: calc(20% - 16px); 
    }
}

/* MÓVIL (Ajuste fino) */
@media (max-width: 767px) {
    .hero h1 { font-size: 2em; }
    .organizer-link { width: 80%; min-width: 250px; }
    
    /* Estilo de tabla para móvil */
    #exam-calendar thead { display: none; }
    #exam-calendar, #exam-calendar tbody, #exam-calendar tr, #exam-calendar td { display: block; width: 100%; }
    #exam-calendar tr { margin-bottom: 20px; border: 1px solid #ccc; border-radius: 8px; }
    #exam-calendar td {
        text-align: right; padding-left: 50%; position: relative; border-bottom: 1px solid #eee;
    }
    #exam-calendar td::before {
        content: attr(data-label); position: absolute; left: 15px; width: 45%; font-weight: bold; text-align: left; color: var(--lumbreras-red);
    }
}

/* ------------------------------ */
/* TEMARIOS y ACORDEÓN (Continuación de estilos) */
/* ------------------------------ */
.tab-button.active {
    color: var(--lumbreras-red);
    border-bottom: 3px solid var(--lumbreras-red);
    background: white;
}

.tab-content { display: none;  max-width: 800px;margin-left: auto;
    margin-right: auto;}
.tab-content.active { display: block; }

.accordion-content {
    max-height: 0; 
    max-width: 800px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; 
    background: white;
    padding: 0 25px; 
}

.accordion-content.open {
    padding: 20px 25px;
}
.accordion-container {
    max-width: 1200px;
    margin: 40px auto;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    width: 100%;
    background-color: var(--lumbreras-red);
    color: white;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px 8px 0 0;
}

.accordion-header:hover {
    background-color: var(--lumbreras-dark);
}

.temario-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 15px;
    border-left: 5px solid var(--aduni-blue);
    background: #fcfcfc;
}

.temario-card h4 {
    color: var(--aduni-blue);
    margin-bottom: 10px;
}

.temario-card ul {
    list-style-type: none;
    padding-left: 0;
}

.temario-card li {
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
}

.tip {
    color: var(--lumbreras-red);
    font-style: italic;
    font-size: 0.9em;
    font-weight: 500;
}
/* ... (otros estilos de temarios, bases, etc.) ... *//* End custom CSS */
/* Start custom CSS *//* Estilos Generales */
:root {
    --lumbreras-red: #cc0000; 
    --lumbreras-dark: #a00000;
    --aduni-blue: #20356e
; /* Color de acento */
    --background-soft: #f9f9f9; /* Gris muy suave */
    --text-dark: #212529; /* Casi negro */
    --text-light: #fff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-soft);
}

/* ------------------------------ */
/* Estilos de Tipografía y Layout */
/* ------------------------------ */

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 2.4em;
    margin-bottom: 40px;
    color: var(--text-dark); /* Títulos más oscuros, más serios */
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--lumbreras-red); /* Sigue usando el rojo como línea divisoria */
}

/* ------------------------------ */
/* Estilos del Encabezado (Hero) */
/* ------------------------------ */
.hero {
    background-color: var(--lumbreras-red);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
}

.logo-conamat {
    max-width: 150px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    font-weight: 400;
}

/* ------------------------------ */
/* Estilos de Botones (CTA) */
/* ------------------------------ */

.cta-button {
    display: inline-block;
    padding: 14px 30px; /* Más grandes */
    margin: 10px;
    border-radius: 50px; /* Bordes redondeados para modernizar */
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-cta {
    background-color: var(--aduni-blue); /* Usamos el azul de acento aquí */
    color: var(--text-light);
    border: 2px solid var(--aduni-blue);
}
.primary-cta:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); }

.secondary-cta {
    background-color: var(--lumbreras-red);
    color: var(--text-light);
    border: 2px solid var(--lumbreras-red);
}
.secondary-cta:hover { background-color: var(--lumbreras-dark); }

/* CTA Final (Dejar el color distintivo verde para la acción de inscripción final) */
.final-cta-block {
    margin-top: 50px;
    padding: 50px 20px;
    background-color: #e6ffec; /* Tono muy suave de verde */
    border-radius: 12px;
    border: 2px solid #00b33c;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.final-cta-block p {
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 25px;
    color: #007028; 
}

.final-cta-button {
    background-color: #00b33c; 
    border: 2px solid #00b33c;
    color: var(--text-light);
    font-size: 1.3em;
}

/* ------------------------------ */
/* 2. ORGANIZADORES (Limpieza de fondo y modernización) */
/* ------------------------------ */

.organization-section {
    background-color: white; /* Limpio y neutro */
}

.organizers-list {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; /* Más espacio */
    margin-bottom: 40px;
}

.organizer-link {
    text-decoration: none; 
    display: block; 
    color: var(--text-dark); 
    width: 100%; 
    max-width: 300px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Sombra sutil */
}

.organizer-link:hover {
    transform: translateY(-5px); /* Movimiento más notorio */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
}

.organizer-link span {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    
    /* Fondo neutral y limpio */
    background: white; 
    padding: 15px 10px; 
    border-radius: 8px; /* Bordes suaves */
    width: 100%;
    min-height: 90px; /* Un poco más de altura */
}

.organizer-link img {
    max-width: 90%;
    max-height: 55px; 
    width: auto;
    height: auto;
    object-fit: contain; 
}

/* Fondo para el organizador UCH (Mantiene el color institucional) */
.university-organizer {
    background-color: var(--aduni-blue) !important; 
    padding: 20px 10px; /* Más padding para que se destaque */
}

/* Módulo de Prestigio (UCH/Sede) */
.prestige-module {
    max-width: 700px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* Sombra más fuerte para este bloque */
}
.sede-image {
    width: 70%;
    height: auto;
    border-radius: 12px 12px 0 0;
}
.prestige-module p {
    font-style: italic;
    color: var(--text-dark);
    margin: 20px 0;
    padding: 0 20px;
    font-size: 1.1em;
}

/* ------------------------------ */
/* 3. CALENDARIO */
/* ------------------------------ */

.calendar-section {
    background-color: var(--background-soft);
}

#exam-calendar {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    border-collapse: separate; /* Permite usar border-radius */
    border-spacing: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden; /* Necesario para que el border-radius se aplique bien */
}

#exam-calendar thead th {
    background-color: var(--lumbreras-red);
    color: var(--text-light);
    padding: 15px 10px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

#exam-calendar tbody tr {
    background-color: white;
    transition: background-color 0.3s;
}

#exam-calendar tbody tr:nth-child(even) {
    background-color: #f7f7f7; /* Ligero rayado para facilitar la lectura */
}

#exam-calendar tbody tr:hover {
    background-color: #fff3f3; /* Resaltado sutil al pasar el mouse */
}

#exam-calendar td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    font-size: 1em;
}

/* ------------------------------ */
/* 4. TEMARIOS (Pestañas más limpias) */
/* ------------------------------ */

.temarios-section {
    background-color: white;
}

.tab-container {
    background: var(--background-soft);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.tabs {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-dark);
    transition: all 0.3s;
    margin: 0 5px;
    border-radius: 5px 5px 0 0;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: var(--lumbreras-red);
    border-bottom: 3px solid var(--lumbreras-red);
    background: white;
}

.temario-card {
    border: 1px solid #eee;
    padding: 25px;
    margin-top: 20px;
    border-left: 6px solid var(--aduni-blue); /* Se mantiene el color de acento */
    background: white;
    border-radius: 6px;
}

.temario-card h4 {
    color: var(--aduni-blue);
    margin-bottom: 10px;
}

.lumbreras-tip {
    color: #4b0082; /* Color distintivo (Púrpura) para el llamado a la compra */
    font-weight: 500;
    font-style: italic;
}

/* ------------------------------ */
/* 5. ACORDEÓN (Bases Clave) */
/* ------------------------------ */

.accordion-container {
    max-width: 900px;
    margin: 40px auto;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    width: 100%;
    background-color: var(--lumbreras-red);
    color: white;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px 8px 0 0;
}

.accordion-header:hover {
    background-color: var(--lumbreras-dark);
}

.accordion-content {
    background: white;
}

.accordion-content.open {
    padding: 20px 25px;
}

/* ------------------------------ */
/* Media Queries (Mantener 5-3-2 y responsividad de tabla) */
/* ------------------------------ */

/* TABLET (3 en una fila, 2 en otra) */
@media (min-width: 768px) {
    .organizer-link {
        width: calc(33.333% - 13px); /* Ajustado por el gap de 20px */
        max-width: none;
    }
    #exam-calendar thead th {
        font-size: 0.9em;
    }
}

/* LAPTOP (5 en una sola fila) */
@media (min-width: 1200px) {
    .organizer-link {
        width: calc(20% - 16px); /* Ajustado por el gap de 20px */
    }
}

/* MÓVIL (Ajuste fino) */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2em;
    }
    .organizer-link {
         width: 80%;
         min-width: 250px;
    }
    
    /* Estilo de tabla para móvil */
    #exam-calendar thead { display: none; }
    #exam-calendar, #exam-calendar tbody, #exam-calendar tr, #exam-calendar td { display: block; width: 100%; }
    
    #exam-calendar tr {
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

    #exam-calendar td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #eee;
    }

    #exam-calendar td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        font-weight: bold;
        text-align: left;
        color: var(--lumbreras-red);
    }
}/* End custom CSS */