/* team */

.tf-team-carousel .item-team .featured-post img {
    height: 500px;
    object-fit: cover;
    -webkit-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -khtml-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -moz-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -ms-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -o-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
}

.tf-team-carousel .item-team:hover .featured-post img {
    transform: scale(1.05);
}

.tf-team-carousel .item-team .featured-post {
    position: relative;
    overflow: hidden;
}

.tf-team-carousel .item-team h6 {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #fff;
    margin: 0;
    margin-bottom: 4px;
}

.tf-team-carousel .item-team p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    margin: 0;
}

.tf-team-carousel .item-team .content {
    position: relative;
    backdrop-filter: blur(20px);
    background: #FFFFFF4D;
    padding: 24px 24px 24px 24px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10%;
    z-index: 5;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.tf-team-carousel .item-team:hover .content {
    bottom: 0%;
    opacity: 1;
    visibility: visible;
}

.tf-team-carousel .owl-carousel .owl-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    bottom: -13.7%;
    display: flex
;
    gap: 12px;
}

.tf-team-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    line-height: 12px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    overflow: unset;
    background: #D9D9D9;
}

.tf-team-carousel .owl-dots .owl-dot:hover,
.tf-team-carousel .owl-dots .owl-dot.active {
    opacity: 1;
    background: var(--theme-primary-color);
}

.tf-team-carousel .item-team {
    overflow: hidden;
}

.tf-team-carousel .owl-dots.disabled {
    display: none;
}

.tf-team-carousel .hover-flash-img .featured-post {
    position: relative;
}

.tf-team-carousel .hover-flash-img .featured-post::before {
    position: absolute;
    top: 0px;
    left: -85%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.tf-team-carousel .hover-flash-img:hover .featured-post::before {
    -webkit-animation: flashshine 1.5s;
    animation: flashshine 1.5s;
}

@keyframes flashshine {
    100% {
        left: 125%;
    }
}