.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 433px); /* Set each column to 433px width */
    gap: 19px; /* Space between items */
}
.post-meta span {
	font-size: 14px;
	font-weight: 400;
	text-transform: capitalize;
}

.custom-blog-grid .et_pb_post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-blog-grid .et_pb_post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.custom-blog-grid .et_pb_post img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.custom-blog-grid .post-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-blog-grid .post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}

.custom-blog-grid .post-meta .read-time {
    color: #747474;
}

.custom-blog-grid .post-meta .post-date {
    color: #747474;
}

.custom-blog-grid .post-title {
	font-size: 21px;
	font-weight: 400;
	margin: 0 0 10px;
	line-height: 1.4;
	color: #3A3E47;
	text-transform: capitalize;
	font-family: 'Roboto';
}

.custom-blog-grid .post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
/* Pagination container */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.custom-pagination a,
.custom-pagination span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    color: #a38744;
    margin: 0 5px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
  border-left: 0;
}

/* Current page */
.custom-pagination .current {
    background-color: #a38744;
    color: #fff !important;
}

/* Hover effect for pagination links */
.custom-pagination a:hover {
    background-color: #a38744;
    color: #fff !important;
}

/* Prev/Next Arrow */
.custom-pagination a.prev,
.custom-pagination a.next {
    font-size: 18px;
}
.custom-blog-grid .et_pb_post:last-child {
	border-bottom: none !important;
}

