/* Blog-only styles. Uses the site's colours, with fallbacks. */
.blog-list { border-top: 1px solid var(--line, #cfc9bc); }
.blog-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px;
  padding: 34px 0; border-bottom: 1px solid var(--line, #cfc9bc); }
.blog-card-date { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted, #68645c); padding-top: 8px; }
.blog-card-title { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog-card-desc { margin: 0 0 14px; max-width: 700px; color: var(--muted, #68645c); }
.blog-card-more { font-weight: 700; font-size: 14px; color: inherit; border-bottom: 1px solid currentColor; }
.blog-empty { max-width: 640px; padding: 8px 0; color: var(--muted, #68645c); }
.blog-empty strong { color: var(--ink, #111); }

.post-meta { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted, #68645c); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }

.prose { max-width: 720px; font-size: 18px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.03em; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; margin: 1.5em 0; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent, #d88918); font-size: 1.08em; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line, #cfc9bc); white-space: nowrap; }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted, #68645c); }
.prose code { font-size: .9em; background: var(--paper-dark, #e9e4d9); padding: 2px 6px; }

.post-cta { max-width: 720px; margin-top: 56px; padding: 30px;
  background: var(--paper-dark, #e9e4d9); border-left: 4px solid var(--accent, #d88918); }
.post-cta p { margin: 10px 0 20px; }
.post-cta a:not(.button) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.post-back { margin-top: 28px; font-weight: 700; }
.post-back a { color: inherit; text-decoration: none; }

@media (max-width: 760px) {
  .blog-card { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .blog-card-date { padding-top: 0; }
  .prose { font-size: 17px; }
}

/* Post titles: the site's page-hero h1 is built for short titles, so scale it down for headlines */
.page-hero h1.post-title { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.04em; max-width: 900px; }
@media (max-width: 780px) { .page-hero h1.post-title { font-size: clamp(30px, 8.4vw, 40px); } }
