/* ============================================================
   Lastslate — blog & long-form post styles.
   Layered on top of site.css; reuses the same tokens, nav, and
   footer. The blog borrows the legal-page prose rhythm and the
   homepage's slugline section markers (the brand twist).
   ============================================================ */

.blog-wrap { max-width: 760px; }
.post-wrap { max-width: 720px; }

/* ---------------- Blog index ---------------- */
.blog-head { padding: 88px 0 8px; }
.blog-head h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04; letter-spacing: -0.025em;
  margin: 10px 0 14px; font-weight: 600; color: var(--text-primary);
}
.blog-head .blog-lede {
  font-size: 18px; color: var(--text-secondary);
  max-width: 580px; margin: 0;
}

.post-list { display: flex; flex-direction: column; padding: 16px 0 48px; }
.post-card {
  display: block; padding: 32px 0;
  border-top: 1px solid var(--border-soft);
}
.post-card:first-child { border-top: 0; }
.post-card h2 {
  font-size: 25px; font-weight: 600; letter-spacing: -0.015em;
  margin: 12px 0 10px; color: var(--text-primary);
  transition: color .15s;
}
.post-card:hover h2 { color: var(--accent); }
.post-card p {
  font-size: 15px; line-height: 1.6; color: var(--text-secondary);
  margin: 0 0 14px; max-width: 640px;
}
.post-card .post-cat {
  display: block;
  font-family: var(--font-script); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-pink);
  margin: 0 0 4px;
}
.post-card .post-meta {
  font-family: var(--font-script); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted);
}
.post-card .read-more {
  font-size: 14px; color: var(--accent);
  border-bottom: 1px solid transparent; transition: border-color .15s;
}
.post-card:hover .read-more { border-bottom-color: var(--accent); }

/* ---------------- Single post ---------------- */
.post-head { padding: 80px 0 30px; border-bottom: 1px solid var(--border-soft); }
.post-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06; letter-spacing: -0.025em;
  margin: 14px 0 16px; font-weight: 600; color: var(--text-primary);
  text-wrap: balance;
}
.post-byline {
  font-family: var(--font-script); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted);
}
.post-lede {
  font-size: 19px; line-height: 1.5; color: var(--text-secondary);
  margin: 16px 0 0; max-width: 600px; text-wrap: pretty;
}

.post-body { padding: 12px 0 8px; }
.post-body section { padding: 26px 0; }
.post-body h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  margin: 6px 0 14px; color: var(--text-primary); text-wrap: balance;
}
.post-body h3 {
  font-size: 16px; font-weight: 600; margin: 22px 0 6px; color: var(--text-primary);
}
.post-body p, .post-body li {
  font-size: 16px; line-height: 1.7; color: var(--text-secondary);
}
.post-body p { margin: 0 0 18px; }
.post-body ul { padding-left: 20px; margin: 0 0 18px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--text-primary); font-weight: 600; }
.post-body em { color: var(--text-primary); }
.post-body a {
  color: var(--text-primary); border-bottom: 1px solid var(--border);
  transition: border-color .15s;
}
.post-body a:hover { border-bottom-color: var(--text-primary); }
/* Buttons inside prose must not inherit the inline-link treatment. */
.post-body a.btn { border-bottom: 0; }
.post-body a.btn-primary,
.post-body a.btn-primary:hover { color: var(--bg-base); }
.post-body a.btn-secondary,
.post-body a.btn-ghost { color: var(--text-primary); }

/* Pull quote */
.post-body .post-quote {
  margin: 28px 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--accent-border);
  font-size: 21px; line-height: 1.42; letter-spacing: -0.01em;
  color: var(--text-primary); font-weight: 500;
  text-wrap: pretty;
}

/* Callout card */
.post-callout {
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  border-radius: 10px;
  padding: 20px 22px; margin: 24px 0;
  font-size: 15px; line-height: 1.62; color: var(--text-secondary);
}
.post-callout strong { color: var(--text-primary); }

/* End-of-post CTA */
.post-cta {
  margin: 16px 0 0;
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(255, 46, 139, 0.06), transparent 70%),
    var(--bg-surface);
  text-align: center;
}
.post-cta h3 {
  font-size: 23px; font-weight: 600; margin: 0 0 8px;
  letter-spacing: -0.01em; color: var(--text-primary);
}
.post-cta p { font-size: 15px; color: var(--text-secondary); margin: 0 0 20px; }
/* Index CTA is the last block before the footer — give it breathing room. */
.blog-wrap .post-cta { margin: 32px 0 80px; }

/* Post footer nav */
.post-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 36px 0 8px; margin-top: 8px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
}
.post-foot a { color: var(--text-secondary); transition: color .12s; border-bottom: 0; }
.post-foot a:hover { color: var(--text-primary); }

@media (max-width: 640px) {
  .post-head { padding: 56px 0 24px; }
  .blog-head { padding: 56px 0 4px; }
}
