/* ================================================================
   BLOG — shared styles for listing page and individual posts
   ================================================================ */

/* ── Listing page ──────────────────────────────────────────────── */
.blog-hero {
  padding: 6rem 0 4rem;
  background: #F7F8FC;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.blog-hero h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.blog-hero p  { color: var(--ink-2); max-width: 560px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  padding: 4rem 0 5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  font: 600 0.68rem/1 'Inter', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.85rem;
  background: rgba(17,24,39,0.05);
  border: 1px solid rgba(17,24,39,0.15);
  color: var(--ink-2);
}
.blog-card-title {
  font: 700 1.05rem/1.4 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  margin-bottom: 0.75rem;
  flex: 1;
}
.blog-card-excerpt {
  font: 400 0.875rem/1.7 'Inter', sans-serif;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.78rem/1 'Inter', sans-serif;
  color: var(--ink-2);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}
.blog-card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Individual post ───────────────────────────────────────────── */
.post-hero {
  padding: 5rem 0 3rem;
  background: #F7F8FC;
  border-bottom: 1px solid var(--border);
}
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.78rem/1 'Inter', sans-serif;
  color: var(--ink-3);
  margin-bottom: 1.5rem;
}
.post-breadcrumb a { color: var(--ink-3); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--ink); }
.post-breadcrumb-sep { opacity: 0.4; }
.post-tag {
  display: inline-block;
  font: 600 0.68rem/1 'Inter', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  background: rgba(17,24,39,0.05);
  border: 1px solid rgba(17,24,39,0.15);
  color: var(--ink-2);
}
.post-title {
  font: 800 clamp(1.8rem,4vw,3rem)/1.15 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 1.25rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 500 0.8rem/1 'Inter', sans-serif;
  color: var(--ink-3);
}
.post-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.post-cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin: 2.5rem auto 0;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1rem 5rem;
}
.post-body h2 {
  font: 700 1.4rem/1.25 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  margin: 2.75rem 0 0.85rem;
}
.post-body h3 {
  font: 600 1.1rem/1.3 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  margin: 2rem 0 0.65rem;
}
.post-body p {
  font: 400 1rem/1.85 'Inter', sans-serif;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.post-body strong { color: var(--ink); font-weight: 700; }
.post-body ul { margin: 0 0 1.25rem 0; padding: 0; list-style: none; }
.post-body ul li {
  font: 400 0.97rem/1.75 'Inter', sans-serif;
  color: var(--ink-2);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.post-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--ink-3); }
.post-pullquote {
  border-left: 3px solid var(--ink);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-2);
  border-radius: 0 10px 10px 0;
}
.post-pullquote p {
  font: 600 1.05rem/1.6 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  margin: 0;
}
.post-callout {
  background: #F7F8FC;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.post-callout-label {
  font: 700 0.7rem/1 'Inter', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.post-callout p { margin: 0; font-size: 0.92rem; }
.post-stat-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.post-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.post-stat-n {
  font: 800 1.8rem/1 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}
.post-stat-l {
  font: 500 0.75rem/1.3 'Inter', sans-serif;
  color: var(--ink-3);
}
@media (max-width: 560px) { .post-stat-row { grid-template-columns: 1fr; } .post-cover { height: 220px; } }

/* ── CTA between posts ─────────────────────────────────────────── */
.post-cta {
  background: var(--ink);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0 0;
}
.post-cta h3 { font: 700 1.3rem/1.2 'Plus Jakarta Sans',sans-serif; color: #fff; margin-bottom: 0.6rem; }
.post-cta p  { font: 400 0.9rem/1.6 'Inter',sans-serif; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
