.el-team-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

@media (max-width: 992px) {
    .el-team-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .el-team-items {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background-image: linear-gradient(90deg, rgba(105, 85, 180, 0.1) 0%, rgba(105, 85, 180, 0.5) 50%, rgba(105, 85, 180, 0.1) 100%);
    text-align: center;
    padding: 40px;
    position: relative;
    box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 20%);
    z-index: 1;
}

.team-card:before {
    background-image: linear-gradient(90deg, rgba(152, 65, 255, 0.1) 0%, rgba(152, 65, 255, 1) 50%, rgba(152, 65, 255, 0.1) 100%);
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    bottom: 0;
    z-index: -1;
    -webkit-transition: all .3s cubic-bezier(.165, .84, .44, 1);
    transition: all .3s cubic-bezier(.165, .84, .44, 1);
}

.team-card:hover:before {
    height: 100%;
}

.team-card:after {
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 6px);
    background-size: 4px 4px;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.team-card img {
    width: 90%;
    height: 130px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 20px;
    -webkit-transition: all .3s cubic-bezier(.165, .84, .44, 1);
    transition: all .3s cubic-bezier(.165, .84, .44, 1);
}

.team-card:hover img {
    transform: scale(1.05) rotate(5deg);
}

.team-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.team-card h3 a,
.team-card h3 a:hover {
    color: #fff;
}

.team-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: #bbb;
    margin-bottom: 0;
    line-height: 1;
}