/* Shared staff layout for the home and team pages. */
.board-member.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 24px auto;
    padding: 0;
    justify-items: center;
    align-items: start;
}
.staff-grid > .member-card {
    width: 100%;
    max-width: 300px;
    min-width: 0;
    margin: 0;
    text-align: center;
    overflow: hidden;
}
.staff-grid > .member-card > img {
    display: block;
    width: 100%;
    height: 300px;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
}
.staff-grid .member-info h2,
.staff-grid .member-info .role {
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    .board-member.staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .board-member.staff-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
