.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.style1 .blog-post .content .meta-post {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tf-posts.style1 .blog-post .content .meta-post span:not(:last-child) {
    margin-right: 10px;
}

.tf-posts.style1 .blog-post .content {
    border: 1px solid #ECECEC;
    border-radius: 3px;
    background: #fff;
    padding: 56px 20px 20px 25px;
    border-bottom: 3px solid #F2EDDC;
}

.tf-posts.style1 .blog-post:hover .content {
    box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
}

.tf-posts.style1 .blog-post:hover .post-date-item a {
    background: #F2EDDC;
    border-color: transparent;
}

.tf-posts.style1 .blog-post:hover .post-date-item a .top-date,
.tf-posts.style1 .blog-post:hover .post-date-item a .bottom-date {
    color: var(--theme-primary-color);
}

.tf-posts.style1 .blog-post .post-date-item {
    margin-bottom: -33px;
    margin-left: 19px;
    position: relative;
    z-index: 5;
}

.post-home-3 .tf-posts.style1 .blog-post .post-date-item {
    margin-left: 25px;
}

.tf-posts.style1 .blog-post .post-date-item a {
    width: 70px;
    height: 70px;
    border: 1px solid #ECECEC;
    background: #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    -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-posts.style1 .blog-post .post-date-item a .top-date {
    font-weight: 600;
    font-size: 25px;
    line-height: 38px;
    color: var(--theme-secondary-color);
    margin-bottom: -2px;
}

.tf-posts.style1 .blog-post .post-date-item a .bottom-date {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: var(--theme-secondary-color);
    text-transform: uppercase;
}

.tf-posts.style1 .blog-post:hover .content {
    border-bottom: 3px solid #D9C3A9;
}

.tf-posts.style1 .blog-post .content .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
}

.tf-posts.style1 .blog-post .content .description {
    font-weight: 400;
font-size: 14px;
line-height: 24px;
margin-bottom: 18px;
}

.tf-posts.style1 .blog-post .content .tf-button-container a {
    font-weight: 600;
font-size: 14px;
}

.tf-posts.style1 .blog-post .content .tf-button-container a i {
    color: var(--theme-secondary-color);
}

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

.tf-posts .blog-post .content .tf-button-container a:hover i {
    animation: toRightFromLeft .3s forwards;
}

.tf-posts.style1 .blog-post .content .post-meta {
    margin-bottom: 13px;
}

.tf-posts.style1 .blog-post .content .tf-button-container a i,
.tf-posts.style1 .blog-post .content .post-meta i {
    background-color: transparent;
    background-image: var(--theme-accent-color);
    margin-right: 6px;
    display: inline-block;
}

.tf-posts.style1 .blog-post .content .tf-button-container a i {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
}

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

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

.tf-posts .blog-post .featured-post .post-category {
    position: absolute;
    left: 19px;
    top: 9px;
    z-index: 5;
}

.tf-posts .blog-post .featured-post .post-categories {
    display: flex;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

.tf-posts .blog-post .featured-post .post-categories li:not(:last-child) {
    margin-right: 10px;
}

.tf-posts .blog-post .featured-post a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    -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;
    background: rgba(0, 0, 0, 0.52);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}

.tf-posts .blog-post .featured-post .tf-button-container a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    font-size: 10px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-accent-color);
    color: var(--theme-primary-color);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    -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-posts .blog-post:hover .featured-post .tf-button-container a,
.tf-posts .blog-post:hover .featured-post::after {
    opacity: 1;
    visibility: visible;
}

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

.tf-posts .blog-post .featured-post .post-category a {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 13px;
    line-height: 28px;
    color: #fff;
    padding: 6px 14px;
    border-radius: 5px;
    display: inline;
    background: var(--theme-secondary-color);
}

.tf-posts .featured-post a img {
    -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;
}
.tf-posts .blog-post .content {
    padding: 18px 31px 18px 27px;
    background: #F9F9F9;
    -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;
}
.tf-posts .blog-post .content .post-meta {
    margin-bottom: 6px;
}
.tf-posts .blog-post .content .title {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    background: transparent;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 14px;
}

/* style 3 */

.tf-posts.style3 .blog-post .content {
    background: #fff;
    padding: 0;
}

.tf-posts.style3 .blog-post .content .title {
    font-size: 22px;
    line-height: 1.5em;
}

.tf-posts.style3 .blog-post .content .meta-post a {
    color: #9C9EA6;
}

.tf-posts.style3 .blog-post .content .meta-post span:not(:last-child) {
    margin-right: 15px;
}

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

.tf-posts.style3 .blog-post .content .tf-button-container a {
    font-weight: 600;
font-size: 14px;
}

.tf-posts.style3 .blog-post .content .tf-button-container a i {
    color: var(--theme-secondary-color);
    font-size: 10px;
    margin-left: 7px;
    display: inline-block;
}

/* style3 layout 2 */

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

.tf-posts.no-carousel.style-layout2.column-3 {
    column-count: 3;
}

.tf-posts.no-carousel.style-layout2.column-2 {
    column-count: 2;
}

.tf-posts.no-carousel.style-layout2.column-1 {
    column-count: 1;
}

.tf-posts.no-carousel.style-layout2.column-4 {
    column-count: 4;
}

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

.tf-posts.no-carousel.style-layout2 .item:nth-child(1) .featured-post img {
    height: 200px;
}

.tf-posts.no-carousel.style-layout2 .item:nth-child(2) .featured-post img {
    height: 246px;
}

.tf-posts.no-carousel.style-layout2 .item:nth-child(3) .featured-post img {
    height: 312px;
}

.tf-posts.no-carousel.style-layout2 .item:nth-child(4) .featured-post img {
    height: 200px;
}

.tf-posts.no-carousel.style-layout2 .item:nth-child(5) .featured-post img {
    height: 246px;
}

.tf-posts.no-carousel.style-layout2 .blog-post .content {
    padding-top: 15px;
}
.tf-posts.no-carousel.style-layout2 .blog-post .content .meta-post {
    margin-bottom: 10px;
}

.tf-posts.no-carousel.style-layout2 .blog-post .content .title {
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 8px;
}

.tf-posts.no-carousel.style-layout2 .item.last-post .content {
    background: var(--theme-accent-color);
    padding: 30px 20px 22px 30px;
}

.tf-posts.no-carousel.style-layout2 .item.last-post .content .icon {
    font-size: 28px;
    margin-bottom: 25px;
}

.tf-posts.no-carousel.style-layout2 .item.last-post .content .icon i {
    display: block;
}

.tf-posts.no-carousel.style-layout2 .item.last-post .content .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 8px;
}

.tf-posts.no-carousel.style-layout2 .item.last-post .content .author {
    font-weight: 600;
font-size: 14px;
line-height: 21px;
color: #4F5955;
}

/* 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: 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.style1 .owl-carousel .owl-dots .owl-dot span::after {
    width: 40px;
    height: 40px;
}

.tf-posts.style1 .owl-dots .owl-dot {
    margin: 0 15px;
}

/* style 2 */

.tf-posts.style2 .blog-post {
    display: flex;
}

.tf-posts.style2 .blog-post .featured-post,
.tf-posts.style2 .blog-post .content {
    width: 50%;
}

.tf-posts.style2 .blog-post .content {
    padding: 25px 20px 18px 20px;
}

.tf-posts.style2 .blog-post .featured-post img {
    height: 290px;
}

.tf-posts.style2 .blog-post .content h2 {
    font-weight: 700;
font-size: 22px;
line-height: 33px;
margin-bottom: 4px;
}

.tf-posts.style2 .blog-post .content .post-meta-time a,
.tf-posts.style2 .blog-post .content .post-meta-author a,
.tf-posts.style2 .blog-post .content .post-meta-comment a {
    font-weight: 400;
font-size: 14px;
line-height: 24px;
color: #9C9EA6;
}

.tf-posts.style2 .blog-post .content .post-meta-time a i {
    margin-right: 2px;
}

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

.tf-posts.style2 .blog-post .content .meta-post div:not(:last-child) {
    margin-bottom: 5px;
}

.tf-posts.style2 .blog-post .content .description {
    font-weight: 400;
font-size: 14px;
line-height: 24px;
margin-bottom: 13px;
}

.tf-posts.style2 .blog-post .content .tf-button-container a {
    font-weight: 600;
font-size: 14px;
}

.tf-posts.style2 .blog-post .content .tf-button-container a i {
    color: var(--theme-secondary-color);
    font-size: 10px;
    margin-left: 7px;
    display: inline-block;
}

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

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

    }

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

    }

    .tf-posts.style1 .blog-post .content {
        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 {
        column-count: 2 !important;
    }

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

    .tf-posts.style1 .blog-post.wg-post-1 {
        padding: 20px;
    }
    .tf-posts.style1 .blog-post.wg-post-1 .featured-post {
        padding-left: 15px;
    }

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

    .tf-posts.style4 .blog-post .content {
        padding: 30px 30px 37px 30px;
    }
    .tf-portfolio-wrap .owl-dots {
        display: none !important;
    }
    .tf-posts.style2 .blog-post {
        display: block;
    }
     .tf-posts.style2 .blog-post .featured-post,
      .tf-posts.style2 .blog-post .content {
        width: 100%;
    }
}
