.tf-posts-core {
    display: grid;
    gap: 30px;
}


.tf-posts-core.column-1  {
    grid-template-columns: repeat(1,1fr);
}
.tf-posts-core.column-2  {
    grid-template-columns: repeat(2,1fr);
}
.tf-posts-core.column-3  {
    grid-template-columns: repeat(3,1fr);
}
.tf-posts-core.column-4  {
    grid-template-columns: repeat(4,1fr);
}
.tf-posts-core.column-5  {
    grid-template-columns: repeat(5,1fr);
}
.tf-posts-core.column-6  {
    grid-template-columns: repeat(6,1fr);
}
.tf-posts-core.column-7  {
    grid-template-columns: repeat(7,1fr);
}
.tf-posts-core.column-8  {
    grid-template-columns: repeat(8,1fr);
}
.tf-posts-core.column-9  {
    grid-template-columns: repeat(9,1fr);
}
.tf-posts-core.column-10  {
    grid-template-columns: repeat(10,1fr);
}

.tf-posts-core .featured-post {
    margin-bottom: 29px;
    overflow: hidden;
}

.tf-posts-core .featured-post img {
    border-radius: 0;
    height: auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.tf-posts-core .item:hover .featured-post img {
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
}


.tf-posts-core.style2 .item .post-meta.meta-cate,
.tf-posts-core .item .post-meta.meta-cate {
    list-style: none;
    margin: 0;
    margin-bottom: 7px;
}

.tf-posts-core .item .post-category a {
    display: inline-flex;
    padding: 6px 12px;
    align-items: flex-start;
    background-color: #121212;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    font-family: 'Oswald';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: var(--theme-primary-color);
}

.tf-posts-core .item .title {
    margin-bottom: 11px;
}

.tf-posts-core .item .title a {
    color: #121212;
    font-family: 'Oswald';
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.tf-posts-core .item .title a:hover {
    color: var(--theme-primary-color);
}

.tf-posts-core .item .post-meta {
    margin-bottom: 12px;
}

.tf-posts-core .item .post-meta .item-meta {
    margin-right: 36.4px;
}

.tf-posts-core .post-meta .item-meta::after {
    position: absolute;
    top: 50%;
    transform: none;
    width: 20px;
    height: 1px;
    background-color: #121212;
    margin: 0 5px;
}

.tf-posts-core .item .post-meta .item-meta a {
    font-family: 'Jost';
    font-size: 14px;
    font-weight: 400;
    line-height: 22px; 
    color: #5E6267;
}

.tf-posts-core .item .description {
    font-family: 'Jost';
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 20px;
}

.tf-posts-core .item .tf-button-container a {
    color: #121212;
    font-family: 'Oswald';
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1.12px;
    text-decoration-line: underline;
    text-transform: uppercase;
}


.tf-posts-core .item .tf-button-container a:hover {
    color: var(--theme-primary-color);
}

.tf-posts-core.style2 .item {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.tf-posts-core.style2 .item .featured-post {
    width: 46%;
    margin-bottom: 0;
}

.tf-posts-core.style2 .item .content {
    width: 54%;
    padding-left: 21px;
}

.tf-posts-core.style2 .item .title {
    margin-bottom: 14px;
}

.tf-posts-core.style2 .item .item-meta a {
    color: #121212;
    font-size: 16px;
    line-height: 26px;
}

.tf-posts-core.style2 .item .post-meta {
    margin-bottom: 11px;
}

.tf-posts-core.style3 .item {
    position: relative;
}

.tf-posts-core.style3 .item::before {
    content: '';
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.00) 0%, #121212 100%);
    z-index: 2;
}


.tf-posts-core.style3 .item .featured-post {
    margin-bottom: 0;
}

.tf-posts-core.style3 .item .content {
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0;
    padding: 30px 31px;
    z-index: 5;
}

.tf-posts-core.style3 .item .title a {
    font-size: 30px;
    line-height: 42px;
    color: #fff;
}

.tf-posts-core.style3 .item .item-meta a {
    font-size: 16px;
    line-height: 26px;
    color: #fff;
}

.tf-posts-core.style3 .item .item-meta::after {
    background-color: #fff;
}

.tf-posts-core.style3 .item .description,
.tf-posts-core.style3 .item .tf-button-container a {
    color: #fff;
}

.tf-posts-core .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
}

.tf-posts-core .owl-carousel .owl-nav .owl-prev,
.tf-posts-core .owl-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -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;
    position: absolute;
    left: 0;
}

.tf-posts-core .owl-carousel .owl-nav .owl-next {
    left: auto;
    right: 0;
}

.tf-posts-core .owl-carousel .owl-nav .owl-prev:hover,
.tf-posts-core .owl-carousel .owl-nav .owl-next:hover {
    background-color: #fff;
}

.tf-posts-core .owl-carousel .owl-nav .owl-prev.disabled,
.tf-posts-core .owl-carousel .owl-nav .owl-next.disabled {
    background-color: #fff;
} 

.tf-posts-core.has-carousel {
    display: block;
}

@media (max-width: 1200px) {
    .elementor-section .elementor-container {
        flex-wrap: wrap;
    }
    .tf-posts-core.style2 .item {
        align-items: flex-start;
    }
}
@media (max-width: 1024px) {
    .tf-posts-core.tablet-column-1  {
        grid-template-columns: repeat(1,1fr);
    }
    .tf-posts-core.column-tb-2  {
        grid-template-columns: repeat(2,1fr);
    }
    .tf-posts-core.column-tb-3  {
        grid-template-columns: repeat(3,1fr);
    }
    .tf-posts-core.column-tb-4  {
        grid-template-columns: repeat(4,1fr);
    }
    .tf-posts-core.column-tb-5  {
        grid-template-columns: repeat(5,1fr);
    }
    .tf-posts-core.column-tb-6  {
        grid-template-columns: repeat(6,1fr);
    }
    .tf-posts-core.column-tb-7  {
        grid-template-columns: repeat(7,1fr);
    }
} 

@media (max-width: 767px) {
    .tf-posts-core.tablet-column-1  {
        grid-template-columns: repeat(1,1fr);
    }
    .tf-posts-core.tablet-column-2  {
        grid-template-columns: repeat(2,1fr);
    }
    .tf-posts-core.tablet-column-3  {
        grid-template-columns: repeat(3,1fr);
    }
    .tf-posts-core.tablet-column-4  {
        grid-template-columns: repeat(4,1fr);
    }
    .tf-posts-core.tablet-column-5  {
        grid-template-columns: repeat(5,1fr);
    }
    .tf-posts-core.style3 .item .content {
        padding: 15px;
    }
}

@media (max-width: 600px) { 
    .tf-posts-core.style2 .item {
        flex-wrap: wrap;
    }
    .tf-posts-core.style2 .item .featured-post,
    .tf-posts-core.style2 .item .content {
        width: 100%;
    }

    .tf-posts-core.style2 .item .content {
        padding-left: 0;
        padding-top: 15px;
    }
}

@media (max-width: 500px) {
    .tf-posts-core.mobile-column-1  {
        grid-template-columns: repeat(1,1fr);
    }
    .tf-posts-core.mobile-column-2  {
        grid-template-columns: repeat(2,1fr);
    }
    .tf-posts-core.mobile-column-3  {
        grid-template-columns: repeat(3,1fr);
    }
}

