/* =====================================================================
   DOT — Content pages (services, glossary, insights)
   Loaded alongside legal.css (tokens, base, .legal-nav, .footer, .smark).
   Scoped to .content-page so it never leaks into the homepage or legal pages.
   ===================================================================== */

.content-page main {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(64px, 8vw, 120px);
}
/* Align nav + footer to the same column as the content so the logo lines up
   with the content's left edge and the nav CTA with its right edge. */
.content-page .legal-nav__inner,
.content-page .footer__inner { max-width: 1040px; }
/* One uniform width; justified body copy — but never inside the centred CTA. */
.content-page main > section:not(.cta) > p { text-align: justify; text-justify: inter-word; }

.content-page main > section,
.content-page main > .hero { margin-top: clamp(40px, 5vw, 64px); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
/* Quiet by default: orientation, not a destination. No underlines — those
   made it read as raw HTML. Selectors include `main` so they outrank the
   body-link rule further down, which was turning these red. */
.content-page main nav[aria-label="Breadcrumb"] { margin-bottom: 6px; }
.content-page main nav[aria-label="Breadcrumb"] ol {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 14px;
  margin: 0; padding: 0;
  list-style: none;
  font-family: 'Acumin', sans-serif;
  font-weight: 600;
  font-variation-settings: "wght" 600, "wdth" 100;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.content-page main nav[aria-label="Breadcrumb"] li {
  display: flex; align-items: center; gap: 14px;
  padding-left: 0; margin-bottom: 0;
  font-size: inherit; line-height: 1;
}
.content-page main nav[aria-label="Breadcrumb"] li::before { content: none; }
.content-page main nav[aria-label="Breadcrumb"] li + li::before {
  content: "";
  /* De breadcrumb is ook een <ol>, dus de nummer-regel verderop raakt hem:
     die zet position: absolute, waardoor het streepje bovenop de tekst
     landde in plaats van ertussen. Hier terug naar de normale flow. */
  position: static;
  display: block;
  width: 16px; height: 1px;
  background: var(--ink);
  opacity: 0.25;
}
.content-page main nav[aria-label="Breadcrumb"] a,
.content-page main nav[aria-label="Breadcrumb"] a:not(.btn) {
  color: rgba(29,29,27,0.45);
  text-decoration: none;
  transition: color 220ms var(--ease-out-quint);
}
.content-page main nav[aria-label="Breadcrumb"] a:hover {
  color: var(--ink);
  text-decoration: none;
}
.content-page main nav[aria-label="Breadcrumb"] [aria-current="page"] { color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────────── */
.content-page .hero { margin-top: clamp(20px, 3vw, 32px); }
.content-page .eyebrow {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.content-page .hero h1 {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 820, "wdth" 100;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.content-page .hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  margin-top: 20px;
}
.content-page .hero-cta { margin-top: 28px; }

.content-page .trust-strip {
  display: flex; flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.content-page .trust-strip li {
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 18px;
}
.content-page .trust-strip li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}

/* ── Buttons ────────────────────────────────────────────────── */
.content-page .btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 300ms var(--ease-out-expo), background 200ms ease;
}
.content-page .btn:hover { text-decoration: none; background: var(--red); transform: translateY(-2px); }

/* ── Headings + body ────────────────────────────────────────── */
.content-page main h2 {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 780, "wdth" 100;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
.content-page main h3 {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 720, "wdth" 100;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.25;
  color: var(--ink);
  margin: 28px 0 10px;
}
.content-page main p { font-size: 16.5px; line-height: 1.7; margin-bottom: 16px; }
.content-page main p:last-child { margin-bottom: 0; }
.content-page main a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.content-page main a:not(.btn):hover { text-decoration-thickness: 2px; }

/* ── Lists ──────────────────────────────────────────────────── */
.content-page main ul,
.content-page main ol { margin: 4px 0 16px; padding-left: 0; list-style: none; }
.content-page main li { position: relative; font-size: 16.5px; line-height: 1.65; padding-left: 26px; margin-bottom: 10px; }
.content-page main ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.content-page main ol { counter-reset: item; }
.content-page main ol > li { counter-increment: item; }
.content-page main ol > li::before {
  content: counter(item); position: absolute; left: 0; top: 0.05em;
  font-family: 'Acumin', sans-serif; font-weight: 800; font-size: 12px;
  color: var(--red);
}
.content-page main li strong { color: var(--ink); }

/* ── Table ──────────────────────────────────────────────────── */
.content-page main table {
  width: 100%; border-collapse: collapse;
  margin: 8px 0 8px; font-size: 14.5px;
}
.content-page main caption { text-align: left; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.content-page main th, .content-page main td {
  text-align: left; vertical-align: top;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.content-page main thead th {
  font-family: 'Acumin', sans-serif; font-weight: 800; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1.5px solid rgba(29,29,27,0.28);
}
.content-page main tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.content-page main tbody tr:last-child th,
.content-page main tbody tr:last-child td { border-bottom: none; }

/* ── Blockquote ─────────────────────────────────────────────── */
.content-page main blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--red);
}
.content-page main blockquote p { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.4; color: var(--ink); font-style: italic; }
.content-page main blockquote footer { margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); }
.content-page main blockquote footer strong { color: var(--ink); }

/* ── Selected work articles ─────────────────────────────────── */
.content-page #selected-work article { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 20px; }
.content-page #selected-work article:first-of-type { border-top: none; margin-top: 8px; padding-top: 0; }

/* ── CTA blocks ─────────────────────────────────────────────── */
/* Dark box, everything stacked left. No columns, no stretched rows. */
.content-page .cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
  padding: clamp(32px, 3.6vw, 44px);
  text-align: left;
}
.content-page .cta h2 {
  color: var(--cream);
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 28px);
}
.content-page .cta > p { color: rgba(244,239,232,0.78); margin: 0 0 24px; font-size: 15.5px; }
.content-page .cta .btn { background: var(--cream); color: var(--ink); }
.content-page .cta .btn:hover { background: var(--red); color: var(--cream); }
.content-page .cta .cta-alt { font-size: 13.5px; margin: 18px 0 0; color: rgba(244,239,232,0.62); }
.content-page .cta .cta-alt a { color: var(--cream); text-decoration: underline; }

/* ── FAQ ────────────────────────────────────────────────────── */
.content-page #faq > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.content-page #faq > div:first-of-type { border-top: 1px solid var(--line); }
.content-page #faq h3 { margin: 0 0 8px; }
.content-page #faq p { margin-bottom: 0; color: var(--muted); }

/* ── Last updated ───────────────────────────────────────────── */
.content-page .last-updated {
  margin-top: clamp(48px, 6vw, 72px);
  font-size: 12.5px; color: var(--muted);
  padding-top: 20px; border-top: 1px solid var(--line);
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .content-page main table, .content-page main thead, .content-page main tbody,
  .content-page main th, .content-page main td, .content-page main tr { display: block; }
  .content-page main thead { display: none; }
  .content-page main tbody tr { border-bottom: 1.5px solid rgba(29,29,27,0.28); padding: 6px 0; }
  .content-page main tbody tr:last-child { border-bottom: none; }
  .content-page main tbody th, .content-page main tbody td { border: none; padding: 4px 0; white-space: normal; }
  .content-page main tbody th { padding-top: 12px; }
}

/* ── Glossary entries ───────────────────────────────────────── */
/* The entry has no .hero wrapper, so it needs its own top spacing and a
   little air under the definition — that first bold line is the answer a
   search engine lifts, so it should read as a distinct block. */
.content-page .glossary-entry { margin-top: clamp(32px, 4vw, 48px); }
.content-page .glossary-entry .eyebrow { margin-bottom: 12px; }
.content-page .glossary-entry h1 {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 820, "wdth" 100;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.content-page .glossary-entry .definition {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.55;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.content-page .glossary-entry h2 { margin-top: clamp(36px, 4vw, 52px); }

/* De insight-artikelen laden dit bestand niet. Zij gebruiken dezelfde
   opbouw als de veertien die er al stonden — article-hero, post-cover,
   post-layout, post-cta — en die staat volledig in legal.css. Beide
   stylesheets over elkaar heen gaf rode onderstreepte links, uitgevulde
   tekst en een knop zonder vorm. Zie build-content-pages.py: alleen
   services en glossary krijgen content.css. */
