/* Style for the entire blog post container */
.blog-post {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Style for the blog post image */
.blog-post-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    object-fit: cover;
    width: 100%; /* Make sure the image covers the entire container */
    height: auto; /* Maintain aspect ratio */
}

/* Style for the blog post title */
.blog-post-details h2 a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.blog-post-details h2 a:hover {
    color: #007bff;
}

/* Style for the short description */
.blog-post-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Style for the date */
.blog-post-details time {
    font-size: 14px;
    color: #999;
    margin-top: auto;
    margin-bottom: 10px;
    display: block;
} 

.blog-image {
    width: 100%; /* Responsive width */
    max-width: 300px; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center align */
}
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px;
    padding: 20px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .blog-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
    }
}

@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}

.blog-post {
    background-color: white; /* Or any color of your choice */
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensures the content fits within the borders */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

.blog-post img {
    width: 100%; /* Ensures the image covers the width of the card */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures the image covers the area without stretching */
}

.blog-post h3 {
    margin: 10px; /* Space around the title */
}

.blog-post p {
    margin: 10px;
    color: #555; /* Darker text color for readability */
}

html {
    scroll-behavior: smooth;
}
.pagination {
display: flex;
gap: .5rem;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin: 2rem 0 0;
}
.pagination a {
padding: .4rem .7rem;
border: 1px solid currentColor;
border-radius: .5rem;
text-decoration: none;
opacity: .85;
}
.pagination a:hover { opacity: 1; }
.pagination a.current {
font-weight: 700;
opacity: 1;
}
.pagination a.disabled {
pointer-events: none;
opacity: .45;
}
.pagination { display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin:2rem 0 0; }
.pagination a { padding:.4rem .7rem; border:1px solid currentColor; border-radius:.5rem; text-decoration:none; opacity:.85; }
.pagination a:hover { opacity:1; }
.pagination a.current { font-weight:700; opacity:1; }
.pagination a.disabled { pointer-events:none; opacity:.45; }