/* ====================================================================
   Article pages
   Depends on: /css/mentranova.css (for tokens + nav + breadcrumb)
   Covers the shared patterns across 126+ hand-written articles:
   hero, body typography, stats-grid, danger-card, highlight-box,
   quote-box, faq-item, compare-table, related-card, cta-section.
   ==================================================================== */

/* ---- HERO ---- */
.hero {
  padding: 72px 24px 56px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.hero-badge {
  display: inline-block;
  background: var(--accent-tint);
  color: var(--accent-ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid var(--accent-soft);
}
.hero h1,
h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 880px;
  margin: 0 auto 24px;
  color: var(--ink);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-2);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  letter-spacing: 0.02em;
}

/* ---- BODY CONTENT ---- */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
}
.content h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 56px 0 20px;
  color: var(--ink);
}
.content h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  color: var(--ink);
}
.content p {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 22px;
  line-height: 1.75;
}
.content ul,
.content ol {
  margin: 0 0 22px 22px;
  color: var(--ink-2);
}
.content li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.7;
}
.content strong { color: var(--ink); font-weight: 600; }
.content em { color: var(--ink-2); }
.content a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.content a:hover { color: var(--accent); }

/* ---- STATS GRID ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--surface);
  padding: 28px 20px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  text-align: center;
}
.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent-ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ---- DANGER / INFO / WARNING CARDS ---- */
.danger-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--warm);
  border-radius: var(--radius-l);
  padding: 28px 30px;
  margin: 24px 0;
  transition: all .2s;
}
.danger-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.danger-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.danger-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--warm-tint);
  flex-shrink: 0;
}
.danger-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
}
.danger-card .source {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  font-style: normal;
}

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: var(--warm-tint);
  border-left: 3px solid var(--warm);
  padding: 22px 26px;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  margin: 32px 0;
}
.highlight-box p {
  color: var(--warm-ink);
  font-weight: 500;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
.highlight-box.blue {
  background: var(--accent-tint);
  border-left-color: var(--accent);
}
.highlight-box.blue p { color: var(--accent-ink); }

/* ---- QUOTE BOX ---- */
.quote-box {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-xl);
  padding: 44px;
  margin: 44px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-box::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 110px;
  color: rgba(255,255,255,0.08);
  font-family: Georgia, serif;
  line-height: 1;
}
.quote-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, color-mix(in oklch, var(--accent) 30%, transparent) 0, transparent 50%),
              radial-gradient(circle at 80% 70%, color-mix(in oklch, var(--warm) 20%, transparent) 0, transparent 50%);
  pointer-events: none;
}
.quote-box p {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.45;
  color: white;
  position: relative;
  letter-spacing: -0.015em;
}
.quote-author {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: color-mix(in oklch, white 60%, transparent);
  margin: 0;
  letter-spacing: 0.04em;
  position: relative;
}
@media (max-width: 600px) {
  .quote-box { padding: 32px 24px; }
  .quote-box p { font-size: 19px; }
}

/* ---- COMPARE TABLE ---- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--surface);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 14.5px;
}
.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 14.5px;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
}
.compare-table th:first-child {
  background: var(--bg-2);
  color: var(--ink-2);
  width: 38%;
}
.compare-table th:nth-child(2) {
  background: var(--warm-tint);
  color: var(--warm-ink);
}
.compare-table th:nth-child(3) {
  background: var(--accent-tint);
  color: var(--accent-ink);
}
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.compare-table td:first-child { font-weight: 600; color: var(--ink); }
.compare-table tr:last-child td { border-bottom: none; }

/* ---- FAQ ---- */
.faq-section { margin: 48px 0; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 24px 28px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  letter-spacing: -0.015em;
}
.faq-question::before {
  content: "?";
  background: var(--accent);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-answer {
  color: var(--ink-2);
  line-height: 1.65;
  padding-left: 36px;
  font-size: 15px;
  margin: 0;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 72px 24px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, color-mix(in oklch, var(--accent) 35%, transparent) 0, transparent 50%),
              radial-gradient(circle at 80% 70%, color-mix(in oklch, var(--warm) 20%, transparent) 0, transparent 50%);
  pointer-events: none;
}
.cta-section h2 {
  color: white;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  position: relative;
}
.cta-section p {
  color: color-mix(in oklch, white 70%, transparent);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  font-size: 17px;
  line-height: 1.6;
}
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all .15s;
  position: relative;
  margin: 0 8px 12px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-m);
}
.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border: 1px solid color-mix(in oklch, white 25%, transparent);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all .15s;
  position: relative;
  margin: 0 8px 12px;
  font-family: inherit;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: white;
  background: color-mix(in oklch, white 8%, transparent);
}
.cta-subtext {
  margin-top: 18px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: color-mix(in oklch, white 50%, transparent);
  position: relative;
  letter-spacing: 0.02em;
}

/* ---- RELATED ARTICLES ---- */
.related-articles { margin: 48px 0; }
.related-grid,
.related-section .rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.related-card,
.related-section .rel-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 22px 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all .15s;
  display: block;
}
.related-card:hover,
.related-section .rel-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.related-card h4,
.related-section .rel-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.related-card p,
.related-section .rel-card p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
.related-section {
  max-width: 820px;
  margin: 48px auto;
  padding: 0 24px;
}
.related-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ---- GENERIC CARD-LIKE PATTERNS (fallback styling for article-specific classes) ---- */
/* Many articles use one-off class names like .sign-card, .step-card, .tip-card, etc.
   We give them a reasonable baseline so they look coherent without us having to
   style every single variant individually. */
.tip-card, .step-card, .sign-card, .benefit-card, .solution-card, .action-card,
.technique-card, .script-card, .witness-card, .truth-card, .type-item,
.when-card, .who-item, .value-card, .signal-card, .treatment-item,
.compare-card, .severity-item, .risk-item, .symptom-card, .check-item,
.timeline-item, .result-box, .card-highlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px 24px;
  margin: 12px 0;
  transition: all .15s;
}
.tip-card:hover, .step-card:hover, .sign-card:hover, .benefit-card:hover,
.solution-card:hover, .action-card:hover, .technique-card:hover, .script-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}

/* Generic grid fallbacks */
.tips-grid, .step-grid, .signs-grid, .signals-grid, .signal-grid, .benefit-grid,
.solution-grid, .benefit-cards, .types-grid, .treatment-grid, .risk-grid,
.severity-grid, .symptom-grid, .checklist, .stats-section .stat-grid,
.step-list, .steps, .smart-grid, .score-grid, .test-grid, .when-section,
.coach-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

/* Generic "source" attribution under cards */
.source, .stat-source {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-top: 10px;
  font-style: normal;
}

/* Small tags/pills used in body content */
.tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: var(--radius-s);
  background: var(--bg-2);
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  border: 1px solid var(--line);
}
.tag.new, .tag.trending, .tag-best { background: var(--accent); color: white; border-color: var(--accent); }
.tag-now, .tag-burnout, .tag-depressie { background: var(--warm); color: white; border-color: var(--warm); }

/* Section wrapper commonly used */
.section, section.section {
  padding: 24px 0;
}

/* ====================================================================
   B2B industry pages (templates/b2b-industry.html → /voor-bedrijven/*)
   These selectors don't appear on any other page type, but live here so
   the B2B template only needs to link mentranova.css + articles.css
   (matching the rest of the redesigned site).
   ==================================================================== */

/* Social proof bar just below hero */
.social-proof {
  padding: 28px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.social-proof-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.proof-item { text-align: center; }
.proof-number {
  display: block;
  font-family: var(--ff-sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.proof-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Challenges (icon cards on surface) */
.challenge-section {
  padding: 72px 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.challenge-container { max-width: 1100px; margin: 0 auto; }
.challenge-title,
.roi-title,
.how-title,
.faq-title {
  font-family: var(--ff-sans);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 40px;
  color: var(--ink);
}
.challenge-subtitle {
  text-align: center;
  color: var(--ink-2);
  max-width: 640px;
  margin: -28px auto 40px;
  font-size: 17px;
  line-height: 1.55;
}
.challenge-grid,
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.challenge-card,
.roi-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.roi-card { background: var(--surface); }
.challenge-card:hover,
.roi-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.challenge-icon,
.roi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-m);
  font-size: 24px;
  margin-bottom: 14px;
}
.challenge-icon { background: var(--warm-tint); color: var(--warm-ink); }
.roi-icon       { background: var(--accent-tint); color: var(--accent-ink); }
.challenge-card h4,
.roi-card h4 {
  font-family: var(--ff-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.challenge-card p,
.roi-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* ROI section sits on the cream bg */
.roi-section { padding: 72px 24px; background: var(--bg); }
.roi-container { max-width: 1100px; margin: 0 auto; }

/* "How it works" — numbered steps */
.how-section {
  padding: 72px 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-container { max-width: 760px; margin: 0 auto; }
.how-title { margin-bottom: 16px; }
.how-intro {
  text-align: center;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 40px;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.how-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px 24px;
}
.step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 16px;
}
.step-content { flex: 1; min-width: 0; }
.step-content h4 {
  font-family: var(--ff-sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.35;
}
.step-content p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* CTA box (used inside .cta-section on B2B pages) */
.cta-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-l);
}
.cta-box h3 {
  font-family: var(--ff-sans);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--surface);
}
.cta-box p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 24px;
}
.cta-email-btn {
  display: inline-block;
  background: var(--surface);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s, background .15s;
}
.cta-email-btn:hover { background: var(--bg-2); transform: translateY(-1px); }
.cta-email-sub {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* FAQ wrapper used by B2B template */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-title { margin-bottom: 32px; }
.faq-answer-inner { padding: 0 4px 4px; }

/* Accordion-style FAQ — same look as the homepage. Scoped to .faq-list so it
   doesn't fight with the article-page .faq-item card styling above. Open the
   first item by default by adding `class="faq-item open"` in the template. */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 24px 0;
  margin: 0;
}
.faq-list .faq-item:last-child { border-bottom: none; }
.faq-list .faq-item:hover { border-color: var(--line); }
.faq-list .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  gap: 16px;
  margin: 0;
}
/* Override the article-style ".faq-question::before" question-mark badge */
.faq-list .faq-q::before { content: none; }
.faq-list .faq-q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.faq-list .faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.faq-list .faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  transition: max-height .3s ease, padding .2s;
}
.faq-list .faq-item.open .faq-a {
  max-height: 600px;
  padding-top: 14px;
}
