.team-area {
    padding-top: 120px;
    padding-bottom: 80px;
}

.team-area  .sidebar-wrapper {
    display: inline-block;
    margin-bottom: 40px;
    width: 100%;
}

.team-area  .sidebar-wrapper .nice-select {
    padding: 0 20px;
    margin-bottom: 10px;
    width: 100%;
    height: 60px;
    font-size: 1.1rem;
    line-height: 60px;
    background-color: #fff;
    border: 1px solid #dde0e0;
}

.team-area  .sidebar-wrapper .nice-select .option.selected {
    font-weight: 500;
}

.team-area  .sidebar-wrapper .nice-select:focus {
    border-color: var(--main-color);
}

.team-area  .sidebar-wrapper .nice-select::after {
    right: 20px;
    width: 10px;
    height: 10px;
    border-bottom: 3px solid #999;
    border-right: 3px solid #999;
}

.team-area .sidebar-wrapper .nice-select ul {
    width: 100%;
}

.team-area .sidebar-wrapper .nice-select ul li {
    display: block;
}

.team-item {
    margin-bottom: 30px;
}

.team-item .team-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.team-item .team-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.team-item:hover .team-thumb::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.team-item .team-thumb img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: cover;
}

.team-item:hover .team-thumb img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.team-item:hover .team-social {
    right: 0;
    visibility: visible;
    opacity: 1;
}

.team-item:hover .team-content {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.team-item:hover .team-content .team-name h3 {
    color: #fff;
}

.team-social-2 ul li a {
    background-color: #fff;
    border: 1px solid #dfe3e2;
}

.team-social-2 ul li a:hover {
    color: var(--main-color);
    background-color: var(--minor-color);
    border-color: var(--minor-color);
}

.team-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #e0e4e4;
    border-top: none;
}

.team-name h3 {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.4;
    overflow: hidden;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .team-item .team-thumb {
        height: 180px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .team-item .team-thumb {
        height: 205px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .team-area {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .team-item .team-thumb {
        height: 150px;
    }

    .team-name h3 {
        font-size: 1.45rem;
    }
}

@media (max-width: 575px) {
    .team-area {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .team-item .team-thumb {
        height: auto;
    }
    
    .team-name h3 {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .sidebar-wrapper {
        padding: 45px 30px;
        padding-bottom: 30px;
    }
}
