.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%;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}
@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* style-1 */

.tf-posts .blog-post {
    border-radius: 8px;
    box-shadow: 0px 5px 5px 0px rgba(28, 36, 51, 0.10);
    overflow: hidden;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.tf-posts .blog-post:hover {
    box-shadow: 0px 10px 25px 0px rgba(54, 95, 104, 0.10);
}

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

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

.tf-posts .blog-post .featured-post .blog-plus {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--theme-primary-color);
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 30px;
    -webkit-transition: opacity 500ms ease, visibility 500ms ease, -webkit-transform 500ms ease;
    transition: opacity 500ms ease, visibility 500ms ease, -webkit-transform 500ms ease;
    transition: opacity 500ms ease, visibility 500ms ease, transform 500ms ease;
    transition: opacity 500ms ease, visibility 500ms ease, transform 500ms ease, -webkit-transform 500ms ease;
    visibility: hidden;
    opacity: 0;
}

.tf-posts .blog-post:hover .featured-post .blog-plus {
    visibility: visible;
    opacity: 0.6;
    cursor: pointer;
}

.tf-posts .blog-post .featured-post img {
    object-fit: cover;
    width: 100%;
    border-radius: 0;
    -webkit-transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
    transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
    transition: transform 500ms ease;
}

.tf-posts .blog-post:hover .featured-post img {
    -webkit-transform: scale3d(1.07, 1.07, 1.07);
    transform: scale3d(1.07, 1.07, 1.07);
    -webkit-transition: all 2s cubic-bezier(0.3, 1, 0.35, 2) 0s;
    transition: all 2s cubic-bezier(0.3, 1, 0.35, 2) 0s;
}

.tf-posts .blog-post .content {
    padding: 22px 24px 24px 24px;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

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

.tf-posts .blog-post .title {
    line-height: 1.25em;
}

.tf-posts .blog-post .title a {
    color: var(--theme-primary-color);
}

.tf-posts .blog-post .title a:hover {
    color: var(--theme-secondary-color);
}

.tf-posts .blog-post .category-post a {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    border-radius: 40px;
    background: #E5E5E5;
    padding: 4px 12px;
}

.tf-posts .blog-post .category-post a:hover {
    background: var(--theme-secondary-color);
    color: #fff;
}

.tf-posts .blog-post .meta-post {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    flex-wrap: wrap;
}

.tf-posts .blog-post .meta-post .post-meta:not(:last-child) {
    margin-right: 16px;
}

.tf-posts .blog-post .meta-post .post-meta a,
.tf-posts .blog-post .meta-post .post-meta.meta-time {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--theme-primary-color);
}

.tf-posts .blog-post .meta-post .post-meta.meta-author span {
    color: #64666C;
    margin-right: 5px;
}

.tf-posts .blog-post .meta-post .post-meta a:hover {
    color: var(--theme-secondary-color);
}

.tf-posts .blog-post .tf-button-container i {
    vertical-align: middle;
}

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

}

.tf-posts .item .blog-post {
    display: flex;
        display: -ms-flexbox;
    flex-direction: column;
}

/* style 2 */

.tf-posts.style2 .blog-post {
    display: flex;
        display: -webkit-flex;
    align-items: center;
    flex-direction: unset;
}

/* mansory */

.tf-posts.layout-mansory.no-carousel {
    display: block;
    column-gap: 0px;
}

.tf-posts.layout-mansory.no-carousel.column-3 {
    column-count: 3;
}

.tf-posts.layout-mansory.no-carousel.column-4 {
    column-count: 4;
}

.tf-posts.layout-mansory.no-carousel.column-2 {
    column-count: 2;
}

.tf-posts.layout-mansory.no-carousel.column-1 {
    column-count: 1;
}

.tf-posts.layout-mansory.no-carousel .item {
    max-width: unset !important;
    break-inside: avoid;
}

.tf-posts.layout-mansory.no-carousel .blog-post .featured-post img {
    height: unset;
}

/* 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;
}

.tf-posts .pagination-post {
    width: 100%;
}

@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.layout-mansory.no-carousel.tablet-column-3 {
        column-count: 3 !important;
        width: unset;
    }

    .tf-posts.layout-mansory.no-carousel.tablet-column-2 {
        column-count: 2 !important;
        width: unset;

    }

    .tf-posts.layout-mansory.no-carousel.tablet-column-1 {
        column-count: 1 !important;
        width: unset;

    }

}

@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.layout-mansory.no-carousel.mobile-column-2 {
        column-count: 2 !important;
    }

   .tf-posts.layout-mansory.no-carousel.mobile-column-1 {
        column-count: 1 !important;
    }

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

    .tf-portfolio-wrap .owl-dots {
        display: none !important;
    }
    .tf-posts.style2 .blog-post {
        display: block;
    }
}
