/* Let the columns respond to the reader's text size as well as the viewport. */
.h6-hero, .h6-story, .h6-roster, .h6-area, .h6-entry {
  container: home-section / inline-size;
}
.h6-hero {
  background: var(--white);
  padding-block: clamp(2rem, 3.8vw, 4.5rem);
}
.h6-hero-in {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: stretch;
}
.h6-hero-copy { container: introductie / inline-size; min-width: 0; align-self: center; padding-block: clamp(.5rem, 2.8vw, 2.4rem); }
.h6-hero h1 {
  font-size: clamp(1.7rem, calc(.7rem + 6cqi), 4.65rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  max-width: 24ch;
  text-wrap: balance;
}
.h6-hero h1 span { color: var(--brand); }
@container introductie (max-width: 18.5rem) {
  .h6-hero h1 { font-size: clamp(1.58rem, 9.2cqi, 1.78rem); }
}
/* With enlarged text even a single Dutch compound can exceed the available line. */
@container introductie (max-width: 14em) {
  .h6-hero h1 { hyphens: auto; overflow-wrap: break-word; }
}
.h6-lead { font-size: clamp(1.16rem, 1.56vw, 1.38rem); line-height: 1.55; max-width: 54ch; margin-top: 1.25rem; }
.h6-hero-media { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.h6-proof { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem 1.35rem; padding-top: .4rem; }
.h6-proof a { display: inline-block; padding: .4rem 0; font-size: 1rem; line-height: 1.3; color: var(--ink); text-decoration-color: var(--brand); text-underline-offset: .19em; }
@media screen and (max-width: 48rem), screen and (any-pointer: coarse) {
  .h6-proof a, .h6-quiet-link, .h6-text-action, [data-roster-panel] > .link { min-height: 44px; }
  .h6-proof a { padding-block: .75rem; }
}
.h6-proof a:hover { color: var(--brand); }
.h6-proof strong { font-weight: 750; }
.h6-hero-photo { min-height: clamp(20rem, 32vw, 40rem); overflow: hidden; border-radius: 8px; position: relative; }
.h6-hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.h6-talk-action { margin-top: clamp(1.4rem, 2.3vw, 2rem); }
.h6-talk-action .btn { margin: 0; }
.h6-intent { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1.35rem; margin-top: .9rem; }
.h6-text-action, .h6-quiet-link {
  font-weight: 700; color: var(--ink); text-decoration-color: var(--brand);
  text-underline-offset: .19em; text-decoration-thickness: .09em;
}
.h6-text-action { max-width: 100%; overflow-wrap: break-word; display: inline-block; padding-block: .55rem; }
.h6-text-action:hover, .h6-quiet-link:hover { color: var(--brand); }
.h6-shortcuts { border-bottom: 1px solid var(--line); }
.h6-shortcuts .container { display: flex; justify-content: center; padding-block: .65rem; }
.h6-shortcuts a { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .35rem clamp(.7rem, 2.55vw, 2.3rem); min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.h6-shortcuts a + a { border-left: 1px solid var(--line); }
.h6-shortcuts a:hover span { text-decoration: underline; }
.h6-shortcuts .icon, .h6-area .icon { color: var(--brand); }
.h6-story, .h6-entry { padding-block: clamp(3rem, 5.7vw, 5.8rem); }
.h6-story-in, .h6-entry-grid, .h6-area-in { display: grid; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.h6-story-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }
.h6-story-image { margin: 0; justify-self: end; width: min(100%, 28rem); }
.h6-story-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
.h6-story-copy h2 { color: var(--brand); font-size: clamp(1.2rem, 1.65vw, 1.5rem); line-height: 1.15; letter-spacing: -.01em; }
.h6-story-copy blockquote { color: var(--ink); margin: .75rem 0 .66rem; font-weight: 600; font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; max-width: 24ch; }
.h6-byline { font-weight: 700; }
.h6-story-copy p:not(.h6-byline) { max-width: 50ch; margin-top: .8rem; }
.h6-story-copy .h6-text-action { margin-top: .35rem; }
.h6-roster { border-top: 1px solid var(--line); }
.h6-roster .roster-layout { align-items: start; }
.h6-roster .workweek { container: roostervoorbeeld / inline-size; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: clamp(1rem, 2vw, 1.65rem); }
.h6-roster .section-copy h2 { max-width: 16ch; }
.h6-roster .section-copy > .link { display: table; }
.h6-quiet-link { display: table; font-weight: 600; padding-block: .5rem; }
.h10-roster-choice { display: none; min-inline-size: 0; border: 0; padding: 0; margin: 0 0 1.25rem; }
.h10-roster-choice legend { max-width: 100%; overflow-wrap: anywhere; color: var(--ink); padding: 0; margin: 0 0 .7rem; line-height: 1.35; font-size: 1.14rem; font-weight: 700; }
.h10-roster-choice .icon { color: var(--brand); vertical-align: -.2em; margin-inline-end: .24em; }
.h10-roster-choice > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .625rem;
}
.h10-roster-choice label {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: center;
  gap: .625rem;
  min-height: 3rem;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.3;
}
.h10-roster-choice label strong,
.h10-roster-choice label small {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.h10-roster-choice label small { font-size: .9375rem; font-weight: 400; margin-top: .125rem; }
.h10-roster-choice input { flex: none; width: 1rem; height: 1rem; margin: 0; accent-color: var(--brand); }
.h10-roster-choice label:has(:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.h10-roster-choice label:has(:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.h6-roster [data-roster-panel] + [data-roster-panel] { margin-top: 1.25rem; }
.h6-roster [data-roster-panel] h3 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .8rem; }
.h6-roster [data-roster-panel] h3 small { display: block; color: var(--text); font-size: 1rem; font-weight: 400; margin-top: .15rem; }
.roster-agreements { margin: .7rem 0; }
.roster-agreements > div { padding-block: .65rem; border-top: 1px solid var(--line); }
.roster-agreements dt { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; }
.roster-agreements dt .icon { flex: none; color: var(--brand); }
.roster-agreements dd { margin: .22rem 0 0; font-size: 1rem; line-height: 1.45; }
.h10-roster-key { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; padding: 0 0 .8rem; margin: 0 0 .85rem; border-bottom: 1px solid var(--line); list-style: none; }
.h10-roster-key li { display: inline-flex; align-items: center; white-space: nowrap; gap: .32rem; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.h10-legend-mark { display: grid; place-items: center; width: 1.22rem; height: 1.22rem; border-radius: 3px; font: 700 .95rem/1 var(--font-sans); }
.h6-roster .schedule { width: 100%; table-layout: fixed; border-spacing: 2px 3px; font-size: 1rem; text-align: center; }
.h6-roster .schedule th { font-size: .94rem; line-height: 1.2; height: auto; padding: .25rem 0; }
.h6-roster .schedule thead th:first-child { width: 2.35rem; }
.h6-roster .schedule tbody th { font-variant-numeric: tabular-nums; text-align: center; }
.h6-roster .schedule abbr { text-decoration: none; }
.h6-roster .schedule td { position: relative; padding: .3rem 0; height: 2.05rem; border-radius: 3px; vertical-align: middle; }
.h6-roster .day-work { background: var(--brand); border: 1px solid var(--brand); color: var(--white); }
.h6-roster .day-free { background: var(--white); border: 1px solid #857b80; color: var(--ink); }
.h6-roster .day-agree { background: var(--soft); border: 1.5px dashed var(--ink); color: var(--ink); }
.h10-day-mark { display: block; font: 700 1.1rem/1 var(--font-sans); }
.h10-day-word { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.h12-roster-next { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.h12-roster-next .btn, .h12-roster-next p { margin: 0; }
.h12-roster-next p { font-size: 1rem; line-height: 1.35; }
.h6-roster .roster-note { margin-block: .85rem .3rem; font-size: 1rem; line-height: 1.45; }
@supports selector(:has(*)) {
  .h10-roster-choice { display: block; }
  .h6-roster .workweek:has([value="blok"]:checked) [data-roster-panel]:not([data-roster-panel="blok"]),
  .h6-roster .workweek:has([value="school"]:checked) [data-roster-panel]:not([data-roster-panel="school"]),
  .h6-roster .workweek:has([value="maat"]:checked) [data-roster-panel]:not([data-roster-panel="maat"]),
  .h6-roster .workweek:has([value="flex"]:checked) [data-roster-panel]:not([data-roster-panel="flex"]),
  .h6-roster .workweek:has([value="variabel"]:checked) [data-roster-panel]:not([data-roster-panel="variabel"]),
  .h6-roster .workweek:has([value="ort"]:checked) [data-roster-panel]:not([data-roster-panel="ort"]),
  .h6-roster .workweek:has(:is([value="flex"], [value="variabel"], [value="ort"]):checked) .h10-roster-key { display: none; }
  .h6-roster [data-roster-panel] + [data-roster-panel] { margin-top: 0; }
}
@media (max-width: 360px) {
  .h6-roster .workweek { padding-inline: min(1rem, 3vw); }
}
@container roostervoorbeeld (max-width: 14rem) {
  .h10-roster-choice label { display: flex; flex-wrap: wrap; gap: .3rem; padding-inline: .2rem; }
  .h10-roster-choice label > span { flex: 1 1 min-content; }
}
/* Fit the radio, padding and longest Dutch label before adding another column. */
@container roostervoorbeeld (min-width: 24rem) {
  .h10-roster-choice > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container roostervoorbeeld (min-width: 36rem) {
  .h10-roster-choice > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container roostervoorbeeld (min-width: 34rem) {
  .h6-roster .schedule { border-spacing: 4px; }
  .h6-roster .schedule td { padding: .45rem .1rem; }
  .h10-day-word { position: static; display: block; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; margin-top: .15rem; font-size: .94rem; line-height: 1.12; }
}
.h6-area { padding-block: clamp(2.5rem, 4.5vw, 4rem); border-block: 1px solid var(--line); }
.h6-area-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.h10-area-title { display: flex; gap: .65rem; align-items: flex-start; }
@container home-section (max-width: 16rem) {
  .h10-area-title { display: block; }
  .h10-area-title .icon { margin-bottom: .5rem; }
}
.h10-area-copy p { margin-block: .75rem .3rem; }
.h10-area-map { min-width: 0; }
.h6-area .icon { width: 2rem; height: 2rem; margin-top: .15rem; }
.h6-area h2 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); max-width: 19ch; }
.h6-area p { max-width: 48ch; }
.h6-entry-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; margin-top: clamp(1.35rem, 2.2vw, 2rem); }
.h6-study { min-width: 0; }
.h6-study img { border-radius: 6px; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; object-position: 50% 37%; }
.h6-study > div { padding-block: clamp(1.3rem, 2.4vw, 2.1rem) .4rem; }
.h6-study h3, .h6-entries strong { font-size: clamp(1.32rem, 1.95vw, 1.7rem); line-height: 1.24; }
.h6-study p { max-width: 60ch; margin-top: .8rem; line-height: 1.58; }
.h6-study .h6-text-action { margin-top: .2rem; }
.h6-entries ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.h6-entries li { border-bottom: 1px solid var(--line); }
.h6-entries li a { text-decoration: none; color: var(--ink); display: flex; align-items: flex-start; gap: .85rem; padding: 1.05rem 0; }
.h6-entries li a:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: .18em; }
.h6-entries a > span { min-width: 0; overflow-wrap: break-word; }
.h6-entries li small { display: block; font-size: 1.03rem; color: var(--text); line-height: 1.4; margin-top: .23rem; }
.h6-entries > a { margin-top: .7rem; }
.h6-entries .icon { width: 1.6rem; height: 1.6rem; flex: none; margin-top: .13rem; color: var(--brand); }
.h6-entries .h15-qualified { display: inline-flex; align-items: flex-start; gap: .85rem; }
.h6-entries .h15-qualified .icon { margin-top: 0; }
.h6-contact { border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 4.5vw, 4.3rem); }
.h6-contact-in > div { min-width: 0; max-width: 100%; }
.h6-contact-in { display: flex; align-items: flex-start; gap: clamp(1.25rem, 3.7vw, 3.2rem); max-width: 930px; }
.h6-contact img { flex: none; width: clamp(80px, 12vw, 150px); aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 50%; }
.h6-contact h2 { font-size: clamp(1.9rem, 3.1vw, 2.85rem); }
.h6-contact p { max-width: 58ch; margin: .65rem 0 1rem; }
@media screen and (min-width: 1280px) {
  .h6-hero h1 { font-size: 3.5rem; }
  .h6-area h2, .h6-contact h2 { font-size: 2.5rem; }
  .h6-hero-photo { min-height: 26rem; }
  .h6-story, .h6-entry { padding-block: 4.5rem; }
  .h6-roster .roster-layout { grid-template-columns: minmax(0,6fr) minmax(0,7fr); }
  .h6-roster .section-copy h2 { max-width: none; }
}

@container home-section (max-width: 47.5rem) {
  .h6-hero-in, .h6-story-in, .h6-entry-grid, .h6-area-in, .h6-roster .roster-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .h6-hero-copy { padding: 0; }
  .h6-hero h1 { max-width: 26ch; }
  .h6-lead { margin-top: 1.05rem; }
  .h6-talk-action { margin-top: 1.05rem; }
  .h6-intent { margin-top: .45rem; }
  .h6-hero-media { display: block; }
  .h6-hero-photo { min-height: 0; aspect-ratio: 1.9; }
  .h6-hero-photo img { object-position: 50% 42%; }
  .h6-story-image { justify-self: start; width: min(100%, 28rem); }
  .h6-entries > a { margin-top: .45rem; }
  .h6-area-in { gap: 1.3rem; }
  .h6-roster .section-copy h2, .h6-area h2 { max-width: none; }
}
@media (max-width: 560px) {
  .h6-shortcuts .container { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding-block: .3rem; }
  .h6-shortcuts a { justify-content: flex-start; padding: .25rem .35rem; gap: .4rem; font-size: .97rem; line-height: 1.15; }
  .h6-shortcuts .icon { width: 1.14rem; }
  .h6-shortcuts a + a { border-left: 0; }
  .h6-shortcuts a:nth-child(even) { border-left: 1px solid var(--line); padding-left: .6rem; }
  .h6-shortcuts a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .h6-contact-in { flex-direction: column; gap: .85rem; }
  .h6-study img { aspect-ratio: 1.95; }
}
@media print {
  .h6-shortcuts, .h6-intent, .h6-talk-action { display: none; }
  .h6-hero, .h6-story, .h6-roster, .h6-area, .h6-entry, .h6-contact { padding-block: 1rem; }
  .h6-hero-photo { max-height: 200px; min-height: 100px; }
}

.h7-why-link { margin-inline: .45rem; max-width: calc(100% - .9rem); }

.area-figure { margin: 0 auto; width: min(100%, 25rem); }
.area-figure img { display: block; width: 100%; height: auto; }
.area-figure figcaption { font-size: .94rem; color: #54464b; margin-top: .3rem; }

.h11-study-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1rem; }
.h11-study-actions .btn { margin: 0; }
