/* ================================================
   CSS PARA MODAL INTEGRANTES - EDUTIC 2026
   Modal mejorado con diseño coherente
   VERSIÓN CON SECCIÓN DE TEMA INTEGRADA
   ================================================ */

/* Modal principal */
#modalintegrantes .modal-dialog {
    max-width: 95%;
}

#modalintegrantes .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Header del modal */
#modalintegrantes .modal-header {
    background: linear-gradient(135deg, var(--edutic-dark) 0%, var(--edutic-blue) 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
    border: none;
}

#modalintegrantes .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#modalintegrantes .close,
#modalintegrantes .btn-close {
    color: white;
    opacity: 0.8;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#modalintegrantes .close:hover,
#modalintegrantes .btn-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Body del modal */
#modalintegrantes .modal-body {
    padding: 2rem;
    background: #f8f9fa;
}

/* ============================================
   SECCIÓN DE TEMA/GRUPO (NUEVA)
   ============================================ */
.theme-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--edutic-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.theme-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.theme-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.theme-section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--edutic-blue) 0%, #4a6fd6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(95, 131, 232, 0.3);
}

.theme-section-title {
    flex: 1;
}

.theme-section-title h2 {
    color: var(--edutic-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.theme-section-title .theme-badge {
    display: inline-block;
    background: var(--edutic-blue);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-section-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    margin: 0;
}


/* ============================================
   FIN SECCIÓN DE TEMA
   ============================================ */

/* Cards de miembros */
.member-card-edutic {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.member-card-edutic:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(95, 131, 232, 0.2);
    border-color: var(--edutic-blue);
}

/* Header de la card (tema) */
.member-card-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--edutic-blue) 0%, #4a6fd6 100%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member-theme-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--edutic-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    align-self: center;
}

.member-leader-badge {
    background: var(--edutic-orange);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    align-self: center;
}

/* Cuerpo de la card */
.member-card-body {
    padding: 1.5rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Nombre y bandera */
.member-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.member-flag {
    width: 32px;
    height: 22px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--edutic-dark);
    line-height: 1.3;
    margin: 0;
}

/* Cargo */
.member-position {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Universidad */
.member-university {
    text-align: center;
    margin-bottom: 1rem;
}

.member-university a {
    color: var(--edutic-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-university a:hover {
    color: var(--edutic-orange);
    text-decoration: underline;
}

/* Foto */
.member-photo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    flex: 1;
    align-items: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--edutic-blue);
    box-shadow: 0 5px 20px rgba(95, 131, 232, 0.3);
    transition: all 0.3s ease;
}

.member-photo:hover {
    transform: scale(1.05);
    border-color: var(--edutic-orange);
}

/* Redes sociales */
.member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.member-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.member-social a:hover {
    transform: translateY(-3px);
}

.member-social a.linkedin:hover {
    background: #0077B5;
    color: white;
}

.member-social a.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.member-social a.web:hover {
    background: var(--edutic-blue);
    color: white;
}

.member-social a.share:hover {
    background: var(--edutic-orange);
    color: white;
}

/* Footer del modal */
#modalintegrantes .modal-footer {
    border: none;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

#modalintegrantes .modal-footer .btn-secondary {
    background: var(--edutic-dark);
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#modalintegrantes .modal-footer .btn-secondary:hover {
    background: var(--edutic-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(95, 131, 232, 0.3);
}

/* Responsive */
@media (max-width: 1199px) {
    #modalintegrantes .modal-dialog {
        max-width: 90%;
    }
}

@media (max-width: 991px) {
    #modalintegrantes .modal-body {
        padding: 1.5rem;
    }
    
    .member-card-edutic {
        margin-bottom: 1.5rem;
    }
    
    .theme-section {
        padding: 1.5rem;
    }
    
    .theme-section-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    #modalintegrantes .modal-dialog {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    #modalintegrantes .modal-header {
        padding: 1rem 1.5rem;
    }
    
    #modalintegrantes .modal-title {
        font-size: 1.3rem;
    }
    
    #modalintegrantes .modal-body {
        padding: 1rem;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    .theme-section {
        padding: 1.25rem;
    }
    
    .theme-section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .theme-section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .theme-section-title h2 {
        font-size: 1.3rem;
    }
    
    .theme-section-description {
        font-size: 0.9rem;
    }
}

/* ================================================
   CSS PARA PERFIL DE INTEGRANTE - EDUTIC 2026
   Sección pública del perfil del miembro
   ================================================ */

/* Contenedor principal del perfil */
.member-profile-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.member-profile-section:hover {
    box-shadow: 0 15px 50px rgba(95, 131, 232, 0.15);
    border-color: var(--edutic-blue);
}

/* Layout del perfil */
.member-profile-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Columna de foto */
.member-profile-photo {
    flex-shrink: 0;
    text-align: center;
}

.member-profile-photo .image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--edutic-blue);
    box-shadow: 0 8px 25px rgba(95, 131, 232, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.member-profile-photo .image:hover {
    transform: scale(1.05);
    border-color: var(--edutic-orange);
    box-shadow: 0 12px 35px rgba(220, 71, 17, 0.4);
}

/* Redes sociales debajo de la foto */
.member-profile-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.member-profile-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.member-profile-social a:hover {
    transform: translateY(-3px);
}

.member-profile-social a.linkedin:hover {
    background: #0077B5;
    color: white;
}

.member-profile-social a.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.member-profile-social a.web:hover {
    background: var(--edutic-blue);
    color: white;
}

/* Columna de información */
.member-profile-info {
    flex: 1;
}

/* Badge de país/bandera */
.member-profile-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.member-profile-flag img {
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.member-profile-flag .country-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--edutic-dark);
}

/* Nombre */
.member-profile-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--edutic-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Cargo */
.member-profile-info h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Universidad */
.member-profile-university {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--edutic-blue);
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.member-profile-university:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left-color: var(--edutic-orange);
}

.member-profile-university img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.member-profile-university .university-name {
    flex: 1;
}

.member-profile-university .university-name a {
    color: var(--edutic-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.member-profile-university .university-name a:hover {
    color: var(--edutic-orange);
    text-decoration: underline;
}

/* ============================================
   BIOGRAFÍA DEL MIEMBRO
   ============================================ */

.member-biography {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
    border-left: 5px solid var(--edutic-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.member-biography:hover {
    border-left-color: var(--edutic-orange);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.member-biography-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.member-biography-header i {
    color: var(--edutic-blue);
    font-size: 1.5rem;
}

.member-biography-header h5 {
    color: var(--edutic-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.member-biography-content {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

.member-biography-content p {
    margin-bottom: 1rem;
}

.member-biography-content p:last-child {
    margin-bottom: 0;
}

/* Variantes de color según tema */
.member-biography.education-management {
    border-left-color: #cc0a11;
}

.member-biography.education-management .member-biography-header i {
    color: #cc0a11;
}

.member-biography.innovation {
    border-left-color: var(--edutic-orange);
}

.member-biography.innovation .member-biography-header i {
    color: var(--edutic-orange);
}

.member-biography.student-success {
    border-left-color: var(--edutic-green);
}

.member-biography.student-success .member-biography-header i {
    color: var(--edutic-green);
}

.member-biography.smart-university {
    border-left-color: var(--edutic-yellow);
}

.member-biography.smart-university .member-biography-header i {
    color: var(--edutic-yellow);
}

.member-biography.teaching-transformation {
    border-left-color: #9333ea;
}

.member-biography.teaching-transformation .member-biography-header i {
    color: #9333ea;
}

/* Intereses / Highlights */
.member-interests {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--edutic-blue);
}

.member-interests strong {
    color: var(--edutic-dark);
    font-weight: 700;
}

.member-interests p {
    margin: 0.5rem 0 0 0;
    font-style: italic;
    color: #6c757d;
}

/* Badge de comité */
.member-committee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--edutic-blue);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.member-committee-badge i {
    font-size: 1.1rem;
}

/* Variantes de color del badge según el tema */
.member-committee-badge.education-management {
    background: #cc0a11;
}

.member-committee-badge.innovation {
    background: var(--edutic-orange);
}

.member-committee-badge.student-success {
    background: var(--edutic-green);
}

.member-committee-badge.smart-university {
    background: var(--edutic-yellow);
    color: var(--edutic-dark);
}

.member-committee-badge.teaching-transformation {
    background: #9333ea;
}

/* Responsive */
@media (max-width: 991px) {
    .member-profile-layout {
        gap: 1.5rem;
    }
    
    .member-profile-photo .image {
        width: 180px;
        height: 180px;
    }
    
    .member-profile-info h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .member-profile-section {
        padding: 2rem 1.5rem;
    }
    
    .member-profile-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-profile-photo .image {
        width: 160px;
        height: 160px;
    }
    
    .member-profile-info h3 {
        font-size: 1.5rem;
    }
    
    .member-profile-info h4 {
        font-size: 1.1rem;
    }
    
    .member-profile-university {
        flex-direction: column;
        text-align: center;
    }
    
    .member-profile-flag {
        justify-content: center;
    }
    
    .member-biography {
        padding: 1.5rem;
    }
    
    .member-biography-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .member-profile-section {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .member-profile-photo .image {
        width: 140px;
        height: 140px;
    }
    
    .member-profile-social a {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .member-biography {
        padding: 1.25rem;
    }
    
    .member-biography-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ================================================
   CSS PARA SECCIÓN DE COMITÉS - EDUTIC 2026
   VERSIÓN GRID - Alineación perfecta
   ================================================ */

/* Card del comité con Grid Layout */
.theme-card {
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    background: white;
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(95, 131, 232, 0.2);
    border-color: var(--edutic-blue);
}

.theme-card .card-body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 1rem;
    min-height: 100%;
}

/* Icono del tema */
.theme-icon {
    width: 70px;
    height: 70px;
    background: var(--edutic-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 0 auto;
    grid-row: 1;
}

/* Título - altura fija y centrado */
.theme-card .card-title {
    min-height: 65px;
    max-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    text-align: center;
    overflow: hidden;
    grid-row: 2;
}

/* Contenedor de líderes - ocupa el espacio restante */
.theme-card .border-top {
    grid-row: 3;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
}

/* Título "LIDERES" */
.theme-card .border-top > p {
    grid-row: 1;
    margin-bottom: 0 !important;
}

/* Grid de líderes - 2 columnas fijas */
.theme-card .d-flex.gap-3 {
    grid-row: 2;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

/* Card individual de líder */
.theme-card .text-center {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 0.5rem;
    justify-items: center;
}

/* Foto del líder */
.theme-card .rounded-circle {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border: 3px solid var(--edutic-blue) !important;
    grid-row: 1;
}

/* Nombre del líder - altura fija de 2 líneas */
.theme-card .text-center .small.mb-0.fw-bold {
    grid-row: 2;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

/* País */
.theme-card .text-center .small.text-muted {
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 24px;
}

/* Botón de ver integrantes */
.theme-card .justify-content-between {
    grid-row: 4;
    margin-top: 0 !important;
}

.theme-card .btn-secondary {
    background: var(--edutic-dark);
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.theme-card .btn-secondary:hover {
    background: var(--edutic-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 131, 232, 0.3);
}

/* Responsive */
@media (max-width: 1199px) {
    .theme-card .card-title {
        min-height: 70px;
        max-height: 70px;
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .theme-card .card-title {
        min-height: 75px;
        max-height: 75px;
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .theme-card .card-title {
        min-height: auto;
        max-height: none;
        font-size: 1.1rem;
    }
    
    .theme-card .d-flex.gap-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .theme-card .text-center {
        max-width: 150px;
        margin: 0 auto;
    }
}

/* Ajuste para cuando hay solo 1 líder */
.theme-card .d-flex.gap-3:has(.text-center:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

     /* ================================================
           ESTILOS PERSONALIZADOS PARA COMITÉS
           ================================================ */
        
        /* ================================================
           SECCIÓN COMITÉ ASESOR
           ================================================ */
        
        .comite-asesor-section {
            background: #f8f9fa;
            padding: 4rem 0 3rem;
        }
        
        .section-title-box {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 3rem;
            text-align: center;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            border: 2px solid var(--edutic-blue);
        }
        
        .section-title-box h2 {
            color: var(--edutic-blue);
            font-weight: 800;
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        
        .section-title-box p {
            color: #6c757d;
            margin: 0;
            font-size: 1rem;
        }
        
        /* Grid del Comité Asesor - 4 columnas */
        .asesor-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        /* Card de miembro asesor */
        .asesor-card {
            background: white;
            border-radius: 18px;
            padding: 1rem 1.2rem;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .asesor-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 35px rgba(95, 131, 232, 0.2);
            border-color: var(--edutic-blue);
        }
        
        /* Foto del asesor */
        .asesor-photo {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--edutic-blue);
            margin-bottom: 1rem;
            box-shadow: 0 4px 15px rgba(95, 131, 232, 0.3);
        }
        
        /* Bandera y país */
        .asesor-country {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }
        
        .asesor-flag {
            font-size: 1.3rem;
            line-height: 1;
            height: 18px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
            flex-shrink: 0;
        }
        
        .asesor-country-name {
            font-size: 0.85rem;
            color: #6c757d;
            font-weight: 600;
        }
        
        /* Nombre del asesor */
        .asesor-name {
            font-size: 1rem;
            font-weight: 700;
            color: var(--edutic-dark);
            margin-bottom: 0.5rem;
            line-height: 1;
            min-height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Cargo del asesor */
        .asesor-position {
            font-size: 0.8rem;
            color: #6c757d;
            font-style: italic;
            margin-bottom: 0.75rem;
            min-height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Universidad */
        .asesor-university {
            font-size: 0.8rem;
            color: var(--edutic-blue);
            font-weight: 600;
            margin-bottom: 0.5rem;
            min-height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        
        /* Redes sociales del asesor */
        .asesor-social {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            padding-top: 0.75rem;
            border-top: 1px solid #e9ecef;
        }
        
        .asesor-social a {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f8f9fa;
            color: #6c757d;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
        
        .asesor-social a:hover {
            transform: translateY(-2px);
        }
        
        .asesor-social a.linkedin:hover {
            background: #0077B5;
            color: white;
        }
        
        .asesor-social a.web:hover {
            background: var(--edutic-blue);
            color: white;
        }
        
        .asesor-social a.share:hover {
            background: var(--edutic-orange);
            color: white;
        }
        
        /* ================================================
           SECCIÓN COMITÉS TEMÁTICOS
           ================================================ */
        
        .comites-tematicos-section {
            padding: 4rem 0;
            background: white;
        }
        
        /* Sistema de Filtros */
        .filters-container {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 3rem;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            border: 2px solid var(--edutic-blue);
        }
        
        .filter-group {
            margin-bottom: 2rem;
        }
        
        .filter-group:last-child {
            margin-bottom: 0;
        }
        
        .filter-label {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--edutic-dark);
            margin-bottom: 1rem;
        }
        
        .filter-label i {
            color: var(--edutic-orange);
            font-size: 1.3rem;
        }
        
        /* Botones de filtro temático */
        .theme-filters-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .btn-filter-theme {
            padding: 0.65rem 1.25rem;
            border-radius: 50px;
            border: 2px solid transparent;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: white;
        }
        
        .btn-filter-theme:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        }
        
        .btn-filter-theme.active {
            border-color: var(--edutic-yellow);
            border-width: 3px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        }
        
        .btn-filter-theme i {
            font-size: 1rem;
        }
        
        /* Colores de botones temáticos */
        .btn-theme-all { background: var(--edutic-dark); }
        .btn-theme-education { background: #CC0A11; }
        .btn-theme-student { background: #F07C05; }
        .btn-theme-innovation { background: var(--edutic-green); }
        .btn-theme-skills { background: var(--edutic-yellow); color: var(--edutic-dark); }
        .btn-theme-smart { background: #5C94FF; }
        .btn-theme-teaching { background: #9333EA; }
        
        /* Filtros de país */
        .country-filters-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .btn-filter-country {
            padding: 0.6rem 1.15rem;
            border-radius: 50px;
            border: 2px solid #e9ecef;
            background: white;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--edutic-dark);
        }
        
        .btn-filter-country:hover {
            transform: translateY(-2px);
            border-color: var(--edutic-blue);
            background: rgba(95, 131, 232, 0.05);
        }
        
        .btn-filter-country.active {
            background: var(--edutic-blue);
            color: white;
            border-color: var(--edutic-blue);
            box-shadow: 0 4px 15px rgba(95, 131, 232, 0.3);
        }
        
        .btn-filter-country .flag-emoji {
            font-size: 1.2rem;
            line-height: 1;
        }
        
        /* Grid de miembros de comités temáticos */
        .tematicos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 2rem;
        }
        
        /* Card de miembro temático */
        .tematico-card {
            background: white;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: flex;
            flex-direction: column;
        }
        
        .tematico-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 35px rgba(95, 131, 232, 0.2);
            border-color: var(--edutic-blue);
        }
        
        /* Header con tema */
        .tematico-header {
            padding: 1rem 1.25rem;
            color: white;
            text-align: center;
            font-weight: 700;
            font-size: 0.85rem;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .tematico-header.education { background: linear-gradient(135deg, #CC0A11 0%, #a00810 100%); }
        .tematico-header.student { background: linear-gradient(135deg, #F07C05 0%, #c96404 100%); }
        .tematico-header.innovation { background: linear-gradient(135deg, var(--edutic-green) 0%, #6a9422 100%); }
        .tematico-header.skills { background: linear-gradient(135deg, var(--edutic-yellow) 0%, #d9a406 100%); color: var(--edutic-dark); }
        .tematico-header.smart { background: linear-gradient(135deg, #5C94FF 0%, #4a7dd6 100%); }
        .tematico-header.teaching { background: linear-gradient(135deg, #9333EA 0%, #7a29bd 100%); }
        
        /* Badge de líder */
        .leader-badge {
            background: var(--edutic-orange);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.7rem;
            font-weight: 700;
            display: inline-block;
            margin-top: 0.5rem;
        }
        
        /* Body de la card temática */
        .tematico-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        /* Foto */
        .tematico-photo {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--edutic-blue);
            margin-bottom: 1rem;
            box-shadow: 0 4px 15px rgba(95, 131, 232, 0.3);
        }
        
        /* Nombre */
        .tematico-name {
            font-size: 1rem;
            font-weight: 700;
            color: var(--edutic-dark);
            text-align: center;
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }
        
        /* País */
        .tematico-country {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }
        
        .tematico-flag {
            font-size: 1.2rem;
            line-height: 1;
        }
        
        .tematico-country-name {
            font-size: 0.8rem;
            color: #6c757d;
            font-weight: 600;
        }
        
        /* Cargo */
        .tematico-position {
            font-size: 0.8rem;
            color: #6c757d;
            text-align: center;
            margin-bottom: 0.75rem;
            font-style: italic;
        }
        
        /* Universidad */
        .tematico-university {
            font-size: 0.8rem;
            color: var(--edutic-blue);
            font-weight: 600;
            text-align: center;
            margin-bottom: 1rem;
        }
        
        /* Redes sociales */
        .tematico-social {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            padding-top: 0.75rem;
            border-top: 1px solid #e9ecef;
            margin-top: auto;
        }
        
        .tematico-social a {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f8f9fa;
            color: #6c757d;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
        
        .tematico-social a:hover {
            transform: translateY(-2px);
        }
        
        .tematico-social a.linkedin:hover {
            background: #0077B5;
            color: white;
        }
        
        .tematico-social a.web:hover {
            background: var(--edutic-blue);
            color: white;
        }
        
        .tematico-social a.share:hover {
            background: var(--edutic-orange);
            color: white;
        }
        
        /* Contador de resultados */
        .results-info {
            text-align: center;
            padding: 1rem;
            margin-bottom: 2rem;
            color: #6c757d;
            font-size: 0.95rem;
        }
        
        .results-info strong {
            color: var(--edutic-blue);
            font-weight: 700;
        }
        
        /* No results */
        .no-results {
            text-align: center;
            padding: 4rem 2rem;
            color: #6c757d;
        }
        
        .no-results i {
            font-size: 4rem;
            color: var(--edutic-blue);
            opacity: 0.3;
            margin-bottom: 1rem;
        }
        
        .no-results h3 {
            color: var(--edutic-dark);
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        /* ================================================
           RESPONSIVE
           ================================================ */
        
        @media (max-width: 1199px) {
            .hero-comites h1 {
                font-size: 2.5rem;
            }
            
            .asesor-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 1.5rem;
            }
            
            .tematicos-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }
        
        @media (max-width: 991px) {
            .hero-comites {
                min-height: 320px;
                padding: 120px 0 60px;
            }
            
            .hero-comites h1 {
                font-size: 2.2rem;
            }
            
            .comite-asesor-section,
            .comites-tematicos-section {
                padding: 3rem 0;
            }
            
            .section-title-box h2 {
                font-size: 1.7rem;
            }
            
            .asesor-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }
        
        @media (max-width: 767px) {
            .hero-comites {
                padding: 100px 0 50px;
            }
            
            .hero-comites h1 {
                font-size: 1.8rem;
            }
            
            .hero-comites .lead {
                font-size: 1rem;
            }
            
            .asesor-grid,
            .tematicos-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                gap: 1.25rem;
            }
            
            .section-title-box {
                padding: 1.5rem;
            }
            
            .section-title-box h2 {
                font-size: 1.5rem;
            }
            
            .filters-container {
                padding: 1.5rem;
            }
            
            .btn-filter-theme,
            .btn-filter-country {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
            }
        }
        
        @media (max-width: 575px) {
            .asesor-grid,
            .tematicos-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .asesor-photo,
            .tematico-photo {
                width: 100px;
                height: 100px;
            }
        }
        
        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .asesor-card,
        .tematico-card {
            animation: fadeInUp 0.5s ease-out;
            animation-fill-mode: both;
        }
        
        /* Escalonar animaciones */
        .asesor-card:nth-child(1), .tematico-card:nth-child(1) { animation-delay: 0.05s; }
        .asesor-card:nth-child(2), .tematico-card:nth-child(2) { animation-delay: 0.1s; }
        .asesor-card:nth-child(3), .tematico-card:nth-child(3) { animation-delay: 0.15s; }
        .asesor-card:nth-child(4), .tematico-card:nth-child(4) { animation-delay: 0.2s; }
        .asesor-card:nth-child(5), .tematico-card:nth-child(5) { animation-delay: 0.25s; }
        .asesor-card:nth-child(6), .tematico-card:nth-child(6) { animation-delay: 0.3s; }
        .asesor-card:nth-child(7), .tematico-card:nth-child(7) { animation-delay: 0.35s; }
        .asesor-card:nth-child(8), .tematico-card:nth-child(8) { animation-delay: 0.4s; }