/* Blog shared styles — used by all article pages and blog index */

/* Article header */
.article-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem 1.5rem;
}
.article-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.article-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}
.article-meta {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

/* Article body */
.article-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}
.article-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.article-body h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.article-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.article-body em { color: var(--text-secondary); }
.article-body strong { color: #fff; font-weight: 600; }
.article-body ul {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}
.article-body ul li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-style: italic;
}
.article-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}
.article-body a:hover {
    border-bottom-color: var(--accent);
}

/* Tables */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 1.5rem;
    font-size: 0.9rem;
}
.article-body th {
    text-align: left;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
}
.article-body td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.5;
    vertical-align: top;
}
.article-body td:first-child {
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

/* Pull quote */
.pull-quote {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
}

/* Back link */
.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    padding: 2rem;
    transition: color 0.15s;
}
.back-link:hover { color: var(--text-primary); }

/* Blog index */
.blog-index {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}
.blog-index h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.blog-index-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.blog-entry {
    display: block;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s;
}
.blog-entry:hover {
    border-color: var(--border-hover);
}
.blog-entry-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.blog-entry-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.blog-entry-meta {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .article-header { padding: 3.5rem 1.5rem 1.25rem; }
    .article-header h1 { font-size: 1.85rem; }
    .article-body { padding: 1.5rem 1.5rem 3rem; }
    .pull-quote { font-size: 1.1rem; }
    .blog-index { padding: 3.5rem 1.5rem 3rem; }
    .blog-index h1 { font-size: 1.6rem; }
}
