/* ── Section background presets ─────────────────────────────────────
   CMS editors pick these per section (Achtergrondkleur). Fixed brand
   palette; every option ships with a text pairing that keeps contrast,
   so an editor can restyle but never break readability.
   !important intentionally beats each section's own background. */
.section-bg-wit { background-color: #ffffff !important; }
.section-bg-creme { background-color: #fcfaf9 !important; }
.section-bg-zand { background-color: #f2eae4 !important; }
.section-bg-klei { background-color: #c3c0b1 !important; }
.section-bg-lichtblauw { background-color: #bcdfe6 !important; }

/* Dark presets: background + full text-token override as one fixed
   pair. White cards inside a section keep their own colors. */
.section-bg-donkergroen {
  background-color: #444733 !important;
  --color-primary: #fcfaf9;
  --heading-color: #fcfaf9;
  --section-text: rgba(252, 250, 249, 0.88);
  --text-color: rgba(252, 250, 249, 0.88);
  --text-muted: rgba(252, 250, 249, 0.72);
  --border-subtle: rgba(252, 250, 249, 0.25);
  --link-color: #ffd700;
  --link-hover: #ffe14d;
}

/* Taupe is a mid-tone: needs near-black text to reach AA contrast. */
.section-bg-taupe {
  background-color: #88856e !important;
  --color-primary: #1a1c12;
  --heading-color: #1a1c12;
  --section-text: #1a1c12;
  --text-color: #1a1c12;
  --text-muted: #2c2e20;
  --border-subtle: rgba(26, 28, 18, 0.3);
  --link-color: #1a1c12;
  --link-hover: #000000;
}

.prose {
  max-width: var(--container-max-narrow);
  line-height: var(--leading-relaxed);
}

.prose h2 {
  margin-top: var(--space-8);
}

.prose p {
  margin-bottom: var(--space-4);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
}

.prose li {
  margin-bottom: var(--space-2);
}

/* Grey hexagon bullets (DSG item 9) */
.bullet-list {
  list-style: none;
  padding-left: var(--space-6);
  margin: 0 0 var(--space-4);
}

.bullet-list li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1em;
  height: 1.1em;
  background-color: var(--text-muted);
  /* Hexagon via clip-path */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Card — uniform inner whitespace (DSG item 14) */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  overflow: hidden;
}

/* Application form */
.application-form {
  background: var(--color-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: var(--space-6);
}

.application-form__field {
  margin-bottom: var(--space-5);
}

.application-form__label {
  display: block;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  color: var(--text-color);
}

.application-form__field:has([required]) .application-form__label::after {
  content: ' ★';
  color: var(--color-accent);
  font-size: 0.7em;
  vertical-align: super;
}

.application-form__optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.application-form__input {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--text-color);
  transition: border-color var(--transition-fast);
}

.application-form__input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

textarea.application-form__input {
  resize: vertical;
  min-height: 120px;
}

.application-form__submit {
  margin-top: var(--space-4);
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}

.application-form__hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
  margin-bottom: 0;
}

input[type='file'].application-form__input {
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
}

/* ── Inline hyperlinks in running text ──────────────────────────────
   Client: every hyperlink in body copy is yellow + bold, with a hover.
   Plain yellow text is unreadable on the light backgrounds, so on light
   surfaces the text stays dark and carries a yellow underline that fills
   to a yellow highlight on hover; on dark surfaces it is yellow text.
   Buttons and cards are excluded via :not(.btn). */
.prose a:not(.btn),
.blog-detail__prose a:not(.btn),
.blog-detail__intro a:not(.btn),
.vacancy-company__intro a:not(.btn),
.page-header__intro a:not(.btn),
.vacancy-board-hero__intro a:not(.btn) {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.prose a:not(.btn):hover,
.blog-detail__prose a:not(.btn):hover,
.blog-detail__intro a:not(.btn):hover,
.vacancy-company__intro a:not(.btn):hover,
.page-header__intro a:not(.btn):hover,
.vacancy-board-hero__intro a:not(.btn):hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  text-decoration-color: transparent;
}

.section-bg-donkergroen .prose a:not(.btn) {
  color: var(--color-accent);
  text-decoration-color: currentColor;
}

.section-bg-donkergroen .prose a:not(.btn):hover {
  background-color: transparent;
  color: #ffe14d;
  text-decoration-color: currentColor;
}

/* ── Quote: one subtle stripe everywhere ────────────────────────────
   Applies to markdown quotes (> …) and the blog pull-quote: no box, no
   big typographic quote marks, just a thin stripe on the left. */
.prose blockquote,
.vacancy-company__intro blockquote,
.blog-detail__quote {
  margin: var(--space-6) 0;
  padding: 0 0 0 var(--space-4);
  background: none;
  border: 0;
  border-left: 2px solid var(--color-accent);
  border-radius: 0;
  font-style: normal;
  text-align: left;
}

.prose blockquote p,
.vacancy-company__intro blockquote p {
  font-size: inherit;
  font-weight: var(--font-weight-medium);
  font-style: normal;
  margin-bottom: var(--space-2);
}

.prose blockquote > :last-child,
.vacancy-company__intro blockquote > :last-child {
  margin-bottom: 0;
}
