.teams{
    margin-bottom: 38px;
}
.teams .head{
    margin-bottom: 25px;
    position: relative;
}
.teams .head .line{
    content: "";
    height: 1px;
    width: auto;
    background: var(--black-10);
    z-index: -1;
    flex-grow: 1;
}
.teams .head-teams{
    display: flex;
    align-items: center;
    gap: 16px;
    /*background-color: var(--bg_color);*/
    padding-left: 24px;
}
.teams .head-teams .head-icon{
    width: 48px;
    height: 48px;
    background-color: var(--primary_color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.teams .head-teams .head-icon svg{
    width: 18px;
    height: 18px;
}
.teams .head-teams .head-icon i{
    font-size: 18px;
    color: var(--white_color);
}
.teams .head-teams .head-icon svg path{
    fill: var(--white_color);
}
.teams .head-teams .head-teams-inner{
    display: flex;
}
.teams .head-teams .head-teams-inner.flex-direction-row{
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
.teams .head-teams .head-teams-inner.flex-direction-column{
    flex-direction: column;
}
.teams .head-teams .head-teams-inner .title{
    font-size: 24px;
    font-weight: 900;
    line-height: normal;
}
.teams .head-teams .head-teams-inner .subtitle{
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--black-70);
}
.teams .head-btns{
    display: flex;
    gap: 8px;
    background-color: var(--bg_color);
    padding-right: 24px;
}

.teams.mid .head {
    transform: translateY(22%);
    z-index: 9;
}
.teams.mid .head .head-teams{
    min-width: 250px;
    width: max-content;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 16px;
}
.teams.mid .head-teams .head-icon,
.teams.mid .head .head-teams .head-teams-inner{
    align-items: center;
    transform: translateY(22px);
}
.teams.mid .head .bg{
    position: absolute;
    width: 100%;
    bottom: 3px;
    transform: translateY(100%);
}
.teams.mid .head .bg svg{
    width: 100%;
    height: auto;
}
.teams.mid .head .bg svg path{
    fill: var(--bg_color);
}
.teams.mid .head .line,
.teams.mid .head-btns{
    display: none;
}
.teams.mid .body-teams .swiper-slide{
    transition: all .3s ease-in-out;
}
.teams.mid .body-teams .swiper-slide-active{
    transform: translateY(12%);
}
.teams .body-teams{
    position: relative;
    padding: 16px;
}
.teams .body-teams:before{
    content:"";
    width: 100%;
    height: 80%;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 24px;
}


.teams .btn{
    border: 0;
}
.teams .swiper-button-next,
.teams .swiper-button-prev{
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: var(--white_color);
    position: relative;
    left: unset;
    right: unset;
    margin: 0;
    z-index: 1;
}
.teams .swiper-button-next:after,
.teams .swiper-button-prev:after{
    font-size: 16px;
    color: var(--black_color);
}


.team-wrap{
    background-color: var(--white_color);
    border: 1px solid var(--black-10);
    border-radius: 32px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 10px;
}
.team-wrap img{
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 4px 44px 0 #3D57890D;
}
.team-wrap .name{
    font-size: 16px;
    font-weight: 700;
    display: block;
    padding: 0 10px;
}
.team-wrap .position{
    font-size: 12px;
    font-weight: 500;
    color: var(--black-70);
    display: block;
    padding: 0 10px;
}



@media (max-width: 767px) {

    .teams .head{
        position: unset;
    }
    .teams{
        padding-bottom: 82px;
        position: relative;
    }
    .teams .head-btns{
        width: 100%;
        padding: 0;
        position: absolute;
        bottom: 0;
        right: 0;
        align-items: center;
    }
    .teams .head-btns .btn{
        margin-right: auto;
    }
    .teams .line{
        display: none;
    }
    .teams .head{
        margin-bottom: 16px;
    }
    .teams .head-teams .head-icon{
        width: 32px;
        height: 32px;
    }
    .teams .head-teams .head-teams-inner .title{
        font-size: 20px;
    }
    .teams .head-teams .head-teams-inner .subtitle{
        font-size: 14px;
    }

}
@media (max-width: 600px) {}
@media (max-width: 575px) {
    .teams .head-btns{
        padding: 0 24px;
    }
    .teams .head{
        padding: 0 12px;
    }
    .body-teams{
        margin: 0 -12px;
    }

}
