/* Post/about page — long-form prose layout, parchment palette */

.post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 28px 96px;
}

.post-nav {
  margin-bottom: 48px;
}

.post-back {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.post-back:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-faint);
}

.post {
  font-family: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
}

.post-body {
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.12rem;
}

.post-body h1 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 2.6rem;
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--ink);
}

.post-body h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: -0.2px;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--ink);
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.post-body h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}

.post-body p {
  margin-bottom: 16px;
}

.post-body p + p { margin-top: 0; }

.post-body strong {
  font-weight: 600;
}

.post-body em {
  font-style: italic;
}

.post-body ul,
.post-body ol {
  margin: 14px 0 18px 0;
  padding-left: 22px;
  line-height: 1.6;
}

.post-body li {
  margin-bottom: 6px;
}

.post-body li strong {
  color: var(--ink);
}

.post-body a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  padding-bottom: 1px;
  transition: border-color 0.15s;
}

.post-body a:hover {
  border-bottom-color: var(--ink);
}

.post-body code {
  font-family: 'Space Mono', monospace;
  font-size: 0.88em;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  padding: 1px 6px;
  border-radius: 2px;
}

.post-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

/* First paragraph under H1 gets slightly larger treatment */
.post-body > h1 + p {
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .post-container { padding: 32px 20px 72px; }
  .post-body { font-size: 1.02rem; }
  .post-body h1 { font-size: 2rem; }
  .post-body h2 { font-size: 1.4rem; margin-top: 36px; }
}
