/* Unified navigation: single existing header, anchor offset, responsive safe menu. */
html { scroll-padding-top: 110px; }
.builder-block[id], [id^="vrije-sectie-"] { scroll-margin-top: 110px; }
.main-nav a[data-section-menu-link] { text-decoration: none; }
@media (max-width: 900px) {
  .site-header .main-nav { max-height: min(82dvh, 750px); overflow-y: auto; overscroll-behavior: contain; }
  .site-header .main-nav a { min-height: 42px; display:flex; align-items:center; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 86px; }
  .builder-block[id], [id^="vrije-sectie-"] { scroll-margin-top: 86px; }
}
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
/* When many page/section links exceed the available width, use the existing menu toggle. */
body.site-style-chateau-enterprise .site-header.menu-compact .menu-toggle { display:block!important;order:3!important;flex:0 0 45px; }
body.site-style-chateau-enterprise .site-header.menu-compact .header-inner { flex-wrap:nowrap;min-height:76px; }
body.site-style-chateau-enterprise .site-header.menu-compact .main-nav {
  display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;
  width:100%!important;max-width:none!important;max-height:calc(100dvh - 78px)!important;overflow-y:auto!important;
  background:#fff!important;border-bottom:1px solid var(--ce-border)!important;
  box-shadow:0 18px 32px rgba(0,0,0,.1)!important;padding:17px 20px 23px!important;
  flex-direction:column!important;align-items:stretch!important;gap:2px!important;z-index:1800!important;
}
body.site-style-chateau-enterprise .site-header.menu-compact .main-nav.open { display:flex!important; }
body.site-style-chateau-enterprise .site-header.menu-compact .main-nav>a:not(.nav-book) { font-size:15px!important;padding:12px 14px!important;min-height:46px;justify-content:flex-start;border-radius:5px!important; }
body.site-style-chateau-enterprise .site-header.menu-compact .main-nav .nav-book { margin-top:8px;width:100%;justify-content:center; }
body.site-style-chateau-enterprise .site-header.menu-compact .main-nav .language-switch { padding:14px 0 0;margin-top:10px;border-left:0;border-top:1px solid var(--ce-border);width:100%; }
