: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 .content .post-meta i {
    color: #151515;
}

.tf-posts .featured-post > a {
    display: inline;
}

.tf-posts .featured-post img,
.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 .featured-post {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.tf-posts.style1 .post-meta {
    position: absolute;
    top: 24px;
    right: 18px;
    max-width: 73px;
}

.tf-posts.style1 .post-meta a {
    padding: 13px 9px;
    border-radius: 6px;
    color: #fff;
    word-break: break-all;
}

.tf-posts.style1 .blog-post .content {
    position: relative;
    margin: -92px 6.5% 0 6.5%;
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0px 5px 17px #bbb2b24a;
    background-color: #fff;
    -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 .tf-button-container {
    margin-top: 17px;    
}

.tf-posts.style1 .blog-post .tf-button-container .post-meta-item a {
    font-size: 14px;
    font-weight: 400;
    background-color: #FCE9E7;
    border-radius: 29px;
    padding: 6px 18px;
    -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 .tf-button-container .post-meta-item a:hover {
    background-color: #151515;
    color: #fff;
}

.tf-posts.style1 .blog-post .featured-post {
    border-radius: 8px;
}

.tf-posts.style1 .blog-post .tf-button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.tf-posts.style1 .blog-post .tf-button-container .tf-button,
.tf-posts.style3 .blog-post .tf-button-container .tf-button {
    display: inline-block;
    object-fit: cover;
    text-align: center;
    position: relative;
    border: 1px solid #FD4A36;
    background-color: #FD4A36;
    color: #fff;
    line-height: 45px;
    width: 45px;
    height: 45px;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 10px;
}

.tf-posts.style1 .blog-post .tf-button-container .tf-button:hover,
.tf-posts.style3 .blog-post .tf-button-container .tf-button:hover {
    background-color: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.tf-posts.style3 .blog-post:hover .tf-button-container .tf-button,
.tf-posts.style1 .blog-post:hover .tf-button-container .tf-button {
    width: 144px;
}

.tf-posts.style3 .blog-post:hover .tf-button-container .tf-button span,
.tf-posts.style1 .blog-post:hover .tf-button-container .tf-button span {
    opacity: 1;
}

.tf-posts.style1 .blog-post .tf-button-container .tf-button span,
.tf-posts.style3 .blog-post .tf-button-container .tf-button span {
    position: absolute;
    left: 18px;
    font-size: 16px;
    color: #fff;
    text-transform: capitalize;
    text-align: left;
    opacity: 0;
    transition: 0.5s cubic-bezier(.25,.8,.25,1) 0s;
}

.tf-posts.style1 .blog-post .tf-button-container .tf-button::before,
.tf-posts.style3 .blog-post .tf-button-container .tf-button::before {
    content: '\e901';
    font-family: "icon-custom-theme";
    position: absolute;
    right: 12px;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    transition: 0.5s cubic-bezier(.25,.8,.25,1) 0s;
}
.tf-posts.style1 .blog-post:hover .tf-button-container .tf-button::before,
.tf-posts.style3 .blog-post:hover .tf-button-container .tf-button::before {
    right: 19px;
}

.tf-posts.style1 .blog-post:hover .featured-post img {
    transform: scale(1.1);
}

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

.tf-posts .post-icon {
    display: none;
}

/* Style 2 */
.tf-posts.style2 .blog-post {
    padding: 55px 35px 40px 35px;
    position: relative;
    border-radius: 5px;
    border: 2px solid #F0F4F9;
    overflow: hidden;
}

.tf-posts.style2 .blog-post:after {
    content: '';
    position: absolute;
    bottom: 0px;
    height: 3px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
}

.tf-posts.style2 .bg-overlay {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
    -webkit-transition: .5s cubic-bezier(.24,.74,.58,1);
    -khtml-transition: .5s cubic-bezier(.24,.74,.58,1);
    -moz-transition: .5s cubic-bezier(.24,.74,.58,1);
    -ms-transition: .5s cubic-bezier(.24,.74,.58,1);
    -o-transition: .5s cubic-bezier(.24,.74,.58,1);
    transition: .5s cubic-bezier(.24,.74,.58,1);
    -webkit-transform: scale(1.4);
    -khtml-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
}

.tf-posts.style2 .blog-post:hover .bg-overlay{
    opacity: 0.9;
    -webkit-transform: scale(1);
    -khtml-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.tf-posts.style2 .featured-post {
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-repeat:no-repeat;
    background-size: cover;
    background-position:center center;
    opacity: 0;
    -webkit-transition: .5s cubic-bezier(.24,.74,.58,1);
    -khtml-transition: .5s cubic-bezier(.24,.74,.58,1);
    -moz-transition: .5s cubic-bezier(.24,.74,.58,1);
    -ms-transition: .5s cubic-bezier(.24,.74,.58,1);
    -o-transition: .5s cubic-bezier(.24,.74,.58,1);
    transition: .5s cubic-bezier(.24,.74,.58,1);
    -webkit-transform: scale(1.4);
    -khtml-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
}

.tf-posts.style2 .blog-post:hover .featured-post {
    opacity: 1;
    -webkit-transform: scale(1);
    -khtml-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.tf-posts.style2 .blog-post:hover * {
    color: #fff !important;
}

.tf-posts.style2 .blog-post .tf-button:hover, 
.tf-posts.style2 .blog-post .title a:hover,
.tf-posts.style2 .post-meta span a:hover,
.tf-posts.style2 .post-meta-category a:hover {
    color: #FF7029 !important;
}

.tf-posts.style2 .blog-post {
    cursor: pointer;
}

.tf-posts.style2 .post-meta {
    margin-bottom: 3px;
    width: 100%;
}

.tf-posts.style2 .post-meta .post-meta-item {
    margin-right: 15px;
}

.tf-posts.style2 .post-meta .post-meta-item i {
    margin-right: 5px;
}

.tf-posts.style2 .post-meta-category {
    margin-top: 22px;
    margin-bottom: 19px;
}

.tf-posts.style2 .post-meta-category a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(34, 47, 90, 0.5);
}

.tf-posts.style2 .tf-button-container {
    margin-top: 24px;
}

.tf-posts.style2 .blog-post:hover:after {
    width: 0%;
}

/* Style 3 */
.tf-posts.style3 .featured-post {
    position: relative;
    margin: 0px 0 0 0px;
}
.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: #57B33E;
    border-top-right-radius: 10px;
}
.tf-posts.style3 .blog-post .tf-button {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.tf-posts.style3 .content .post-meta {
    justify-content: space-between;
    margin-bottom: 6px;
}
.tf-posts.style3 .blog-post .title {
    margin: 18px 0;
}
.tf-posts.style3 .blog-post {
    position: relative;
    padding: 29px 39px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 2px 13px #fd4a362b;
    text-align: center;
    height: 316px;
    margin-bottom: 93px;
}
.tf-posts.style3 .blog-post:hover::after {
    background-color: #FD4A36;
}
.tf-posts.style3 .blog-post:hover::before {
    opacity: 0.8;
}
.tf-posts.style3 .blog-post::after,
.tf-posts.style3 .blog-post::before {
    content: '';
    position: absolute;
    width: 75px;
    height: 61px;
    background-color: #FEDAD6;
    top: 0;
    left: 23px;
    z-index: 20;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    -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.style3 .blog-post::before {
    content: '';
    opacity: 0.7;
    left: 68px;
    z-index: 1;
}
.tf-posts.style3 .blog-post .content {
    display: none;
}
.tf-posts.style3 .blog-post .tf-button-container {
    position: absolute;
    bottom: 1px;
    left: 21px;
}
.tf-posts.style3 .blog-post img {
    border-radius: 8px;
    height: 186px;
    object-fit: cover;
}
.tf-posts.style3 .owl-dots .owl-dot.active {
    position: relative;
    display: inline-block;
    overflow: unset;
}
.tf-posts.style3 .owl-dots .owl-dot.active::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    right: 0;
    bottom: 0;
    transform: translate(-50%, -50%);
    padding: 7.8px;
    border-radius: 50%;
    background-color: unset;
    border: 1px solid #FD4A36;
}
.tf-posts .owl-dots .owl-dot::before {
    display: none;
}
.tf-posts.style3 .post-icon {
    display: block;
}
/* Style 4 */
.tf-posts.style4 .featured-post {
    position: relative;
    margin: 0;
    overflow: hidden;
}
.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: #57B33E;
    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: "consalti";
    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 {
    overflow: hidden;
    box-shadow: -1px 7px 59px 11px #ebecf4;
}
.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 {
    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: capitalize;
}
.tf-posts.style4 .content .post-meta:first-child {
    display: none;
}
.tf-posts.style4 .content .post-meta i,
.tf-posts.style5 .content .post-meta i {
    margin-right: 8px;
}
.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: -6px;
}
.tf-posts.style4 .blog-post .featured-post img {
    object-fit: cover;
    border-radius: 0;
}
.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: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;
}
.tf-posts.style5 .blog-post {
    margin-bottom: 19px;
}
.tf-posts.style5 .item:last-child .blog-post {
    margin-bottom: 0;
}
.tf-posts.style5 .blog-post .featured-post {
    margin-bottom: 0;
}
.tf-posts.style5 .blog-post .content {
    border-bottom: 1px solid #c8d2ff;
}
.tf-posts.style5 .item:last-child .blog-post .content{
    border-bottom: unset;
}

/* style 6 */
.tf-posts.style6 .featured-post {
    position: relative;
    overflow: hidden;
}
.tf-posts.style6 .featured-post a {
    cursor: pointer;
}
.tf-posts.style6 .featured-post img {
    border-radius: 0;
    object-fit: unset;
    -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.style6 .blog-post:hover .featured-post img {
    transform: scale(1.05);
}
.tf-posts.style6 .post-meta-date {
    position: absolute;
    right: 40px;
    top: -40px;
    width: 70px;
    height: 80px;
    background: var(--theme-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -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.style6 .post-meta-date:hover {
    background: var(--theme-primary-color);
}

.tf-posts.style6 .post-meta-date .top {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #FFFFFF;
}
.tf-posts.style6 .post-meta-date .bottom {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    background: unset;
}

.tf-posts.style6 .blog-post .content {
    position: relative;
    background: #FFFFFF;
    box-shadow: 0px 2px 20px rgb(0 0 0 / 7%);
}

.tf-posts.style6 .content .post-meta {
    margin-bottom: 8px;
}

.tf-posts.style6 .blog-post .title {
    margin-bottom: 14px;
}

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

.tf-posts.style6 .blog-post .tf-button span {
    text-decoration: underline;
}

.tf-posts.style6 .blog-post .tf-button-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 19px;
    border-top: 1px solid #e9e9ea;
}

.tf-posts.style6 .blog-post .tf-button-container .post-comment a {
    font-weight: 500;
font-size: 14px;
color: #52575C;
}

.tf-posts.style6 .blog-post .tf-button-container .post-comment a:hover {
    color: var(--theme-secondary-color);
}

.tf-posts.style6 .blog-post .tf-button-container .post-comment i {
    font-size: 18px;
    color: var(--theme-secondary-color);
    margin-right: 6px;
    vertical-align: middle;
}

.tf-posts.style6 .blog-post .tf-button::after {
    font-family: 'consalti';
    content: "\f109";
    vertical-align: middle;
    margin-left: 10px;
    font-size: 15px;
    -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.style6 .blog-post .tf-button:hover::after {
    animation: move-arrow2 1s infinite;
}

.tf-posts.style6 .blog-post .desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #52575C;
    margin-bottom: 21px;
}

.tf-posts.style6 .content .post-meta i {
    color: var(--theme-secondary-color);
    font-size: 20px;
    margin-right: 7px;
}

.tf-posts.style6 .post-meta a {
    font-weight: 500;
    font-size: 16px;
    line-height: 14px;
    color: #52575C;
    text-transform: capitalize;
}

/*carousel optiont*/

.tf-post .owl-nav .owl-next {
    left: unset;
    right: 0;
}

.tf-post .owl-nav .owl-prev:before, 
.tf-post .owl-nav .owl-next:before,
.tf-post .owl-dots .owl-dot:before,
.tf-posts .owl-carousel .owl-nav .owl-prev::before,
.tf-posts .owl-carousel .owl-nav .owl-next::before {
    display: none;
}

.tf-post.no-arrow .owl-nav .owl-prev,
.tf-post.no-arrow .owl-nav .owl-next {
    display: none;
}

.tf-posts .owl-carousel .owl-nav .owl-next{
    left: unset !important;
    right: 0;
}

.tf-posts .owl-carousel .owl-nav .owl-prev,
.tf-posts .owl-carousel .owl-nav .owl-next {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tf-posts.has-carousel {
    position: relative;
}
.tf-posts .owl-carousel .owl-nav .owl-prev,
.tf-posts .owl-carousel .owl-nav .owl-next  {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    -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 .owl-carousel .owl-dots {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tf-posts .owl-carousel .owl-dots .owl-dot {
    padding: 0;
    width: 10px;
    height: 10px;
    background: #0080f0;
    display: inline-block;
    margin: 0 5px;
    -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.has-carousel.no-bullets .owl-dots,
.tf-posts.no-bullets .owl-dots {
    display: none;
}

.tf-posts.has-carousel.has-bullets .owl-dots {
    display: block;
}

.tf-posts.style1 .project-carousel-post .tf-button-container i {
    vertical-align: sub;
    margin-left: 10px;
}

.tf-posts.has-carousel .counter {
    display: block;
    text-align: center;
    font-size: 18px;
    color: #8d96be;
}

.tf-posts.has-carousel .counter .line {
    margin: 0 4px;
}

.project-carousel-post {
    display: flex;
    align-items: center;
}
.project-carousel-post .featured-post {
    flex-shrink: 0;
}



@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%;
    } 
    .project-carousel-post {
        display: block;
    }
}
@keyframes move-arrow2 {
    0%{
        margin-left:10px;
    }
    50%{
        margin-left: 13px;
    }
    100%{
        margin-left:10px;
    }
}