/* Alleen de dertien afdelingspagina’s delen deze opmaak. */
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) {
  --afdeling-ink: #14324b;
  --afdeling-muted: #486277;
  --afdeling-blue: #0c6388;
  --afdeling-line: #d7e5ed;
  --afdeling-surface: #fff;
  --afdeling-pale: #eff7fb;
  --afdeling-radius: 22px;
  --afdeling-gap: clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: var(--afdeling-gap);
  width: 100%;
  color: var(--afdeling-ink) !important;
  font-size: clamp(16px, 1.65vw, 18px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) :is(h2,h3) {
  letter-spacing: -.025em;
  line-height: 1.16;
  text-wrap: balance;
  color: var(--afdeling-ink) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) h2 {
  font-size: clamp(24px, 3vw, 34px);
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) h3 {
  font-size: clamp(20px, 2.2vw, 25px);
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) :is(p, blockquote, li) {
  max-width: 72ch;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) a {
  text-underline-offset: .17em;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) a:focus-visible {
  outline: 3px solid #146795;
  outline-offset: 3px;
  border-radius: 3px;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > :is(section, figure, div, p) {
  margin: 0 !important;
  min-width: 0;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] {
  padding: clamp(22px, 5vw, 60px) !important;
  border: 0 !important;
  border-radius: calc(var(--afdeling-radius) + 4px) !important;
  background: linear-gradient(118deg, #102d46 8%, #17486a 69%, #116380 100%) !important;
  color: #eef7fc;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] > div:first-child {
  display: flex;
  align-items: center !important;
  column-gap: clamp(18px, 4vw, 52px) !important;
  row-gap: 22px !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] > div:first-child:has(> div > img) > div:has(> img) {
  order: 2;
  flex: 0 1 clamp(116px, 24vw, 214px) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] img {
  box-shadow: 0 0 0 4px #ffffff38;
  border-radius: 18px !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] h2 {
  max-width: 24ch;
  font-size: clamp(29px, 5.2vw, 53px);
  color: #fff !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] p {
  color: #eef7fc !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] p:first-child {
  color: #bce7f7 !important;
  font-size: .9em;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] a {
  color: #fff !important;
  font-weight: 650;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] a:focus-visible {
  outline-color: #9de3ff;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] blockquote {
  border-color: #8dd9f6 !important;
  color: #eef7fc !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > figure {
  border: 1px solid var(--afdeling-line) !important;
  border-radius: var(--afdeling-radius) !important;
  background: var(--afdeling-surface) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > figure > img[style*="object-fit:cover"] {
  height: clamp(175px, 32vw, 365px) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > figure figcaption {
  padding: 10px clamp(16px, 3vw, 24px) !important;
  color: var(--afdeling-muted) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > #hv-afdeling-kanalen {
  gap: 9px 12px !important;
  margin-top: calc(-.32 * var(--afdeling-gap)) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > #hv-afdeling-kanalen a {
  border-radius: 999px !important;
  padding-inline: 18px !important;
  border-color: #8ab1c3 !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > #hv-afdeling-kanalen a:hover {
  background: #e6f4fb !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section:is([aria-labelledby="hv-afdeling-agenda"],[aria-labelledby="hv-afdeling-bestuur"],[aria-labelledby="hv-afdeling-contact"]) {
  border: 1px solid var(--afdeling-line) !important;
  border-radius: var(--afdeling-radius) !important;
  padding: clamp(19px, 4vw, 40px) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-agenda"] {
  background: var(--afdeling-pale) !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-agenda"] article {
  border-color: #d3e4ee !important;
  background: #fff !important;
  padding: clamp(15px, 3vw, 28px) !important;
  border-radius: 16px !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-agenda"] article figure {
  flex-basis: 210px !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-agenda"] article figure img {
  object-fit: contain;
  width: 100%;
  height: auto;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > div:has(> section[aria-labelledby="hv-afdeling-bestuur"]) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--afdeling-gap) !important;
  align-items: start;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-bestuur"] ul {
  padding-left: 1.2em !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-bestuur"] li {
  padding: 6px 0;
  border-bottom: 1px solid #edf2f5;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) section[aria-labelledby="hv-afdeling-contact"] {
  background: #e8f4fa !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) :is(a[href*="field_afdeling_target_id="],a[href$="/contacteer-ons"],a[href*="/form/"]) {
  border-radius: 10px !important;
}
:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > p:last-child {
  padding-bottom: 8px;
}
@media (max-width: 720px) {
  :where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > div:has(> section[aria-labelledby="hv-afdeling-bestuur"]) {
    grid-template-columns: minmax(0, 1fr);
  }
  :where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) > section[aria-labelledby="hv-afdeling-welkom"] > div:first-child:has(> div > img) > div:has(> img) {
    flex-basis: 112px !important;
  }
}

:where(div[id^="hv-afdeling-"]:has(> section[aria-labelledby="hv-afdeling-welkom"])) [id^="hv-afdeling-"] {
  scroll-margin-top: 110px;
}
