.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.has-carousel .item {
    padding: 0 !important;
}

.tf-posts.has-carousel .owl-stage-outer {
    padding: 20px;
    margin: -20px;
}

@-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 {
    -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;
    box-shadow: 0px 4px 25px 0px #0000000F;
    padding: 16px;
}

.tf-posts.style1 .blog-post .featured-post {
    position: relative;
    margin-bottom: 21px;
}

.tf-posts.style1 .blog-post .featured-post img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

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

.tf-posts.style1 .blog-post .post-date-item {
    width: 59px;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary-color);
    color: #fff;
font-weight: 700;
font-size: 24px;
line-height: 22px;
position: absolute;
top: 16px;
left: 16px;
flex-direction: column;
}

.tf-posts.style1 .blog-post .post-date-item span {
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    display: block;
}

.tf-posts.style1 .blog-post .post-category {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 12px;
}


.tf-posts.style1 .blog-post .post-category .post-meta a {
font-weight: 500;
font-size: 14px;
line-height: 22px;
color: #6C6E76;
}

.tf-posts.style1 .blog-post .post-category .post-meta i {
    color: var(--theme-primary-color);
    font-size: 20px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.tf-posts.style1 .blog-post .content {
    padding-left: 15px;
    padding-bottom: 8px;
}

.tf-posts.style1 .blog-post .title {
font-weight: 700;
font-size: 22px;
line-height: 32px;
margin-bottom: 11px;
}

.tf-posts.style1 .blog-post .title a {
    color: #00194C;
}

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

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

.tf-posts.style1 .blog-post .tf-button-container a i {
    margin-left: 7px;
    display: inline-block;
}

.tf-posts.style1 .blog-post .tf-button-container a:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}


/* style2  */

.tf-posts.style2 .blog-post {
    -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;
    box-shadow: 0px 4px 25px 0px #0000000F;
    padding: 16px;
}

.tf-posts.style2 .blog-post .featured-post {
    position: relative;
    margin-bottom: 21px;
}

.tf-posts.style2 .blog-post .featured-post img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

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

.tf-posts.style2 .blog-post .post-date-item {
    width: 59px;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary-color);
    color: #fff;
font-weight: 700;
font-size: 24px;
line-height: 22px;
position: absolute;
top: 16px;
left: 16px;
flex-direction: column;
}

.tf-posts.style2 .blog-post .post-date-item span {
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    display: block;
}

.tf-posts.style2 .blog-post .post-category {
    display: flex
;
    gap: 25px;
    align-items: center;
    margin-bottom: 12px;
    justify-content: center;
    background: var(--theme-primary-color);
    padding: 9px 15px;
    clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%);
    margin-top: -44px;
    margin-bottom: 21px;
}

.tf-posts.style2 .blog-post .post-category .post-meta a {
font-weight: 500;
font-size: 14px;
line-height: 22px;
color: #fff;
}

.tf-posts.style2 .blog-post .post-category .post-meta i {
    color: #fff;
    font-size: 20px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.tf-posts.style2 .blog-post .content {
    padding-left: 15px;
    padding-bottom: 8px;
}

.tf-posts.style2 .blog-post .title {
font-weight: 700;
font-size: 22px;
line-height: 32px;
margin-bottom: 11px;
}

.tf-posts.style2 .blog-post .title a {
    color: #00194C;
}

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

.tf-posts.style2 .blog-post .tf-button-container a i {
    margin-left: 7px;
    display: inline-block;
}

.tf-posts.style2 .blog-post .tf-button-container a:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}


/* style 3  */

.tf-posts.style3 .blog-post {
    -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;
    box-shadow: 0px 4px 25px 0px #0000000F;
}

.tf-posts.style3 .blog-post .featured-post {
    position: relative;
    margin-bottom: 30px;
}

.tf-posts.style3 .blog-post .featured-post img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

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

.tf-posts.style3 .blog-post .post-date-item {
    width: 59px;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary-color);
    color: #fff;
font-weight: 700;
font-size: 24px;
line-height: 22px;
flex-direction: column;
}

.tf-posts.style3 .blog-post .post-date-item span {
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    display: block;
}

.tf-posts.style3 .blog-post .post-category {
    display: flex;
    gap: 17px;
    align-items: center;
    margin-bottom: 15px;
}


.tf-posts.style3 .blog-post .post-category .post-meta a {
font-weight: 500;
font-size: 14px;
line-height: 22px;
color: #6C6E76;
}

.tf-posts.style3 .blog-post .post-category .post-meta i {
    color: var(--theme-primary-color);
    font-size: 20px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.tf-posts.style3 .blog-post .content {
    padding-left: 30px;
    padding-bottom: 25px;
    padding-right: 30px;
}

.tf-posts.style3 .blog-post .title {
font-weight: 700;
font-size: 22px;
line-height: 32px;
margin-bottom: 11px;
}

.tf-posts.style3 .blog-post .title a {
    color: #00194C;
}

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

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

.tf-posts.style3 .blog-post .tf-button-container a i {
    margin-left: 7px;
    display: inline-block;
}

.tf-posts.style3 .blog-post .tf-button-container a:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}

/* style 4 */

.tf-posts.style4 {
    display: flex
;
    gap: 30px;
    flex-wrap: nowrap;
}

.tf-posts.style4 > * {
    width: 50%;
}

.tf-posts.style4 .blog-post {
    -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.style4 .blog-post .featured-post {
    position: relative;
}

.tf-posts.style4 .blog-post .featured-post img {
    height: 100%;
    width: 247px;
    object-fit: cover;
}

.tf-posts.style4 .blog-post .featured-post a {
    overflow: hidden;
    display: block;
    height: 100%;
}

.tf-posts.style4 .post-date-item {
    width: 59px;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary-color);
    color: #fff;
font-weight: 700;
font-size: 24px;
line-height: 22px;
position: absolute;
top: 16px;
left: 16px;
flex-direction: column;
}

.tf-posts.style4 .post-date-item span {
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    display: block;
}

.tf-posts.style4 .post-category {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 12px;
}


.tf-posts.style4 .post-category .post-meta a {
font-weight: 500;
font-size: 14px;
line-height: 22px;
color: #6C6E76;
}

.tf-posts.style4 .post-category .post-meta i {
    color: var(--theme-primary-color);
    font-size: 20px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.tf-posts.style4 .blog-post .content {
    padding-left: 15px;
    padding-bottom: 8px;
}

.tf-posts.style4 .blog-post .title {
font-weight: 700;
font-size: 20px;
line-height: 32px;
margin-bottom: 11px;
}

.tf-posts.style4 .blog-post .title a {
    color: #00194C;
}

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

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

.tf-posts.style4 .blog-post .tf-button-container a {
font-weight: 500;
font-size: 16px;
line-height: 28px;
color: #6C6E76;
}

.tf-posts.style4 .blog-post .tf-button-container a i {
    margin-left: 7px;
    display: inline-block;
}

.tf-posts.style4 .blog-post .tf-button-container a:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}

.tf-posts.style4 .wrap-blog .blog-post {
    display: flex;
    flex-direction: row-reverse;
    box-shadow: 0px 4px 25px 0px #0000000F;

}

.tf-posts.style4 .wrap-blog .blog-post .content {
    padding: 27px 30px 24px 30px;
}

.tf-posts.style4 .wrap-blog .blog-post:not(:last-child) {
    margin-bottom: 30px;
}

.tf-posts.style4 .wrap-blog .featured-post {
    flex-shrink: 0;
}

.tf-posts.style4 .description {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
font-weight: 400;
font-size: 15px;
line-height: 24px;
    color: #6C6E76;
    margin-bottom: 18px;
}

.tf-posts.style4 .wrap-blog .blog-post .title {
    margin-bottom: 9px;
}

.tf-posts.style4 .content-left {
    position: relative;
}

.tf-posts.style4 .content-left .title {
font-weight: 700;
font-size: 28px;
line-height: 40px;
margin-bottom: 14px;
}

.tf-posts.style4 .content-left .title a {
color: #fff;
}

.tf-posts.style4 .content-left .description {
font-weight: 400;
font-size: 16px;
line-height: 26px;
letter-spacing: 0%;
color: #fff;
margin: 0;
}

.tf-posts.style4 .content-left .featured-post img {
    height: 546px;
    width: 100%;
    object-fit: cover;
}

.tf-posts.style4 .content-left .featured-post a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tf-posts.style4 .content-left .featured-post a::after {
    background: linear-gradient(180deg, rgba(0, 25, 76, 0) 0%, #00194C 100%);
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.tf-posts.style4 .content-left .content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 40px 40px 33px 40px;
}

.tf-posts.style4 .content-left .post-category .post-meta a {
    color: #fff;
}

.tf-posts.style4 .content-left .post-category  {
    margin-bottom: 7px;
}

@keyframes toRightFromLeft {
    49% {
        transform: translate(100%) scale(0.6);
    }
    50% {
        opacity: 0;
        transform: translate(-100%) scale(1);
    }
    51% {
        opacity: 1;
    }
}

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

.tf-posts .featured-post img {
    object-fit: cover;
    width: 100%;
    border-radius: 0;
    -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 .featured-post img,
.tf-posts .content-left:hover .featured-post img {
    transform: scale(1.05);
}

/* 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: #000000;
    display: inline-block;
    margin: 0 5px;
    padding: 0;
}

.tf-posts.has-carousel.no-bullets .owl-dots,
.tf-posts .owl-nav.disabled {
    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%;
    }
}
