:root {
    --bg-image-s2: "#fff";
}

.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;
}

.tf-posts .featured-post > a {
    display: inline;
}

.tf-posts .featured-post img,
.tf-posts.style1 .blog-post .tf-button-container .tf-button:before,
.tf-posts.style2 .blog-post:after,
.tf-posts.style2 .featured-post,
.tf-posts.style2 .content-post {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.tf-posts.style2 .bg-overlay {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/* Style 1 */
.tf-posts.style1 .blog-post {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
}

.tf-posts.style1 .featured-post {
    flex-shrink: 0;
    margin-right: 30px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.tf-posts.style1 .featured-post img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.tf-posts .post-meta-category a {
    color: #993300;
    margin-right: 20px;
    font-size: 14px;
}

.tf-posts .post-meta-category.comment a {
    margin-right: 0;
}

.tf-posts .post-meta-category a::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    color: #993300;
    font-size: 16px;
    margin-right: 4px;
    -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 .post-meta-category.comment a::before {
    content: "\f086";
}

.tf-posts.style1 .blog-post .tf-button-container {
    margin-top: 26px;
}

.tf-posts.style1 .blog-post:hover .featured-post img {
    transform: scale(0.9);
}

.tf-posts.style1 .blog-post .title {
    margin-bottom: 6px;
}

/* Style 2 */

.tf-posts.style2 .blog-post .tf-button {
    position: relative;
}

.tf-posts.style2 .blog-post .tf-button::after {
    content: "\e903";
    font-family: "modhu";
    font-size: 15px;
    z-index: 15;
    font-weight: 700;
    margin-left: 6px;
}

.tf-posts.style2 .blog-post .tf-button:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #000000;
    position: absolute;
    left: 0;
    bottom: -3px;
}

/* Style 3 */

.tf-posts.style3 .featured-post {
    position: relative;
    margin: 0 0 41px 0;
}
.tf-posts.style3 .featured-post .post-meta {
    position: absolute;
    bottom: 0;
    left: 0;
}

.tf-posts.style3 .featured-post .post-meta a {
    padding: 3px 15px;
    color: #fff;
}

.tf-posts.style3 .featured-post .post-meta {
    background: #993300;
    border-top-right-radius: 10px;
}
.tf-posts.style1 .blog-post .tf-button,
.tf-posts.style3 .blog-post .tf-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 12px 10px 36px;
    background-color: #993300;
    color: #fff;
}
.tf-posts.style1 .blog-post .tf-button {
    padding: 10px 20px;
}

.tf-posts.style3 .blog-post .post-meta-category {
    margin-bottom: 15px;
}

.tf-posts.style3 .blog-post .title {
    margin-bottom: 20px;
}

.tf-posts.style3 .blog-post .content-post {
    font-size: 14px;
    line-height: 2.2;
}

.tf-posts.style3 .tf-button-container {
    margin-top: 40px;
}

.tf-posts.style1 .blog-post .tf-button::after,
.tf-posts.style3 .blog-post .tf-button::after {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    margin-left: 12px;
    font-weight: 900;
}

.tf-posts.style3 .blog-post .tf-button:hover {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    background-color: #000000;
    color: #fff;
}

.tf-posts.style3 .blog-post .tf-button:hover::after {
    color: #fff;
}

.tf-posts.style3 .content .post-meta {
    justify-content: space-between;
    margin-bottom: 6px;
}
.tf-posts.style3 .blog-post .title {
    margin-bottom: 10px;
}
.tf-posts.style3 .blog-post .featured-post img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.tf-posts.style3 .blog-post:hover .featured-post img {
    transform: scale(1.1);
}
/* Style 4 */
.tf-posts.style4 .featured-post {
    position: relative;
    margin: 0;
}
.tf-posts.style4 .featured-post .post-meta {
    position: absolute;
    bottom: 0;
    left: 0;
}
.tf-posts.style4 .featured-post .post-meta a {
    padding: 0px 15px;
    color: #fff;
}
.tf-posts.style4 .featured-post .post-meta {
    background: #993300;
    border-top-right-radius: 10px;
}
.tf-posts.style4 .blog-post .tf-button {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.tf-posts.style4 .blog-post .tf-button:after {
    content: "\f17a";
    font-family: "modhu";
    margin-left: 7px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.tf-posts.style4 .blog-post .tf-button:hover:after {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    margin-left: 12px;
}
.tf-posts.style4 .blog-post .tf-button:before {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 3px;
    right: 0;
    background: #565872;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.tf-posts.style4 .blog-post .tf-button:hover:before {
    width: 0;
}
.tf-posts.style4 .blog-post .content {
    padding: 35px 32px 37px 37px;
    position: relative;
}
.tf-posts.style4 .content .post-meta a,
.tf-posts.style4 .blog-post .tf-button {
    color: #565872;
}
.tf-posts.style4 .content .post-meta {
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 14px;
}
.tf-posts.style4 .content .post-meta i {
    margin-right: 4px;
}
.tf-posts.style4 .content .post-meta .post-meta-item {
    margin-left: 18px;
}
.tf-posts.style4 .content .post-meta .post-meta-item:first-child {
    margin-left: 0;
}
.tf-posts.style4 .blog-post .title {
    margin-bottom: 8px;
}
.tf-posts.style4 .blog-post .featured-post img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.tf-posts.style4 .blog-post:hover .featured-post img {
    transform: scale(1.1);
}
.tf-posts.style4 .blog-post .content:after {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: rgb(255, 112, 41);
    -webkit-transition: width 0.7s;
    -moz-transition: width 0.7s;
    -ms-transition: width 0.7s;
    -o-transition: width 0.7s;
    transition: width 0.7s;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1) 0s,
        -webkit-transform 500ms 0s;
}
.tf-posts.style4 .blog-post:hover .content:after {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
}

/* 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 .owl-nav .owl-prev.disabled,
.tf-posts.has-carousel .owl-nav .owl-next.disabled {
    display: none !important;
}

.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;
}

@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%;
    }
}

@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%;
    }
}
