/* Blog layout — loaded after styles.css */

.blog-page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.blog-header {
    border-bottom: 1px solid rgba(50, 55, 70, 0.35);
    padding: 20px 40px;
}

.blog-header-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.blog-brand:hover .blog-brand-logo {
    opacity: 0.92;
}

.blog-brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

.blog-nav {
    display: flex;
    gap: 20px;
    font-size: 15px;
}

.blog-nav a {
    color: #7a9dc8;
    text-decoration: none;
}

.blog-nav a:hover {
    color: #8aadcc;
    text-decoration: underline;
}

.blog-main {
    flex: 1;
    padding: 48px 40px 80px;
}

.blog-container {
    max-width: 720px;
    margin: 0 auto;
}

.blog-page-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f5f5f5;
}

.blog-lede {
    font-size: 1.125rem;
    color: #a3a3a3;
    margin-bottom: 40px;
}

.blog-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-post-card-title {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.blog-post-card-title a {
    color: #f5f5f5;
    text-decoration: none;
}

.blog-post-card-title a:hover {
    color: #7a9dc8;
}

.blog-post-card-meta {
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 10px;
}

.blog-post-card-desc {
    color: #b3b3b3;
    line-height: 1.65;
}

.blog-empty {
    color: #b3b3b3;
    line-height: 1.7;
}

.blog-empty code {
    font-size: 0.9em;
    color: #e5e5e5;
}

.blog-article-header {
    margin-bottom: 32px;
}

.blog-article-title {
    font-size: 2rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 16px;
    line-height: 1.25;
}

.blog-article-meta {
    font-size: 15px;
    color: #8a8a8a;
    margin-bottom: 20px;
}

.blog-dek {
    font-size: 1.125rem;
    color: #c4c4c4;
    line-height: 1.6;
}

/* Article body — align with legal/policy readability */
.blog-body h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 40px 0 16px;
    color: #f5f5f5;
}

.blog-body h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 28px 0 12px;
    color: #e5e5e5;
}

.blog-body p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #b3b3b3;
}

.blog-body ul,
.blog-body ol {
    margin: 16px 0 16px 24px;
    line-height: 1.8;
    color: #b3b3b3;
}

.blog-body li {
    margin-bottom: 8px;
}

.blog-body a {
    color: #7a9dc8;
    text-decoration: underline;
}

.blog-body a:hover {
    color: #8aadcc;
}

.blog-body blockquote {
    margin: 24px 0;
    padding: 12px 20px;
    border-left: 3px solid #7a9dc8;
    background: rgba(122, 157, 200, 0.08);
    color: #c4c4c4;
}

.blog-body pre {
    margin: 20px 0;
    padding: 16px;
    overflow-x: auto;
    background: #1a1d26;
    border: 1px solid #404252;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.blog-body code {
    font-size: 0.9em;
    color: #e8e8e8;
}

.blog-body pre code {
    font-size: inherit;
}

.blog-footer {
    margin-top: auto;
}

@media (max-width: 768px) {
    .blog-header {
        padding: 16px 20px;
    }

    .blog-main {
        padding: 32px 20px 60px;
    }

    .blog-page-title,
    .blog-article-title {
        font-size: 1.65rem;
    }
}
