.team-item {
    text-align: center;
}
.team-img {
    position: relative;
    border-radius: 24px;
    margin-bottom: 14px;
    overflow: hidden;
}

.team-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #fff;
    padding: 24px 10px 23px;
    transition: 0.4s ease;
    min-height: 94px;
}
.team-item:hover .team-content {
    background: var(--color1);
}
.team-head {
    display: flex;
    align-items: center;
}
.team-content .name {
    color: var(--color_text);
    font-size: 18px;
    line-height: 1;
    transition: 0.4s ease;
}
.team-item:hover .team-content .name{
    color: #fff;
}

.team-item:hover .team-content .post{
    color: #fff
}
.team-content .post {
    color: #787878;
    font-size: 18px;
    line-height: 1;
    transition: 0.4s ease;
}
.team-content .post::before {
    content: '|';
    color: var(--color_text);
    margin: 0 10px;
    vertical-align: 1px;
    transition: 0.4s ease;
}
.team-item:hover .team-content .post::before {
    color: #fff
}
.team-item img {
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.team-content .email {
    font-size: 16px;
    line-height: 11px;
    color: #787878;
    margin-top: 17px;
    transition: 0.4s ease;
}
.team-item:hover .email {
    color:#fff
}
.team-content .email:hover {
    color:var(--color2)
}
.teams-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
    flex-direction: column;
    position: absolute;
    top: 20px;
    left: 20px;
}

.teams-social a {
    display: flex;
    line-height: 1;
    color: #fff;
    font-size: 20px;
    transition: 0.4s ease;
    width: 40px;
    height: 40px;
    background: var(--color_title);
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.team-item:hover a {
    background:var(--color1);
}
.teams-social a:hover{
    background:var(--color3);
    color: #fff;
}
@media screen and (min-width: 992px) {
    .team-access {
        gap: 10px 16px;
        margin-bottom: 14px;
    }
}