.team-list {
    max-width: var(--max);
    margin: 0 auto;
}

.team-member {
    margin: 0 0 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.team-member .wp-block-media-text__media {
    height: 100%;
}

.team-member .wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.team-member .wp-block-media-text__content {
    padding: 34px 40px;
}

.team-name {
    margin-bottom: 6px;
    color: var(--green-dark);
}

.team-role {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--green);
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .team-member .wp-block-media-text__media img {
        min-height: 240px;
        max-height: 340px;
    }

    .team-member .wp-block-media-text__content {
        padding: 26px 22px;
    }
}
