/* Public website: home, guide pages, Zo werkt het, Over ons.
   The request steps at /bv/... use /legacy/css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--fb); -webkit-text-size-adjust: 100%; }
::selection { background: var(--brand); color: var(--on-brand); }
a { color: var(--brand); text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--fh); font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
p { margin: 0 0 1rem; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.wrap, .hero-in, .top-in { max-width: 74rem; margin: 0 auto; padding: 0 1rem; }
.preview { background: #14263f; color: #fff; padding: .5rem 1rem; font-weight: 600; font-size: .85rem; text-align: center; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-top: .7rem; padding-bottom: .7rem; }
.brand { font: 700 1.45rem/1 var(--fh); color: var(--brand); text-decoration: none; letter-spacing: -.01em; }
.top nav { display: flex; gap: .25rem; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .7rem; border-radius: var(--r); }
.top nav a:hover, .top nav a[aria-current] { background: var(--brand); color: var(--on-brand); }

/* hero */
.hero { background: var(--brand); color: var(--on-brand); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding-top: 2.75rem; padding-bottom: 2.75rem; }
.hero-in:not(:has(.hero-photo)) { grid-template-columns: minmax(0, 1fr); }
.hero .lede { font-size: 1.15rem; color: var(--band-soft); max-width: 36rem; margin: 1rem 0 1.4rem; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.back { margin: 0 0 .6rem; font-weight: 600; font-size: .95rem; }
.back a { color: inherit; }
.back a::before { content: "\2039\00a0"; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-weight: 600; font-size: .98rem; }
.ticks li { padding-left: 1.6rem; background: no-repeat 0 .2em / 1.15rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23f6b40a'/%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%231c2a12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.start { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; background: #fff; color: var(--ink); padding: 1rem; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 1.2rem; max-width: 36rem; }
.start label { flex: 1 1 14rem; font-weight: 600; font-size: .95rem; }
.start select { display: block; width: 100%; margin-top: .3rem; font: inherit; color: inherit; padding: .75rem .7rem; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.btn, .bon #next { font: 700 1.05rem/1 var(--fb); color: var(--cta-ink); background: var(--cta); border: 0; border-radius: 3px; padding: 1rem 1.3rem; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover, .bon #next:hover { background: var(--cta-hover); transform: translateY(-1px); }
@media (min-width: 56rem) {
  /* photo cut on a slant, running to the edge of the green band */
  .hero-in { padding-top: 0; padding-bottom: 0; align-items: stretch; }
  .hero-text { padding: 3.25rem 0; }
  /* the photo box keeps about the 3:2 shape of the campagne photos at every width, so a subject that
     fills the photo from top to bottom is not cut; the box grows with the part that runs to the screen edge */
  .hero-photo { aspect-ratio: auto; height: 100%; min-height: clamp(20rem, 33.3vw - 1.8rem, 34rem); border-radius: 0; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); max-width: none; width: calc(100% + max(1rem, (100vw - 74rem) / 2 + 1rem)); }
}

/* home */
.jobs { padding: 2.75rem 0 1rem; }
.jobs h3 { margin: 2rem 0 .8rem; color: var(--soft); font: 600 .95rem/1.2 var(--fb); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1rem; }
.tiles a { display: flex; align-items: stretch; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.tiles a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tiles .ph { flex: 0 0 7.5rem; width: 7.5rem; height: auto; min-height: 7.5rem; object-fit: cover; object-position: 70% 50%; } /* tall narrow crop: subjects sit right of centre */
.related li { margin-bottom: .5rem; }
.regions { columns: 2 14rem; }
.tiles .tx { padding: .8rem .95rem 1rem; display: block; }
.tiles b { display: block; font: 700 1.15rem/1.2 var(--fh); color: var(--brand); margin-bottom: .25rem; }
.tiles .tx span { font-size: .93rem; line-height: 1.45; color: var(--soft); display: block; }
.how { background: var(--surface); border-top: 1px solid var(--line); padding: 2.75rem 0; margin-top: 2rem; }
.how ol { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2rem; }
.how li::before { content: ""; display: block; width: 2.5rem; height: .35rem; background: var(--cta); margin-bottom: .9rem; }
.how b { display: block; margin-bottom: .2rem; }
.how li p { color: var(--soft); font-size: .97rem; margin: 0; }
.how .more { margin: 1.5rem 0 0; }

/* ads */
.ad { margin: 1.75rem 0; min-height: 6rem; }
.ad > span { display: block; font-size: .75rem; color: var(--soft); margin-bottom: .25rem; }

/* guide */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 3rem; align-items: start; padding: 1.75rem 0 3rem; }
.guide article { grid-column: 1; grid-row: 1; max-width: 44rem; }
.side { grid-column: 2; grid-row: 1; position: sticky; top: 1rem; }
article h2 { margin: 2.4rem 0 .7rem; }
article > h2:first-child { margin-top: 0; }
article h3 { font: 700 1.05rem/1.35 var(--fb); margin: 1.3rem 0 .3rem; }
article ul, .plain ol { padding-left: 1.2rem; margin: 0 0 1rem; }
article li { margin-bottom: .35rem; }
article li::marker { color: var(--brand); }
.scroll { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child :is(td, th) { border-bottom: 0; }
thead th { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.src, ul.src { font-size: .88rem; color: var(--soft); }
ul.src { overflow-wrap: anywhere; }

/* step 1 of the campagne: legacy field markup (funnel/_question), new look */
.bon { background: var(--form); color: #fff; border: 1px solid var(--form-line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; padding: 0 1.25rem 1.25rem; }
.bon .no { display: flex; justify-content: space-between; gap: 1rem; margin: 0 -1.25rem 1.1rem; padding: .7rem 1.25rem; background: var(--form-head); color: var(--band-soft); font-weight: 600; font-size: .85rem; }
.bon h2 { font-size: 1.45rem; margin-bottom: .9rem; }
.bon #error:not(:empty) { display: block; background: #fff; color: var(--danger); font-weight: 600; font-size: .95rem; padding: .6rem .75rem; border-radius: 2px; margin-bottom: 1rem; }
.bon .label { display: block; font-weight: 600; font-size: .98rem; margin: 1rem 0 .45rem; }
.bon .label span { margin-left: .2rem; }
.bon .container, .bon .container2 { display: flex; align-items: center; gap: .65rem; padding: .62rem .75rem; margin-bottom: .4rem; border: 1px solid var(--form-line); border-radius: 2px; cursor: pointer; font-size: .97rem; line-height: 1.3; transition: background .12s, border-color .12s; }
.bon .container:hover, .bon .container2:hover { border-color: var(--cta); }
.bon .container:has(:checked), .bon .container2:has(:checked) { border-color: var(--cta); background: rgba(246, 180, 10, .16); box-shadow: inset 0 0 0 1px var(--cta); }
.bon .container input, .bon .container2 input { width: 1.15rem; height: 1.15rem; margin: 0; flex: none; accent-color: var(--cta); }
.bon .p { margin: 0; }
.bon .checkmark, .bon span.checkmark2 { display: none; }
.bon .text { display: block; width: 100%; font: inherit; padding: .65rem .7rem; border: 1px solid var(--form-line); border-radius: 2px; background: #fff; color: var(--ink); }
.bon .condq { padding-left: .75rem; border-left: 1px solid var(--form-line); }
.bon #next { width: 100%; margin-top: 1rem; -webkit-appearance: none; appearance: none; }
.bon .fine { font-size: .82rem; color: var(--form-soft); margin: .8rem 0 0; }
.bon a { color: inherit; }

/* guide pages: on a phone the form sits above the text, a button at the end leads back to it */
.again { display: none; }

.plain { padding: 2.5rem 0 3rem; max-width: 46rem; }
.plain h1 { margin-bottom: 1rem; }
.plain h2 { margin: 2rem 0 .6rem; }
.plain li { margin-bottom: .6rem; }
footer { background: var(--brand); color: #fff; padding: 1.75rem 0; font-size: .9rem; }
footer p { margin: 0 0 .2rem; }
footer a { color: inherit; }

@media (max-width: 56rem) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .ghero .hero-photo { display: none; }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .guide article, .side { grid-column: 1; grid-row: auto; }
  /* phone order: form, then the ad under the intro, then the text */
  .wrap:has(> .guide) { display: flex; flex-direction: column; }
  .guide { display: contents; }
  .side { position: static; order: -1; margin-top: 1.5rem; }
  article { padding-bottom: 3rem; }
  .side-ad { display: none; } /* would land right under the submit button */
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .top nav a { padding: .5rem .6rem; }
  .top-in { padding-top: .5rem; padding-bottom: .4rem; }
  .ghero .lede { font-size: 1.05rem; margin: .7rem 0 1rem; }
  /* the form sits above the text on a phone; this brings the reader back to it */
  .again { display: block; margin: 2rem 0 0; }
  .again .btn { display: block; text-align: center; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
