/* Badges rôles staff — administrateur / modérateur */

.staff-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
    line-height: 0;
    height: 40px;
}

.staff-role-badge__img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

.staff-role-badge--menu {
    height: 38px;
}

.staff-role-badge--members {
    height: 34px;
}

.staff-role-badge--forum,
.staff-role-badge--feed {
    height: 30px;
}

.staff-role-badge--chat {
    height: 22px;
}

.staff-role-badge--profile {
    height: 80px;
}

.pv-sb-staff {
    display: flex;
    justify-content: flex-start;
    margin: 0.15rem 0 0.35rem;
}

.pv-hero-staff {
    margin: 0.35rem 0 0.15rem;
}

.menu-profile-role {
    display: inline-flex;
    align-items: center;
}

.member-name .staff-role-badge,
.post-author-name .staff-role-badge,
.topic-author-name .staff-role-badge {
    margin-left: 0.1rem;
}

.post-author-name,
.topic-author-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.nf-card-author-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.nf-card-author-row .nf-card-author {
    flex: 1;
    min-width: 0;
}

.message-header .staff-role-badge {
    margin-left: 0.15rem;
}

@media (max-width: 640px) {
    .staff-role-badge--profile {
        height: 64px;
    }

    .staff-role-badge--menu {
        height: 32px;
    }
}
