/* Blog Styles */
.blog-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
}

.blog-intro h1 {
    color: var(--primary-color, #00ff41);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.blog-intro p {
    color: var(--text-secondary, #cccccc);
    font-size: 1.1rem;
}

.blog-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted, #888888);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-card {
    background: var(--background-medium, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    border-color: var(--primary-color, #00ff41);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
}

.blog-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.blog-card h2 a {
    color: var(--primary-color, #00ff41);
    text-decoration: none;
}

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

.blog-card .blog-meta {
    font-size: 0.9rem;
    color: var(--text-muted, #888);
    margin-bottom: 0.75rem;
}

.blog-card .blog-excerpt {
    color: var(--text-secondary, #ccc);
    font-size: 0.95rem;
    line-height: 1.5;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted, #888);
}

/* Blog post (single) - used when server renders */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-article h1 {
    color: var(--primary-color, #00ff41);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.blog-article .blog-date {
    color: var(--text-muted, #888);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-article .blog-content {
    line-height: 1.7;
}

.blog-article .blog-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary, #fff);
}

.blog-article .blog-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary, #fff);
}

.blog-article .blog-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary, #ccc);
}

.blog-article .blog-content ul,
.blog-article .blog-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary, #ccc);
}

.blog-article .blog-content a {
    color: var(--primary-color, #00ff41);
}

.blog-article .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color, #00ff41);
    text-decoration: none;
}

.blog-article .back-link:hover {
    text-decoration: underline;
}
