/* ================================================================================
   CHOIX - DIRECTORIO DE FUNCIONARIOS
   ================================================================================ */

.directorio-funcionarios-choix {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.funcionarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.funcionario-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.funcionario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(35, 62, 141, 0.15);
}

.funcionario-foto {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.funcionario-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.funcionario-card:hover .funcionario-foto img {
    transform: scale(1.05);
}

.funcionario-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.funcionario-nombre {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.funcionario-cargo {
    font-size: 14px;
    font-weight: 600;
    color: #233E8D;
    margin: 0 0 6px 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.funcionario-dependencia {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 15px 0;
    line-height: 1.4;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.funcionario-contacto {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.contacto-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #233E8D;
    margin-top: 2px;
}

.contacto-item a {
    color: #233E8D;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.contacto-item a:hover {
    color: #D2B74C;
    text-decoration: underline;
}

.contacto-item span {
    word-break: break-word;
}

.no-funcionarios {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}


/* ================================================================================
   RESPONSIVE: DIRECTORIO DE FUNCIONARIOS
   ================================================================================ */

/* Tablets - 3 columnas */
@media (max-width: 1024px) {
    .funcionarios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Tablets pequeñas - 2 columnas */
@media (max-width: 768px) {
    .funcionarios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .funcionario-foto {
        height: 240px;
    }

    .funcionario-nombre {
        font-size: 15px;
    }

    .funcionario-cargo {
        font-size: 13px;
    }

    .funcionario-dependencia {
        font-size: 12px;
    }
}

/* Móviles - 1 columna */
@media (max-width: 480px) {
    .directorio-funcionarios-choix {
        padding: 15px;
    }

    .funcionarios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .funcionario-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .funcionario-foto {
        height: 320px;
    }

    .funcionario-info {
        padding: 18px;
    }

    .funcionario-nombre {
        font-size: 16px;
    }

    .funcionario-cargo {
        font-size: 14px;
    }

    .funcionario-dependencia {
        font-size: 13px;
    }

    .contacto-item {
        font-size: 13px;
    }

    .contacto-icon {
        width: 20px;
        height: 20px;
    }
}


/* ================================================================================
   PRESIDENTA - DISEÑO ELEGANTE Y MODERNO
   ================================================================================ */

.presidenta-choix {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.presidenta-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(35, 62, 141, 0.12);
    transition: all 0.4s ease;
}

.presidenta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(35, 62, 141, 0.18);
}

.presidenta-titulo {
    font-size: 14px;
    font-weight: 700;
    color: #233E8D;
    text-align: center;
    margin: 0;
    padding: 40px 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.presidenta-titulo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #233E8D, #3b82f6);
    border-radius: 2px;
}

.presidenta-contenido {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    padding: 50px;
    align-items: start;
}

.presidenta-foto {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(35, 62, 141, 0.15);
    transition: all 0.4s ease;
}

.presidenta-foto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(35, 62, 141, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.presidenta-foto::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #233E8D, #3b82f6, #8b5cf6);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.presidenta-foto:hover::after {
    opacity: 1;
}

.presidenta-foto:hover {
    transform: scale(1.02);
}

.presidenta-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.presidenta-foto:hover img {
    transform: scale(1.05);
}

.presidenta-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 10px;
}

.presidenta-nombre {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1e293b 0%, #233E8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.presidenta-cargo {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #233E8D 0%, #3b82f6 100%);
    padding: 10px 24px;
    border-radius: 50px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(35, 62, 141, 0.3);
    width: fit-content;
    transition: all 0.3s ease;
}

.presidenta-cargo:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(35, 62, 141, 0.4);
}

.presidenta-dependencia {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    margin: -8px 0 0 0;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.presidenta-descripcion {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    padding: 20px;
    background: rgba(248, 250, 252, 0.6);
    border-left: 4px solid #233E8D;
    border-radius: 8px;
}

.presidenta-descripcion p {
    margin: 0 0 12px 0;
}

.presidenta-descripcion p:last-child {
    margin-bottom: 0;
}

.presidenta-contacto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.presidenta-contacto .contacto-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.presidenta-contacto .contacto-item:hover {
    background: #eff6ff;
    transform: translateX(5px);
}

.presidenta-contacto .contacto-icon {
    width: 22px;
    height: 22px;
    color: #233E8D;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.presidenta-contacto .contacto-item:hover .contacto-icon {
    transform: scale(1.1);
}

.presidenta-contacto .contacto-item a {
    color: #233E8D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.presidenta-contacto .contacto-item a:hover {
    color: #1e3a8a;
}

.presidenta-contacto .extension {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 5px;
    font-weight: 400;
}

.no-presidenta {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 16px;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .presidenta-contenido {
        grid-template-columns: 320px 1fr;
        gap: 40px;
        padding: 40px;
    }

    .presidenta-foto {
        height: 420px;
    }

    .presidenta-nombre {
        font-size: 32px;
    }
}

@media (max-width: 900px) {
    .presidenta-contenido {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 35px;
    }

    .presidenta-foto {
        height: 450px;
        max-width: 380px;
        margin: 0 auto;
    }

    .presidenta-nombre {
        font-size: 30px;
        text-align: center;
    }

    .presidenta-cargo {
        margin: 0 auto;
    }

    .presidenta-dependencia {
        text-align: center;
    }

    .presidenta-contacto {
        grid-template-columns: 1fr;
    }
}

/* Responsive - Móviles */
@media (max-width: 480px) {
    .presidenta-choix {
        padding: 20px 15px;
    }

    .presidenta-card {
        border-radius: 20px;
    }

    .presidenta-titulo {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .presidenta-contenido {
        padding: 25px;
        gap: 30px;
    }

    .presidenta-foto {
        height: 380px;
        border-radius: 16px;
    }

    .presidenta-nombre {
        font-size: 24px;
    }

    .presidenta-cargo {
        font-size: 14px;
        padding: 8px 20px;
    }

    .presidenta-dependencia {
        font-size: 13px;
    }

    .presidenta-descripcion {
        font-size: 14px;
        padding: 16px;
    }

    .presidenta-contacto {
        padding: 20px;
        gap: 12px;
    }

    .presidenta-contacto .contacto-item {
        font-size: 13px;
        padding: 10px 14px;
    }

    .presidenta-contacto .contacto-icon {
        width: 20px;
        height: 20px;
    }
}


/* ================================================================================
   PANEL DE ADMINISTRACIÓN - Caja "Datos del Funcionario"
   ================================================================================ */

.choix-meta-field {
    margin-bottom: 15px;
}

.choix-meta-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.choix-meta-field input,
.choix-meta-field textarea {
    width: 100%;
    padding: 8px;
}
