/*  custom post skin card  css */
 .elementor-post__badge {display: none !important;}

 .post-tags.elementor-post__badge {display:inline-block !important;}

 .post-tags.elementor-post__badge a{display:none;}

 .post-tags.elementor-post__badge a:first-child{display: inline-block;}
/*  custom post skin card  css end */


.hide_terms .post-tags.elementor-post__badge {
    display: none !important;
}

.d-none{display: none !important;}

.display-flex {
    display: flex; 
}
.display-grid {
    display: grid; 
}

.space-between{
    justify-content: space-between;
}
.center{
    justify-content: center;
}
.align-space-between{ 
    align-items: stretch;
}
.align-center {
    align-items: center;
}

.posts-grid {
    display: grid;
    grid-gap: 20px;
}

.post-item .post-image { 
    position: relative;
    height: 230px;
}

.post-item .post-image a {
    height: 100%;
}

.post-item .post-image img {
    height: 100%;
    object-fit: cover;
}



.post-item .post-image .date{
    position: absolute;
    bottom: 0px;
    border-radius: 10px 10px 0px 0px;
    
    text-align: center;
    left: 20px;
}

.post_not_found {
    padding: 100px 0;
}

.post_not_found p {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}


/*listing filter style*/

 .onner-cover{
    display: flex;
    align-items: flex-start;
}
.onner-cover .left-side {
    width: calc(100% - 262px);
    padding-right: 30px;
}
.onner-cover .right-side {
    width: 262px;
}
/*listing filter style end*/


/*pagination class */

.pagination{
    justify-content: center;
    display: flex;
    column-gap: 10px;
    margin-top: 60px;
}

/*pagination class end*/

@media (min-width: 1025px) { /* Desktop */
    .posts-grid[data-columns-desktop="1"] {
        grid-template-columns: 1fr;
    }
    .posts-grid[data-columns-desktop="2"] {
        grid-template-columns: repeat(2, 1fr);
    }
    .posts-grid[data-columns-desktop="3"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1024px) { /* Tablet */
    .posts-grid[data-columns-tablet="1"] {
        grid-template-columns: 1fr;
    }
    .posts-grid[data-columns-tablet="2"] {
        grid-template-columns: repeat(2, 1fr);
    }
    .posts-grid[data-columns-tablet="3"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .post_not_found {
        padding: 50px 0;
    }
    
    .post_not_found p {
        font-size: 18px;
        line-height: 24px; 
    }
}

@media (max-width: 767px) { /* Mobile */
    .posts-grid[data-columns-mobile="1"] {
        grid-template-columns: 1fr;
    }
    .posts-grid[data-columns-mobile="2"] {
        grid-template-columns: repeat(2, 1fr);
    }
    .posts-grid[data-columns-mobile="3"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .pagination {
        margin-top: 30px;
    }

    .post_not_found {
        padding: 50px 0;
    }
    
    .post_not_found p {
        font-size: 18px;
        line-height: 24px; 
    }
}
