.team-block {
    padding: 40px 50px 80px;
}

.team-block-content {
    gap: 40px;
}

.team-title {
    color: var(--Black, #1C2320);
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
}

.team-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.team-content-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.team-list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 21px;
}

.team-content-block-title {
    color: var(--Black, #1C2320);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.team-item {
    width: 294px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background: var(--White, #FFF);
    overflow: hidden;
}

.team-item-img-block {
    width: 100%;
    aspect-ratio: 294 / 306;
    overflow: hidden;
}

.team-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-item-text-block {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-item-title {
    color: var(--Black, #1C2320);
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: 29px;
}

.team-item-text {
    color: var(--Grey-600, #757575);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: -3px;
}

.about-team-block {
    padding: 70px 50px 0;
}

.about-team-block-content {
    gap: 20px;
}

.about-team-header {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.about-team-title {
    color: var(--Black, #1C2320);
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
}

.about-team-link {
    color: var(--Secondary, #26352E);
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.about-team-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.about-team-row .team-item {
    width: calc((100% - 60px) / 4);
}

@media (min-width: 990px) and (max-width: 1200px) {
    .team-block {
        padding: 30px 30px 60px;
    }

    .team-block-content {
        gap: 30px;
    }

    .about-team-block {
        padding: 70px 0 0;
    }

    .about-team-block .swiper-pagination {
        display: none;
    }

    .about-team-block .swiper {
        padding: 0 30px;
    }

    .about-team-block .swiper-button-next {
        right: 0;
    }

    .about-team-block .swiper-button-prev {
        left: 0;
    }

    .about-team-header {
        padding: 0 30px
    }
}

@media (max-width: 989px) {
    .team-block {
        padding: 20px 20px 60px;
    }

    .team-title {
        font-size: 24px;
        line-height: 120%;
    }

    .team-content {
        gap: 40px;
    }

    .team-list {
        gap: 20px;
    }

    .team-item {
        width: 100%
    }

    .about-team-block {
        padding: 40px 0 0;
        overflow: unset;
    }

    .about-team-block .swiper {
        padding: 0 30px 30px;
    }

    .about-team-block .swiper-pagination {
        bottom: 0;
        height: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-team-block .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: transparent;
        border: 1px solid var(--Primary, #C07A52);
        opacity: 1;
    }

    .about-team-header {
        justify-content: center;
    }

    .about-team-block-content {
        gap: 16px;
    }

    .about-team-title {
        font-size: 24px;
        line-height: 38px; /* 158.333% */
    }
}
