/* Aanvullingen voor de statische versie (vervangt gedrag van het oude CMS) */
html { scroll-padding-top: 60px; }

/* Home: beeldwissel */
div.main-content div.bg-image > div > div.image { opacity: 0; transition: opacity 1.5s ease; }
div.main-content div.bg-image > div > div.image.active { opacity: 1; }

/* Taalkeuze / menu: ook bedienbaar met toetsenbord */
div.navigation div.main > ul > li.open > ul,
div.navigation div.main > ul > li:focus-within > ul { visibility: visible; }
div.navigation a:focus-visible, div.submenu a:focus-visible, div.arrow-left a:focus-visible, div.arrow-right a:focus-visible { outline: 2px solid #00aeef; outline-offset: -2px; }

/* Subpagina's: schuifanimatie */
div.sub-content div.item.sliding { position: absolute; top: 0; left: 0; }
@media (prefers-reduced-motion: reduce) {
	div.main-content div.bg-image > div > div.image { transition: none; }
}

/* Kaart */
iframe.map { display: block; width: 100%; height: 100%; border: 0; }
form.route-form { margin: 0; }

/* Fotovergroting */
div.lightbox { position: fixed; inset: 0; z-index: 300000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.8); }
div.lightbox figure { max-width: 92vw; max-height: 92vh; margin: 0; text-align: center; color: #fff; font-size: 12px; }
div.lightbox img { max-width: 92vw; max-height: 84vh; display: block; margin: 0 auto; background: #fff; padding: 6px; box-sizing: border-box; }
div.lightbox button { position: absolute; width: 48px; height: 48px; color: #fff; font-size: 30px; line-height: 48px; background: rgba(0,0,0,.5); cursor: pointer; }
div.lightbox button:hover, div.lightbox button:focus-visible { background: #00aeef; }
div.lightbox button.close { top: 10px; right: 10px; }
div.lightbox button.prev { left: 10px; top: 50%; margin-top: -24px; }
div.lightbox button.next { right: 10px; top: 50%; margin-top: -24px; }
