.doctors > .wrapper > .section-title,
.team > .wrapper > .section-title {
    margin-bottom: 1.5em;
    text-align: center;
}

.doctors .split__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center bottom;
}

.team {
    background: var(--color-bg-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-card {
    text-align: center;
}

.team-card__media {
    margin-bottom: 1em;
    overflow: hidden;
    border-radius: 20px;
    background: var(--color-bg-muted);
    line-height: 0;
}

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

.team-card__name {
    margin: 0 0 0.15em;
    font-size: var(--text-h4);
}

.team-card__role {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--text-small);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
