/* GRID */

.blog-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

}



/* ITEM */

.archive-content .blog-grid .blog-item {

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    transition: 0.3s;

}



.archive-content .blog-item:hover {

    transform: translateY(-5px);

}



/* IMAGE */

.archive-content .blog-thumb img {

    width: 100%;

    height: 200px;

    object-fit: cover;

    display: block;

}



/* CONTENT */

.archive-content .blog-content {

    padding: 10px 0;

}



/* DATE */

.archive-content .blog-date {

    font-size: 13px;

    color: #888;

    display: block;

    margin-bottom: 5px;

}



/* TITLE */

.archive-content .blog-content .blog-title {

    font-size: 16px;

    margin: 0px 0px;

    text-align: left;

}



.archive-content .blog-title a {

    text-decoration: none;

    color: #222;

}



.archive-content .blog-title a {

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.archive-content .blog-title a:hover {

    color: #c9a96e;

}



/* EXCERPT */

.archive-content .blog-excerpt {

    font-size: 14px;

    color: #666;

    line-height: 1.5;

    margin: 5px 0px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



/* TAG */

.blog-tags {

    margin-top: 8px;

    display: flex;

    flex-wrap: wrap;

    gap: 2px;

}



.blog-tags a {

    font-size: 12px;

    color: #666;

    text-decoration: none;

    transition: 0.3s;

}



.blog-tags a:hover {

    color: #c9a96e;

}



.custom-pagination {

    margin-top: 30px;

    text-align: center;



}



.custom-pagination .page-numbers {

    display: inline-block;

    padding: 6px 15px;

    margin: 0 4px;

    border-radius: 6px;

    background: #f1f1f1;

    color: #333;

    text-decoration: none;

    transition: 0.3s;

}



/* hover */

.custom-pagination .page-numbers:hover {

    background: #ddd;

}



/* active */

.custom-pagination .page-numbers.current {

    background: #c9dff5;

    color: #000;

    font-weight: 600;

}



/* prev next */

.custom-pagination .prev,

.custom-pagination .next {

    font-weight: bold;

}



.single-title {

    margin-bottom: 0;

    margin-top: 10px;

}



.related-posts {

    margin-top: 20px;

}



.related-title {

    text-align: center;

}





@media (max-width: 1024px) {

    .blog-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 768px) {

    .archive-wrapper {

        grid-template-columns: 1fr;

    }





}



@media only screen and (max-width: 768px) {



    .post_excerpt {

        font-size: 11px;

    }



    .item_post h4 {

        font-size: 13px;

    }



    .post_date {

        font-size: 10px;

        margin-top: 0px;

    }



    .post_excerpt p {

        margin: 0;

    }



}



@media only screen and (max-width: 500px) {



    .post_excerpt {

        display: none;

    }



    .archive-content .blog-grid {

        grid-template-columns: 1fr;

    }



}