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

.post-item {
    text-align: left !important;
    background-color: #f1f2f2;
    border-radius: 10px;
    padding: 15px;
    transition: box-shadow 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.post-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

.meta-icon-calendar {
    background-image: url('https://wmiserver.com/ea/wp-content/uploads/2024/09/calendar.png');
}

.meta-icon-admin {
    background-image: url('https://wmiserver.com/ea/wp-content/uploads/2024/09/Layer-560.png');
}

.meta-date, .meta-author {
    font-size: 14px;
    color: #555;
}

.meta-separator {
    margin: 0 5px;
}

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

.post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
a.post-button:visited{
	 color: #007CC2;
	 text-decoration: underline;

}
.post-button {
/*     background-color: #0b2d4e; */
    font-weight: 600;
    display: inline-block;
    padding: 8px 25px;
    /*border-radius: 50px;*/
    /*border: 3px solid #fff;
    box-shadow: 0px 2px 5px #bad8e5;*/
    color: #007CC2;
    text-decoration: underline;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.post-button:hover {
/*     background-color: #8AC44A;  */
    color: #000; 
/*     border-color: #8AC44A;  */
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.pagination .page-numbers {
    font-size: 17px;
    display: inline-block;
    margin: 0 5px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #0000002b;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

a.next.page-numbers {
    color: #fff;
    background-color: #0b2d4e;
}

a.next.page-numbers:hover {
    color: #fff;
    background-color: #24AF5A;
}

.pagination .page-numbers:hover {
    background-color: #0B2D4E;
    color:#fff;
}

.pagination .current {
    background-color: #24af5a;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pagination {
        margin-bottom: 30px;
    }
	.post-excerpt {
    text-align: justify; }
}

@media (max-width: 480px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    .pagination {
        margin-bottom: 30px;
    }
	.post-excerpt {
    text-align: justify; }
	
	
}

@media (max-width: 768px) {
    .post-grid {
        margin: 30px 10px;
        grid-template-columns: repeat(1, 1fr);
    }
    .pagination {
        margin-bottom: 30px;
    }
	
	.post-excerpt {
    text-align: justify; }
	
	.related-posts h3 
	{
		text-align:center;
	}
	.related-posts h4 {
  
 margin-top: 15px; !important}

}

/* related blog grid css */
	
	.related-posts {
  margin: 40px 0;
}

.related-posts h3 {
  font-size: 22px;
  margin-bottom: 20px;
	margin-top:10px;
}
.related-posts h4 {
  
    margin-top: 15px; !important
}
