/* ============================================================
   About - page stylesheet
   Only what this page uses. Anything shared with another page
   stays in /Shared/assets/css/site.css.
   ============================================================ */

/* ============================================================
   TEAM GRID  (3 columns, 4 people per column - matches live order)
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 30px;
}

.team-card {
    margin: 0;
    background: transparent;
    transition: transform 0.35s ease;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
}

.team-card img.team-photo-wide {
    object-position: center;
}

.team-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 6px 0;
    text-align: center;
}

.team-name {
    color: var(--dbc-navy);
    font-size: 0.95rem;
    font-weight: 600;
}

.team-role {
    font-size: 0.74rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.03em;
    color: var(--dbc-muted);
}

@media (max-width: 900px) {
.team-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 18px;
    }
}

@media (max-width: 600px) {
.team-grid { grid-template-columns: 1fr; }
}
