/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

/* Container for blog content */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 20px; /* Space between cards */
    margin-top: 20px;
}

/* Individual Card Styling */
.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 1.25rem;
    color: black;
    margin-bottom: 10px;
}

.card-date {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 15px;
}

.card-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.card-link:hover {
    color: #0056b3;
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row for tablets */
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr; /* 1 card per row for mobile */
    }
}

