
.team-con {
    background: var(--bg-grey);
}
.team-detail ul li {
    margin: 0 5px;
}
.team-detail ul li a:hover i {
    color: var(--secondary--color);
}
.team-detail ul li i {
    font-size: 18px;
    color: var(--text-color);
}
.team-detail ul {
    background: var(--white-color);
    border-radius: 10px;
    padding: 7px 27px 6px;
    display: inline-block;
    box-shadow: 0 0 30px rgb(0 0 0 / 10%);
}
.team-detail {
    text-align: center;
    margin-top: -55px;
    z-index: 3;
    position: relative;
}
.team-box-item {
    display: inline-block;
}
.team-box-item figure {
    position: relative;
}
.team-box-item figure::before {
    content: "";
    background: #8b97ad;
    width: 255px;
    height: 250px;
    border-radius: 100%;
    position: absolute;
    left: 0;
    bottom: 2px;
}
.team-box-item:hover figure::before {
    background: var(--secondary--color);
}
.team-box-item:hover h3{
    color: var(--secondary--color);
}
.team-box-item figure img {
    position: relative;
    z-index: 2;
}
.team-detail span {
    font-size: 14px;
    line-height: 14px;
    color: var(--text-color);
}
.team-box {
    display: grid;
    gap: 70px 30px;
    grid-template-columns: 23% 23% 23% 23%;
}
.team-detail h3{
    margin-bottom: 10px;
    color: var(--primary--color);
}
/* RESPONSIVE */
@media only screen and (max-width: 1440px) {}
@media only screen and (max-width: 1199px) {
    .team-box-item figure::before {
        width: 214px;
        height: 218px;
        bottom: 0;
    }
    .team-box-item figure img{
        width: 100%;
    }
    .team-box {
        gap: 70px 24px;
    }
}
@media only screen and (max-width: 991px) {
    .team-box {
        gap: 30px;
        grid-template-columns: 31% 31%;
        justify-content: center;
    }
}
@media only screen and (max-width: 767px) {
    .team-box {
        grid-template-columns: 42% 42%;
    }
    .team-detail {
        margin-top: -51px;
    }
}
@media only screen and (max-width: 575px) {
    .team-box-item figure::before {
        width: 145px;
        height: 145px;
        bottom: 0;
    }
    .team-detail ul {
        padding: 6px 10px;
        margin-bottom: 8px;
    }
    .team-detail ul li i {
        font-size: 14px;
    }
}