/* ---- Key personnel, service pages ----
   The personnel block sits at the foot of a service page, so the cards are
   compact: the service content leads, the people follow. Scoped to the pages
   that carry the block rather than added to site.css, which would cache-bust
   every page on the site. */

.personnel-section { margin-top: 56px; }
.personnel-section > h2 { margin-bottom: 6px; }

.team-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.team-grid--compact .team-card { padding: 14px; }

.team-grid--compact .team-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
}

.team-grid--compact .team-card h3 { font-size: 14px; }
.team-grid--compact .team-card .role { font-size: 11px; margin-top: 1px; }
.team-grid--compact .team-card .email { font-size: 11px; }
.team-grid--compact .team-card .bio { font-size: 12px; line-height: 1.5; margin-top: 8px; }
.team-grid--compact .team-tags { margin-top: 10px; gap: 5px; }
.team-grid--compact .team-tags a,
.team-grid--compact .team-tags span { font-size: 11px; padding: 2px 7px; }

@media (max-width: 720px) {
    .team-grid--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
