.tf-posts.no-carousel {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.tf-posts.no-carousel.column-1 .item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-posts.no-carousel.column-2 .item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.tf-posts.no-carousel.column-3 .item {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.tf-posts.no-carousel.column-4 .item {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

/* style-1 */
.tf-posts.style1 .item .blog-post {
    width: 100%;
}
.tf-posts.style1 .item .blog-post a img {
    width: 100%;
    height: 331px;
    object-fit: cover;
}
.tf-posts .blog-post .meta-category a {
    border: 1px solid rgb(69, 71, 80);
    padding: 7px 16px;
    border-radius: 100px;
    display: inline-block;
}

.tf-posts .blog-post .meta-category a:last-child {
    margin-right: 15px;
}

.tf-posts .blog-post .meta-category a::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\f062";
    margin-left: 14px;
    rotate: 60deg;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.tf-posts .blog-post .meta-category a:hover::after {
    rotate: 90deg;
}

.tf-posts.style1 .blog-post:hover .title {
    transform: scale(0.9);
}

.tf-posts.style1 .blog-post .tf-button-container {
    transition: all 0.3s ease-in-out;

}
.tf-posts.style1 .blog-post:hover .tf-button-container {
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;

}

.tf-posts.style1 .blog-post .meta-post,
.tf-posts.style2 .blog-post .meta-post {
    margin-bottom: 20px;
}

.tf-posts.style1 .blog-post .post-meta,
.tf-posts.style2 .blog-post .post-meta,
.tf-posts.style3 .blog-post .post-meta,
.tf-posts.style4 .blog-post .post-meta {
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 500;
    line-height: 21.86px;
    color: #696969;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tf-posts .blog-post .post-meta.meta-time {
    text-transform: uppercase;
}

.tf-posts.style1 .blog-post .title,
.tf-posts.style2 .blog-post .title,
.tf-posts.style3 .blog-post .title,
.tf-posts.style4 .blog-post .title {
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 14px;
    transition: all 0.3s ease-in-out;
}

.tf-posts.style1 .blog-post .tf-button-container a {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 700;
    line-height: 19.36px;
}

.tf-posts.style1 .blog-post .tf-button-container a i {
    font-weight: 700;
    vertical-align: middle;
    font-size: 15px;
    display: inline-block;
}

.tf-posts.style1 .blog-post .featured-post {
    margin-bottom: 28px;
}


.tf-posts.style1 .blog-post:hover .tf-button-container a {
    color: var(--theme-primary-color);
}

/* style-2 */
.tf-posts.style2 .blog-post .featured-post a img {
    height: 330px;
    object-fit: cover;
    width: 100%;
    border-radius: 20px;
}

.tf-posts.style2 .blog-post .featured-post .tf-button-container .tf-button {
    position: absolute;
    right: -5px;
    bottom: -5px;
    font-size: 50px;
    background-color: #fff;
    border: 7px solid #1b1b1b;
    width: 80px;
    height: 77px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.tf-posts.style2 .blog-post .featured-post .tf-button-container .tf-button:hover {

    background-color: var(--theme-primary-color);
}

.tf-posts.style2 .blog-post .featured-post .tf-button-container .tf-button:before {
    position: absolute;
    bottom: -2px;
    left: -29px;
    content: '';
    width: 23px;
    height: 30px;
    background: transparent;
    border-radius: 0% 8% 70% 10%;
    box-shadow: 6px 10px 0px 0px #161616;
}

.tf-posts.style2 .blog-post .featured-post .tf-button-container .tf-button::after {
    top: -28px;
    right: -2px;
    position: absolute;
    content: '';
    width: 30px;
    height: 23px;
    background: transparent;
    border-radius: 0% 10% 70% 10%;
    box-shadow: 11px 4px 0px 1px #161616;
}

.tf-posts.style2 .blog-post .featured-post .tf-button-container .tf-button i {
    font-size: 22px;
    color: #1b1b1b;
    rotate: -35deg;

}

.tf-posts.style2 .blog-post .featured-post a {
    display: block;
    border-radius: 20px;
}

.tf-posts.style2 .blog-post .meta-post {
    margin-bottom: 20px;
}

.tf-posts.style2 .blog-post .post-meta {
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 500;
    line-height: 21.86px;
    color: #696969;
}

.tf-posts.style2 .blog-post .title {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 14px;
}

.tf-posts.style2 .blog-post .tf-button-container a {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 700;
    line-height: 19.36px;
}

.tf-posts.style2 .blog-post .tf-button-container a i {
    font-weight: 700;
    vertical-align: middle;
    font-size: 15px;
    display: inline-block;
}
.tf-posts.style2 .blog-post  {
    width: 100%;
}
.tf-posts.style2 .blog-post .featured-post {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tf-posts.style2 .blog-post .featured-post .meta-time {
    background: #002FF5;
    display: flex;
    flex-direction: column;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 18px 6px 18px;
}

.tf-posts.style2 .blog-post .category-post {
    margin-bottom: 5px;
}

.tf-posts.style2 .blog-post .category-post a {
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 500;
    line-height: 21.86px;
    color: var(--theme-primary-color);
}

.tf-posts.style2 .blog-post .category-post a:hover {
    color: #222222;
}

.tf-posts.style2 .blog-post .featured-post .meta-time .day-time {
    font-family: 'Inter';
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.03em;
    margin-bottom: -6px;
}

.tf-posts.style2 .blog-post .featured-post .meta-time .month-time {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.03em;
}


.tf-posts.style2 .blog-post:hover .tf-button-container a {
    color: var(--theme-primary-color);
}

/* style-3 */

.tf-posts.style3 .blog-post {
    position: relative;
    width: 100%;
}

.tf-posts.style3 .blog-post .featured-post {
    margin-bottom: 28px;
}

.tf-posts.style3 .blog-post .meta-post {
    margin-bottom: 0px;
}

.tf-posts.style3 .blog-post .post-meta {
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 500;
    line-height: 21.86px;
    color: #fff;
}

.tf-posts.style3 .blog-post .description {
    margin-top: 10px;
    margin-bottom: 10px;
}

.tf-posts.style3 .blog-post .title {
    margin-bottom: 27px;
    line-height: 29px;
}

.tf-posts.style3 .blog-post .tf-button-container a {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 700;
    line-height: 19.36px;
}

.tf-posts.style3 .blog-post .tf-button-container a i {
    font-weight: 700;
    vertical-align: middle;
    font-size: 12px;
    display: inline-block;
}

.tf-posts.style3 .blog-post .featured-post img {
    max-height: 330px;
    width: 100%;
}

.tf-posts.style3 .blog-post .title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.tf-posts.style3 .blog-post .tf-button-container a,
.tf-posts.style3 .blog-post .title a,
.tf-posts.style3 .blog-post .description {
    color: #fff;
}

.tf-posts.style3 .blog-post .tf-button-container a:hover,
.tf-posts.style3 .blog-post .title a:hover {
    color: var(--theme-primary-color);
}

/* style-4 */

.tf-posts.style4 .blog-post {
    position: relative;
    width: 100%;
}

.tf-posts.style4 .blog-post .featured-post {
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.tf-posts.style4 .blog-post .featured-post  img{
    width: 200px;
    height: 200px !important;
    object-fit: cover;
}
.tf-posts.style4 .blog-post:hover .featured-post {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}
.tf-posts.style4 .blog-post .title {
    margin-bottom: 29px;
    text-transform: capitalize;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.tf-posts.style4 .item  {
    padding: 0px !important;
}
.tf-posts.style4 .item:not(:last-child) .blog-post  {
    border-bottom: 1px solid #454750;
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.tf-posts.style4 .blog-post .post-meta {
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 500;
    line-height: 21.86px;
    color: #696969;
}

.tf-posts.style4 .blog-post .tf-button-container a {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 700;
    line-height: 19.36px;
}

.tf-posts.style4 .blog-post .tf-button-container a i {
    font-weight: 700;
    vertical-align: middle;
    font-size: 15px;
    display: inline-block;
}
.tf-posts.style4 .blog-post .content .description {
    margin-top: 10px;
    margin-bottom: 10px;

}


.tf-posts.style4 .blog-post:hover .tf-button-container a {
    color: var(--theme-primary-color);
}


.tf-posts .pagination-post {
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 55px;
}



.tf-posts .blog-post .featured-post img {
    object-fit: cover;
}

.tf-posts .blog-post:hover .tf-button-container i {
    -webkit-animation: toRight 0.3s forwards;
    -moz-animation: toRight 0.3s forwards;
    animation: toRight 0.3s forwards;
}

.tf-posts .item {
    display: flex;
    display: -webkit-box;
}

.tf-posts .blog-post .featured-post>a {
    position: relative;
    overflow: hidden;
    display: block;
}


/* hover Image */

.tf-posts .blog-post .featured-post img {
    transition: clip-path 1s cubic-bezier(.12, .76, .36, 1), opacity .3s, transform 1.5s cubic-bezier(.12, .76, .36, 1);
}

.tf-posts .blog-post:hover .featured-post img {
    transform: scale(1.07);
}

/* Carousel  */
.tf-posts.has-carousel .owl-nav .owl-prev,
.tf-posts.has-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    padding: 0;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}

.tf-posts.has-carousel .owl-nav {
    position: absolute;
}

.tf-posts .owl-carousel .owl-nav .owl-next,
.tf-posts .owl-carousel .owl-nav .owl-prev {
    border: 3px solid #e8e8e9;
}

.tf-posts.has-carousel .owl-nav .owl-next {
    left: unset;
    right: 0;
}

.tf-posts.has-carousel .owl-nav .owl-prev:before,
.tf-posts.has-carousel .owl-nav .owl-next:before,
.tf-posts.has-carousel .owl-dots .owl-dot:before {
    display: none;
}

.tf-posts.has-carousel.no-arrow .owl-nav .owl-prev,
.tf-posts.has-carousel.no-arrow .owl-nav .owl-next {
    display: none;
}

.tf-posts.has-carousel.has-arrow .owl-nav .owl-prev,
.tf-posts.has-carousel.has-arrow .owl-nav .owl-next {
    display: block;
}

.tf-posts .owl-dots {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tf-posts .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background: var(--theme-primary-color);
    display: inline-block;
    margin: 0 5px;
}

.tf-posts.has-carousel.no-bullets .owl-dots {
    display: none;
}

.tf-posts.has-carousel.has-bullets .owl-dots {
    display: block;
}

@keyframes toRight {
    49% {
        transform: translate(100%);
    }

    50% {
        opacity: 0;
        transform: translate(-100%);
    }

    51% {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .tf-posts.style4 .blog-post {
        flex-direction: column-reverse;
    }

    .tf-posts.style4 .blog-post .featured-post {
        width: 100%;
    }

    .tf-posts.style3 .blog-post .content {
        left: 20px;
        right: 20px;
    }

    .tf-posts.style3 .blog-post .title {
        font-size: 25px;
    }
}

@media (max-width: 991px) {

    .tf-posts.no-carousel.tablet-column-1 .item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tf-posts.no-carousel.tablet-column-2 .item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-posts.no-carousel.tablet-column-3 .item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .tf-posts.style6 .item:nth-child(even) {
        transform: translateY(0px) !important;
    }

}

@media (max-width: 767px) {

    .tf-posts.no-carousel.mobile-column-1 .item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

}