.formateurs-emres-container {
    width: 90%;
    max-width: 1200px;
    padding: 1rem;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #F7F7F7;
}

.formateurs-emres-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.formateurs-emres-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: calc(100% / 3 - 1rem);
    min-width: 330px;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    position: relative;
}

.formateur-emres-photo img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.formateur-emres-nom {
    font-size: 20px;
    font-weight: bold;
}

.formateur-emres-contenu {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.formateur-emres-contenu.open {
    max-height: 1000px;
}

.btn-toggle {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.5rem;
   
    display: none; /* caché par défaut */


}


/* version mobile */

@media (max-width: 862px) {

    .formateurs-emres-block {
    width: 100%;
    min-width: 300px;
}
}
    