/* Keep native fragment navigation clear of the shared fixed header.
 * The fallback is the 90px navbar plus a 20px reading gap. anchors.js measures
 * the header so the offset also follows responsive and future header changes.
 * Override older article-local offsets without adding spacer markup.
 */
body.joi [id] {
	scroll-margin-top: var(--joi-anchor-offset, 110px) !important;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
