.team-portrait {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.team-portrait,
.team-portrait img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.team-initials {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    color: hsl(var(--muted-foreground) / .7);
}

.team-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-portrait img[hidden] {
    display: none;
}

.team-card-content h2,
.team-job-title {
    overflow-wrap: anywhere;
}

.team-contact-link {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
}
