.blog h1 {
    font-size: 45px;
}

.archive-page {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.archive-post, .related-post-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-post:hover, .related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.archive-post .post-thumbnail img, .related-post-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content, .related-post-item-content {
    padding: 15px;
}

.post-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.post-title a {
    color: #555;
}

.post-title a:hover {
    color: #081045;
}

.post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}
.meta-item{
    display: flex;
    gap: 5px;
}
.post-meta img{
    max-width: 20px;
    height: 20px;
}
.post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #081045;
    font-weight: 500;
    text-decoration: none;
}

/* ===== Pagination ===== */
.pagination {
    text-align: center;
    margin-top: 100px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #081045;
    text-decoration: none;
    transition: 0.2s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #081045;
    color: #fff;
    border-color: #081045;
}

/* ===== No Posts Message ===== */
.no-posts {
    text-align: center;
    font-size: 18px;
    padding: 60px 0;
}

/*--------------------- Single post page -------------------*/

body.single.single-post .page-header{
    display: none;
}
.single-post-container{
    display: flex;
    gap: 30px;
}
.single-post-page {
    padding: 60px 0;
}
.single-post .sloganDIV_MOB{
    display: none;
}
.single-post .widget-area.sidebar-primary {
    float: none;
    padding-left: 0;
}

.quoteFormTITLE2 i{
    margin-right: 10px;
}
.single-post .post-heading{
    margin-bottom: 25px;
}
.single-post .post-thumbnail{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.single-post .post-thumbnail img {
    max-width: 400px;
    min-height: 200px;
    object-fit: cover;
}
.single-post-content{
    flex: 1;
}
.single-post-content .post-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.single-post .post-body {
    font-size: 16px;
    line-height: 1.8;
}

.related-posts {
    clear: both;
    margin-top: 50px;
}

.related-posts h2 {
    font-size: 24px;
    margin-bottom: 30px;
}
.single-post #right-sidebar-inner {
    display: block;
    position: sticky;
    top: 20px;
}
/*last posts home*/

.latest-blogs__wrapper, .latest-blog {
    display: flex;
    gap: 20px;
}
.latest-blog{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.latest-blog__image img {
    width: 220px;
    height: 100%;
    /*border-radius: 10px;*/
    object-fit: cover;
}

.latest-blog__content {
    flex: 1;
    padding: 15px;
}

.latest-blog__title {
    font-size: 18px;
    margin: 0 0 8px;
}

.latest-blog__excerpt {
    margin-bottom: 10px;
}

/*----------------- Media --------------------*/

@media (max-width: 1024px) {
    .post-title, .latest-blog__title  {
        font-size: 16px;
    }
    .single-post-content .post-title{
        font-size: 23px;
    }
}
@media (max-width: 991px) {
    .posts-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .single-post-container{
        flex-direction: column;
    }
    .single-post .post-thumbnail img {
        max-width: 300px;
    }
    .single-post #right-sidebar{
        width: 100%;
    }
    .latest-blog {
        flex-direction: column;
    }
    .latest-blog__image img {
        width: 100%;
        height: 200px;
    }
}
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .related-posts h2{
        font-size: 20px;
    }
}
@media (max-width: 576px) {
    .blog h1 {
        font-size: 30px;
    }
    .post-excerpt, .post-meta{
        font-size: 12px;
    }
    .single-post .post-thumbnail img {
        max-width: 100%;
    }
    .single-post .post-thumbnail {
        float: none;
        margin-right: 0;
    }
    .single-post .post-body {
        font-size: 14px;
    }
    .latest-blogs__wrapper{
        flex-direction: column;
    }
}