#staff-wrapper {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Rank section ────────────────────────── */
.staff-rank-section {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.35);
}

/* Full-width coloured banner */
.staff-rank-banner {
    width: 100%;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12);
}

.staff-rank-label {
    font-size: 0.68em;
    font-weight: 900;
    letter-spacing: 7px;
    text-indent: 7px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Card grid */
.staff-member-grid {
    background-color: #111d2c;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    padding: 22px 16px 18px;
    gap: 28px;
    min-height: 52px;
}

.staff-no-members {
    color: #2a3a4a;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 3px;
    align-self: center;
    padding: 4px 0;
}

/* Individual card — no box, just skin + name floating */
.staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: transform 0.22s;
    min-width: 80px;
}

.staff-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.staff-body-img {
    width: 68px;
    height: auto;
    image-rendering: pixelated;
    display: block;
}

.staff-card-name {
    font-size: 0.8em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    word-break: break-all;
    max-width: 100px;
}

@media (max-width: 480px) {
    .staff-body-img { width: 55px; }
    .staff-member-grid { gap: 18px; padding: 16px 10px; }
}
