/* shared/blog-article.css — gedeelde styling voor alle blogartikelen
   ({categorie}/blog/{slug}/index.html). Was tot augustus 2026 in elk artikel
   los gekopieerd (100% identiek, ~270 regels per bestand, 45x gedupliceerd) —
   nu op één plek, zodat een ontwerpwijziging niet meer 45+ bestanden raakt. */

:root {
  --color-primary: #0954a3;
  --color-primary-light: #e8f0fe;
  --color-primary-dark: #073d7a;
  --color-accent: #10b981;
  --color-text: #1d1d1f;
  --color-text-secondary: #64748b;
  --color-bg: #f5f5f7;
  --color-white: #ffffff;
  --color-border: #e8eaed;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font-body: "Inter", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--color-text);
  margin: 0;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 32px);
}

/* ── Breadcrumb ── */
.breadcrumb { padding-top: 18px; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--color-text-secondary);
}
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li[aria-current] { color: var(--color-text); font-weight: 600; }

/* ── Article header ── */
.article-header { padding-top: 28px; padding-bottom: 24px; }
.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 14px;
}
.article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-primary);
}
.article-date {
  font-size: 12.5px;
  color: var(--color-text-secondary);
}
.article-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}
.article-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ── Meer over {categorie} (cross-links naar zusterartikelen, na de CTA) ── */
.article-related {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  margin-top: 8px;
  padding-bottom: 56px;
}
.article-related-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 18px;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.article-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-related-card-img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  margin-bottom: 10px;
}
.article-related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.article-related-card:hover .article-related-card-img img { transform: scale(1.04); }
.article-related-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--color-text);
}
.article-related-card:hover h4 { color: var(--color-primary); }

@media (max-width: 640px) {
  .article-related-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Hero image ── */
.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0 8px;
  background: var(--color-bg);
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Article body ── */
.article-body { padding-top: 8px; padding-bottom: 48px; }
.article-body h2 {
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0 0 18px;
}
.article-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 8px;
}
.article-body strong { color: var(--color-text); }

/* ── Summary box ── */
.summary-box {
  background: var(--color-primary-light);
  border: 1px solid rgba(9, 84, 163, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
}
.summary-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-box h3 svg { width: 18px; height: 18px; }
.summary-box ul { margin: 0; padding-left: 20px; }
.summary-box li { font-size: 15px; line-height: 1.6; color: var(--color-text); margin-bottom: 6px; }

/* ── CTA ── */
.article-cta {
  text-align: center;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  margin: 16px 0 56px;
}
.article-cta h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  margin: 0 0 10px;
}
.article-cta p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin: 0 0 22px;
}
.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(9, 84, 163, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.article-cta-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(9, 84, 163, 0.32);
}
.article-cta-btn svg { width: 18px; height: 18px; }

/* ── Top CTA card (compact, direct onder de intro) ── */
.article-top-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  margin: 24px 0;
}
.article-top-cta-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.article-top-cta-text svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.9;
}
.article-top-cta-text span {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.article-top-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-primary);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-top-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.article-top-cta-btn svg { width: 15px; height: 15px; }

@media (max-width: 560px) {
  .article-top-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .article-top-cta-text { justify-content: center; }
  .article-top-cta-btn { justify-content: center; }
}

/* ── Sticky CTA-balk (verschijnt bij scrollen, verdwijnt bij de echte CTA onderaan) ── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--color-primary);
  padding: 14px clamp(20px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-primary);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
}
.sticky-cta-btn svg { width: 15px; height: 15px; }

@media (min-width: 560px) {
  .sticky-cta span { display: inline; }
}
