/**
 * MentorUs dashboard member-card styling.
 * Loaded only on the organisation dashboard.
 */
.mentorus-member-card-link {
    display: block;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
}
.mentorus-member-card-link:focus-visible {
    outline: 3px solid #315fbd;
    outline-offset: 3px;
}
.mentorus-member-card {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    min-width: 0;
    padding: 1.15rem;
    color: #252a34;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(26, 39, 68, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.mentorus-member-card-link:hover .mentorus-member-card {
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(26, 39, 68, 0.10);
}
.mentorus-member-card--pending {
    background: #f5f6f8;
    opacity: .72;
}
.mentorus-member-card__header {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf0f4;
}
.mentorus-member-card__photo {
    display: block;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e0e5ed;
}
.mentorus-member-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #43516b;
    background: #e9edf5;
    font-size: 1.35rem;
    font-weight: 700;
}
.mentorus-member-card__identity { 
    min-width: 0;
}
/* Member name and administrator badge */
.mentorus-member-card__name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    min-width: 0;
}

.mentorus-member-card__name-row .mentorus-member-card__name {
    margin-bottom: .25rem;
}

.mentorus-member-card__admin-badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    color: #72520a;
    background: #fff3cd;
    border: 1px solid #f0d98b;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}
.mentorus-member-card__name {
    margin: 0 0 .25rem;
    color: #202838;
    font-size: 1.08rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.mentorus-member-card__job {
    margin: 0 0 .45rem;
    color: #687386;
    font-size: .9rem;
    overflow-wrap: anywhere;
}
.mentorus-member-card__role {
    display: inline-block;
    padding: .22rem .55rem;
    color: #34476b;
    background: #edf2fb;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 650;
}
.mentorus-member-card__details { padding-top: .75rem; }
.mentorus-member-card__details p {
    margin: 0 0 .7rem;
    font-size: .88rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.mentorus-member-card__details p:last-child { margin-bottom: 0; }
.mentorus-member-card__details p span {
    display: block;
    margin-bottom: .1rem;
    color: #7b8494;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.mentorus-member-card__bio {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.mentorus-member-card__pending-note {
    margin: 1rem 0 0;
    padding-top: .75rem;
    color: #9b2525;
    border-top: 1px solid #e7dada;
    font-size: .82rem;
    font-weight: 650;
}
@media (max-width: 1024px) {
    .mentorus-member-card-link { flex-basis: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mentorus-member-card { transition: none; }
    .mentorus-member-card-link:hover .mentorus-member-card { transform: none; }
}
