/* ================================================================
   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; }

/* ============================================================
   LARGE SCREEN RESPONSIVE
   ============================================================ */

/* ---- 1440px ---- */
@media (min-width: 1440px) {
  .blog-hero { padding: 7rem 0 5rem; }
  .blog-hero p { max-width: 680px; font-size: 1.1rem; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding: 5rem 0 6rem; }
  .blog-card-img { height: 230px; }

  .post-title { max-width: 900px; }
  .post-body { max-width: 860px; padding: 4rem 1.5rem 6rem; }
  .post-body p { font-size: 1.02rem; line-height: 1.9; }
  .post-cover { height: 500px; }
}

/* ---- 1920px ---- */
@media (min-width: 1920px) {
  .blog-hero { padding: 9rem 0 6rem; }
  .blog-hero h1 { font-size: clamp(2.5rem, 3.5vw, 4rem); }
  .blog-hero p { max-width: 800px; font-size: 1.15rem; }
  .blog-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding: 6rem 0 7rem; }
  .blog-card-img { height: 220px; }
  .blog-card-title { font-size: 1.1rem; }

  .post-hero { padding: 7rem 0 4rem; }
  .post-title { max-width: 1100px; font-size: clamp(2.2rem, 3.5vw, 4rem); }
  .post-body { max-width: 980px; padding: 5rem 2rem 7rem; }
  .post-body h2 { font-size: 1.6rem; }
  .post-body h3 { font-size: 1.25rem; }
  .post-body p { font-size: 1.07rem; line-height: 1.95; }
  .post-cover { height: 580px; border-radius: 22px; }
  .post-stat-n { font-size: 2.2rem; }
}

/* ---- 2560px ---- */
@media (min-width: 2560px) {
  .blog-hero { padding: 11rem 0 7rem; }
  .blog-hero h1 { font-size: clamp(3rem, 3.5vw, 5rem); }
  .blog-hero p { max-width: 1000px; font-size: 1.25rem; }
  .blog-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding: 7rem 0 9rem; }
  .blog-card-img { height: 260px; }
  .blog-card-body { padding: 2rem; }
  .blog-card-title { font-size: 1.2rem; }
  .blog-card-excerpt { font-size: 0.95rem; }

  .post-title { max-width: 1400px; font-size: clamp(2.8rem, 3vw, 5rem); }
  .post-body { max-width: 1200px; padding: 6rem 2.5rem 9rem; }
  .post-body h2 { font-size: 1.9rem; }
  .post-body h3 { font-size: 1.45rem; }
  .post-body p { font-size: 1.15rem; }
  .post-cover { height: 700px; }
  .post-stat-n { font-size: 2.8rem; }
  .post-cta { padding: 3.5rem 2.5rem; }
  .post-cta h3 { font-size: 1.7rem; }
  .post-cta p { font-size: 1.1rem; }
}
