/* Blog Post Styling */

/* Typography */
h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--text);
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Article Container */
.article-container,
.blog-post,
.post-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text);
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}

/* Images */
.post-content img,
.article-container img:not(.navbar-logo) {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* Lists */
ul, ol {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text);
}

li {
    margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
    border-left: 2px solid var(--accent);
    margin: 2rem 0;
    padding: 0.75rem 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Code blocks */
code {
    background: var(--divider);
    padding: 0.15rem 0.35rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

pre {
    background: var(--text);
    color: var(--bg);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    background: none;
    padding: 0;
    color: var(--bg);
}

/* Footer link */
footer {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

footer a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .article-container,
    .blog-post,
    .post-content {
        padding: 2rem 1rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.2rem; }
    p { font-size: 1rem; }
}
