/* Additions on top of the mockup's design system for the single-post
   template, which didn't exist in the mockup. Uses the same tokens
   (colors, radius, easing) as everything else. */

.post-body {
  max-width: 68ch;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bone-dim);
}

.post-body > * + * { margin-top: 1.3em; }
.post-body h2, .post-body h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--bone);
  line-height: 1.15;
  margin-top: 1.8em;
}
.post-body h2 { font-size: 1.6rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body a { color: var(--accent-hi); }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.2em;
  color: var(--bone);
  font-style: italic;
}
.post-body img { border-radius: var(--radius); }
.post-body ul, .post-body ol { padding-left: 1.4em; }

.post-hero-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}
.post-hero-image img { width: 100%; display: block; }

.post-nav {
  max-width: 68ch;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-nav a { max-width: 46%; }
.post-nav .next { margin-left: auto; text-align: right; }

.post-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 0;
  color: var(--muted);
}
