/* ==========================================================================
   Words (blog) — the post date, the readable article body, and the "issue"
   index list on /words/.
   ========================================================================== */
.post-date {
  color: var(--color-muted);
  font-weight: 600;
  margin: 0 0 4px;
}

/* Article body — a readable, centred column of left-aligned prose. */
.post-body {
  max-width: 720px;
  margin: clamp(36px, 5vw, 60px) auto 0;
}

.post-body>p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--color-body);
  margin: 0 0 1.3em;
}

.post-body>p:first-child {
  margin-top: 0;
}

.post-body h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin: 1.7em 0 0.5em;
}

.post-body h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  margin: 1.5em 0 0.4em;
}

.post-body h4 {
  font-size: 1.2rem;
  margin: 1.3em 0 0.3em;
  color: var(--color-text);
}

.post-body img {
  border-radius: var(--radius-md);
  margin: 1.7em 0;
  box-shadow: var(--shadow-card);
}

.post-body a {
  color: var(--color-accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

.post-body ul,
.post-body ol {
  padding-left: 24px;
  color: var(--color-body);
  margin: 0 0 1.3em;
}

.post-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.post-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
  margin: 1.7em 0;
  color: var(--color-text);
  font-style: italic;
  font-size: 1.15rem;
}

.post-body iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius-md);
  margin: 1.7em 0;
  display: block;
}

/* Words index — an "issue" list: accent number badge + title + date. */
.post-list {
  list-style: none;
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 2px;
}

.post-list li {
  position: relative;
  padding: 16px 4px 16px 64px;
  border-bottom: 1px solid var(--color-border);
}

.post-list li:last-child {
  border-bottom: 0;
}

.post-list__num {
  position: absolute;
  left: 0;
  top: 15px;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.post-list a {
  display: block;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.post-list a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}