.em-team-single-item {
    transition: all 0.5s ease;
}

.em-team-content {
    text-align: center;
    padding: 20px 0;
}

.em-team-socials {
    text-align: center;
}

.em-team-content h4 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 0;
    text-transform: capitalize;
    font-weight: 700;
    color: #283849;
}

.em-team-content p {
    color: #F8931F;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    text-transform: capitalize;
}

.em-team-social-btn {
    font-size: 14px;
    line-height: 40px;
    border-radius: 50%;
    background: #283849;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.5s ease;
}

a.em-team-social-btn i {
    color: #FFFFFF;
}

.em-team-image {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.em-team-socials {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.em-team-social-btn:hover {
    background: #F8931F;
}

.em-team-single-item:hover .em-team-socials {
    bottom: 40px;
    opacity: 1;
    visibility: visible;
}

.em-team-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    opacity: 0;
    visibility: hidden;
    z-index: 5;
    transition: all 0.5s ease;
}

.em-team-single-item:hover .em-team-image:after {
    top: 0;
    opacity: 1;
    visibility: visible;
}

@media all and (min-width: 768px) and (max-width: 991px) {
    .em-team-social-btn {
        font-size: 16px;
        line-height: 35px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 767px) {
    .em-team-items {
        max-width: 300px;
        margin: 0 auto;
    }
}