.member-card {
    position: relative;
    display: flex;
    width: 96%;
    justify-content: flex-start;
    margin: 2%;
    padding: 15px;
    overflow: hidden;
    gap: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}



.member-card .photo-and-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-card .photo-and-contact .photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f7fa00, #c3cfe200), url('../images/illustration/fond-texture-gris-uni_534308-125.avif');
}
.member-card .photo-and-contact .desk {
    text-align: center;
}
.member-card .photo-and-contact .photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.member-card img {
    filter: grayscale(100%);
    transition: filter 0.5s;
}
.member-card:hover img {
    filter: grayscale(0%);
}

.member-card .photo-and-contact .contact {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.member-card .photo-and-contact .contact img {
    width: 20px;
}


.member-card .info {
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.member-card .info .name {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--sml-blue);
}

.member-card .info .position {
    font-size: 16px;
    font-weight: 550;
    color: rgb(153, 153, 153);
    transition: color 0.5s;
}
.member-card:hover .info .position {
    color: rgb(141, 29, 163);
}




.alumni-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: justify;
    margin: 15px;
    gap: 5px;
}
.alumni-card .name {
    font-size: 1.15em;
    font-weight: bold;
    color: var(--sml-blue);
}












@media (max-width: 850px) {
    .member-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px;
    }

    .member-card .photo-and-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }


    .member-card .info {
        align-items: center;
    }

}
@media (pointer: coarse) {
    .member-card img {
        filter: none;
    }
    .member-card .info .position {
        color: rgb(141, 29, 163);
    }
}