:root {
  --vh-blue: #006f97;
  --vh-blue-dark: #004f6d;
  --vh-ink: #24313a;
  --vh-muted: #5b6770;
  --vh-paper: #fffdfa;
  --vh-surface: #ffffff;
  --vh-warm: #f5eee3;
  --vh-soft-blue: #eaf5f8;
  --vh-border: #dce4e7;
  --vh-focus: #b94d18;
  --vh-shadow: 0 18px 45px rgba(35, 49, 58, 0.09);
  --vh-radius-lg: 24px;
  --vh-radius-md: 16px;
  --vh-shell: 1180px;
}

.vh-standalone-admin .vh-admin-tabs { display:flex; gap:.5rem; flex-wrap:wrap; padding:.5rem; margin-bottom:1.5rem; background:var(--vh-soft-blue); border-radius:14px; }
.vh-standalone-admin .vh-admin-tabs [role="tab"] { flex:1; min-height:48px; padding:.7rem 1rem; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--vh-blue-dark); font:inherit; font-weight:700; cursor:pointer; }
.vh-standalone-admin .vh-admin-tabs [aria-selected="true"] { color:white; background:var(--vh-blue-dark); }
.vh-standalone-admin [role="tabpanel"][hidden], .vh-standalone-admin .vh-admin-field[hidden], .vh-standalone-admin .vh-carousel-add-choices[hidden] { display:none !important; }
.vh-standalone-admin .vh-home-highlight-admin > form[hidden] { display:none !important; }
.vh-standalone-admin .vh-admin-tabs [role="tab"]:focus-visible { outline:3px solid var(--vh-focus); outline-offset:2px; }
.vh-carousel-add-choices { margin:1rem 0; }
.vh-carousel-create { margin:1rem 0; padding:1.25rem; border:1px solid var(--vh-border); border-radius:14px; background:var(--vh-paper); }
.vh-carousel-create .vh-admin-image-preview img { max-height:200px; }
.vh-carousel-settings { margin:1rem 0; padding:.6rem 1rem; border:1px solid var(--vh-border); border-radius:10px; }
.vh-carousel-settings summary { padding:.3rem 0; min-height:30px; font-weight:650; cursor:pointer; }
.vh-carousel-settings[open] summary { margin-bottom:.7rem; }
@media(max-width:480px) { .vh-standalone-admin .vh-admin-tabs { gap:.25rem; padding:.35rem; } .vh-standalone-admin .vh-admin-tabs [role="tab"] { padding:.6rem .4rem; min-width:0; font-size:.85rem; } }

.vh-share-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: .55rem .9rem; margin: .5rem 0;
  border: 1px solid var(--vh-blue-dark); border-radius: 10px;
  background: #fff; color: var(--vh-blue-dark); font: inherit; font-weight: 650; cursor: pointer;
}
.vh-share-button:hover { background: var(--vh-soft-blue); }
.vh-share-button svg { flex-shrink: 0; }
.vh-share-button:focus-visible, .vh-share-dialog :focus-visible { outline: 3px solid var(--vh-focus); outline-offset: 3px; }
.vh-flyer-card > .vh-share-button { margin: .5rem 1rem; flex-shrink: 0; align-self: start; }
.vh-share-dialog {
  box-sizing: border-box; width: min(480px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 1.5rem; border: 1px solid var(--vh-border); border-radius: 20px;
  color: var(--vh-ink); background: #fff; overflow: auto;
  font: 16px/1.5 ui-sans-serif, system-ui, sans-serif; box-shadow: var(--vh-shadow);
}
.vh-share-dialog::backdrop { background: rgb(15 28 35 / 65%); }
.vh-share-dialog h2 { font-size: 1.4rem; line-height: 1.25; clear: both; margin: .75rem 0; }
.vh-share-title { font-weight: 600; overflow-wrap: anywhere; }
.vh-share-dialog .vh-share-close { display: block; margin: 0 0 .5rem auto; }
.vh-share-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.vh-share-dialog button, .vh-share-actions a {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--vh-blue-dark); border-radius: 9px;
  color: var(--vh-blue-dark); background: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.vh-share-actions a:first-child { background: #146c43; border-color: #146c43; color: white; }
.vh-share-link-label { display: block; font-size: .9rem; }
.vh-share-link-label input { display: block; box-sizing: border-box; width: 100%; margin-top: .35rem; min-height: 44px; padding: .5rem; border: 1px solid #87949b; border-radius: 7px; color: #24313a; background: #fff; font: inherit; }
.vh-share-status { color: var(--vh-blue-dark); }
.vh-share-note { color: var(--vh-muted); font-size: .85rem; }
.vh-public-article { max-width: 920px; padding-top: 2rem; padding-bottom: 3rem; }
.vh-public-article h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; margin: 1.25rem 0 .5rem; overflow-wrap: anywhere; }
.vh-public-article-image { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; margin: 1.5rem 0; border-radius: 16px; background: var(--vh-soft-blue); }
.vh-public-article .vh-article-content { margin-top: 1.5rem; }

.vh-standalone-shell .vh-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: var(--vh-blue-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(20, 39, 49, .22);
}
.vh-standalone-shell .vh-back-to-top[hidden] { display: none; }
.vh-standalone-shell .vh-back-to-top:hover { background: var(--vh-blue); }
.vh-standalone-shell .vh-back-to-top:focus-visible {
  outline: 3px solid var(--vh-focus);
  outline-offset: 3px;
}

.vh-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--vh-blue-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

.vh-standalone-shell,
.vh-standalone-admin {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

:is(.vh-standalone-shell, .vh-standalone-admin),
:is(.vh-standalone-shell, .vh-standalone-admin) *,
:is(.vh-standalone-shell, .vh-standalone-admin) *::before,
:is(.vh-standalone-shell, .vh-standalone-admin) *::after {
  box-sizing: border-box;
}

.bestuur-filter-btn[hidden] {
  display: none !important;
}

.vh-skip-link:focus {
  transform: translateY(0);
}

.vh-shell {
  width: min(calc(100% - 2rem), var(--vh-shell));
  margin-inline: auto;
}

.vh-brandbar {
  color: var(--vh-ink);
  background: var(--vh-surface);
  border-bottom: 1px solid var(--vh-border);
}

.vh-brandbar-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
}

.vh-brand-illustration {
  /* Alleen het getekende gebouw uit de brede bestaande banner blijft in beeld. */
  width: clamp(136px, 15vw, 172px);
  height: 118px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
}

.vh-brand-name,
.vh-brand-tagline {
  margin: 0;
}

.vh-brand-name {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.vh-brand-tagline {
  margin-top: 0.4rem;
  color: var(--vh-blue-dark);
  font-size: clamp(0.82rem, 1.5vw, 1.05rem);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vh-standalone-shell .buurthuis-navigation {
  position: sticky;
  top: 0;
  background: #2f3234;
  box-shadow: 0 6px 18px rgba(23, 31, 36, 0.12);
}

.vh-standalone-shell .buurthuis-navigation .buurthuis-container {
  width: min(calc(100% - 2rem), var(--vh-shell));
  max-width: none;
  padding: 0;
}

.vh-standalone-shell .buurthuis-menu {
  justify-content: flex-start;
  gap: 0;
}

.vh-standalone-shell .buurthuis-menu a,
.vh-standalone-shell .buurthuis-menu button {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 3px solid transparent;
  font-weight: 650;
}

.vh-standalone-shell .buurthuis-menu a:hover,
.vh-standalone-shell .buurthuis-menu a.active,
.vh-standalone-shell .buurthuis-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: #55bad3;
}

.vh-standalone-shell .buurthuis-menu li:has(.login-link) {
  margin-left: auto;
}

.vh-menu-toggle {
  display: none;
}

.vh-modern-home {
  color: var(--vh-ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 111, 151, 0.11), transparent 26rem),
    linear-gradient(180deg, var(--vh-paper), #f7fafb 62%, var(--vh-paper));
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.vh-modern-home:focus {
  outline: none;
}

.vh-modern-home h1,
.vh-modern-home h2,
.vh-modern-home h3,
.vh-admin-spotlight h2,
.vh-admin-spotlight h3,
.vh-admin-articles h2,
.vh-admin-articles h3 {
  color: var(--vh-ink);
  line-height: 1.15;
}

.vh-modern-home h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  letter-spacing: -0.045em;
}

.vh-modern-home h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  letter-spacing: -0.025em;
}

.vh-modern-home h3 {
  margin: 0;
  font-size: 1.12rem;
}

.vh-modern-home p {
  color: var(--vh-muted);
}

.vh-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--vh-blue-dark) !important;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.vh-home-intro {
  padding: clamp(1rem, 3vw, 2.25rem) 0;
  align-self: center;
}

.vh-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.vh-hero-grid.vh-hero-single { grid-template-columns: minmax(0, 1fr); }
.vh-home-carousel { min-width: 0; height: 380px; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
.vh-home-carousel .vh-card { border: 0; border-radius: 0; box-shadow: none; }
.vh-home-carousel-stage { position: relative; min-height: 0; flex: 1; }
.vh-home-slide { position: absolute; inset: 0; min-width: 0; overflow: auto; }
.vh-home-welcome { display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding: 1.25rem; box-sizing: border-box; }
.vh-home-welcome h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; margin: 0; }
.vh-home-welcome .vh-home-lead { margin-top: .75rem; font-size: 1rem; }
.vh-home-welcome .vh-actions { margin-top: 1rem; gap: .5rem; }
.vh-home-welcome .vh-button { font-size: .9rem; padding: .65rem .9rem; }
.vh-home-highlight { min-width: 0; height: 100%; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-rows: auto minmax(0, 1fr); }
.vh-home-highlight-label { grid-column: 1 / -1; }
.vh-home-highlight-label { padding: 1rem 1.25rem .6rem; }
.vh-home-highlight-label p { margin: 0; }
.vh-home-highlight-image { display: block; width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; background: var(--vh-soft-blue); }
.vh-home-highlight-body { padding: 1rem; min-width: 0; overflow: auto; }
.vh-home-highlight-body h2 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; }
.vh-home-highlight-body .vh-button { font-size: .9rem; padding: .65rem .8rem; }
.vh-home-highlight-flyer { display: flex; flex-direction: column; }
.vh-home-highlight-flyer > .vh-eyebrow { padding: .75rem 1.25rem; margin: 0; }
.vh-home-highlight-flyer .vh-flyer-card { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.vh-home-highlight-flyer .vh-flyer-open { min-height: 0; flex: 1; }
.vh-home-highlight-flyer .vh-flyer-image { height: 100%; max-height: 100%; object-fit: contain; }
.vh-home-highlight-body > p:not(.vh-meta) { margin: .8rem 0 1rem; }
.vh-home-carousel-controls { flex-shrink: 0; display: flex; align-items: center; gap: .5rem; padding: .5rem 1.25rem; border-top: 1px solid var(--vh-border); background: var(--vh-surface); }
.vh-home-carousel-controls button { min-width: 44px; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--vh-border); border-radius: 999px; background: white; color: var(--vh-blue-dark); font: inherit; cursor: pointer; }
.vh-home-carousel-controls button:last-child { margin-left: auto; }
.vh-home-highlight-toggle { display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.vh-home-highlight-admin { margin-bottom: 1.5rem; }
.vh-home-highlight-admin select { max-width: 100%; }
.vh-carousel-admin-list { display: grid; gap: .5rem; padding: 0; list-style: none; margin: 1rem 0; }
.vh-carousel-admin-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: .75rem 1rem; border: 1px solid var(--vh-border); border-radius: 12px; }
.vh-carousel-admin-row > span { overflow-wrap: anywhere; }
.vh-carousel-admin-row-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.vh-carousel-admin-row button:disabled { opacity: .45; cursor: default; }
@media (min-width: 1053px) {
  .vh-hero-with-highlight { align-items: start; }
  .vh-hero-with-highlight > .vh-spotlight { height: 380px; box-sizing: border-box; }
  .vh-hero-with-highlight > .vh-spotlight .vh-spotlight-content { overflow: auto; }
}
@media (max-width: 600px) {
  .vh-home-carousel { height: 420px; }
  .vh-home-highlight-body { padding: .75rem; }
}

.vh-home-lead {
  max-width: 52ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.vh-actions,
.vh-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.vh-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.vh-button-primary {
  color: #fff;
  background: var(--vh-blue-dark);
}

.vh-button-primary:hover {
  color: #fff;
  background: #003d55;
}

.vh-button-secondary {
  color: var(--vh-blue-dark);
  background: transparent;
  border-color: var(--vh-blue);
}

.vh-button-secondary:hover {
  color: #fff;
  background: var(--vh-blue-dark);
}

.vh-button-quiet {
  color: var(--vh-ink);
  background: #fff;
  border-color: var(--vh-border);
}

.vh-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.vh-card {
  background: var(--vh-surface);
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius-lg);
  box-shadow: var(--vh-shadow);
}

.vh-spotlight {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
}

.vh-spotlight-media {
  min-height: 340px;
  display: block;
  overflow: hidden;
  background: var(--vh-soft-blue);
}

.vh-spotlight-media img,
.vh-card-image,
.vh-photo-image,
.vh-activity-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vh-media-placeholder {
  width: 100%;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(0, 111, 151, 0.18), rgba(245, 238, 227, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.38) 18px 20px);
}

.vh-spotlight-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.35rem);
}

.vh-spotlight-excerpt {
  margin: 1rem 0 1.25rem;
}

.vh-meta {
  margin: 0.55rem 0 0;
  color: var(--vh-muted) !important;
  font-size: 0.88rem;
}

.vh-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.82fr);
  grid-template-areas: 'news upcoming';
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.vh-news {
  min-width: 0;
  grid-area: news;
}

.vh-upcoming {
  grid-area: upcoming;
  padding: 1.35rem;
  box-shadow: 0 12px 32px rgba(35, 49, 58, 0.07);
}

.vh-agenda { min-width: 0; }
.vh-agenda .vh-section-heading { align-items: center; flex-wrap: wrap; }
.vh-agenda .vh-section-heading h2 { margin: 0; }
.vh-agenda .vh-section-heading a { font-size: .86rem; }
.vh-agenda-views { display: flex; gap: .35rem; padding: .3rem; background: var(--vh-soft-blue); border-radius: 13px; }
.vh-agenda-button { min-width: 44px; min-height: 44px; border: 1px solid transparent; border-radius: 9px; padding: .5rem .75rem; font: inherit; font-weight: 700; cursor: pointer; background: transparent; color: var(--vh-blue-dark); }
.vh-agenda-button:hover { background: var(--vh-warm); }
.vh-agenda-button:focus-visible { outline: 3px solid var(--vh-focus); outline-offset: 2px; }
.vh-agenda-views .vh-agenda-button { flex: 1; }
.vh-agenda-button[aria-pressed="true"] { background: var(--vh-blue-dark); color: #fff; box-shadow: 0 2px 5px #004f6d22; }
.vh-agenda-navigation { display: flex; justify-content: space-between; align-items: center; gap: .4rem; margin: .65rem 0; }
.vh-agenda-navigation .vh-agenda-button:first-child, .vh-agenda-navigation .vh-agenda-button:last-child { background: var(--vh-soft-blue); font-size: 1.6rem; line-height: 1; }
.vh-agenda-range { font-size: 1.05rem; line-height: 1.5; margin: .5rem 0 1rem; text-transform: none; }
.vh-agenda-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vh-agenda-day { border-top: 1px solid var(--vh-border); padding: .9rem 0; }
.vh-agenda-date { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; margin: 0 0 .6rem; }
.vh-agenda-today { display: inline-block; width: fit-content; color: var(--vh-blue-dark); background: var(--vh-soft-blue); font-size: .75rem; font-weight: 750; border-radius: 5px; padding: .2rem .5rem; margin: 0 0 .6rem; }
.vh-agenda-date .vh-agenda-today { margin: 0; }
.vh-agenda-events { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.vh-agenda-event { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .75rem; align-items: center; }
.vh-agenda-thumbnail { position: relative; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 1px solid var(--vh-border); border-radius: 9px; overflow: hidden; background: var(--vh-soft-blue); color: var(--vh-blue-dark); font-size: 1.5rem; }
.vh-agenda-thumbnail img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: var(--vh-soft-blue); }
.vh-agenda-event-body { display: flex; align-items: baseline; gap: .5rem; min-width: 0; }
.vh-agenda-time { flex: 0 0 auto; white-space: nowrap; color: var(--vh-blue-dark); font-weight: 750; font-size: .83rem; line-height: 1.6; }
.vh-agenda-event-link { color: var(--vh-ink); font-size: .95rem; line-height: 1.5; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.vh-agenda-event-link:hover { color: var(--vh-blue-dark); text-decoration: underline; }
.vh-agenda-event-link:focus-visible { outline: 3px solid var(--vh-focus); outline-offset: 2px; }
.vh-agenda-location, .vh-agenda-empty { margin: .2rem 0 0; color: var(--vh-muted); font-size: .85rem; line-height: 1.55; overflow-wrap: anywhere; }

.vh-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vh-text-link {
  color: var(--vh-blue-dark);
  font-weight: 750;
  text-underline-offset: 0.18em;
}

.vh-text-link:hover {
  color: var(--vh-focus);
  text-decoration: underline;
}

.vh-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.vh-article-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--vh-radius-md);
  box-shadow: 0 10px 28px rgba(35, 49, 58, 0.065);
}

.vh-card-image {
  height: auto;
  aspect-ratio: 16 / 9;
}

.vh-modern-activities {
  padding: clamp(2rem, 5vw, 4rem) 0 4.5rem;
  background: linear-gradient(150deg, var(--vh-paper), #f2f8fa);
  color: var(--vh-ink);
}
.vh-events-header { max-width: 780px; margin-bottom: 2rem; }
.vh-events-header h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; margin: .35rem 0 1rem; letter-spacing: -.03em; }
.vh-events-header > p:last-child { color: var(--vh-muted); margin: 0; font-size: 1.1rem; }
.vh-events-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid var(--vh-border); }
.vh-event-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.vh-event-filter { min-height: 44px; padding: .7rem 1.05rem; border: 1px solid var(--vh-border); border-radius: 999px; background: #fff; color: var(--vh-blue-dark); font: inherit; font-weight: 700; cursor: pointer; }
.vh-event-filter[aria-pressed="true"] { background: var(--vh-blue-dark); border-color: var(--vh-blue-dark); color: #fff; }
.vh-events-search { display: grid; gap: .3rem; min-width: 240px; }
.vh-events-search label { font-size: .9rem; font-weight: 700; }
.vh-events-search input { min-height: 44px; padding: .65rem .9rem; border: 1px solid #9caeb8; border-radius: 12px; background: #fff; font: inherit; width: 100%; color: var(--vh-ink); }
.vh-events-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin: 1.7rem 0 1rem; }
.vh-events-heading h2 { font-size: 1.5rem; margin: 0; }
.vh-events-heading p { margin: 0; }
.vh-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.vh-event-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-width: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 8px 24px rgba(35, 49, 58, .06); }
.vh-event-media { display: flex; align-items: center; justify-content: center; background: var(--vh-soft-blue); min-width: 0; padding: .6rem; text-decoration: none; }
.vh-event-media img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; }
.vh-event-placeholder { font-size: 3rem; font-weight: 800; color: var(--vh-blue-dark); }
.vh-event-body { padding: 1.1rem; min-width: 0; overflow-wrap: anywhere; }
.vh-event-body h3 { margin: 0 0 .6rem; font-size: 1.3rem; line-height: 1.25; }
.vh-event-body h3 a { color: var(--vh-ink); text-decoration: none; }
.vh-event-body h3 a:hover { text-decoration: underline; }
.vh-event-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.vh-event-badges span { font-size: .72rem; font-weight: 750; color: var(--vh-blue-dark); background: var(--vh-soft-blue); border-radius: 6px; padding: .2rem .5rem; margin-bottom: .6rem; }
.vh-event-badges .vh-event-today { background: #fce5ca; color: #814008; }
.vh-event-date { color: var(--vh-blue-dark); font-size: .9rem; font-weight: 650; margin: 0 0 .25rem; }
.vh-event-body .vh-meta { margin: 0; }
.vh-event-description { color: var(--vh-muted); font-size: .95rem; margin: .75rem 0; }
.vh-event-body > .vh-text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .25rem; }
.vh-events-empty { padding: 2rem; grid-column: 1 / -1; }
.vh-modern-activities :is(a, button, input):focus-visible { outline: 3px solid var(--vh-focus); outline-offset: 3px; }
@media (max-width: 1000px) {
  .vh-event-card { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .vh-event-grid { grid-template-columns: 1fr; }
  .vh-event-card { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .vh-events-search { min-width: 0; width: 100%; }
  .vh-event-card { grid-template-columns: 1fr; }
  .vh-event-media { height: 180px; padding: .5rem; }
  .vh-event-media img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .vh-events-heading { display: block; }
  .vh-events-heading p { margin-top: .4rem; }
}

.vh-card-body {
  padding: 1.1rem;
}

.vh-card-body > p:not(.vh-meta) {
  margin: 0.7rem 0;
}

.vh-article-details summary {
  color: var(--vh-blue-dark);
  font-weight: 750;
  cursor: pointer;
}

.vh-article-details[open] p {
  margin-top: 0.75rem;
}

.vh-activity-list {
  display: grid;
}

.vh-activity-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid var(--vh-border);
}

.vh-activity-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.vh-activity-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--vh-soft-blue);
}

.vh-activity-link {
  color: var(--vh-ink);
  text-decoration: none;
}

.vh-activity-link:hover {
  color: var(--vh-blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.17em;
}

.vh-photos,
.vh-offer {
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.vh-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.vh-photo-link {
  min-width: 0;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--vh-radius-md);
  background: var(--vh-soft-blue);
  box-shadow: 0 8px 22px rgba(35, 49, 58, 0.07);
}

.vh-photo-image {
  transition: transform 180ms ease;
}

.vh-photo-link:hover .vh-photo-image {
  transform: scale(1.025);
}

.vh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.vh-feature {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius-md);
}

.vh-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.65rem;
  background: var(--vh-warm);
  border-radius: 14px;
}

.vh-feature p {
  margin-bottom: 0;
}

.vh-empty-state {
  padding: 1.5rem;
}

.vh-article-richtext {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.vh-article-richtext :is(p, ul, ol, blockquote, pre, h4) {
  margin: 0;
}

.vh-article-richtext :is(ul, ol) {
  padding-left: 1.35rem;
}

.vh-article-richtext blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--vh-blue);
}

.vh-article-richtext a {
  color: var(--vh-blue-dark);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.vh-welcome-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(25, 35, 42, 0.72);
}

.vh-welcome-popup-box {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #fff;
  border-radius: var(--vh-radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.vh-welcome-popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--vh-ink);
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.vh-welcome-popup-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--vh-radius-md);
}

.vh-welcome-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.vh-button-facebook {
  color: #fff;
  background: #385898;
}

.vh-button-whatsapp {
  color: #102b1d;
  background: #8ee2aa;
}

.vh-welcome-popup-backdrop :is(a, button):focus-visible {
  outline: 3px solid var(--vh-focus);
  outline-offset: 3px;
}

.vh-modern-home :is(a, button, summary):focus-visible,
.vh-admin-spotlight :is(a, button, input, select, textarea):focus-visible,
.vh-admin-articles :is(a, button, input, select, textarea):focus-visible,
.vh-standalone-shell .buurthuis-navigation :is(a, button):focus-visible {
  outline: 3px solid var(--vh-focus);
  outline-offset: 3px;
}

.vh-admin-addon-panel {
  margin-top: 1.5rem;
}

.vh-admin-addon-panel [hidden],
.vh-standalone-admin [hidden],
.vh-modern-home [hidden] {
  display: none !important;
}

.vh-public-footer {
  padding: 3rem 0 1.25rem;
  color: #dfe9ed;
  background: var(--vh-ink);
}

.vh-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, 0.75fr));
  gap: 2rem;
}

.vh-public-footer p {
  margin: 0.35rem 0;
}

.vh-footer-title,
.vh-footer-heading {
  color: #fff;
  font-weight: 800;
}

.vh-footer-link {
  color: #fff;
  text-underline-offset: 0.18em;
}

.vh-footer-title {
  font-size: 1.35rem;
}

.vh-footer-legal {
  width: min(calc(100% - 2rem), var(--vh-shell));
  margin: 2rem auto 0 !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

.vh-standalone-admin {
  min-height: 100vh;
  color: var(--vh-ink);
  background: #eef3f5;
}

.vh-admin-page-header {
  padding: 1.25rem 0 2rem;
  color: #fff;
  background: var(--vh-ink);
}

.vh-admin-page-header h1 {
  margin: 1.5rem 0 0.45rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.vh-admin-page-header p {
  margin: 0;
  color: #dfe9ed;
}

.vh-admin-page-content {
  padding-block: 1rem 3rem;
}

.vh-admin-permission-note {
  margin: 1.5rem 0;
  padding: 1rem;
  color: #6b4312;
  background: #fff4db;
  border: 1px solid #e6c988;
  border-radius: 12px;
}

.vh-admin-addon-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.vh-admin-spotlight,
.vh-admin-articles {
  max-width: 920px;
  margin: 1.5rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--vh-ink);
  background: var(--vh-surface);
  border: 1px solid var(--vh-border);
  border-radius: var(--vh-radius-lg);
  box-shadow: var(--vh-shadow);
}

.vh-admin-spotlight > h2,
.vh-admin-articles > .vh-admin-panel-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.vh-admin-spotlight > p,
.vh-admin-articles > p {
  max-width: 68ch;
  color: var(--vh-muted);
}

.vh-admin-spotlight-form {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.vh-admin-panel-heading,
.vh-admin-article-row,
.vh-admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vh-admin-article-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.vh-admin-article-list,
.vh-admin-article-form {
  min-width: 0;
  display: grid;
  gap: 1rem;
}

.vh-admin-article-row {
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--vh-border);
  border-radius: 12px;
  background: #fbfcfc;
}

.vh-admin-article-row h3,
.vh-admin-article-form h3 {
  margin: 0;
}

.vh-status-badge {
  display: inline-flex;
  margin: 0.45rem 0 0;
  padding: 0.24rem 0.55rem;
  color: #4d5961;
  background: #e9eef0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.vh-status-badge.is-actief {
  color: #155b36;
  background: #dcf5e7;
}

.vh-status-badge.is-inactief {
  color: #7b2727;
  background: #fbe3e3;
}

.vh-text-button {
  min-height: 40px;
  padding: 0.45rem 0.25rem;
  color: var(--vh-blue-dark);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.vh-admin-image-preview {
  min-height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--vh-soft-blue);
  border: 1px dashed #a8c8d2;
  border-radius: 12px;
}

.vh-admin-image-preview img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

.vh-admin-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.vh-admin-type legend {
  width: 100%;
  margin-bottom: 0.35rem;
  font-weight: 750;
}

.vh-admin-type label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: var(--vh-paper);
  border: 1px solid var(--vh-border);
  border-radius: 12px;
  cursor: pointer;
}

.vh-admin-field {
  display: grid;
  gap: 0.4rem;
}

.vh-admin-field > label {
  font-weight: 750;
}

.vh-admin-field :is(input, select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  color: var(--vh-ink);
  background: #fff;
  border: 1px solid #b9c7cd;
  border-radius: 10px;
  font: inherit;
}

.vh-admin-field textarea {
  resize: vertical;
}

.vh-admin-hint,
.vh-admin-status {
  margin: 0;
  color: var(--vh-muted);
  font-size: 0.92rem;
}

.vh-admin-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.vh-admin-fallback-note,
.vh-admin-preview {
  padding: 1rem 1.1rem;
  background: var(--vh-soft-blue);
  border-left: 4px solid var(--vh-blue);
  border-radius: 12px;
}

.vh-admin-fallback-note p,
.vh-admin-preview p {
  margin: 0.4rem 0 0;
}

.vh-admin-preview-result {
  color: var(--vh-blue-dark);
  font-weight: 700;
}

.vh-admin-status {
  min-height: 1.5rem;
}

.vh-admin-status.is-error {
  color: #9b1c1c;
  font-weight: 700;
}

.vh-demo-page {
  margin: 0;
  color: var(--vh-ink);
  background: #edf2f4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vh-demo-toolbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  color: #fff;
  background: #16262f;
}

.vh-demo-toolbar p {
  margin: 0;
}

.vh-demo-tabs {
  display: flex;
  gap: 0.5rem;
}

.vh-demo-tabs button {
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  color: #fff;
  background: transparent;
  border: 1px solid #8ca0aa;
  border-radius: 999px;
  cursor: pointer;
}

.vh-demo-tabs button[aria-selected='true'] {
  color: #16262f;
  background: #fff;
}

@media (max-width: 980px) {
  .vh-hero-grid {
    grid-template-columns: 1fr;
  }

  .vh-home-intro {
    max-width: 720px;
  }

  .vh-content-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'upcoming'
      'news';
  }

  .vh-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vh-shell {
    width: min(calc(100% - 1.5rem), var(--vh-shell));
  }

  .vh-brandbar-inner {
    min-height: 86px;
    gap: 0.7rem;
  }

  .vh-brand-illustration {
    width: 92px;
    height: 76px;
  }

  .vh-brand-name {
    font-size: clamp(1.12rem, 5.5vw, 1.55rem);
  }

  .vh-brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .vh-standalone-shell .buurthuis-navigation {
    position: static;
  }

  .vh-standalone-shell .buurthuis-navigation .buurthuis-container {
    width: 100%;
    padding: 0.45rem 0.75rem;
  }

  .vh-standalone-shell .vh-menu-toggle {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
  }

  .vh-standalone-shell .vh-menu-toggle::after {
    content: '☰';
    font-size: 1.2rem;
  }

  .vh-standalone-shell .buurthuis-menu {
    display: none !important;
    grid-template-columns: 1fr;
    margin-top: 0.45rem;
  }

  .vh-standalone-shell .buurthuis-navigation.is-open .buurthuis-menu {
    display: grid !important;
  }

  .vh-standalone-shell .buurthuis-menu li:has(.login-link) {
    margin-left: 0;
  }

  .vh-standalone-shell .buurthuis-menu a,
  .vh-standalone-shell .buurthuis-menu button {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0.72rem 0.85rem;
    border: 0;
    border-radius: 8px;
  }

  .vh-modern-home {
    padding-top: 2rem;
  }

  .vh-modern-home h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .vh-spotlight {
    grid-template-columns: 1fr;
  }

  .vh-spotlight-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .vh-article-grid,
  .vh-photo-grid,
  .vh-feature-grid,
  .vh-admin-date-grid {
    grid-template-columns: 1fr;
  }

  .vh-admin-article-layout {
    grid-template-columns: 1fr;
  }

  .vh-admin-panel-heading,
  .vh-admin-article-row {
    align-items: stretch;
    flex-direction: column;
  }

  .vh-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vh-section-heading {
    align-items: flex-start;
  }

  .vh-admin-actions .vh-button,
  .vh-actions .vh-button {
    width: 100%;
  }

  .vh-demo-toolbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .vh-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 420px) {
  .vh-brand-illustration {
    width: 76px;
  }

  .vh-brand-tagline {
    max-width: 25ch;
  }

  .vh-photo-grid {
    grid-template-columns: 1fr;
  }

  .vh-section-heading {
    flex-direction: column;
  }
}

.vh-standalone-shell .vh-flyer-card {
  display: block;
  align-self: start;
  min-height: 0;
}

.vh-flyer-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f7f9f9;
  cursor: zoom-in;
  border-radius: inherit;
}

.vh-flyer-open:focus-visible {
  outline: 3px solid #005c70;
  outline-offset: -4px;
}

.vh-flyer-open .vh-flyer-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  border-radius: inherit;
}

.vh-flyer-caption {
  margin: 0;
  padding: 1rem 1.25rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.vh-flyer-dialog {
  width: min(1100px, 96vw);
  max-width: 96vw;
  max-height: 94vh;
  padding: 1rem;
  border: 0;
  border-radius: 16px;
  color: #26343b;
  background: #fff;
  overflow: auto;
}

.vh-flyer-dialog::backdrop { background: rgb(15 28 35 / 80%); }
.vh-flyer-close {
  display: block;
  position: sticky;
  top: 0;
  min-height: 44px;
  margin-left: auto;
  padding: .55rem 1rem;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #005c70;
  font: inherit;
  cursor: pointer;
}
.vh-flyer-dialog .vh-flyer-full {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  margin: .75rem auto;
}
.vh-flyer-dialog .vh-text-link { display: inline-block; min-height: 44px; }
.vh-admin-image-preview img { width: 100%; height: auto; max-height: 360px; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  .vh-modern-home *,
  .vh-modern-home *::before,
  .vh-modern-home *::after,
  .vh-standalone-shell .buurthuis-navigation * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
