/* Style Public MFGNU - Fidèle au design de la maquette */

.mfgnu-comite-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    text-align: center;
}

/* Titre principal centré et bleu */
.mfgnu-comite-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #2b5b84;
    margin-bottom: 25px;
    text-align: center;
}

/* Liste des problématiques avec puces centrées */
.mfgnu-problematiques-list {
    display: inline-block;
    text-align: center;
    list-style-type: disc;
    padding-left: 20px;
    margin: 0 auto 30px auto;
    max-width: 800px;
}

.mfgnu-problematiques-list li {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Accordéon Délégations */
.mfgnu-delegations-wrapper {
    margin-bottom: 35px;
}

.mfgnu-delegations-dropdown {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.mfgnu-delegations-dropdown summary {
    cursor: pointer;
    font-weight: 600;
    color: #2b5b84;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.mfgnu-delegations-dropdown summary::-webkit-details-marker {
    display: none;
}

.mfgnu-delegations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}

.mfgnu-delegation-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #2d3748;
}

.mfgnu-flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #cbd5e0;
}

/* Grille des Cartes Membres centrées */
.mfgnu-cards-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.mfgnu-card {
    flex: 0 1 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Conteneur d'image rectangulaire aux coins arrondis */
.mfgnu-card-image-box {
    width: 100%;
    height: 280px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f7fafc;
    margin-bottom: 12px;
}

.mfgnu-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mfgnu-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    background: #edf2f7;
}

.mfgnu-card-placeholder svg {
    width: 64px;
    height: 64px;
}

/* Noms et Rôles sous la photo */
.mfgnu-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 4px;
}

.mfgnu-card-role {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}
