/* =========================
   ENCABEZADO GENERAL
========================= */

#organizador{
    width: 90%;
    max-width: 1100px;

    margin: 55px auto 35px;

    text-align: center;
}

#organizador h3{
    margin: 0 0 10px;
    color: #0D1B3D;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

#organizador h3::after{
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    margin: 10px auto 0;

    background-color: #0D1B3D;

    border-radius: 5px;
}

#organizador p{
    max-width: 700px;

    margin: 15px auto 0;

    color: #64748B;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================
   CONTENEDORES DE COMITÉS
========================= */

.directivo,
.cientifico, .organizador{
    width: 90%;
    max-width: 1100px;

    margin: 0 auto 50px;

    display: grid;

    gap: 22px;
}


/* Comité Directivo */

.directivo{
    grid-template-columns: repeat(4, 1fr);
}


/* Comité Científico */

.cientifico{
    grid-template-columns: repeat(3, 1fr);
}

.organizador{
    grid-template-columns: repeat(4, 1fr);
}


/* =========================
   TÍTULOS DE LOS COMITÉS
========================= */

.directivo h4,
.cientifico h4, .organizador h4{
    grid-column: 1 / -1;

    margin: 0 0 12px;

    font-size: 22px;
    font-weight: 700;

    display: flex;
    align-items: center;

    gap: 10px;
}


/* Directivo */

.directivo h4{
    color: #7C3AED ;
}

.directivo h4::before{
    content: "";

    width: 5px;
    height: 24px;

    background-color: #7C3AED ;

    border-radius: 5px;
}


/* Científico */

.cientifico h4{
    color: #06B6D4;
}

.cientifico h4::before{
    content: "";

    width: 5px;
    height: 24px;

    background-color: #06B6D4;

    border-radius: 5px;
}

.organizador h4{
    color: #F59E0B;
}

.organizador h4::before{
    content: "";

    width: 5px;
    height: 24px;

    background-color: #F59E0B;

    border-radius: 5px;
}

/* =========================
   TARJETAS
========================= */

.comite{
    min-height: 240px;

    padding: 22px 18px;

    text-align: center;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* =========================
   FOTO
========================= */

.comite figure{
    margin: 0 0 14px;
}

.comite img{
    width: 105px;
    height: 105px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid #f1f5f9;
}


/* =========================
   NOMBRE
========================= */

.comite h5{
    margin: 8px 0 6px;

    color: #0D1B3D;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.3;
}


/* =========================
   DATOS
========================= */

.comite p{
    margin: 3px 0;

    font-size: 13px;

    line-height: 1.45;
}


/* Cargo */

.comite .cargo{
    color: #712d90;

    font-weight: 600;
}


/* Institución */

.comite .institucion{
    color: #64748B;

    font-weight: 400;
}

/* =========================
   EFECTO HOVER
========================= */

.comite:hover{
    transform: translateY(-6px);

    border-color: #c4b5fd;

    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}