/* --- public/blog/blog.css --- */

.blog-container {
    max-width: 800px;
}

.blog-container h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: none;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* Post Listing styles */
.post-list {
    margin-top: 3rem;
}

.post-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.post-item:last-child {
    border-bottom: none;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-item h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.post-item h2 a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.post-item h2 a:hover {
    color: var(--primary-color);
}

.post-excerpt p {
    color: var(--text-muted);
    line-height: 1.7;
}

.post-item footer {
    margin-top: 1.5rem;
}

/* Single Blog Post styles */
.blog-post header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

.blog-post .post-meta {
    margin-bottom: 1rem;
}

.blog-post {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.blog-post a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-post a:hover {
    text-decoration: underline;
}