/* Article Styles */
:root {
    --bg: #1a1a1f;
    --bg-secondary: #232329;
    --bg-card: #2a2a32;
    --text: #f5f5f5;
    --text-secondary: #b8b8c0;
    --text-muted: #78788a;
    --accent: #6b8afd;
    --border: #35353f;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.blog-post {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.originally-published {
    font-size: 13px;
    color: var(--text-muted);
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text);
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content .toc {
    background: var(--bg-secondary);
    padding: 20px 20px 20px 44px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.article-content .toc li {
    margin-bottom: 8px;
}

.article-content .note {
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
    font-size: 15px;
    margin-bottom: 24px;
}

.article-content strong {
    font-weight: 600;
    color: var(--text);
}

.article-content a {
    color: var(--accent);
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.article-content blockquote {
    border-left: 3px solid var(--border);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-muted);
}

.back-link {
    display: inline-block;
    margin-top: 48px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: var(--text);
}

.footer-content-article {
    padding-left: 0;
}

/* Table styles for comparison articles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid var(--border);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text);
}

.comparison-table tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* Header for article pages */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

header .logo {
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: var(--text);
}

header a {
    font-size: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

header a:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post {
        padding: 40px 20px 80px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-meta {
        flex-direction: column;
        gap: 4px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }

    header {
        padding: 20px 24px;
    }
}
