
.team-box {
    gap: 40px;
    display: grid;
    grid-template-columns: 23% 23% 23% 23%;
}
.team-box-item figure {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #999;
}
.team-box-item:hover figure{
    background: #2d8f3b;
}
.team-box-item:hover:after {
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 270px;
    position: absolute;
    background: url(../images/overlay-img.png) repeat bottom;
    border-radius: 10px;
}
.team-box-item figure img{
    width: 100%;
}
.team-status {
    border-radius: 10px;
    padding: 18px 20px;
    background: var(--white-color);
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    width: 84.3%;
    box-shadow: 50px 50px 100px #000;
}
.team-status button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: var(--primary--color);
    margin-bottom: 0;
    font-family: "Plus Jakarta Sans", sans-serif
}
.team-status button:hover {
    cursor: pointer;
    color: var(--accent-color);
}
.team-box-item a i {
    color: var(--accent-color);
}
.team-box-item a {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    text-decoration: none;
    background: var(--white-color);
}
.team-status button:focus {
    outline: none;
}
.team-box-item .staus-con {
    line-height: 19px;
    margin-top: 8px;
    display: none;
}
.team-status span {
    font-size: 14px;
    line-height: 16px;
}
.team-box-item a:hover i{
    color: var(--white-color);
}
.team-box-item a:hover{
    background: var(--primary--color);
}
.team-box-item:hover a {
    display: flex;
    z-index: 2;
    
}
/* responsive */
@media only screen and (max-width: 1440px) {
    .team-box {
        gap: 30px;
    }
    .team-status {
        padding: 16px 20px;
    }
}
@media only screen and (max-width: 1199px) {
    .team-box {
        gap: 25px;
    }
    .team-status {
        padding: 15px 10px;
    }
    .team-status button {
        font-size: 18px;
        line-height: 18px;
    }
}
@media only screen and (max-width: 991px) {
    .team-box-item:hover:after {
        width: 100%;
        height: 100%;
    }
    .team-box-item a {
        width: 34px;
        height: 34px;
        right: 10px;
        top: 10px;
    }
    .team-box {
        gap: 18px;
    }
    .team-status button {
        font-size: 16px;
        line-height: 16px;
    }
    .team-status {
        width: 88.3%;
        padding: 12px 8px;
    }
}
@media only screen and (max-width: 767px) {
    .team-box-item:hover:after {
        height: 270px;
    }
    .team-box {
        gap: 15px;
        grid-template-columns: 48% 48%;
    }
    .team-status {
        box-shadow: -4px 19px 100px #000;
    }
    .team-box-item a {
        width: 34px;
        height: 34px;
        right: 10px;
        top: 10px;
    }
}
@media only screen and (max-width: 575px) {
    .team-box-item:hover:after {
        height: 100%;
    }
}