/* ═══════════════════════════════════════════════════════
   A2 DIGITAL — INSIGHTS ARTICLE STYLES
   Extends css/style.css. Loads after it. Article typography,
   tables, key-answer callout, index cards. Uses the existing
   token set only — no new colors or fonts.
   ═══════════════════════════════════════════════════════ */

/* ── Article shell ── */
.article-hero { padding: 130px 0 48px; background: var(--ink); color: var(--cream); }
.article-hero h1 { color: var(--cream); max-width: 780px; margin-bottom: 18px; }
.article-hero .article-meta {
  font-size: 0.8125rem; color: rgba(247,245,242,0.5);
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500;
}
.article-hero .article-meta span + span::before { content: '\00b7'; margin: 0 10px; }

article.insight { max-width: var(--narrow); margin: 0 auto; padding: 56px var(--gutter) 24px; }
article.insight p { max-width: 100%; font-size: 1rem; line-height: 1.9; margin-bottom: 22px; color: var(--text); }
article.insight h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: 52px 0 18px; letter-spacing: -0.01em;
}
article.insight h3 { margin: 36px 0 14px; }
article.insight a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); transition: border-color 0.25s; }
article.insight a:hover { border-bottom-color: var(--accent); }
article.insight ul, article.insight ol { margin: 0 0 24px 0; }
article.insight ul li, article.insight ol li {
  position: relative; padding: 8px 0 8px 26px;
  font-size: 0.9375rem; line-height: 1.8; color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
article.insight ul li:last-child, article.insight ol li:last-child { border-bottom: none; }
article.insight ul li::before {
  content: ''; position: absolute; left: 4px; top: 18px;
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
article.insight ol { counter-reset: insight-ol; }
article.insight ol li { counter-increment: insight-ol; padding-left: 34px; }
article.insight ol li::before {
  content: counter(insight-ol) '.'; position: absolute; left: 2px; top: 8px;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--accent);
}

/* ── Key-answer callout (the extractable answer block) ── */
.key-answer {
  margin: 0 0 36px; padding: 26px 32px;
  border-left: 3px solid var(--accent); background: var(--accent-soft);
}
.key-answer p { font-size: 1.05rem; line-height: 1.85; margin: 0; color: var(--ink); }

/* ── Comparison tables ── */
.insight-table-wrap { overflow-x: auto; margin: 0 0 32px; }
table.insight-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border: 1px solid var(--border-light);
  font-size: 0.875rem; line-height: 1.65;
}
table.insight-table caption {
  caption-side: top; text-align: left; padding: 0 0 10px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); font-family: var(--font-body);
}
table.insight-table th {
  background: var(--ink); color: var(--cream);
  font-family: var(--font-body); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
}
table.insight-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border-light);
  color: var(--text); vertical-align: top;
}
table.insight-table tr:last-child td { border-bottom: none; }
table.insight-table td strong { color: var(--ink); }

/* ── Attribution line ── */
.article-attribution {
  font-size: 0.8125rem; color: var(--muted);
  padding: 14px 0 0; margin-bottom: 40px;
  border-top: 1px solid var(--border-light);
}

/* ── Further reading ── */
.further-reading { margin: 48px 0 8px; padding: 28px 32px; background: var(--white); border: 1px solid var(--border-light); }
.further-reading h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.further-reading a { display: block; padding: 6px 0; font-size: 0.9375rem; color: var(--ink); border-bottom: none; }
.further-reading a:hover { color: var(--accent); }

/* ── Index page cards ── */
.insight-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.insight-card {
  background: var(--white); border: 1px solid var(--border-light);
  padding: 32px 30px 28px; display: flex; flex-direction: column;
  transition: all 0.35s var(--ease);
}
.insight-card:hover { border-color: var(--border); box-shadow: 0 8px 40px rgba(20,33,61,0.06); transform: translateY(-2px); }
.insight-card .card-eyebrow {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.insight-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.insight-card h3 a { color: var(--ink); border-bottom: none; }
.insight-card h3 a:hover { color: var(--accent); }
.insight-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 20px; max-width: 100%; }
.insight-card .card-date { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 768px) {
  article.insight { padding: 40px var(--gutter) 16px; }
  .insight-cards { grid-template-columns: 1fr; }
  .key-answer { padding: 20px 22px; }
  table.insight-table { font-size: 0.8125rem; }
  table.insight-table th, table.insight-table td { padding: 10px 12px; }
}
