.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%;
} 

.tf-posts .post-meta {
    margin: 0;
    display: flex;
    align-items: center;
}

/* style 2 */

.tf-posts.style2 .main-post .content-post {
    background: #fff;
    padding: 29px 20px 24px 27px;
    position: relative;
    z-index: 5;
}

.tf-posts.style2 .main-post .content-post .post-meta {
    margin-bottom: 8px;
}

.tf-posts.style2 .main-post .content-post .entry-title {
    margin-bottom: 9px;
}

.tf-posts.style2 .main-post .content-post .entry-title a:hover {
    color: var(--theme-secondary-color);
}

.tf-posts.style2 .main-post .content-post .themesflat-button-container a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.tf-posts.style2 .main-post .content-post .themesflat-button-container a i {
    font-size: 10px;
}

.tf-posts.style2 .main-post .featured-post {
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.tf-posts.style2 .main-post .featured-post > a {
    height: 228px;
}

.tf-posts.style2 .main-post .featured-post .item-meta a::after {
    display: none;
}

.tf-posts.style2 .main-post .featured-post .item-meta {
    position: absolute;
    bottom: 18px;
    left: 28px;
    z-index: 10;
}

.tf-posts.style2 .main-post .featured-post .item-meta a {
    color: #fff;
    background: var(--theme-secondary-color);
    border-radius: 3px;
    font-size: 13px;
    padding: 0 15px;
}

.tf-posts.style2 .main-post .featured-post .item-meta a:hover {
    color: var(--theme-secondary-color);
    background: #fff;
}

.tf-posts.style2 .blog-post .content-post .entry-title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.tf-posts.style2 .blog-post .content-post .post-count {
    position: absolute;
    top: 120px;
    right: 31px;
    line-height: 0;
    z-index: -1;
    font-size: 200px;
    font-weight: 700;
    font-family: 'poppins';
    -webkit-text-fill-color: rgb(0 0 0 / 0%);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #f3f3f4;
}

/* 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;
    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: #0080f0;
    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;
}

.tf-posts.style3 .main-post {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.tf-posts.style3 .main-post .featured-post::after,
.tf-posts.style3 .main-post .featured-post::before {
    display: none;
}

.tf-posts.style3 .main-post .content-post .item-meta.date a {
    color: #fff;
    background: var(--theme-secondary-color);
    border-radius: 3px;
    font-size: 13px;
    padding: 3.5px 15px;
}

.tf-posts.style3 .main-post .content-post {
    position: absolute;
    bottom: 1px;
    left: 21px;
    z-index: 10;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.tf-posts.style3 .main-post .content-post .item-meta.date a:hover {
    color: var(--theme-secondary-color);
    background: #fff;
}

.tf-posts.style3 .main-post .content-post .entry-title {
    margin-top: 9px;
    margin-bottom: 6px;
}

.tf-posts.style3 .main-post .content-post .entry-title a,
.tf-posts.style3 .main-post .content-post .item-meta a,
.tf-posts.style3 .main-post .content-post .item-meta i {
    color: #fff;
}

.tf-posts.style3 .main-post .content-post .entry-title a:hover,
.tf-posts.style3 .main-post .content-post .item-meta a:hover,
.tf-posts.style3 .main-post .content-post .item-meta:hover i {
    color: var(--theme-secondary-color);
}

.tf-posts .main-post .content-post .item-meta:hover i {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.tf-posts.style3 .main-post .featured-post a::after {
    opacity: 0.4;
    visibility: visible;
}

.tf-posts.style3 .main-post .featured-post a {
    transform: scale(1.3);
    margin-left: -10px;
}

.tf-posts.style3 .main-post:hover .featured-post a {
    margin-left: 0px;
}

.tf-posts .item:last-child .blog-post {
    border: none !important;
}

@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.style1 .blog-post .content {
        padding: 23px 15px 26px 15px;
        margin-right: 0px;
        margin-top: 0px;
    }
    .tf-posts.style4 .blog-post .content {
        padding: 30px 15px 37px 15px;
    }
}

@media (max-width: 767px) {
    .tf-posts.no-carousel.mobile-column-1 .item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    } 

    .tf-posts.no-carousel.mobile-column-2 .item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    } 

    .tf-posts.style1 .blog-post .content {
        padding: 23px 20px 26px 20px;
    }
    .tf-posts.style4 .blog-post .content {
        padding: 30px 30px 37px 30px;
    }
}