
html[data-thema="hout"] {
  --schaduw-1: 0 1px 1px rgba(58, 36, 18, .06), 0 1px 3px rgba(58, 36, 18, .08);
  --schaduw-2: 0 1px 2px rgba(58, 36, 18, .06), 0 6px 12px rgba(58, 36, 18, .06), 0 14px 30px rgba(58, 36, 18, .09);
  --schaduw-3: 0 2px 4px rgba(58, 36, 18, .08), 0 14px 28px rgba(58, 36, 18, .1), 0 30px 60px rgba(58, 36, 18, .14);
  --schaduw: var(--schaduw-2);
}
html[data-thema="kust"] {
  --schaduw-1: 0 1px 1px rgba(14, 74, 90, .04), 0 1px 3px rgba(14, 74, 90, .06);
  --schaduw-2: 0 1px 2px rgba(14, 74, 90, .04), 0 6px 14px rgba(14, 74, 90, .05), 0 16px 34px rgba(14, 74, 90, .07);
  --schaduw-3: 0 2px 4px rgba(14, 74, 90, .05), 0 14px 28px rgba(14, 74, 90, .08), 0 30px 60px rgba(14, 74, 90, .12);
  --schaduw: var(--schaduw-2);
}
html.lg-avond {
  --schaduw-1: 0 1px 2px rgba(0, 0, 0, .3);
  --schaduw-2: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 26px rgba(0, 0, 0, .32);
  --schaduw-3: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 52px rgba(0, 0, 0, .45);
  --schaduw: var(--schaduw-2);
}

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-kerning: normal; font-variant-ligatures: common-ligatures; }
h1, h2, h3, .th-titel { text-wrap: balance; font-optical-sizing: auto; }
h1 { letter-spacing: -.018em; }
h2 { letter-spacing: -.012em; }
p, li, dd, blockquote, figcaption { text-wrap: pretty; }
time, .badge, .th-snel-nieuw, .th-weer-cijfers, .th-weer-nu, .th-weer-getij, .klein time,
[class*="-tel"], [class*="tijd"], [class*="datum"], [class*="getij"], [class*="temp"], [class*="munt-saldo"], [class*="bedrag"], td {
  font-variant-numeric: tabular-nums;
}
.bovenkop, .home-bovenkop, .plein-band-kop, .bankje-label, .plein-vandaag-kop { font-feature-settings: "case" 1; }

::selection { background: rgba(242, 179, 61, .38); color: inherit; }
html.lg-avond ::selection { background: rgba(242, 199, 107, .34); }
html { scrollbar-color: rgba(14, 74, 90, .4) transparent; accent-color: var(--zee); }
html[data-thema="hout"] { scrollbar-color: rgba(107, 58, 27, .45) transparent; }
html.lg-avond { scrollbar-color: rgba(143, 208, 222, .35) transparent; }
a { text-decoration-thickness: from-font; text-underline-offset: .2em; }
:where(p, li) > a:not(.knop):hover { text-decoration-thickness: 2px; }
img { image-rendering: auto; }
.knop, .chip, .th-snel a, .th-kaart, .bk, .nk, .vac-kaart, .org-kaart { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
  html:not(.lg-rustig) .knop {
    transition: background-color var(--duur-1) ease, border-color var(--duur-1) ease, color var(--duur-1) ease,
      box-shadow var(--duur-2) var(--ease-uit), transform var(--duur-1) var(--ease-uit);
  }
  html:not(.lg-rustig) .knop:not(:disabled):active { transform: scale(.97); }
  html:not(.lg-rustig) :is(.knop-geel, .knop:not(.knop-licht):not(.knop-tekst)):not(:disabled):hover { box-shadow: var(--schaduw-1); }
  html:not(.lg-rustig) :is(.chip, .prik-tab, .th-dorp a) { transition: background-color var(--duur-1) ease, border-color var(--duur-1) ease, color var(--duur-1) ease, transform var(--duur-1) var(--ease-uit); }
  html:not(.lg-rustig) :is(.chip, .prik-tab, .th-dorp a):active { transform: scale(.96); }
}

@keyframes wpl-kop-diepte { from { box-shadow: 0 1px 0 rgba(14, 74, 90, .1); } to { box-shadow: 0 1px 0 rgba(14, 74, 90, .06), 0 8px 24px rgba(8, 49, 60, .09); } }
@keyframes wpl-kop-diepte-avond { from { box-shadow: 0 1px 0 rgba(0, 0, 0, .25); } to { box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .38); } }
@supports (animation-timeline: scroll()) {
  html:not([data-thema="hout"]):not(.bk-actief):not(:has(.bk-balk)) .kop {
    animation: wpl-kop-diepte linear both; animation-timeline: scroll(root block); animation-range: 0 120px; }
  html.lg-avond:not([data-thema="hout"]):not(.bk-actief):not(:has(.bk-balk)) .kop { animation-name: wpl-kop-diepte-avond; }
}
@media (min-width: 1100px) { html[data-thema="kust"] body[data-th-home] .kop { animation: none; } }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: wpl-vt-uit .16s ease-in both; }
  ::view-transition-new(root) { animation: wpl-vt-in .26s var(--ease-uit) both; }
  .onderbalk { view-transition-name: wpl-onderbalk; }
  body:not([data-th-home]) .kop { view-transition-name: wpl-kop; }
  ::view-transition-group(wpl-onderbalk), ::view-transition-group(wpl-kop) { animation-duration: .2s; }
}
html.lg-rustig::view-transition-group(*),
html.lg-rustig::view-transition-old(*),
html.lg-rustig::view-transition-new(*) { animation: none !important; }
@keyframes wpl-vt-uit { to { opacity: 0; } }
@keyframes wpl-vt-in { from { opacity: 0; transform: translateY(6px); } }

html[data-thema="kust"] .th-snel a {
  background: rgba(255, 255, 255, .84); color: #0b3d4c;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(6, 26, 36, .06), 0 12px 32px rgba(6, 26, 36, .16);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  font-weight: 700; letter-spacing: .005em; text-shadow: none;
}
html[data-thema="kust"] .th-snel a:hover { background: rgba(255, 255, 255, .94); color: #0b3d4c; border-color: #fff; }
html[data-thema="kust"] .th-snel-ic { background: #0e6e86; color: #fff; box-shadow: 0 4px 10px rgba(14, 110, 134, .28); }
html.lg-avond[data-thema="kust"] .th-snel a { background: rgba(10, 34, 44, .72); color: #e8f1f2; border-color: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .3); }
html.lg-avond[data-thema="kust"] .th-snel a:hover { background: rgba(14, 46, 58, .86); color: #fff; }
html.lg-avond[data-thema="kust"] .th-snel-ic { background: #8fd0de; color: #061a20; }
@media (prefers-reduced-motion: no-preference) {
  html[data-thema="kust"]:not(.lg-rustig) .th-snel a { transition: transform var(--duur-2) var(--ease-uit), background-color var(--duur-2) ease, border-color var(--duur-2) ease, box-shadow var(--duur-2) ease; }
  html[data-thema="kust"]:not(.lg-rustig) .th-snel a:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(6, 26, 36, .06), 0 20px 40px rgba(6, 26, 36, .22); }
  html.lg-avond[data-thema="kust"]:not(.lg-rustig) .th-snel a:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
  html[data-thema="kust"]:not(.lg-rustig) .th-snel a:active { transform: translateY(0) scale(.98); }
  html[data-thema="kust"]:not(.lg-rustig) .th-snel-ic { transition: transform var(--duur-2) var(--ease-veer); }
  html[data-thema="kust"]:not(.lg-rustig) .th-snel a:hover .th-snel-ic { transform: scale(1.08); }
}
html[data-thema="kust"] .th-onder { margin-top: 14px; }
html[data-thema="kust"] .th-zoekform { box-shadow: 0 2px 4px rgba(6, 26, 36, .08), 0 14px 36px rgba(6, 26, 36, .18); }

html[data-thema="kust"] .th-kaart { border-color: rgba(14, 110, 134, .1); box-shadow: var(--schaduw-2); }
html.lg-avond[data-thema="kust"] .th-kaart { border-color: var(--rand); }

.th-dorp.wrap { --dorp-g: 16px; width: calc(100% - 2 * var(--dorp-g)); max-width: calc(var(--wrap) - 2 * var(--dorp-g));
  margin-inline: auto; padding: 14px 16px; }
@media (min-width: 600px) { .th-dorp.wrap { --dorp-g: 24px; padding: 14px 18px; } }
@media (max-width: 599px) { .th-dorp.wrap { padding: 12px; } }
html[data-thema="kust"] .th-dorp { border-color: rgba(14, 110, 134, .12); background: linear-gradient(180deg, #eef8fb, #e5f4f8); }
html.lg-avond[data-thema="kust"] .th-dorp { background: var(--zee-licht); border-color: var(--rand); }

html[data-thema="kust"] .th-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 58% 72% at 12% 30%, rgba(255, 250, 240, .62), rgba(255, 250, 240, .28) 45%, rgba(255, 250, 240, 0) 72%);
}
html[data-thema="kust"]:not(.lg-avond) .th-titel { text-shadow: none; color: #13223d; }
html[data-thema="kust"]:not(.lg-avond) .th-onder { text-shadow: none; }
@media (min-width: 1100px) {
  html[data-thema="kust"] .th-titel { font-size: clamp(3.2rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.028em; }
}

@media (min-width: 1100px) {
  html.lg-avond[data-thema="kust"] .th-rij-a { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  html.lg-avond[data-thema="kust"] .th-weer-in { padding: 4px 0 0; align-content: start; }
  html.lg-avond[data-thema="kust"] .th-weer-kaart { min-height: 0; aspect-ratio: 4 / 3; }
}

.voet-in { column-gap: 28px; }
.voet-merk p:not(.voet-naam) { max-width: 62ch; }
.voet-kop { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-feature-settings: "case" 1;
  opacity: .9; margin-bottom: 8px; }
.voet-kolom li a { color: rgba(255, 255, 255, .84); }
.voet-kolom li a:hover { color: #fff; }
html[data-thema="hout"] .voet-kolom li a { color: rgba(246, 236, 212, .86); }
html[data-thema="hout"] .voet-kolom li a:hover { color: #fff6e0; }
@media (pointer: fine) {
  .voet li a { min-height: 32px; font-size: .95rem; }
}
@media (min-width: 1100px) {
  html[data-thema] .voet-in { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
