main {
    position: relative;
    z-index: 2;
}

.top {
    padding: 170px 0 90px;
}

.top-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(172deg, rgba(0, 0, 0, 0.00) -8.7%, rgba(0, 0, 0, 0.84) 69.7%);
}

.top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(172deg, rgba(0, 0, 0, 0.00) -8.7%, rgba(0, 0, 0, 0.84) 69.7%);

}

.top-title {
    width: fit-content;
    margin: 0 auto;
    color: #FFF;
    font-family: "DM Sans";
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    line-height: 80px;
    position: relative;
    z-index: 2;
    letter-spacing: -2.01px;
}

.team-box:nth-child(odd) {
    background: #F8F7F3;
}

.team-member {
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.team-member__avatar {
    border-radius: 8px;
    width: 350px;
    height: 435px;
}

.team-member__info {
    margin-left: 30px;
    width: 100%;
    max-width: 730px;
}

.team-member__name {
    color: #393939;
    font-family: "DM Sans";
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -0.606px;
    max-width: 428px;
}

.team-member__position {
    color: #9E9E9E;
    font-family: "DM Sans";
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: -0.606px;
    margin: 15px 0 20px;
    display: block;
}

.team-member__contacts {
    display: block;
    padding: 40px 60px;
    border-radius: 0 20px;
    background: #FCDA00;
    width: calc(100% + 60px);
    margin-left: -60px;
    box-sizing: border-box;
}

.team-member__contacts a,.team-member__contacts a:visited {
    display: flex;
    width: fit-content;
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
    gap: 15px;
    letter-spacing: -0.606px;
    align-items: center;
    transition: color .5s ease;
}
.team-member__contacts a:hover{
    color: #9E9E9E;
}
.team-member__contacts a svg path{
    fill: #000;
    transition: fill .5s ease;
}
.team-member__contacts a:hover svg path{
        fill: #9E9E9E;
}
.team-member__contacts a:not(:last-child) {
    margin-bottom: 20px;
}


.team-bg-top,
.team-bg-center {
    position: absolute;
}

.team-bg-top {
    left: -290px;
    top: 68px;
    width: 460px;
    height: 460px;
    rotate: 40deg;
}

.team-bg-center {
    left: auto;
    right: 0;
    top: 806px;
    width: 460px;
    height: 460px;
}

.news-title {
    color: #393939;
    text-align: center;
    font-family: "DM Sans";
    font-size: 28px;
    margin-bottom: 77px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.416px;
}

.news-box {
    display: flex;
    gap: 30px;
    position: relative;
}

.news-bg {
    width: 316px;
    height: 316px;
    transform: scaleX(-1);
    position: absolute;
    left: -153px;
    bottom: -120px;
}

.arhive {
    padding: 120px 0;
}

.news-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 30px;
}

.news-card {
    width: 100%;
    position: relative;
    max-width: calc(25% - 23px);
    display: block;
    background: #FFF;
    box-shadow: 8px 8px 26px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding-bottom: 20px;
    height: 502px;
}

.news-preview {
    display: block;
    width: 255px;
    height: 255px;
    border-radius: 8px 8px 0 0;
}

.news-date-box {
    position: absolute;
    right: 0;
    left: auto;
    top: -20px;
    bottom: 0;
    margin: auto;
    height: fit-content;
    width: fit-content;
    max-width: 103px;
}

.date {
    background: #FCDA00;
    color: #04000B;
    text-align: center;
    font-family: 'Outfit';
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
    padding: 15px 22px;
    display: block;
}

.month {
    padding: 5px 0;
    width: 100%;
    background: #1D417A;
    color: #FCFCFC;
    text-align: center;
    font-family: 'DM Sans';
    font-size: 15px;
    font-weight: 400;
    line-height: 27px;
    display: block;
}

.news-card-content {
    padding: 47px 8px 0;
}

.news-card-title {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: -0.606px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-excerpt {
    color: #393939;
    font-family: "DM Sans";
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: -0.606px;
    margin: 5px 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more,
.news-more:visited {
    border-radius: 60px;
    background: #1D417A;
    color: #FFF;
    font-family: "DM Sans";
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.416px;
    padding: 5px;
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
    display: block;
    text-align: center;
    transition: color .5s ease;
}
.news-more:hover{
    color:#9E9E9E;
}
.news-card:first-child {
    max-width: calc(50% - 14px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-card:first-child::before {
    content: '';
    display: block;
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(172deg, rgba(0, 0, 0, 0.00) -8.7%, rgba(0, 0, 0, 0.84) 69.7%);
}

.news-card:first-child .news-preview {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.news-card:first-child .news-date-box {
    z-index: 3;
}

.news-card-content {
    position: relative;
    z-index: 3;
}

.news-card:first-child .news-card-title,
.news-card:first-child .news-card-excerpt {
    color: #fff;
}

.news-card:first-child .news-more {
    position: relative;
    z-index: 3;
}

.news-all,.news-all:visited {
    position: relative;
    color: #393939;
    font-family: "DM Sans";
    font-size: 16px;
    border-radius: 60px;
    background: #FCDA00;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.416px;
    padding: 5px 38px;
    margin: 60px auto 0;
    display: block;
    width: fit-content;
    transition: color .5s ease;
}
.news-all:hover{
    color: #9E9E9E;
}
.reviews {
    margin: 170px 0;
    background: #FCDA00;
    overflow: visible;
}

.reviews-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.reviews-bg-box {
    max-width: 100%;
    height: 100%;
    position: absolute;
    left: auto;
    top: 0;
    right: calc(50% + 80px);
    width: 46%;
    bottom: 0;
    margin: -48px 0;
       height: calc(100% + 96px);
}

.reviews-bg-box::after {
    width: 100%;
    display: block;
    z-index: 2;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: auto;
    bottom: 0;
    content: '';
    z-index: 2;
    background: linear-gradient(172deg, rgba(0, 0, 0, 0.00) -8.7%, rgba(0, 0, 0, 0.65) 69.7%);
}

.reviews-box {
    display: flex;
    position: relative;
    z-index: 3;
}

.reviews-left {
    max-width: 43%;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
    box-sizing: border-box;
}

.reviews-title {
    color: #FFF;
    font-family: "DM Sans";
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.416px;
    width: 100%;
    text-align: right;
}

.reviews-left a,.reviews-left a:visited {
    border-radius: 60px;
    background: #FCDA00;
    padding: 5px 52px;
    color: #393939;
    font-family: "DM Sans";
    font-size: 16px;
    width: fit-content;
    margin: 0 0 0 auto;
    font-weight: 400;
    line-height: normal;
    height: fit-content;
    letter-spacing: -0.416px;
    transition: color .5s ease;
}
.reviews-left a:hover{
    color: #9E9E9E;
}
.swiper-box {
    max-width: 50%;
    padding: 80px 45px;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
}

.swiper {
    border-radius: 8px;
    background: #FFF;
    box-shadow: 8px 8px 26px 0 rgba(0, 0, 0, 0.05);
    max-width: 445px;
}

.swiper-slide article {
    padding: 10px 15px;

}

.review-author {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: -0.606px;
}

.review-role {
    color: #393939;
    font-family: "DM Sans";
    font-size: 18px;
    margin: 5px 0 10px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: -0.606px;
}

.review-text {
    color: #393939;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    opacity: 0.7;
    letter-spacing: -0.606px;
    margin: 0;
        display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
    top: auto !important;
    bottom: 80px !important;
    padding: 4px;
    border-radius: 60px;
    background: #FFF;
    opacity: 1;
    transition: opacity .5s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover{
    opacity: .7;
}
.swiper-button-prev svg,
.swiper-button-next svg {
    width: 22px;
    height: 22px;
}

.swiper-button-prev {
    left: -20px !important;
}

.swiper-button-next {
    right: -20px !important;
}

@media screen and (max-width: 950px) {
    .team-member__avatar {
        width: 35%;
    }

    .team-member__name,
    .team-member__position {
        font-size: 30px;
        line-height: 1;

    }

    .team-member__contacts {
        padding: 20px 60px;
    }

    .news-box {
        flex-wrap: wrap;
    }

    .news-card:first-child {
        max-width: calc(100% - 14px);
    }

    .news-card {
        max-width: calc(50% - 23px);
        position: relative;
        z-index: 2;
    }

    .news-preview {
        width: 100%;
    }

    .reviews-bg-box {
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        margin: auto;
    }

    .reviews-bg {
        height: 100%;
    }

    .reviews-left {
        justify-content: space-between;
        max-width: 100%;
        position: absolute;
        height: 100%;
        padding: 15px 0 30px;
    }

    .reviews-title {
        text-align: center;
        margin-top: 21px;
    }

    .reviews-left a {
        margin: 0 auto;
    }

    .swiper-box {
        max-width: 65%;
        padding: 160px 45px 100px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        bottom: 95px !important;
    }
}


@media screen and (max-width: 550px) {
    .top {
        padding: 130px 0 50px;
    }

    .team-member__info {
        margin-left: 0;
    }

    .team-member__avatar {
        width: 100%;
        margin-bottom: 15px;
    }

    .team-member {
        flex-wrap: wrap;
    }

    .team-member__contacts {
        margin: 0;
        box-sizing: border-box;
        width: 100%;
        padding: 20px 20px;
    }

    .team-member__avatar {
        height: 340px;
    }

    .team-member__name,
    .team-member__position {
        font-size: 25px;
        line-height: 1;
    }

    .team-member__contacts a:not(:last-child) {
        margin-bottom: 10px;
    }

    .swiper-box {
        max-width: calc(100% - 20px);
    }

    .news-title {
        margin-bottom: 50px;
    }

    .reviews {
        margin: 50px 0;
    }
}

@media screen and (max-width: 450px) {

    .news-card,
    .news-card:first-child {
        max-width: 100%;
    }

    .news {
        padding-top: 0;
    }

}