/* ACE-GFA's Team Structure */
.member-card {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 1.5rem;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.member-photo img {
    box-shadow: 5px 0 0 5px var(--primary);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: #fff;
    object-position: top;
}

.member-card-overlay {
    transition: 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: #E6E7E8;
    width: 100%;
    height: 70%;
    border-radius: 20px;
}

.overlay-profile {
    border-radius: 20px;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    color: #fff;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.overlay-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.member-card:hover .overlay-profile {
    opacity: 1;
    visibility: visible;
}