/* .team {
    padding: 48px 0;
} */

.team .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 24px;
}

.team .block-title.title-inner {
    margin-left: 0;
}

.team .team-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.team .team-wrapper .team-single-outer {
    padding: 16px;
    width: calc(20% - 13px);
}

.team .team-single {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    min-height: 228px;
}

.team .team-front,
.team .team-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 0;
    padding: 16px;
}

.team .team-front {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team .team-front .person-thumb {
    overflow: hidden;
    border-radius: 50%;
}

.team .team-front .person-thumb img {
    width: 150px;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team .team-back {
    transform: rotateY(180deg);
    border-radius: 8px;
    background: var(--brick);
    color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team .team-back .person-contact {
    display: flex;
    align-items: center;
}

.team .team-back .person-contact a {
    width: 50px;
    height: auto;
    aspect-ratio: 1;
    background: var(--graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}

.team .team-back .person-contact a svg .hvr-stroke {
    stroke: #fff;
}

.team .team-back .person-contact a svg .hvr-fill {
    fill: #fff;
}

.team .team-back .person-contact a:hover {
    background-color: #fff;
}

.team .team-back .person-contact a:hover svg .hvr-stroke {
    stroke: var(--graphite);
}

.team .team-back .person-contact a:hover svg .hvr-fill {
    fill: var(--graphite);
}

.team .text-wrapper,
.team .text-content {
    display: flex;
    flex-direction: column;
}

.team .text-wrapper {
    gap: 48px;
}

.team .text-content {
    gap: 8px;
}

@media (min-width:991px) {
    .team .team-single:not(.disable_hover):hover {
        transform: rotateY(180deg);
    }
}

@media (max-width:1199px) {
    .team .team-wrapper .team-single-outer {
        padding: 16px;
        width: calc(25% - 12px);
    }
}

@media (max-width:991px) {
    .team .team-wrapper .team-single-outer {
        padding: 8px;
        width: calc(33.33333333% - 6px);
    }

    .team .team-wrapper {
        gap: 8px;
    }

    .team .text-wrapper {
        gap: 32px;
    }

    .team .team-front,
    .team .team-back {
        position: relative;
        padding: 0;
    }

    .team .team-single {
        gap: 8px;
    }

    .team .team-back {
        transform: none;
        background: none;
        box-shadow: 0 0 0 0;
    }

    .team .team-back a,
    .team .team-back p {
        display: none;
    }
}

@media (max-width:679px) {
    .team .team-wrapper .team-single-outer {
        padding: 8px;
        width: calc(50% - 4px);
    }
}