/* --- Blog Specific Styles --- */
.blog-header {
    text-align: center;
    padding: 3rem 0;
}
.blog-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d3557;
}
.blog-header p {
    font-size: 1.125rem;
    color: #495057;
    max-width: 600px;
    margin: 0.5rem auto 0 auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.post-card {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(29, 53, 87, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.1);
}
.post-card h4 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #1d3557;
}
.post-excerpt {
    color: #495057;
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.post-date {
    font-size: 0.875rem;
    color: #6c757d;
}

/* --- Single Post Page Styles --- */
.post-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.1);
}
.post-header h2 {
    font-size: 2.25rem;
    color: #1d3557;
    margin-bottom: 0.5rem;
}
.post-meta {
    color: #6c757d;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}
.post-content {
    color: #495057;
    line-height: 1.8;
}
.post-content h3 {
    font-size: 1.5rem;
    color: #1d3557;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .post-container { padding: 1.5rem; }
    .post-header h2 { font-size: 1.75rem; }
}