/* ==========================================================================
   Duchenne — blog (index + articles), loads after ../../landing.css
   ========================================================================== */

/* ---- Article pages ---- */
.article-page { padding: clamp(120px, 16vh, 160px) 0 var(--space-section); }
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.article-breadcrumb {
  /* override landing.css element-level nav { position: fixed } */
  position: static;
  padding: 0;
  z-index: auto;
  font-size: var(--text-small);
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: var(--sp-6);
}
.article-breadcrumb a {
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 700;
}
.article-breadcrumb a:hover { text-decoration: underline; }
.article-eyebrow {
  display: inline-block;
  background: var(--bg-warm);
  border: 1px solid rgba(244, 81, 30, 0.14);
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.article-container h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-6);
}
.article-byline {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.article-byline img {
  width: 52px; height: 52px;
  object-fit: contain;
  background: var(--bg-warm);
  border: 1px solid rgba(244, 81, 30, 0.12);
  border-radius: 50%;
  padding: 6px;
}
.meta-text { display: flex; flex-direction: column; gap: 2px; }
.meta-text strong { font-weight: 800; }
.meta-text span { font-size: var(--text-small); color: var(--ink-soft); font-weight: 600; }

.tldr-box {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--bg-warm);
  border: 1px solid rgba(244, 81, 30, 0.14);
  border-radius: 18px;
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}
.tldr-box .fact-icon { flex-shrink: 0; }
.tldr-box .fact-icon img { width: 28px; height: 28px; }
.tldr-box p { margin: 0; color: var(--ink-soft); }
.tldr-box p strong { color: var(--ink); display: inline-block; margin-right: 6px; }

.article-body { line-height: 1.75; color: var(--ink-soft); }
.article-body p { margin-bottom: var(--sp-4); max-width: 70ch; }
.article-body strong { color: var(--ink); }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: var(--sp-12) 0 var(--sp-3);
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: var(--sp-8) 0 var(--sp-2);
}
.article-body ul, .article-body ol {
  margin: 0 0 var(--sp-4) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.article-body li::marker { color: var(--brand-deep); font-weight: 700; }
.article-body a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.article-body a:hover { color: #C73E14; }
.article-body a:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 2px; border-radius: 4px; }

.article-highlight {
  background: var(--bg-warm);
  border: 1px solid rgba(244, 81, 30, 0.14);
  border-radius: 18px;
  padding: var(--sp-6);
  margin: var(--sp-6) 0;
}
.article-highlight p { margin: 0; }

.article-cta-inline {
  background: linear-gradient(120deg, var(--brand-coral), var(--brand-deep));
  border-radius: var(--r-card);
  padding: var(--sp-8);
  margin: var(--sp-8) 0;
  color: #fff;
}
.article-cta-inline h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 var(--sp-2);
}
.article-cta-inline p { color: rgba(255, 248, 242, 0.92); margin-bottom: var(--sp-4); }
.article-cta-inline a {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  transition: transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart);
}
.article-cta-inline a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Article FAQ (static h3+p rows, not <details>) */
.faq-section { margin-top: var(--sp-16); }
.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--sp-6);
}
.faq-section .faq-item {
  background: var(--card);
  border: 1px solid rgba(244, 81, 30, 0.08);
  border-radius: 18px;
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-3);
}
.faq-section .faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.faq-section .faq-item p { color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* Related posts */
.related-posts { margin-top: var(--sp-16); }
.related-posts h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--sp-6);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-3);
}
.related-card {
  background: var(--card);
  border: 1px solid rgba(244, 81, 30, 0.08);
  border-radius: 18px;
  padding: var(--sp-4) var(--sp-6);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card h4 { font-size: 0.98rem; font-weight: 700; line-height: 1.35; margin-top: var(--sp-2); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* ---- Blog index ---- */
.blog-hero {
  padding: clamp(130px, 18vh, 180px) 0 var(--sp-8);
  text-align: center;
}
.blog-hero .eyebrow {
  display: inline-block;
  background: var(--card);
  border: 1px solid rgba(244, 81, 30, 0.14);
  color: var(--ink-soft);
  font-size: var(--text-small);
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-6);
}
.blog-hero h1 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}
.blog-hero .highlight { color: var(--brand-deep); }
.blog-hero p {
  color: var(--ink-soft);
  font-size: var(--text-lede);
  max-width: 58ch;
  margin: 0 auto;
}

.pillar-card {
  max-width: 1160px;
  margin: var(--sp-8) auto 0;
  padding: 0 clamp(20px, 4vw, 32px);
}
.pillar-card .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: var(--sp-8);
  align-items: center;
  background: linear-gradient(120deg, var(--brand-coral), var(--brand-deep));
  border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 56px);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.eyebrow-small {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 248, 242, 0.85);
  margin-bottom: var(--sp-3);
}
.pillar-card h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.pillar-card p { color: rgba(255, 248, 242, 0.92); max-width: 52ch; margin-bottom: var(--sp-6); }
.btn-pillar {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  transition: transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart);
}
.btn-pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pillar-card .inner img {
  width: 100%;
  max-width: 220px;
  justify-self: center;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.18));
}

.cluster-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.cluster-section { margin-top: var(--sp-16); }
.cluster-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.cluster-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--bg-warm);
  border: 1px solid rgba(244, 81, 30, 0.12);
  border-radius: 14px;
}
.cluster-icon img { width: 22px; height: 22px; }
.cluster-header h2 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--sp-4);
}
.blog-card {
  display: block;
  background: var(--card);
  border: 1px solid rgba(244, 81, 30, 0.08);
  border-radius: 20px;
  padding: var(--sp-6);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out-quart),
              box-shadow var(--dur-mid) var(--ease-out-quart);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .tag { margin-bottom: var(--sp-2); }
.new-badge {
  display: inline-block;
  background: var(--brand-gold);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-left: 6px;
  vertical-align: middle;
}
.blog-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: var(--sp-2);
}
.blog-title {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: var(--sp-2);
}
.blog-excerpt {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.blog-read-more {
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 0.9rem;
  transition: color var(--dur-fast);
}
.blog-card:hover .blog-read-more { color: #C73E14; }

/* Index CTA (reuses landing .cta-card gradient) */
.section-cta { padding: var(--space-section) 0; }
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  transition: transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #0d0b09; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .pillar-card .inner { grid-template-columns: 1fr; text-align: center; }
  .pillar-card .inner img { max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card:hover, .related-card:hover, .btn-pillar:hover, .btn-primary:hover, .article-cta-inline a:hover { transform: none; }
}
