body {
    background-color: #f9f9f9;
}
.blog-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    color: #fff;
    padding: 8rem 2rem;
    text-align: center;
}
.blog-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.blog-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}
.blog-section {
    padding: 5rem 2rem;
}
.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.card-image {
    height: 200px;
    background-color: #eee;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-content .category {
    color: #ED1D21;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.card-content .excerpt {
    color: #555;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}
.read-more-btn {
    color: #ED1D21;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.read-more-btn:hover {
    color: #333;
}
.post-meta {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 1rem;
    }
    .blog-header h1 {
        font-size: 2.8rem;
    }
    .blog-section {
        padding: 3rem 1rem;
    }
}
