#maincontent.about-page {
    max-width: 48rem;
}

.team-intro {
    max-width: none;
    margin: 0 0 1.25rem;
}

.team-advisor {
    max-width: none;
    margin: 0 0 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0 0 2.5rem;
}

.team-profile {
    display: block;
    text-align: center;
    color: var(--ink-strong);
    border: 0;
}

.team-profile img {
    display: block;
    margin-inline: auto;
    width: 100%;
    max-width: 9rem;
    height: auto;
    aspect-ratio: 1;
}

.team-profile h2 {
    margin: 1.25rem 0 0.5rem;
    font: 400 1.25rem/1.3 var(--sans);
}

.team-role {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-muted);
    font: 0.8125rem/1.5 var(--mono);
}

.team-arrow {
    color: var(--link);
    font-size: 1.125rem;
    line-height: 1;
}

.team-profile:hover,
.team-profile:focus-visible {
    color: var(--link);
}

@media (max-width: 760px) {
    .team-grid {
        gap: clamp(0.5rem, 2.5vw, 0.75rem);
    }

    .team-profile img {
        max-width: 7rem;
    }

    .team-profile h2 {
        margin-top: 0.75rem;
        font-size: clamp(0.75rem, 3.6vw, 1.25rem);
    }
}
