/* zwemschool-header-shell 1.0.0 · 21st-port van @manuarora700/squiggly-underline (21st.dev).
   Uit de bron: links met ruime tussenruimte (gap-16 = 64 px), text-sm leading-6, actieve link semibold in de
   inktkleur en de andere gedempt, en onder de actieve link een golfje van 37 bij 8 px (absolute, -bottom-[1px],
   h-[8px]) dat zichzelf tekent (strokeDasharray/-offset 84,2 naar 0 in 0,6 s) en met een gedeelde layout-
   overgang naar de volgende link glijdt. De balk eromheen is eigen opmaak in de --m-*-tokens. */
.msm-zwemschool-header-shell {
  --wv-ease: cubic-bezier(.25, .1, .35, 1);
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  padding: 0 16px;
  background: var(--m-surface, #f8ffff);
  color: var(--m-ink, #123b45);
  font-family: var(--m-font-body, 'Noto Sans', ui-sans-serif, system-ui, sans-serif);
}
.msm-zwemschool-header-shell *,
.msm-zwemschool-header-shell *::before,
.msm-zwemschool-header-shell *::after { box-sizing: border-box; }
.msm-zwemschool-header-shell svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.msm-zwemschool-header-shell a { color: inherit; text-decoration: none; }
.msm-zwemschool-header-shell a:focus-visible,
.msm-zwemschool-header-shell button:focus-visible { outline: 2px solid var(--m-accent2, #2f7f8c); outline-offset: 3px; border-radius: 4px; }

.msm-zwemschool-header-shell .wv-nav { border-bottom: 1px solid var(--m-line, #c2dcdf); }
.msm-zwemschool-header-shell .wv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 0;
}
.msm-zwemschool-header-shell .wv-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--m-font-display, 'Baloo 2', ui-rounded, system-ui, sans-serif);
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--m-ink, #123b45);
}

/* Linkrij uit de bron: flex met gap-16, text-sm leading-6. */
.msm-zwemschool-header-shell .wv-links { position: relative; display: none; align-items: center; gap: 40px; }
.msm-zwemschool-header-shell .wv-links a {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--m-muted, #53747b);
  white-space: nowrap;
  transition: color .2s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-links a:hover { color: var(--m-ink, #123b45); }
.msm-zwemschool-header-shell .wv-links a[aria-current] { color: var(--m-ink, #123b45); font-weight: 600; }

/* Het golfje: 37 x 8 px, links in het vak van de actieve link, 1 px onder de tekstregel. */
.msm-zwemschool-header-shell .wv-squiggle {
  position: absolute;
  left: 0;
  bottom: 9px;
  height: 8px;
  width: 0;
  opacity: 0;
  line-height: 0;
  pointer-events: none;
  color: var(--m-primary, #ef6e4a);
}
.msm-zwemschool-header-shell .wv-squiggle svg { display: block; width: 37px; height: 8px; overflow: visible; }
.msm-zwemschool-header-shell .wv-squiggle.is-placed { opacity: 1; }
.msm-zwemschool-header-shell .wv-squiggle.is-live { transition: transform var(--wv-spring-ms, 450ms) var(--wv-spring, var(--wv-ease)), width var(--wv-spring-ms, 450ms) var(--wv-spring, var(--wv-ease)); }

.msm-zwemschool-header-shell .wv-actions { display: none; align-items: center; gap: 16px; }
.msm-zwemschool-header-shell .wv-secondary {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--m-muted, #53747b);
  transition: color .2s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-secondary:hover { color: var(--m-ink, #123b45); }
.msm-zwemschool-header-shell .wv-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--m-primary, #ef6e4a);
  color: var(--m-surface, #f8ffff);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-cta:hover { background: color-mix(in srgb, var(--m-primary, #ef6e4a) 84%, var(--m-ink, #123b45)); }

/* Ronde menuknop onder 768 px. */
.msm-zwemschool-header-shell .wv-menu,
.msm-zwemschool-header-shell .wv-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--m-line, #c2dcdf);
  border-radius: 999px;
  background: var(--m-surface, #f8ffff);
  color: var(--m-ink, #123b45);
  cursor: pointer;
  transition: background-color .2s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-menu:hover,
.msm-zwemschool-header-shell .wv-close:hover { background: var(--m-bg, #dfeff0); }
.msm-zwemschool-header-shell .wv-menu svg,
.msm-zwemschool-header-shell .wv-close svg { width: 20px; height: 20px; }

/* Paneel van rechts. */
.msm-zwemschool-header-shell .wv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--m-ink, #123b45) 45%, transparent);
  opacity: 0;
  transition: opacity .25s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-backdrop.is-open { opacity: 1; }
.msm-zwemschool-header-shell .wv-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(100%, 380px);
  overflow-y: auto;
  padding: 14px 24px 32px;
  background: var(--m-surface, #f8ffff);
  color: var(--m-ink, #123b45);
  box-shadow: -12px 0 40px color-mix(in srgb, var(--m-ink, #123b45) 18%, transparent);
  transform: translateX(100%);
  transition: transform .4s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-drawer[hidden] { display: none; }
.msm-zwemschool-header-shell .wv-drawer.is-open { transform: none; }
.msm-zwemschool-header-shell .wv-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--m-line, #c2dcdf);
}
.msm-zwemschool-header-shell .wv-drawer-links { position: relative; display: flex; flex-direction: column; margin-top: 24px; }
.msm-zwemschool-header-shell .wv-drawer-links a {
  display: block;
  padding: 14px 0 14px 56px;
  font-family: var(--m-font-display, 'Baloo 2', ui-rounded, system-ui, sans-serif);
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  color: var(--m-muted, #53747b);
  transition: color .2s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-drawer-links a:hover,
.msm-zwemschool-header-shell .wv-drawer-links a[aria-current] { color: var(--m-ink, #123b45); }
.msm-zwemschool-header-shell .wv-drawer-links a[aria-current] { font-weight: 700; }
/* In het paneel staat het golfje links van de actieve link, verticaal gecentreerd. */
.msm-zwemschool-header-shell .wv-squiggle-side { left: 8px; bottom: auto; top: 0; width: 37px; }
.msm-zwemschool-header-shell .wv-squiggle-side.is-live { transition: transform var(--wv-spring-ms, 450ms) var(--wv-spring, var(--wv-ease)); }
.msm-zwemschool-header-shell .wv-drawer-foot { margin-top: auto; padding-top: 32px; }
.msm-zwemschool-header-shell .wv-season { margin: 0; font-size: 14px; line-height: 20px; color: var(--m-muted, #53747b); }
.msm-zwemschool-header-shell .wv-drawer-buttons { display: grid; gap: 8px; margin-top: 16px; }
.msm-zwemschool-header-shell .wv-outline,
.msm-zwemschool-header-shell .wv-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  transition: background-color .2s var(--wv-ease);
}
.msm-zwemschool-header-shell .wv-outline { border: 1px solid var(--m-line, #c2dcdf); }
.msm-zwemschool-header-shell .wv-outline:hover { background: var(--m-bg, #dfeff0); }
.msm-zwemschool-header-shell .wv-fill { background: var(--m-primary, #ef6e4a); color: var(--m-surface, #f8ffff); }
.msm-zwemschool-header-shell .wv-fill:hover { background: color-mix(in srgb, var(--m-primary, #ef6e4a) 84%, var(--m-ink, #123b45)); }

@media (min-width: 640px) {
  .msm-zwemschool-header-shell { padding: 0 24px; }
}
@media (min-width: 768px) {
  .msm-zwemschool-header-shell .wv-links,
  .msm-zwemschool-header-shell .wv-actions { display: flex; }
  .msm-zwemschool-header-shell .wv-menu,
  .msm-zwemschool-header-shell .wv-backdrop,
  .msm-zwemschool-header-shell .wv-drawer { display: none; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .msm-zwemschool-header-shell .wv-links { gap: 28px; }
  .msm-zwemschool-header-shell .wv-secondary { display: none; }
}
@media (min-width: 1024px) {
  .msm-zwemschool-header-shell { padding: 0 32px; }
  .msm-zwemschool-header-shell .wv-links { gap: 48px; }
}
@media (min-width: 1200px) {
  .msm-zwemschool-header-shell .wv-links { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .msm-zwemschool-header-shell .wv-squiggle.is-live,
  .msm-zwemschool-header-shell .wv-squiggle-side.is-live { transition: none; }
  .msm-zwemschool-header-shell .wv-drawer { transform: none; opacity: 0; transition: opacity .2s var(--wv-ease); }
  .msm-zwemschool-header-shell .wv-drawer.is-open { opacity: 1; }
}
