.team-list {
    margin: 0 28px 57px 28px;
    padding: 0;
    list-style: none;
    gap: 18px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 820px) {
    .team-list {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 48px 97px 48px;
    }
}

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

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

.team-list p {
    margin: 0;
}

.team-list__item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member__thumbnail img {
    width: 100%;
    height: auto;
}

.team-list__title {
    font-size: 32px;
    font-weight: 400;
    line-height: 38.4px;
    text-align: left;
    margin: 8px 0 0 0;
    color: #00416C;
}

.team-member__cargo {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #00416C;
}

.team-member__cargo:before {
    content: "— ";
}

.team-member__linkedin a:before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../images/linkedin.svg);
    background-size: contain;
    display: block;
}

.team-member__linkedin a span {
    display: none;
}