/* ── Post Header ── */
.post-header {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.post-back {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: inline-block;
}
.post-back:hover { color: var(--text-dim); }
.post-header h1 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 20px;
}
.post-header .subtitle {
  font-size: 14px;
  color: var(--text-muted);
}
.post-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.post-meta strong {
  color: var(--text-dim);
  font-weight: 600;
}

/* ── Post Content ── */
.post-content {
  padding-bottom: 80px;
}
.post-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px;
}
.post-content h2:first-child {
  margin-top: 0;
}
.post-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}
.post-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}
.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
}
.post-content li {
  margin-bottom: 8px;
}
.post-content strong {
  color: var(--text);
  font-weight: 600;
}
.post-content em {
  font-style: italic;
}
.post-content code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 3px;
}
.post-content pre {
  background: #0f0f17;
  border: 1px solid #2a2a36;
  border-radius: 6px;
  padding: 24px;
  overflow-x: auto;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #a0a0b0;
}
.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: inherit;
}
.post-content blockquote {
  border-left: 3px solid var(--border);
  padding-left: 20px;
  margin: 0 0 20px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Highlight.js override ── */
.hljs { background: #0f0f17 !important; border-radius: 6px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .post-header { padding: 48px 0 32px; }
}
