/* ROW FIX (évite les trous visuels) */
.row-members {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* COLONNES FLEX */
.row-members > [class*="col-"] {
    display: flex;
}

.members-link {
    display: flex;
    width: 100%;
    text-decoration: none;
}

.members {
    padding: 20px 0 20px;
    margin-bottom: 30px;
    background-color: #f7f5ec;
    text-align: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    transition: all 0.25s ease;

    border: 1px solid #e2dab4;
}

.members:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--ecox-rouge);
}

.members .picture {
    display: inline-block;

    width: 75%;
    aspect-ratio: 1 / 1;

    margin-bottom: 25px;
    z-index: 1;
    position: relative;
}

.members .picture::before {
    content: "";
    width: 100%;
    height: 0;
    border-radius: 50%;
    background-color: var(--ecox-rouge);
    position: absolute;
    bottom: 135%;
    right: 0;
    left: 0;
    opacity: 0.9;
    transform: scale(3);
    transition: all 0.3s linear 0s;
}

.members:hover .picture::before {
    height: 100%;
}

.members .picture::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--ecox-rouge);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.members .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    transform: scale(1);
    transition: all 0.9s ease 0s;

    border: 5px solid var(--ecox-bleu);
}

.members:hover .picture img {
    border: 1px solid var(--ecox-rouge);
    box-shadow: 0 0 0 14px #fff;
    transform: scale(0.7);
}

.members .name {
    margin-top: auto;

    margin-left: 15px;

    font-size: 14px!important;
    font-weight: bold;
    color: #fff;
    background-color: var(--ecox-bleu);

    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;

    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

    text-transform: uppercase;

    word-wrap: break-word;
    overflow-wrap: break-word;

    transition: all 0.2s ease 0s;
}

.members .statut {
    display: block;
    font-size: 11px;
    color: #4e5052;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 25px;
}

.members:hover .name {
    text-decoration: underline;
    background-color: var(--ecox-rouge);
}