.team-block {
    padding: 60px 0 30px;
}
.team-block .block-title {
    margin-bottom: 42px;
    text-align: center;
}
.team-block .team-list {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 28px;
}
.team-block .team-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.team-block .team-photo {
    width: clamp(118px, 11vw, 172px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #eef3f5;
    box-shadow: 0 18px 34px rgba(6, 41, 57, 0.18);
}
.team-block .team-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: var(--team-photo-position, center center);
    transform: var(--team-photo-transform, none);
}
.team-block .team-photo span {
    display: none;
}
.team-block .team-name {
    margin-top: 16px;
    color: var(--main);
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
}
.team-block .team-role {
    margin-top: 6px;
    color: var(--lText);
    font-size: 15px;
    line-height: 135%;
}
@media (max-width: 768px) {
    .team-block {
        padding-top: 40px;
    }
    .team-block .block-title {
        margin-bottom: 30px;
    }
    .team-block .team-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 16px;
    }
    .team-block .team-photo {
        width: clamp(110px, 30vw, 150px);
    }
}
@media (max-width: 600px) {
    .team-block .team-name {
        font-size: 16px;
    }
    .team-block .team-role {
        font-size: 13px;
    }
}
