/* Blog — index list + article prose. Built on the tokens in style.css.
   Matches the site's flat, hairline-ruled, no-card-chrome aesthetic. */

/* ---------- shared ---------- */
.blog-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.blog-hero .back-link { margin-bottom: 1.25rem; }
.blog-hero-lede {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-on-cream-soft);
  max-width: 60ch;
  margin: 0.75rem 0 0;
}
.blog-kicker {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin: 0 0 0.5rem;
}

/* ---------- index list ---------- */
.blog-list {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.blog-list ol { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.blog-item {
  padding: clamp(1.5rem, 4vw, 2.25rem) 0;
  border-top: 1px solid rgba(28, 20, 14, 0.14);
}
.blog-item:last-child { border-bottom: 1px solid rgba(28, 20, 14, 0.14); }
.blog-item-tag {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-cream-soft);
}
.blog-item h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.05;
  margin: 0.5rem 0 0.6rem;
}
.blog-item h2 a { color: var(--text-on-cream); text-decoration: none; }
.blog-item h2 a:hover { color: var(--red); }
.blog-item p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-cream);
  max-width: 62ch;
  margin: 0 0 0.75rem;
}
.blog-item-more {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
}
.blog-item-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- article ---------- */
.post {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 6rem);
}
.post-inner { max-width: 40rem; margin: 0 auto; }
.post-inner .back-link { margin-bottom: 1.5rem; }
.post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
  margin: 0.5rem 0 0.75rem;
}
.post-meta {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-on-cream-soft);
  letter-spacing: 0.02em;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(28, 20, 14, 0.14);
}
.post-body { font-family: var(--serif); color: var(--text-on-cream); }
.post-body > p {
  font-size: 1.08rem;
  line-height: 1.78;
  margin: 0 0 1.35rem;
}
.post-body > p:first-of-type { font-size: 1.18rem; line-height: 1.7; }
.post-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.1;
  margin: clamp(2.25rem, 5vw, 3rem) 0 1rem;
}
.post-body h3 {
  font-family: var(--label);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 1.75rem 0 0.6rem;
}
.post-body ul, .post-body ol {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.35rem;
  padding-left: 1.4rem;
}
.post-body li { margin-bottom: 0.5rem; }
.post-body li::marker { color: var(--red); }
.post-body a {
  color: var(--text-on-cream);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.post-body strong { font-family: var(--label); font-weight: 700; }
.post-body blockquote {
  margin: 1.75rem 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--red);
  font-style: italic;
  color: var(--text-on-cream-soft);
}
.post-body figure { margin: 1.75rem 0; }
.post-body figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.post-body figcaption {
  font-family: var(--label);
  font-size: 0.8rem;
  color: var(--text-on-cream-soft);
  margin-top: 0.5rem;
}

/* end-of-post CTA */
.post-cta {
  max-width: 40rem;
  margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--paper);
  border: 1px solid rgba(28, 20, 14, 0.14);
  border-radius: var(--radius);
}
.post-cta p {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-on-cream);
  margin: 0 0 1rem;
}
.post-cta .cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 600px) {
  .post-cta .cta-buttons .btn { flex: 1 1 100%; text-align: center; }
}
