.blog_grid_container {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    padding: 0 15px;
    max-width: 1285px;
    margin: 0 auto;
}

.blog_card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    border: 1px solid #13121217;
}

.blog_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog_thumbnail {
    width: 100%;
    padding: 20px;
    height: 250px;
}

.blog_thumbnail figure {
    width: 100%;
    height: 100%;
}

.blog_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.blog_content {
    padding: 15px;
}

.blog_title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    text-transform: capitalize;
}

.blog_title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog_title a:hover {
    color: var(--button-hover);
}

.blog_date {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px;
}

.blog_excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 15px;
}

.read_more {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--button-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read_more ion-icon {
    font-size: 20px;
}

.read_more:hover {
    color: var(--button-hover);
}






/* Pagination Container */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

/* Pagination Links */
.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.pagination .page-numbers:hover {
    background: var(--button-hover);
    color: #fff;
    transform: translateY(-3px);
}

/* Active Page */
.pagination .page-numbers.current {
    background: var(--button-color);
    color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}


.next.page-numbers {
    max-width: max-content;
    width: 100%;
    padding: 0 20px;
    background: none;
    box-shadow: none;
}

.prev.page-numbers {
    max-width: max-content;
    width: 100%;
    padding: 0 20px;
    background: none;
    box-shadow: none;
}


/* Single Post */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    gap: 10px;
    margin: 15px 0;
}



.related-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.related-details {
    flex: 1;
}

.related-title {
    font-size: 16px;
    margin: 0 0 5px;
}

.related-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.related-excerpt {
    font-size: 14px;
    color: #333;
}



.single-post-container {
    display: flex;
    width: 100%;
}


.post-sidebar-right {
    min-width: 400px;
    padding-left: 40px;
    border-left: 2px solid #13121212;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-thumbnail {
    height: 300px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
    border-radius: 10px;
}

.post-title {
    padding-bottom: 10px;
    font-size: 35px;
}

.post-meta {
    color: #666;
}


.post-navigation {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 50px;
}


.related-post-item {
    border: 1px solid #6666;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
}

.main_con main {
    gap: 40px;
}



.attachment-full.size-full.wp-post-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    backdrop-filter: blur(15px);

}

.nh_page_title h1 {
    color: #fff;
}


.no-related-posts {
    border: 1px solid #6666;
    border-radius: 0;
    padding: 10px;
    gap: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px 0px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}