.single_team {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Ombre douce */
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f1f1f1;
    height: 100%; /* Pour que toutes les cartes aient la même hauteur */
}

.single_team:hover {
    transform: translateY(-5px); /* Petit effet de survol */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team_img img {
    max-width: 120px; /* Taille logo fixe */
    margin-bottom: 20px;
    filter: grayscale(100%); /* Optionnel : logos en gris par défaut */
    transition: 0.3s;
}

.single_team:hover .team_img img {
    filter: grayscale(0%); /* Le logo reprend ses couleurs au survol */
}

.team_name a {
    color: #333;
    font-weight: 700;
    text-decoration: none;
}

.team_img {
    height: 100px; /* Zone fixe pour le logo */
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
    margin-bottom: 20px;
}

.team_img img {
    max-width: 150px; /* Largeur max du logo */
    max-height: 80px;  /* Hauteur max du logo */
    width: auto;
    height: auto;
    object-fit: contain; /* Évite de déformer l'image */
}