/* ==========================================================
   Tekment – viden-artikel-CSS
   Supplement til styles.css med artikel-specifikke komponenter.
   Bruger samme design system (--navy, --green, --bg, --muted osv.)
   ========================================================== */

/* Breadcrumbs */
.crumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 14px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Hero på artikler – lidt mindre end dokumentations-hero */
.hero-article { padding: 48px 0 56px; }
.hero-article h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero-article p.lead {
  font-size: 18px;
  color: var(--text);
  max-width: 58ch;
  margin-bottom: 24px;
}
.hero-article .hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* Content wrapper */
.article-content-wrap { padding-top: 40px; padding-bottom: 40px; }
.article-content { max-width: 860px; margin: 0 auto; }
.article-content h2 {
  font-size: 28px;
  line-height: 1.25;
  color: var(--navy);
  margin: 36px 0 14px;
  font-weight: 800;
}
.article-content h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 24px 0 10px;
  font-weight: 700;
}
.article-content p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 22px;
}
.article-content li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

/* KPI-grid */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 36px;
}
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.kpi .big {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.kpi .unit {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.kpi .label {
  font-weight: 700;
  color: var(--navy);
  margin-top: 14px;
  border-top: 2px solid var(--navy);
  padding-top: 10px;
  font-size: 14px;
}
.kpi .sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* TL;DR-boks (AEO/AI-overview-optimering) */
.tldr-box {
  background: var(--bg);
  border-left: 4px solid var(--green);
  padding: 18px 24px;
  margin: 0 0 32px;
  border-radius: 0 8px 8px 0;
}
.tldr-box h2 {
  font-size: 14px !important;
  color: var(--green-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 10px !important;
  font-weight: 800;
}
.tldr-box ul {
  margin: 0 !important;
  padding-left: 20px;
}
.tldr-box li {
  color: var(--navy);
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin-bottom: 6px !important;
}
.tldr-box strong { color: var(--navy); font-weight: 800; }

/* Callout-boks */
.callout {
  background: rgba(125, 187, 75, 0.08);
  border-left: 6px solid var(--green);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.6;
}
.callout strong { color: var(--navy); }

/* Sources */
.sources {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 14px;
  color: var(--muted);
}
.sources h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}
.sources ul { margin-left: 20px; }
.sources li { margin-bottom: 6px; line-height: 1.5; }

/* Related section */
.related {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.related h2 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--bg);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.related-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.related-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.related-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.related-card a.more {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.related-card a.more:hover { color: var(--navy); text-decoration: underline; }

/* CTA band nederst på artikler */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 800;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 22px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
}
.cta-band .btn-primary,
.cta-band a.btn {
  background: var(--green);
  color: var(--navy);
  border: 2px solid var(--green);
}
.cta-band .btn-primary:hover,
.cta-band a.btn:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
