[data-theme="academic"] {
    --bg: #fafaf8;
    --bg-secondary: #f2f1ed;
    --bg-tertiary: #e8e6df;
    --text: #1b1b1b;
    --text-secondary: #555;
    --text-muted: #999;
    --border: #cccbc6;
    --border-light: #dddcd7;
    --accent: #2e6da2;
    --accent-hover: #1d4f7a;
    --accent-light: #e5eff7;

    --font-sans: "IBM Plex Serif", "Source Serif 4", "Cormorant Garamond", Georgia, serif;
    --font-serif: "IBM Plex Serif", "Source Serif 4", "Cormorant Garamond", Georgia, serif;
    --font-mono: "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;
    --font-heading: "IBM Plex Serif", "Source Serif 4", "Cormorant Garamond", Georgia, serif;
    --font-body: "IBM Plex Serif", "Source Serif 4", "Cormorant Garamond", Georgia, serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.04);
}

[data-theme="academic"] .article-content {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    column-count: 2;
    column-gap: 2.5rem;
    column-rule: 1px solid var(--border-light);
}

[data-theme="academic"] .editor-preview {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
}

[data-theme="academic"] .article-content h2,
[data-theme="academic"] .article-content h3 {
    column-span: all;
}

[data-theme="academic"] .article-content h1,
[data-theme="academic"] .article-content h2,
[data-theme="academic"] .article-content h3,
[data-theme="academic"] .article-header h1,
[data-theme="academic"] .editor-preview h1,
[data-theme="academic"] .editor-preview h2,
[data-theme="academic"] .editor-preview h3,
[data-theme="academic"] .list-page h1,
[data-theme="academic"] .feed-top-bar h2,
[data-theme="academic"] .article-slice-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.005em;
    color: #111;
}

[data-theme="academic"] .article-content h1 {
    font-size: 2rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--border);
}

[data-theme="academic"] .article-content h2 {
    font-size: 1.35rem;
    text-decoration: overline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1px;
    padding-top: 0.4em;
}

[data-theme="academic"] .article-content h3 {
    font-size: 1.1rem;
    font-style: italic;
}

[data-theme="academic"] .article-content p {
    margin-bottom: 0.8em;
    text-align: justify;
    hyphens: auto;
}

[data-theme="academic"] a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid #bcd;
    text-underline-offset: 0.12em;
}

[data-theme="academic"] a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent);
}

[data-theme="academic"] .article-content ul {
    list-style: none;
    padding-left: 1.2rem;
}

[data-theme="academic"] .article-content ul li {
    position: relative;
    margin-bottom: 0.3rem;
}

[data-theme="academic"] .article-content ul li::before {
    content: "▪";
    position: absolute;
    left: -1rem;
    color: var(--accent);
    font-size: 0.7rem;
}

[data-theme="academic"] .article-content ol li::marker {
    color: var(--accent);
    font-weight: 600;
}

[data-theme="academic"] blockquote {
    margin: 1.2rem 0;
    padding: 0.5rem 1rem;
    border-left: 2px solid var(--accent);
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--bg-secondary);
}

[data-theme="academic"] code,
[data-theme="academic"] pre {
    font-family: var(--font-mono);
    background: #f2f1ed;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-size: 0.85em;
}

[data-theme="academic"] code {
    padding: 0.08rem 0.25rem;
    color: #7a3e2a;
}

[data-theme="academic"] pre {
    padding: 0.8rem;
    overflow-x: auto;
}

[data-theme="academic"] table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    font-size: 0.88rem;
}

[data-theme="academic"] th {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.72rem;
    border-bottom: 2px solid var(--text);
    background: transparent;
}

[data-theme="academic"] th,
[data-theme="academic"] td {
    border: 1px solid var(--border);
    padding: 0.55rem 0.75rem;
}

[data-theme="academic"] hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

[data-theme="academic"] ::selection {
    background: #d4e3f0;
    color: #1b1b1b;
}
