/* prose.css — article body styles + Prism code highlighting */

.prose { max-width: none; }
.prose h2 { color: var(--text-primary); font-weight: 600; margin-top: 2em; margin-bottom: 0.75em; }
.prose h3 { color: var(--text-primary); font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; }
.prose p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25em; }
.prose a { color: #3b82f6; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { color: var(--text-secondary); margin-bottom: 1.25em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose code { background: var(--border-color); padding: 0.2em 0.4em; font-size: 0.875em; border-radius: 0; }
.prose pre { background: var(--bg-tertiary); padding: 1rem; margin-bottom: 1.5em; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; border-left: 3px solid #f97316; }
.prose pre code { background: none; padding: 0; white-space: pre-wrap; }
.prose strong { color: var(--text-primary); }
.prose blockquote { border-left: 2px solid #f97316; padding-left: 1em; color: var(--text-secondary); font-style: italic; }
.prose hr { border-color: var(--border-color); margin: 2em 0; }

/* Prism.js overrides */
pre[class*="language-"],
code[class*="language-"] {
  background: var(--bg-tertiary) !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}
pre[class*="language-"] { border-left: 3px solid #f97316; border-radius: 0; }

.theme-day pre[class*="language-"],
.theme-day code[class*="language-"] { background: #f8fafc !important; }
.theme-day .token.comment { color: #6b7280; }
.theme-day .token.string { color: #059669; }
.theme-day .token.keyword { color: #7c3aed; }
.theme-day .token.function { color: #2563eb; }
.theme-day .token.number { color: #dc2626; }
