/* Main grid layout with three-by-three structure */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto; /* Two rows to accommodate six posts */
    gap: 20px;
}

/* Style for individual blog posts */
.blog-post {
    background: transparent; 
    box-shadow: none;
    padding: 10px; 
    transition: transform 0.2s;
}

/* Hover effect for blog posts */
.blog-post:hover {
    transform: scale(1.05);
}

/* Style for the square image at the top */
.blog-image-square {
    max-width: 100%;
	height: auto;
/*     aspect-ratio: 1.8 / 1; */
    object-fit: cover; /* Ensure the image fills the space */
    border-radius: 10px; /* Rounded corners */
}

/* Style for multiple blog categories with gray background */
.blog-categories {
    font-size: 14px !important;
    font-weight: 300 !important;
    background: #f7e0ff;
    padding: 2px 7px 2px 7px;
    border-radius: 5px; 
    margin: 10px 0;
    display: inline-block;
    color: #604f4f !important;
}

/* Style for the blog title */
.blog-post h3 {
    font-size: 1.25em;
    color: #333;
    font-weight: 500;
    margin: 10px 0; 
}

/* Style for the blog upload date with calendar icon */
.blog-date {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
    font-weight: 300;
}

/* Calendar icon styling */
.blog-date .fa-calendar {
    margin-right: 5px;
    font-size: 14px;
    font-weight: 300;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto; /* Adjust row height to match content */
    }
}
