/*
 Theme: default
 Scope: public site (reader-facing)
 Note: Keep styles minimal and focused on post content to avoid fighting Tailwind.
*/

/* Post article content */
.post-content {
  line-height: 1.7;
  color: #111827; /* gray-900 */
  font-family: var(--font-sans);
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }

.post-content p { margin: 1em 0; }

.post-content ul,
.post-content ol {
  margin: 1em 0 1em 1.25em;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin: 0.25em 0; }

.post-content blockquote {
  margin: 1.25em 0;
  padding-left: 1em;
  border-left: 4px solid #e5e7eb; /* gray-200 */
  color: #4b5563; /* gray-600 */
}

.post-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #e5e7eb; /* gray-200 */
}

.post-content code {
  background: #f3f4f6; /* gray-100 */
  padding: 0.15em 0.35em;
  border-radius: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.95em;
}

.post-content pre {
  background: #111827; /* gray-900 */
  color: #e5e7eb; /* gray-200 */
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  line-height: 1.5;
}
.post-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.post-content img,
.post-content video,
.post-content audio {
  max-width: 100%;
  height: auto;
}

/* KaTeX already ships its own CSS. We just align baseline vertical rhythm. */
.post-content .katex-display { margin: 1.25em 0; }
