.tf-posts2.no-carousel {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.tf-posts2.no-carousel.column-1 .item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-posts2.no-carousel.column-2 .item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.tf-posts2.no-carousel.column-3 .item {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.tf-posts2.no-carousel.column-4 .item {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.tf-posts2.has-carousel .item {
    padding: 0 !important;
}

.tf-posts2 .item {
    padding: 15px;
}

/* style-1 */

.tf-posts2.style1 .item {
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-bottom: 46px;
    margin-bottom: 31px;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid #EDEDED;
}

.tf-posts2.style1 .item:last-child {
    padding-bottom: 0;
    border: none;
    margin-bottom: 0;
}

.tf-posts2.style1 .blog-post {
    display: flex;
}

.tf-posts2.style1 .blog-post .featured-post img {
    height: 225px;
    width: 100%;
    object-fit: cover;
}

.tf-posts2.style1 .blog-post .title {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 8px;
}

.tf-posts2.style1 .blog-post .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}

.tf-posts2.style1 .blog-post .content-left {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    margin-right: 40px;
    border-right: 1px solid #EDEDED;
}

.tf-posts2.style1 .blog-post .meta-category {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    margin-bottom: 33px;
}

.tf-posts2.style1 .blog-post .meta-category i {
    color: #000000;
    font-size: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

.tf-posts2.style1 .blog-post .tf-button {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--theme-primary-color);
    background: transparent;
    border: 1px solid var(--theme-primary-color);
    border-radius: 999px;
    padding: 14px 74px;
    display: inline-block;
}

.tf-posts2.style1 .blog-post .tf-button:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-posts2.style1 .blog-post .meta-date {
    font-weight: 300;
    font-size: 70px;
    line-height: 105px;
    color: #222222;
    text-align: center;
    display: inline-block;
    margin-bottom: 56px;
}

.tf-posts2.style1 .blog-post .meta-date span {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #666666;
    display: block;
    margin-top: -14px;
}


.tf-posts2.style1 .blog-post .featured-post {
    width: 400px;
    flex-shrink: 0;
}

.tf-posts2.style1 .blog-post .featured-post a {
    display: block;
}

.tf-posts2.style1 .blog-post .content-right {
    flex-shrink: 0;
}

/* style 2 */

.tf-posts2.style2 .featured-post {
    position: relative;
    margin-bottom: 40px;
}

.tf-posts2.style2 .featured-post img {
    height: 330px;
    object-fit: cover;
    width: 100%;
}

.tf-posts2.style2 .meta-date {
    background: #222222;
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    width: 90px;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 300;
    font-size: 32px;
    line-height: 48px;
}

.tf-posts2.style2 .meta-date span {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0%;
    border-top: 1px solid #ffffff32;
    padding-top: 12px;
    margin-top: 4px;
    display: block;
}

.tf-posts2.style2 .blog-post .title {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 10px;
}

.tf-posts2.style2 .blog-post .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}

.tf-posts2.style2 .blog-post .meta-category {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    margin-bottom: 38px;
}

.tf-posts2.style2 .blog-post .meta-category i {
    color: #000000;
    font-size: 18px;
    vertical-align: text-top;
}

.tf-posts2.style2 .blog-post .tf-button {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #222;
}

.tf-posts2.style2 .blog-post .tf-button:hover {
    color: var(--theme-primary-color);
}

.tf-posts2.style2 .blog-post .tf-button i {
    margin-left: 7px;
}

.tf-posts2.style2 .blog-post .tf-button span {
    position: relative;
    text-decoration: underline;
}

.tf-posts2.style2 .blog-post .tf-button i {
    display: inline-block;
    margin-left: 9px;
    font-size: 23px;
    vertical-align: sub;
}

.tf-posts2.style2 .blog-post .tf-button:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}

.tf-posts2 .owl-nav button {
    width: 80px;
    height: 80px;
    border: 1px solid #EDEDED !important;
    color: #000;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
}

.tf-posts2 .owl-nav button:hover {
    background: #222222;
    color: #fff;
    border-color: #222222 !important;
}

.tf-posts2 .owl-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: -29%;
    right: 0;
}


/* style 3 */

.tf-posts2.style3 .featured-post {
    position: relative;
    margin-bottom: 34px;
}

.tf-posts2.style3 .featured-post img {
    height: 225px;
    object-fit: cover;
    width: 100%;
}

.tf-posts2.style3 .blog-post .title {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 33px;
}

.tf-posts2.style3 .blog-post .title a {
    display: inline !important;
    width: 100%;
    background-repeat: no-repeat;
    background-position-y: 0px;
    background-image: linear-gradient(transparent calc(100% - 1px), currentColor 1px);
    transition: 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    background-size: 0 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.tf-posts2.style3 .blog-post .title a:hover {
    color: var(--theme-primary-color);
    background-size: 100% 100%;
}

.tf-posts2.style3 .blog-post .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
    margin-bottom: 30px;
}

.tf-posts2.style3 .blog-post .meta-date {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    margin-bottom: 15px;
}

.tf-posts2.style3 .blog-post .meta-date i {
    color: #000000;
    font-size: 24px;
    vertical-align: bottom;
}

.tf-posts2.style3 .blog-post .tf-button {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #222;
}

.tf-posts2.style3 .blog-post .tf-button:hover {
    color: var(--theme-primary-color);
}

.tf-posts2.style3 .blog-post .tf-button i {
    margin-left: 7px;
}

.tf-posts2.style3 .blog-post .tf-button span {
    position: relative;
    text-decoration: underline;
}

.tf-posts2.style3 .blog-post .tf-button i {
    display: inline-block;
    margin-left: 9px;
    font-size: 23px;
    vertical-align: sub;
}

.tf-posts2.style3 .blog-post .tf-button:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}

/* style 4 */

.tf-posts2.style4 .item {
    padding: 16px 15px;
}

.tf-posts2.style4 .blog-post {
    display: flex;
    gap: 24px;
}

.tf-posts2.style4 .featured-post {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}

.tf-posts2.style4 .featured-post img {
    height: 124px;
    object-fit: cover;
    width: 100%;
}

.tf-posts2.style4 .blog-post .title {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 9px;   
}

.tf-posts2.style4 .blog-post .title a {
    display: inline !important;
    width: 100%;
    background-repeat: no-repeat;
    background-position-y: 0px;
    background-image: linear-gradient(transparent calc(100% - 1px), currentColor 1px);
    transition: 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    background-size: 0 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.tf-posts2.style4 .blog-post .title a:hover {
    color: var(--theme-primary-color);
    background-size: 100% 100%;
}

.tf-posts2.style4 .blog-post .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
    margin-bottom: 30px;
}

.tf-posts2.style4 .blog-post .meta-date {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}

.tf-posts2.style4 .blog-post .meta-date i {
    color: #000000;
    font-size: 24px;
    vertical-align: bottom;
}

.tf-posts2.style4 .blog-post .tf-button {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #222;
}

.tf-posts2.style4 .blog-post .tf-button:hover {
    color: var(--theme-primary-color);
}

.tf-posts2.style4 .blog-post .tf-button i {
    margin-left: 7px;
}

.tf-posts2.style4 .blog-post .tf-button span {
    position: relative;
    text-decoration: underline;
}

.tf-posts2.style4 .blog-post .tf-button i {
    display: inline-block;
    margin-left: 9px;
    font-size: 23px;
    vertical-align: sub;
}

.tf-posts2.style4 .blog-post .tf-button:hover i {
    -webkit-animation: toRightFromLeft 0.7s forwards;
    -moz-animation: toRightFromLeft 0.7s forwards;
    animation: toRightFromLeft 0.7s forwards;
}


@keyframes toRightFromLeft {
    49% {
        transform: translate(9px, -9px) scale(0.5);
    }

    50% {
        opacity: 0;
        transform: translate(-9px, 9px) scale(1);
    }

    51% {
        opacity: 1;
    }
}

/* hover */

.hover-flash .featured-post a {
    overflow: hidden;
}

.hover-flash .featured-post a::before {
    position: absolute;
    top: 0;
    left: -85%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.hover-flash:hover .featured-post a::before {
    -webkit-animation: flashshine 1.5s;
    animation: flashshine 1.5s;
}

@keyframes flashshine {
    100% {
        left: 125%;
    }
}

.scale-hover .featured-post img {
    -webkit-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -khtml-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -moz-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -ms-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    -o-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
    transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
}


.scale-hover:hover .featured-post img {
    transform: scale(1.07);
}

@media (max-width: 1200px) {
    .tf-posts2.style1 .blog-post .featured-post {
        width: 40%;
        flex-shrink: 0;
    }
}

@media (max-width: 991px) {

    .tf-posts2.style1 .blog-post .featured-post {
        width: 30%;
        flex-shrink: 0;
    }

    .tf-posts2.style1 .blog-post .tf-button {
        padding: 14px 30px;
    }

    .tf-posts2.no-carousel.tablet-column-1 .item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tf-posts2.no-carousel.tablet-column-2 .item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-posts2.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-posts2.no-carousel.mobile-column-1 .item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tf-posts2.no-carousel.mobile-column-2 .item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-posts2.style1 .blog-post .content-left {
        flex-direction: column;
    }
    .tf-posts2.style1 .blog-post .featured-post {
        width: 100%;
    }
    .tf-posts2.style1 .blog-post .content-left {
        gap: 20px;
        padding-right: 20px;
        margin-right: 20px;
    }
    .tf-posts2.style1 .blog-post .meta-date {
        font-size: 40px;
    }
    .tf-posts2.style1 .blog-post .tf-button {
        padding: 10px 15px;
        font-size: 12px;
    }
    .tf-posts2.style1 .item {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .tf-posts2.style1 .blog-post .description {
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }
    .tf-posts2.style1 .blog-post .title {
        font-size: 20px;
        line-height: 30px;
    }
    .tf-posts2.style1 .blog-post .meta-category {
        margin-bottom: 15px;
    }
    .tf-posts2 .owl-nav {
      display: none;
    }
    .tf-posts2.style4 .featured-post {
        width: 45%;
    }
}