/* 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 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 {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.tf-area-wrap.style1 .featured-post .count-listing {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    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-area-wrap.style1 .featured-post .name {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin: 0;
}

.tf-area-wrap.style1 .featured-post .name a,
.tf-area-wrap.style1 .featured-post .link-listing {
    color: #fff;
}

.tf-area-wrap.style1 .featured-post .name a:hover,
.tf-area-wrap.style1 .featured-post .link-listing:hover {
    color: var(--theme-primary-color);
}

.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: 12px;
    left: 12px;
    right: 12px;
    z-index: 10;
    padding: 12px 16px 12px 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:hover .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:hover .count-listing {
    color: #A3ABB0;
}

.tf-area-wrap.style1 .featured-post .image-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 30%;
    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: 20%;
    opacity: 0;
    visibility: hidden;
}

.tf-area-wrap.style1 .featured-post:hover img {
    transform: scale(1.05);
}

/* style 2 */

.tf-area-wrap.style2 .area-post {
    display: flex;
    box-shadow: 0px 2px 2px 0px #1C24331A;
    background: #F7F7F7;
    border-radius: 8px;
    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;
}

.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: 10px 20px 10px 24px;
    -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;
}

.tf-area-wrap.style2 .count-listing {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #5C6368;    
    margin-bottom: 6px;
}

.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: 4px;
}

.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);
}

.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: 13px;
}

.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 {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0em;
    color: #5C6368;    
    margin-bottom: -2px;
}

.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: 8px;
}

.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: #fff;
    background-color: var(--theme-primary-color);
    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: #091D3E;
    background-color: #fff;
}

.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: -10%;
    display: flex;
    gap: 10px;
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot {
    width: 50px;
    height: 4px;
    line-height: 4px;
    background-color: var(--theme-primary-rgba);
    border-radius: 0px 0px 0px 0px;
}

.tf-area-wrap.has-carousel .owl-dots .owl-dot.active {
    background-color: 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 */