/* Column Area */

.tf-area-wrap .wrap-area-post .item {
    padding: 15px 15px 15px 15px;
}

.tf-area-wrap.has-carousel .wrap-area-post .item {
    padding: 0;
}

.tf-area-wrap .wrap-area-post.column-1 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-area-wrap .wrap-area-post.column-2 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 49.99%;
    flex: 0 0 49.99%;
    max-width: 49.99%;
}

.tf-area-wrap .wrap-area-post.column-3 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.tf-area-wrap .wrap-area-post.column-4 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

/* End Column Area */

.tf-area-wrap .link-listing i {
    display: inline-block;
}

.tf-area-wrap .link-listing:hover i {
    -webkit-animation: toRight 0.3s forwards;
    -moz-animation: toRight 0.3s forwards;
    animation: toRight 0.3s forwards;
}

@keyframes toRight {
    49% {
        transform: translate(100%);
    }
    50% {
        opacity: 0;
        transform: translate(-100%);
    }
    51% {
        opacity: 1;
    }
}

/* style 1 */

.tf-area-wrap .featured-post .image-wrap {
    width: 100%;
}

.tf-area-wrap.style1 .featured-post img  {
    width: 100%;
    object-fit: cover;
    -webkit-transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
    transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
    height: 311px;
}

.tf-area-wrap.style1 .featured-post {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.tf-area-wrap.style1 .featured-post .image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 68.29%, #000000 100%);
    -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;
    opacity: 1;
    visibility: visible;
}

.tf-area-wrap.style1 .featured-post:hover img {
    -webkit-transform: scale3d(1.07, 1.07, 1.07);
    transform: scale3d(1.07, 1.07, 1.07);
}

.tf-area-wrap.style1 .featured-post .content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
}

.tf-area-wrap.style1 .featured-post .name {
    margin: 0;
}

.tf-area-wrap.style1 .featured-post .name a {
    font-size: 18px;
    font-weight: 600;
    line-height: 22.5px;
    color: #fff;
}

.tf-area-wrap.style1 .featured-post .name a:hover {
    color: var(--theme-primary-color);
}

.tf-area-wrap.style1 .count-listing {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 26px 13px 21px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tf-area-wrap.style1 .count-listing i {
    font-size: 13px;
    vertical-align: middle;
    margin-left: 8px;
}

.tf-area-wrap.style1 .count-listing:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-area-wrap.style1 .featured-post .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* style 2 */

.tf-area-wrap.style2 .area-post {
    display: flex;
    padding: 16px;
    -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;
    border-radius: 16px;
}

.tf-area-wrap.style2 .area-post:hover {
    box-shadow: 0px 30px 60px 0px #00000012;
}

.tf-area-wrap.style2 .area-post .featured-post {
    max-width: 101px;
    max-height: 101px;
    margin-right: 16px;
}

.tf-area-wrap.style2 .area-post .featured-post img {
    object-fit: cover;
    border-radius: 16px;
    -webkit-transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
    transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
}

.tf-area-wrap.style2 .area-post:hover .featured-post img {
    -webkit-transform: scale3d(1.07, 1.07, 1.07);
    transform: scale3d(1.07, 1.07, 1.07);
}

.tf-area-wrap.style2 .area-post .featured-post a {
    overflow: hidden;
    border-radius: 16px;
}

.tf-area-wrap.style2 .area-post .featured-post a,
.tf-area-wrap.style2 .area-post .featured-post img {
    height: 100%;
    width: 100%;
    display: block;
}

.tf-area-wrap.style2 .area-post .content {
    width: 55%;
    -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;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: none;
}

.tf-area-wrap.style2 .count-listing {
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    color: #5C5E61;      
    margin-bottom: 0px;
    margin-top: -1px;
    -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-area-wrap.style2 .count-listing::before {
    content: '\e955';
    font-family: 'proty';
    font-size: 18px;
    vertical-align: bottom;
    margin-right: 4px;
}

.tf-area-wrap.style2 .link-listing {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    align-items: center;
    column-gap: 7px;
    color: #5C6368;
}

.tf-area-wrap.style2 .link-listing i,
.tf-area-wrap.style2 .link-listing:hover {
    color: var(--theme-primary-color);
}

.tf-area-wrap.style2 .area-post .name {
    margin-bottom: 11px;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

.tf-area-wrap.style2 .link-listing span {
    position: relative;
}

.tf-area-wrap.style2 .link-listing span::after {
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -2px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    -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-area-wrap.style2 .area-post:hover .link-listing span::after {
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.tf-area-wrap.style2 .featured-post .image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    visibility: visible;
    background-image: -moz-linear-gradient( 90deg, rgb(0,0,0) 0%, rgba(3,15,39,0) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(0,0,0) 0%, rgba(3,15,39,0) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(0,0,0) 0%, rgba(3,15,39,0) 100%);
    -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-area-wrap.style2 .area-post:hover .featured-post .image-wrap::after {
    opacity: 0.3;
    visibility: visible;
}

/* style masonry */

.tf-area-wrap.masonry .area-post .featured-post img {
    object-fit: cover;
    -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-area-wrap.masonry .area-post:hover .featured-post img {
    transform: scale(1.05);
}

.tf-area-wrap.masonry .area-post .featured-post {
    position: relative;
}

.tf-area-wrap.masonry .area-post .featured-post .image-wrap {
    overflow: hidden;
    border-radius: 16px;
    display: block;
}

.tf-area-wrap.masonry .area-post .featured-post > a,
.tf-area-wrap.masonry .area-post .featured-post img {
    height: 100%;
    width: 100%;
}

.tf-area-wrap.masonry .area-post .featured-post img {
    height: 311px;
}

.tf-area-wrap.masonry .count-listing {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 26px 13px 21px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tf-area-wrap.masonry .count-listing i {
    font-size: 13px;
    vertical-align: middle;
    margin-left: 8px;
}

.tf-area-wrap.masonry .count-listing:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-area-wrap.masonry .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.tf-area-wrap.masonry .link-listing {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    align-items: center;
    column-gap: 7px;
    color: #5C6368;
}
.tf-area-wrap.masonry .link-listing i,
.tf-area-wrap.masonry .link-listing:hover {
    color: var(--theme-primary-color);
}

.tf-area-wrap.masonry .area-post .name {
    margin: 0;
}

.tf-area-wrap.masonry .area-post .name a {
    font-size: 18px;
    font-weight: 600;
    line-height: 22.5px;
    color: #fff;
}

.tf-area-wrap.masonry .area-post .name a:hover {
    color: var(--theme-primary-color);
}

.tf-area-wrap.masonry .featured-post .image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 68.29%, #000000 100%);
    -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-area-wrap.masonry .wrap-area-post.row {
    --bs-gutter-x: unset;
    --bs-gutter-y: unset;
    display: unset;
    flex-wrap: unset;
    margin-top: unset;
    margin-right: unset;
    margin-left: unset;
}

.tf-area-wrap.masonry .wrap-area-post .item {
    padding: unset;
}

.tf-area-wrap.masonry .wrap-area-post {
    display: grid !important;
    grid-gap: 12px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.tf-area-wrap.masonry .wrap-area-post .item:nth-child(6) {
    grid-column: 2 / 4;
    grid-row: 2 / 2;
}

/* Carousel */
.tf-area-wrap.has-carousel .wrap-area-post .item .area-post {
    margin-bottom: 0px;
    cursor: default;
}

.tf-area-wrap.has-carousel .row {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 60px;
}

.tf-area-wrap.has-carousel .row>* {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.tf-area-wrap.has-carousel .wrap-area-post .item {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-stage {
    display: flex;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-stage .owl-item {
    display: flex;
    padding: 0;
}

.tf-area-wrap.has-carousel .wrap-area-post .owl-carousel .owl-item img {
    display: unset;
}

.tf-area-wrap.has-carousel .wrap-area-post .owl-carousel .owl-item .item .area-post .featured-post .overlay .icon-hover {
    width: unset;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -106px;
    display: flex;
    align-items: center;
    column-gap: 135px;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-next,
.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-prev {
    display: flex;
    width: 58px;
    height: 58px;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ECECEC;
    color: #5C5E61;
    font-size: 18px;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-next {
    left: unset;
    right: 0;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-prev:before,
.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-next:before,
.tf-area-wrap.has-carousel .owl-carousel .owl-dots .owl-dot:before {
    display: none;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-nav button:hover {
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
    color: #fff;
}

.tf-area-wrap .owl-carousel .owl-nav .owl-prev.disabled,
.tf-area-wrap .owl-carousel .owl-nav .owl-next.disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
}

.tf-area-wrap.has-carousel .wrap-area-post.owl-carousel .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.tf-area-wrap .wrap-area-post .item .area-post .featured-post .content .info .name a:hover {
    color: var(--theme-primary-color);
}

.tf-area-wrap.has-carousel .owl-stage-outer {
    cursor: e-resize;
}

.tf-area-wrap.has-carousel .owl-carousel.row {
    margin: 0 !important;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-dots {
    position: absolute;
    bottom: -81px;
    display: flex;
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot {
    padding: 0;
    width: 8px;
    height: 8px;
    background: #E4E4E4;
    display: inline-block;
    margin: 0 7px;
    -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;
    overflow: unset;
}


.tf-area-wrap.has-carousel .owl-dots .owl-dot span::before {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    width: 14px;
    height: 14px;
    border: 1px solid transparent;
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot.active {
    background-color: var(--theme-primary-color);
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot.active span::before {
    border: 1px solid var(--theme-primary-color);
}

/* End Carousel */

.tf-area-wrap.disable-border-radius-card * {
    border-radius: 0 !important;
}

.enable-overlay .area-post {
    position: relative;
}

.enable-overlay .area-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 10;
}

.enable-overlay .active_overlay .area-post::after {
    opacity: 0.8;
    visibility: visible;
}

/* Responsive */
@media only screen and (max-width: 1300px) {
    .enable-overlay .area-post::after {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .tf-area-wrap .wrap-area-post.column-4 .item,
     .tf-area-wrap .wrap-area-post.column-3 .item,
      .tf-area-wrap .wrap-area-post.column-1 .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-area-wrap.masonry .wrap-area-post {
        grid-template-columns: 1fr 1fr;
    }

    .tf-area-wrap.masonry .wrap-area-post .item:nth-child(5),
    .tf-area-wrap.masonry .wrap-area-post .item:nth-child(6) {
        grid-column: unset;
        grid-row: unset;
    }
    .tf-area-wrap.masonry .wrap-area-post .item:nth-child(4) {
        grid-column: 1 / 4;
        grid-row: 2 / 2;
    }
    .tf-area-wrap.masonry .count-listing {
        padding: 10px 15px 10px 15px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 767px) {
    .tf-area-wrap .wrap-area-post.column-4 .item,
     .tf-area-wrap .wrap-area-post.column-3 .item,
      .tf-area-wrap .wrap-area-post.column-2 .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tf-area-wrap.masonry .wrap-area-post {
        grid-template-columns: 1fr 1fr;
    }

    .tf-area-wrap.masonry .count-listing,
    .tf-area-wrap.style1 .count-listing {
        padding: 10px 10px 10px 10px;
    }

    .tf-area-wrap.style1 .featured-post .name {
        margin-bottom: 20px;
    }

    .tf-area-wrap.masonry .count-listing i,
    .tf-area-wrap.style1 .count-listing i {
        font-size: 10px;
        margin-left: 2px;
    }

    .tf-area-wrap.style1 .featured-post .content {
        align-items: baseline;
        flex-direction: column;
    }

    .tf-area-wrap.style1 .count-listing {
        font-size: 14px;
    }
    

    .tf-area-wrap.masonry .content {
        left: 15px;
        right: 15px;
        bottom: 20px;
        flex-wrap: wrap;
    }

    .tf-area-wrap.masonry .wrap-area-post .item:nth-child(4) {
        grid-column: unset;
        grid-row: unset;
    }

    .tf-area-wrap.has-carousel .owl-carousel .owl-nav {
       display: none;
    }
}

/* End Responsive */