/* ============================================
   Blogartikel (post.njk)
   ============================================ */
.page-post {
  --ar-gutter: clamp(16px, 4vw, 32px);
  --ar-ink: #1F2122;
  --ar-text: #34373A;
  --ar-muted: #6B6F72;
  --ar-line: #E4E4E4;
}
.ar-wrap { width: 100%; max-width: calc(1140px + 2 * var(--ar-gutter)); margin: 0 auto; padding-inline: var(--ar-gutter); font-family: var(--font-main); }
.ar-wrap--narrow { max-width: calc(820px + 2 * var(--ar-gutter)); margin-inline: 0 auto; }
@media (min-width: 1180px) { .ar-wrap--narrow { margin-left: calc((100% - 1140px) / 2 - var(--ar-gutter)); } }

/* Kop */
.ar-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 36px); }
.ar-crumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--ar-muted); font-size: 14px; }
.ar-crumbs a { color: var(--color-copper); font-weight: 600; }
.ar-crumbs a:hover { text-decoration: underline; }
.ar-title {
  margin: 0 0 18px;
  color: var(--ar-ink);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.ar-lead { max-width: 40em; margin: 0 0 18px; color: var(--ar-text); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.ar-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--ar-muted); font-size: 14px; }

/* Foto */
.ar-photo { margin: 0; }
.ar-photo picture, .ar-photo img { display: block; width: 100%; }
.ar-photo img { max-height: 520px; object-fit: cover; border-radius: 10px; aspect-ratio: 16 / 8; }

/* Leeskolom en zijkolom */
.ar-layout { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 80px); }
@media (min-width: 1024px) {
  .ar-layout { grid-template-columns: minmax(0, 700px) 300px; justify-content: space-between; }
  .ar-side { position: sticky; top: 110px; align-self: start; }
}

/* Typografie van de inhoud */
.ar-body { color: var(--ar-text); font-size: 18px; line-height: 1.75; }
.ar-body > :first-child { margin-top: 0; }
.ar-body p { margin: 0 0 1.15em; }
.ar-body h2, .ar-body h3, .ar-body h4 { color: var(--ar-ink); font-weight: 700; line-height: 1.25; scroll-margin-top: 110px; }
.ar-body h2 { margin: 2.2em 0 0.6em; font-size: clamp(23px, 2.4vw, 27px); }
.ar-body h3 { margin: 1.8em 0 0.5em; font-size: 20px; }
.ar-body h4 { margin: 1.6em 0 0.4em; font-size: 18px; }
.ar-body strong { color: var(--ar-ink); font-weight: 700; }
.ar-body a { color: var(--ar-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-copper); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ar-body a:hover { color: var(--color-copper); }
.ar-body ul, .ar-body ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.ar-body li { position: relative; margin-bottom: 0.55em; padding-left: 1.6em; }
.ar-body ul > li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-copper);
}
.ar-body ol { counter-reset: ar; }
.ar-body ol > li { counter-increment: ar; padding-left: 2.2em; }
.ar-body ol > li::before {
  content: counter(ar);
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 1.55em;
  height: 1.55em;
  border-radius: 50%;
  background: #F2EDE8;
  color: var(--color-copper);
  font-size: 0.8em;
  font-weight: 700;
}
.ar-body img { max-width: 100%; height: auto; margin: 1em 0; border-radius: 8px; }
/* Twee foto's naast elkaar (overzicht + detail), op mobiel onder elkaar */
.ar-duo { display: grid; gap: 12px; margin: 1em 0 1.4em; }
.ar-duo figure { margin: 0; }
.ar-duo img { display: block; width: 100%; margin: 0; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 640px) { .ar-duo { grid-template-columns: 1fr 1fr; } }
.ar-body table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: 16px; }
.ar-body th, .ar-body td { padding: 10px 12px; border-bottom: 1px solid var(--ar-line); text-align: left; vertical-align: top; }
.ar-body th { color: var(--ar-ink); }
.ar-body blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 4px solid var(--color-accent); color: var(--ar-ink); font-style: italic; }

/* Inhoudsopgave */
.ar-toc { margin-bottom: 20px; padding: 22px 24px; border-radius: 10px; background: #F5F5F4; }
.ar-toc__title { margin: 0 0 12px; color: var(--ar-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ar-toc ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.ar-toc li { display: flex; gap: 10px; counter-increment: toc; font-size: 14px; line-height: 1.45; }
.ar-toc li::before { content: counter(toc); flex: none; width: 18px; color: var(--color-copper); font-weight: 700; }
.ar-toc a { color: var(--ar-text); }
.ar-toc a:hover { color: var(--ar-ink); text-decoration: underline; }
@media (max-width: 1023px) { .ar-toc { display: none; } }

/* Hulpblok */
.ar-help { padding: 24px; border-radius: 10px; background: var(--color-primary); color: var(--color-white); }
.ar-help img { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #5A5D60; }
.ar-help__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ar-help__text { margin: 0 0 18px; color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.55; }
.ar-help__btn { display: block; padding: 16px 20px; }
.ar-help__phone { display: block; margin-top: 12px; color: var(--color-white); font-size: 14px; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 3px; }

/* Lees ook */
.ar-more { padding-block: clamp(48px, 7vw, 80px); background: #F5F5F4; }
.ar-more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.ar-more__title { margin: 0; color: var(--color-primary); font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.ar-more__all { color: var(--color-primary); font-size: 15px; font-weight: 700; }
.ar-more__all span { color: var(--color-copper); }
.ar-more__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .ar-more__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ar-more__grid { grid-template-columns: repeat(3, 1fr); } }
