.tf-team.no-carousel {

    display: -ms-flexbox;

    display: flex;

    -ms-flex-wrap: wrap;

    flex-wrap: wrap;

    position: relative;

}



.tf-team.no-carousel .item {

    padding: 15px 15px 15px 15px;

}



.tf-team.no-carousel.column-1 .item {

    -ms-flex: 0 0 100%;

    flex: 0 0 100%;

    max-width: 100%;

}



.tf-team.no-carousel.column-2 .item {

    -ms-flex: 0 0 50%;

    flex: 0 0 50%;

    max-width: 50%;

}



.tf-team.no-carousel.column-3 .item {

    -ms-flex: 0 0 33.333333%;

    flex: 0 0 33.333333%;

    max-width: 33.333333%;

}



.tf-team.no-carousel.column-4 .item {

    -ms-flex: 0 0 25%;

    flex: 0 0 25%;

    max-width: 25%;

}



/* Index Disable */



.owl-carousel .indexActiveItem .team-post {

    position: relative;

}



.owl-carousel .team-post::after {

    content: '';

    position: absolute;

    top: -1px;

    left: -1px;

    right: -1px;

    bottom: -1px;

    background: #fff;

    opacity: 0;

    visibility: hidden;

    z-index: 99;

    -webkit-transition: all 0.3s ease;

    -moz-transition: all 0.3s ease;

    -ms-transition: all 0.3s ease;

    -o-transition: all 0.3s ease;

    transition: all 0.3s ease;

}



.owl-carousel .indexActiveItem .team-post::after {

    opacity: 0.7;

    visibility: visible;

}

.tilt {
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
}


.tf-team .team-post .featured-post img{
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}
.tf-team .team-post:hover .featured-post img{
    filter: unset;
    -webkit-filter: unset;
    -moz-filter: unset;
    -ms-filter: unset;
    -o-filter: unset;
}

/* style1 */

.tf-team.style1 .item:nth-child(2n+2) {
    margin-top: 2.75rem;
}

.tf-team.style1 .team-post {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tf-team.style1 .team-post .featured-post {
    position: relative;
    margin-bottom: 28px;
    overflow: hidden;
}

.tf-team.style1 .team-post .featured-post::before {
    position: absolute;
    content: "";
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(239, 100, 76, 0) 64.05%, var(--theme-primary-color) 115.68%);
    transition: all 0.5s;
}

.tf-team.style1 .team-post:hover .featured-post::before {
    bottom: 0%;
}

.tf-team.style1 .team-post .featured-post img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 5px;
}

.tf-team.style1 .team-post .list-social {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    position: absolute;
    transition: all 0.3s;
    bottom: 24px;
    left: -50px;
    opacity: 0;
    visibility: hidden;
}

.tf-team.style1 .team-post:hover .list-social {
    left: 24px;
    opacity: 1;
    visibility: visible;


}

.tf-team.style1 .team-post .list-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 100%;
    transition: all 0.5s;

}

.tf-team.style1 .team-post .list-social li a:hover {
    background-color: var(--theme-primary-color);
    border: 1px solid var(--theme-primary-color);
    color: #000;

}

.tf-team .team-post .list-social li a i:before {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;

}

.tf-team.style1 .team-post .content .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 120%;
}

.tf-team.style1 .team-post .content .team-category {
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding-left: 0px;
    transition: all 0.3s ease-in-out;
}

.tf-team.style1 .team-post:hover .content .team-category {
    padding-left: 30px;
}

.tf-team.style1 .team-post:hover .content .team-category::before {
    left: 0px;
    opacity: 1;
    visibility: visible;
}

.tf-team.style1 .team-post .content .team-category::before {
    content: '';
    background-color: var(--theme-primary-color);
    width: 20px;
    height: 2px;
    display: block;
    left: 30px;
    opacity: 0;
    visibility: hidden;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.tf-team.style1 .team-post {

    -webkit-transition: all 0.3s ease;

    -moz-transition: all 0.3s ease;

    -ms-transition: all 0.3s ease;

    -o-transition: all 0.3s ease;

    transition: all 0.3s ease;

}

.tf-team.style1 .team-post .list-social a {

    color: #fff;

}



/* style 2 */

.tf-team.style2 .team-post {
    position: relative;
}


.tf-team.style2 .team-post .featured-post {
    position: relative;
}

.tf-team.style2 .team-post .featured-post img {
    height: 340px;
    width: 100%;
    object-fit: cover;

}

.tf-team.style2 .team-post .featured-post>a {
    display: block;
    overflow: hidden;
}



.tf-team.style2 .team-post .content {
    padding: 20px 15px 12px 15px;
    background: radial-gradient(267.9% 200.83% at 47.19% -80%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.8;
    backdrop-filter: blur(21px);
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 16px;
    width: 90%;
    text-align: center;
}

.tf-team.style2 .team-post .title {
    font-size: 21px;
    font-weight: 700;
    line-height: 120%;
}

.tf-team.style2 .team-post .team-category {
    margin-bottom: 8px;
    display: block;
}

.tf-team.style2 .team-post .list-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    column-gap: 10px;
    row-gap: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    transform: scale(0);
    transition: all 0.5s;
}

.tf-team.style2 .team-post:hover .list-social {
    transform: scale(1);
}

.tf-team.style2 .team-post .list-social a {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.tf-team.style2 .team-post .list-social a:hover {
    background: var(--theme-primary-color);
    border: 1px solid var(--theme-primary-color);
    color: #000;
}


/* style 3 */
.tf-team.style3 .team-post {
    background-color: #1b1b1b;
    padding: 30px;
    text-align: center;
}

.tf-team.style3 .team-post .featured-post {
    margin-bottom: 30px;
}

.tf-team.style3 .team-post .featured-post img {
    width: 242px;
    height: 242px;
    border-radius: 100%;
    object-fit: cover;
}

.tf-team.style3 .team-post .content .title {
    font-size: 20px;
    font-weight: 600;
    line-height: 145%;
}



.tf-team.style3 .team-post .featured-post>a {

    display: block;

    overflow: hidden;

}



.tf-team.style3 .team-post .content {
    position: relative;
}



.tf-team.style3 .team-post .title {

    margin-bottom: 12px;

}



.tf-team.style3 .team-post .team-category {

    margin-bottom: 11px;

}




.tf-team.style3 .team-post .list-social {

    display: flex;

    align-items: center;

    gap: 1.25rem;

    justify-content: center;
    padding-top: 26px;
    margin-top: 16px;
    border-top: 1px solid #454750;

}



.tf-team.style3 .team-post .list-social a {
    color: #454750;
    font-size: 20px;
}

.tf-team.style3 .team-post .list-social a:hover {
    color: var(--theme-primary-color);

}


/* style 4 */



.tf-team.style4 {

    width: 100%;
}


.tf-team.style4 .group-team-style4 {
    width: 100%;
    display: flex;
    max-width: 100%;
    align-items: center;
}

.tf-team.style4 .group-team-style4 .content-left {
    margin: 0px 16px;
    max-width: 405px;
    width: 100%;
    flex-shrink: 0;
}

.tf-team.style4 .group-team-style4 .content-left .team-post.active-thumb {
    display: block;
}

.tf-team.style4 .group-team-style4 .content-left .team-post {
    display: none;
}

.tf-team.style4 .group-team-style4 .content-left .team-post .featured-post a {
    display: block;
}

.tf-team.style4 .group-team-style4 .content-left .team-post .featured-post a img {
    width: 100%;
    max-height: 363px;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.tf-team.style4 .group-team-style4 .content-right {
    width: 100%;
    padding-left: 8.5em;
    padding-right: 2.5em;
}

.tf-team.style4 .group-team-style4 .content-right .team-post {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    border-bottom: 1px solid #454750;
    padding-bottom: 32px;
}

.tf-team.style4 .group-team-style4 .content-right .team-post:not(:last-child) {
    margin-bottom: 39px;
}

.tf-team.style4 .group-team-style4 .content-right .team-post .content .inner .title {
    font-size: 30px;
    font-weight: 700;
    line-height: 130%;
}

.tf-team.style4 .group-team-style4 .content-right .team-post:hover .content .inner .title a {
    color: var(--theme-primary-color);
}

.tf-team.style4 .group-team-style4 .content-right .team-post .content .inner .team-category {
    display: inline-block;
    margin-bottom: 16px;

}

.tf-team.style4 .group-team-style4 .content-right .team-post .content .inner .team-category a {
    color: var(--theme-primary-color);
}

.tf-team.style4 .group-team-style4 .content-right .team-post .social-profile {
    position: relative;
    cursor: pointer;
    padding: 0px 0px 0px 16px;

}


.tf-team.style4 .group-team-style4 .content-right .team-post .social-profile .list-social {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.tf-team.style4 .group-team-style4 .content-right .team-post .social-profile .plus-btn {
    padding: 13px 0px;
    display: inline-block;
}

.tf-team.style4 .group-team-style4 .content-right .team-post .social-profile .list-social li a {
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    display: block;
    border: 1px solid #fff;
    color: #fff;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    text-align: center;
    margin: 0 auto;
}

.tf-team.style4 .group-team-style4 .content-right .team-post .social-profile .list-social li a:hover {
    border: 1px solid var(--theme-primary-color);
    color: #000;
    background-color: var(--theme-primary-color);

}

.tf-team.style4 .group-team-style4 .content-right .team-post .social-profile:hover .list-social {
    opacity: 1 !important;
    visibility: visible !important;
    right: 30px !important;

}


.tilt {
    border-radius: 5px;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
}

.tilt:hover {
    background: transparent;
    box-shadow: 0 40px 70px -15px rgba(0, 0, 0, 0.192);
    box-shadow: none;
}

/* hover Image */



@media (max-width: 1200px) {

    .tf-team.style2 .team-post .content {

        right: -40%;

    }

    .tf-team.style1 .team-post .btn-readmore {

        margin-left: 30px;

    }

}

@media (max-width: 1024px) {

    .tf-team.style1 .group-team-style1 .content-left,
    .tf-team.style1 .group-team-style1 .content-right {
        width: 50% !important;
    }
}


@media (max-width: 991px) {
    .tf-team.style4 .group-team-style4 {
        flex-direction: column;
        gap: 40px;
    }

    .tf-team.style4 .group-team-style4 .content-right {
        padding-left: 1em;
        padding-right: 1em;
    }

    .tf-team.style1 .team-post .featured-post img,
    .tf-team.style2 .team-post .featured-post img {
        height: auto;
    }

    .tf-team.style4 .team-post .featured-post img {
        height: auto;
    }


    .tf-team.no-carousel.tablet-column-1 .item {

        -ms-flex: 0 0 100%;

        flex: 0 0 100%;

        max-width: 100%;

    }



    .tf-team.no-carousel.tablet-column-2 .item {

        -ms-flex: 0 0 50%;

        flex: 0 0 50%;

        max-width: 50%;

    }



    .tf-team.no-carousel.tablet-column-3 .item {

        -ms-flex: 0 0 33.333333%;

        flex: 0 0 33.333333%;

        max-width: 33.333333%;

    }



    .tf-team.style2 .team-post .featured-post img,

    .tf-team.style2 .team-post .featured-post>a,

    .tf-team.style2 .team-post {

        width: 100%;

    }



    .tf-team.style2 .team-post .content {

        max-width: unset;

    }



    .owl-carousel .team-post::after {

        display: none;

    }



}



@media (max-width: 767px) {
    .tf-team.style1 .team-post .featured-post img {
        height: auto;
    }

    .tf-team.style2 .team-post .featured-post img {
        height: auto;
    }

    .tf-team.style1 .item:nth-child(2n+2) {
        margin-top: 0rem;
    }

    .tf-team.style1 .group-team-style1 .content-left,
    .tf-team.style1 .group-team-style1 .content-right {
        width: 100% !important;
    }

    .tf-team.no-carousel.mobile-column-1 .item {

        -ms-flex: 0 0 100%;

        flex: 0 0 100%;

        max-width: 100%;

    }



    .tf-team.style1 .group-team-style1 {

        display: block;

    }



    .tf-team.style1 .group-team-style1 .content-left {

        margin-bottom: 30px;

    }



    .tf-team.style1 .group-team-style1 .content-right {

        width: 100%;

    }




}

@media (max-width: 600px) {
    .tf-team.style4 .group-team-style4 .content-right .team-post {
        display: flex;
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .tf-team.style4 .group-team-style4 .content-right .team-post:hover .social-profile .list-social {
        left: 30px !important;
        right: 0px !important;
    }
}