/* 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,
.tf-area-wrap .button-listing i  {
    display: inline-block;
}

.tf-area-wrap .link-listing:hover i,
.tf-area-wrap .button-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;
    transition: clip-path 1s cubic-bezier(.12,.76,.36,1), opacity .3s, transform 1.5s cubic-bezier(.12,.76,.36,1);
}

.tf-area-wrap.style1 .featured-post {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.tf-area-wrap.style1 .featured-post .count-listing {
    font-size: 14px;
    font-weight: 600;
    line-height: 19.6px;
    margin-bottom: 2px;
    color: #161E2D;
    -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.style1 .featured-post .name {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin: 0;
}

.tf-area-wrap.style1 .area-post .button-listing {
    border: 1px solid #E4E4E4;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #161E2D;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    font-size: 20px;
}

.tf-area-wrap.style1 .area-post .button-listing:hover,
.tf-area-wrap.style1 .area-post:hover .button-listing {
    background: var(--theme-primary-color);
    color: #fff;
    border-color: var(--theme-primary-color);
}

.tf-area-wrap.style1 .featured-post .name a,
.tf-area-wrap.style1 .featured-post .link-listing {
    color: #161E2D;
}

.tf-area-wrap.style1 .featured-post .link-listing {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    display: flex;
    align-items: center;
    column-gap: 6px;
    margin-top: 0px;
}

.tf-area-wrap.style1 .featured-post .link-listing i {
    color: var(--theme-primary-color);
}

.tf-area-wrap.style1 .featured-post .content {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 10;
    padding: 16px 16px 15px 16px;
    border-radius: 12px;
    -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.style1 .featured-post .content {
    background: #fff;
}

.tf-area-wrap.style1 .featured-post:hover .name a,
.tf-area-wrap.style1 .featured-post:hover .link-listing {
    color: #161E2D;
}

.tf-area-wrap.style1 .featured-post:hover .name a:hover,
.tf-area-wrap.style1 .featured-post:hover .link-listing:hover {
    color: var(--theme-primary-color);
}

.tf-area-wrap.style1 .featured-post .image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(180deg, rgba(11, 33, 50, 0) 0%, rgba(11, 33, 50, 0.9) 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.style1 .featured-post:hover .image-wrap::after {
    height: 100%;
    opacity: 0.7;
    visibility: visible;
}

.tf-area-wrap.style1 .featured-post:hover img {
    transform: scale(1.05);
}

/* style 2 */

.tf-area-wrap.style2 .area-post {
    display: flex;
    overflow: hidden;
}

.tf-area-wrap.style2 .area-post .featured-post {
    width: 46%;
}

.tf-area-wrap.style2 .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.style2 .area-post:hover .featured-post img {
    transform: scale(1.05);
}

.tf-area-wrap.style2 .area-post .featured-post a {
    overflow: hidden;
    border-radius: 16px 0 0 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%;
    padding: 18px 20px 10px 24px;
    border-radius: 0px 16px 16px 0px;
    border: 1px solid #E4E4E4;
    border-left: none;
    -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: flex-start;
}

.tf-area-wrap.style2 .count-listing {
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    color: #5C6368;
    margin-bottom: 20.5px;
}

.tf-area-wrap.style2 .link-listing {
    display: flex;
    align-items: center;
    column-gap: 7px;
    color: #161E2D;
    font-size: 14px;
    font-weight: 600;
    line-height: 19.6px;
}

.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: 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.2px;
}

.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;
    visibility: hidden;
    background: rgba(11, 33, 50, 0.5);
    -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: 1;
    visibility: visible;
}

.tf-area-wrap.style2 .area-post:hover .content {
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.tf-area-wrap.style2 .area-post:hover .link-listing,
.tf-area-wrap.style2 .area-post:hover .link-listing i,
.tf-area-wrap.style2 .area-post:hover .name a,
.tf-area-wrap.style2 .area-post:hover .count-listing {
    color: #fff;
}

/* 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 .image-wrap {
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 15px;
}

.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 {
    max-height: 300px;
    min-height: 300px;
}

.tf-area-wrap.masonry .count-listing {
    color: #5C6368;    
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.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-bottom: 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.2px;
}

.tf-area-wrap.masonry .featured-post .image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background: rgba(11, 33, 50, 0.5);
    -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 .image-wrap::after {
    opacity: 1;
    visibility: visible;
}

.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: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.tf-area-wrap.masonry .wrap-area-post .item:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 2 / 2;
}

.tf-area-wrap.masonry .wrap-area-post .item:nth-child(6) {
    grid-column: 3 / 5;
    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;
    right: 0;
    top: 50%;
    width: 100%;
}

.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-next,
.tf-area-wrap.has-carousel .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #161E2D;
    background-color: #fff;
    font-size: 32px;
    text-align: center;
    padding: 0;
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.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 .owl-carousel .owl-nav .owl-prev:hover,
.tf-area-wrap .owl-carousel .owl-nav .owl-next:hover,
.tf-area-wrap .owl-carousel .owl-nav .owl-prev.disabled,
.tf-area-wrap .owl-carousel .owl-nav .owl-next.disabled {
    color: #fff;
    background-color: var(--theme-primary-color);
}

.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: -16%;
    display: flex;
    column-gap: 14px;
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    overflow: unset;
    background:#E4E4E4;
}

.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::after {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    width: 15px;
    padding: 0px;
    height: 15px;
    overflow: visible;
    border: 1px solid transparent;
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot.active::after {
    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;
    }
}

@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;
    }
}

/* End Responsive */