.team-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 21px;
    margin-bottom: 30px;
}
.team-thumb img {
    width: 100%;
    object-fit: cover;
}
@media (max-width: 575px) {
    .team-thumb img {
        aspect-ratio: 1;
        object-position: top;
    }
}
.team-thumb .team-social {
    right: 20px;
    bottom: 20px;
    position: absolute;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #6c6c6c;
    border-radius: 50%;
}
.team-thumb .team-social:hover::after {
    transform: translate(-50%, -50%) rotate(-90deg);
}
.team-thumb .team-social:hover ul {
    top: -134px;
    opacity: 1;
    visibility: visible;
}
.team-thumb .team-social::before, .team-thumb .team-social::after {
    position: absolute;
    content: "";
    height: 1.5px;
    width: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    transition: 0.3s;
}
.team-thumb .team-social::after {
    height: 16px;
    width: 1.5px;
}
.team-thumb .team-social ul {
    display: flex;
    flex-direction: column;
    gap: 17px;
    justify-content: center;
    background: #6c6c6c;
    border-radius: 24px;
    position: absolute;
    top: -154px;
    text-align: center;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.45s;
    padding: 14px 17px;
}
.team-thumb .team-social ul li a {
    color: #fff;
}

.team-thumb .team-social ul li a svg {
    fill: #fff;
    width: 1em;
    height: 1em;
}

.team-thumb .team-social ul li a:hover {
    color: #ff6d39;
}
