.team-section {
    padding: 37px 20px 48px;
    background: linear-gradient(180deg, #478fc3 0%, #5ca0aa 43%, #7cb27e 72%, #a3d43f 100%);
    color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    }
    .team-section__container {
    width: min(980px, 100%);
    margin: 0 auto;
    }
    .team-section__header {
    margin-bottom: 21px;
    text-align: center;
    }
    .team-section__header h2 {
    margin: 0;
    font-size: 31px;
    line-height: 1.25;
    font-weight: 300;
    text-transform: uppercase;
    }
    .team-section__header span {
    display: block;
    width: 395px;
    max-width: 70%;
    height: 1px;
    margin: 27px auto 0;
    background: #b7f23a;
    }
    .team-section__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px 16px;
    }
    .team-card {
    grid-column: span 2;
    text-align: center;
    }
    .team-card:nth-child(4) {
    grid-column: 2 / span 2;
    }
    .team-card:nth-child(5) {
    grid-column: 4 / span 2;
    }
    .team-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    }
    .team-card__content {
    padding: 16px 10px 0;
    }
    .team-card h3 {
    margin: 0 0 11px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    }
    .team-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.58;
    font-weight: 400;
    }
    .team-card strong {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    }
    @media (max-width: 900px) {
    .team-section__container {
    width: min(760px, 100%);
    }
    .team-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    }
    .team-card,
    .team-card:nth-child(4),
    .team-card:nth-child(5) {
    grid-column: auto;
    }
    .team-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
    }
    }
    @media (max-width: 620px) {
    .team-section {
    padding: 48px 20px 55px;
    }
    .team-section__header {
    margin-bottom: 32px;
    }
    .team-section__header h2 {
    font-size: 25px;
    }
    .team-section__header span {
    margin-top: 20px;
    }
    .team-section__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    }
    .team-card,
    .team-card:last-child {
    grid-column: auto;
    width: 100%;
    }
    .team-card img {
    aspect-ratio: 1 / 1.08;
    }
    .team-card__content {
    padding-top: 15px;
    }
    .team-card h3 {
    font-size: 16px;
    }
    .team-card p,
    .team-card strong {
    font-size: 12px;
    }
    }