/* Page CSS for layouts/team.njk — lifted out of the layout so it is
   cached instead of re-sent inside every HTML response. */
/* Narrow screens (<440px): break team member name onto two lines (first / last) */
    .team-card__name .name-br { display: none; }
    @media (max-width: 439.98px) { .team-card__name .name-br { display: block; } }

    /* Team member names use the site's standard sans typography (match the job titles) */
    .team-card .team-card__name { font-family: var(--font-sans); }

    /* Tighten card body: trim padding and the gap below the name so cards sit compactly */
    .team-card__body { padding: var(--s-3); }
    .team-card .team-card__name { margin: 0 0 2px; }

    /* 2-col (mobile): equalize each row to its own tallest card, not the whole grid */
    @media (max-width: 759.98px) { .team-grid { grid-auto-rows: auto; } }
