.marsas-trombinoscope-referents {
    max-width: 1200px;
    margin: auto;
    font-family: Arial, sans-serif;
}

.row-trombinoscope-referents {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.encadrant-referent {
    width: 23%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(17 115 17 / 0.5); /* Vert */
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}

.encadrant-referent .photo img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.nom-prenom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #117311; /* Vert */
    font-weight: 700;
    font-size: 1.1em;
    margin: 10px 0 8px 0;
}

.prenom {
    white-space: nowrap;
    text-transform: capitalize;
}

.nom {
    white-space: nowrap;
    text-transform: uppercase;
}

.fonctions span.fonction {
    display: inline-block;
    margin: 2px 5px 2px 0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

@media (max-width: 768px) {
    .row-trombinoscope-referents {
        flex-wrap: wrap;
    }
    .encadrant-referent {
        width: 48%;
        margin-bottom: 15px;
    }
}

