/* ─── Blog post styles (loaded after styles.css) ─────────── */
.post-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, #efe6d2 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 20%, #e8dcc4 0%, transparent 55%),
    var(--bg);
  padding: 64px 0 32px;
}
.post-hero .wrap { max-width: 760px; }
.post-crumb {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.post-crumb a { color: var(--terracotta); }
.post-crumb a:hover { text-decoration: underline; }
.post-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin: 0 0 20px;
  font-weight: 500;
}
.post-hero .italic { font-style: italic; color: var(--terracotta); font-weight: 300; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.post-meta .verified { color: var(--forest-deep); font-weight: 600; }
.post-meta .verified::before {
  content: "✓ ";
  color: var(--terracotta);
}

/* Article body */
.post-body {
  background: var(--bg);
  padding: 48px 0 80px;
}
.post-body .wrap { max-width: 760px; }
.post-body p {
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.post-body p strong { color: var(--forest-deep); font-weight: 600; }
.post-body h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--forest-deep);
  margin: 56px 0 18px;
  font-weight: 500;
}
.post-body h2 .italic { font-style: italic; color: var(--terracotta); font-weight: 300; }
.post-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.28;
  color: var(--forest-deep);
  margin: 40px 0 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.post-body h4 {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 12px;
  font-weight: 600;
}
.post-body ul, .post-body ol {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
  padding-left: 22px;
  margin: 0 0 22px;
}
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--terracotta); }
.post-body a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--forest-deep); }
.post-body blockquote {
  border-left: 3px solid var(--terracotta);
  padding: 6px 0 6px 20px;
  margin: 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--forest-deep);
  line-height: 1.55;
}

/* Inline CTA card */
.inline-cta {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inline-cta-eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
}
.inline-cta h4 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  color: var(--forest-deep);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}
.inline-cta p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.inline-cta .btn-primary { align-self: flex-start; margin-top: 4px; }

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--surface);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--forest-deep);
  border-bottom: 1.5px solid var(--line);
}
.compare-table tbody td { color: var(--ink-soft); line-height: 1.55; }
.compare-table tbody td strong { color: var(--forest-deep); }
.compare-table .yes { color: var(--forest-deep); font-weight: 600; }
.compare-table .yes::before { content: "✓ "; color: var(--terracotta); }
.compare-table .no { color: var(--muted); }
.compare-table .no::before { content: "✗ "; color: var(--muted); }

/* Key callout */
.callout {
  background: var(--forest-deep);
  color: var(--bg);
  padding: 26px 30px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.callout p { color: var(--bg); margin: 0; font-size: 17px; line-height: 1.65; }
.callout p strong { color: var(--bg); font-weight: 600; }

/* Inline highlight */
.highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(194,103,74,0.25) 60%);
  padding: 0 2px;
}

/* TOC */
.toc {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 40px;
}
.toc h5 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.toc ol { margin: 0; padding-left: 22px; font-size: 15px; }
.toc ol li { margin-bottom: 6px; }
.toc ol a { color: var(--forest-deep); text-decoration: none; }
.toc ol a:hover { color: var(--terracotta); text-decoration: underline; }

/* Related posts */
.related {
  background: var(--bg-warm);
  padding: 64px 0;
  border-top: 1px solid var(--line-soft);
}
.related .wrap { max-width: 1080px; }
.related h3 {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--forest-deep);
  margin: 0 0 28px;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: block;
  transition: transform .2s, box-shadow .2s;
  color: inherit;
  text-decoration: none;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.12);
}
.related-card .tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
}
.related-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--forest-deep);
  margin: 10px 0 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.related-card .arrow {
  margin-top: 14px;
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--forest-deep);
}

/* Blog index */
.blog-index {
  background: var(--bg);
  padding: 48px 0 96px;
}
.blog-index .wrap { max-width: 1080px; }
.blog-index .index-head {
  text-align: center;
  margin-bottom: 56px;
}
.blog-index .index-head h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--forest-deep);
  margin: 16px 0 14px;
  font-weight: 500;
}
.blog-index .index-head .italic { font-style: italic; color: var(--terracotta); font-weight: 300; }
.blog-index .index-head p {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-list-card {
  background: var(--cream-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.14);
}
.post-list-card .tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.post-list-card h2 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  color: var(--forest-deep);
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.post-list-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  flex: 1;
  line-height: 1.55;
}
.post-list-card .read {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest-deep);
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 2px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .related-grid, .post-list { grid-template-columns: 1fr; }
  .post-body p, .post-body ul, .post-body ol { font-size: 16.5px; }
  .post-body h2 { margin: 44px 0 14px; }
  .inline-cta { padding: 22px; }
  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
}
