.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-color: #999;
}

.post-header {
    margin-bottom: 1rem;
}

.post-header h2 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.4;
    color: #222;
}

.post-description {
    margin: 1rem 0;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.post-date,
.post-views {
    display: inline-block;
}

.no-posts {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .blog-container h1 {
        font-size: 2rem;
    }

    .blog-posts {
        gap: 1.5rem;
    }

    .blog-post-card {
        max-width: 100%;
        min-height: auto;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
