: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-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-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-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 {
  aspect-ratio: 16 / 9;
}

.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;
  }
}

@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;
  }
}
