/* ---------- 文章排版 ---------- */
.post-head { margin-bottom: 28px; }
.post-head h1 { font-size: 28px; margin-bottom: 10px; }
.post-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.post-meta span::before { content: "·"; margin-right: 14px; color: var(--line); }
.post-meta span:first-child::before { content: none; margin: 0; }

article.body { font-size: 15.5px; }
article.body p { margin: 0 0 16px; }
article.body h2 {
  font-size: 20px;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
article.body h3 { font-size: 16px; margin: 24px 0 10px; }
article.body ul, article.body ol { margin: 0 0 16px; padding-left: 22px; }
article.body li { margin-bottom: 6px; }
article.body code {
  font-family: var(--mono);
  font-size: 13px;
  background: #f2f4f7;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
article.body pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
}
article.body pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
article.body blockquote {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  color: #1e3a8a;
}
article.body blockquote p:last-child { margin-bottom: 0; }

.post-list { margin-top: 26px; }
.post-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.post-item:first-child { border-top: 1px solid var(--line); }
.post-item:hover { text-decoration: none; background: #fafbfc; }
.post-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--accent); }
.post-item p { color: var(--muted); font-size: 14px; margin: 0; }
.post-item time { color: var(--muted); font-size: 12px; display: block; margin-top: 6px; }

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
