.team-wrapper {
    padding-top: 160px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 40%);
    margin-bottom: 200px;
}

.team-title {
    font-size: 64px;
    line-height: 100%;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -4px;
}


.team {
    margin-top: 70px;
    display: flex;
    gap: 15px;
}

.team-left {
    width: 444px;
    flex-shrink: 0;
}

.team-list {
    display: flex;
    gap: 20px;
    flex-direction: column;
    position: fixed;
}

.team-list__item {
    height: 30px;
}

.team-list__item a {
    color: #000000B2;
    font-size: 16px;
    line-height: 100%;
    font-weight: 500;
    transition: all .3s ease-in-out;
}

.team-list__item a:hover, .team-list__item.active a {
    color: #CF141F;
    font-size: 24px;
}

.team-right {
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.team-category:not(:first-child){
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid #C6CEDC;
}

.team-category__title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 100%;
}

.team-category__items {
    display: flex;
    gap: 15px;
}

.team-category__item {
    flex: 1;
}

.team-swiper.no-swiper {
    margin-left: 0px;
    display: flex;
    align-items: center;
    margin-right: 0px;
}
.team-swiper.no-swiper .team-category__item {
    width: 100%;
}
.team-swiper.no-swiper .swiper-slide {
    flex: 1;
}
.team-swiper.no-swiper .swiper-wrapper {
    gap: 15px;
}
.team-swiper.no-swiper .global-swiper__navigation-buttons {
    display: none;
}
.team-swiper .global-swiper__navigation-buttons {
    margin-bottom: 15px;
}

.team-category__item-image {
    object-fit: contain;
    object-position: center;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    background: white;
    object-fit: cover;
}

.team-category__item-title {
    line-height: 160%;
    font-weight: 400;
    margin-bottom: 8px;
}

.team-category__item-desc {
    font-size: 12px;
    line-height: 150%;
    color: #00000080;
}

@media (max-width: 768px) {
    .team-wrapper {
        margin-bottom: 120px;
        padding-top: 120px;
    }
    .team-category__items {
        display: flex;
        justify-content: center;
        gap: 0px;
    }
    .team-category__item-image.in-row {
        width: 114px!important;
        height: 177px!important;
        border-radius: 16px!important;
    }
    .team-category__items.single .team-category__item {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .team-category__items.single .team-category__item-image {
        width: 180px;
        height: 180px;
        border-radius: 24px;
    }
    .team-title {
        font-size: 40px;
        text-align: center;
    }
    .team {
        display: flex;
        flex-direction: column;
    }
    .team-left {
        width: 100%;
    }
    .team-list {
        display: flex;
        flex-direction: row;
        overflow: scroll;
        margin-bottom: 20px;
        height: 40px;
        width: 350px;
        position: static;
    }
    .team-list::-webkit-scrollbar {
        display: none;
    }
    .team-category__item-image {
        height: 177px;
        object-fit: cover;
    }
    .team-category__item-title, .team-category__item-desc {
        font-size: 14px;
    }
    .team-category__item-desc {
        width: 80%;
        word-wrap: break-word;
    }
    .team-category__title {
        text-align: center;
    }
    .team-list__item a:hover, .team-list__item.active a {
        font-size: 18px;
    }
    .team-list__item a {
        font-size: 14px;
        width: max-content;
        display: block;
    }

    .team-category__title {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: center;
        justify-content: center;
    }

    .team-swiper .global-swiper__navigation-buttons {
        display: flex;
        justify-content: center;
    }
}