/**
 * Site header: brand, main menu, donate button, language switcher (NL / EN).
 * Also page-shell layout (sticky footer). Plain CSS, linked directly from
 * each page – not part of the Tailwind build.
 */

/* Sticky footer: fill the viewport; keep the copyright at the bottom on short pages. */
html {
	height: 100%;
}
body {
	min-height: 100%;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
body > .min-h-screen {
	flex: 1 0 auto;
	min-height: 100%;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
body > .min-h-screen > .flex-1 {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
body > .min-h-screen > .flex-1 > footer,
body > .min-h-screen > footer {
	margin-top: auto;
	/* Breathing room above the footer. */
	padding-top: 2rem;
}

.site-header .hidden { display: none !important; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid #e5e1d3;
	box-shadow: 0 6px 18px -10px rgba(20, 22, 23, 0);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
#signal-banner {
	position: relative;
	border-bottom: 1px solid #e5e1d3;
}
#signal-banner[hidden] {
	display: none !important;
}
.signal-banner__close {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #9ca3af;
	cursor: pointer;
	line-height: 1;
}
.signal-banner__close:hover,
.signal-banner__close:focus-visible {
	color: #6b7280;
	background: rgba(20, 22, 23, 0.06);
	outline: none;
}
.signal-banner__close svg {
	display: block;
	width: 0.95rem;
	height: 0.95rem;
}
section[id] {
	scroll-margin-top: 5rem;
}
.site-header.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 6px 18px -10px rgba(20, 22, 23, 0.35);
}
@media (prefers-reduced-motion: reduce) {
	.site-header {
		transition: none;
	}
}
.site-header__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.25rem;
	max-width: 64rem;
	margin: 0 auto;
	padding: 0.6rem 1rem;
}

.site-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	flex: none;
	color: #141617;
	text-decoration: none;
}
.site-header__brand img { width: 40px; height: 40px; display: block; }
.site-header__brand span {
	font-family: 'Oswald-Bold', sans-serif;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.site-nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.25rem;
	flex: 1 1 auto;
	justify-content: center;
}
.site-nav a,
.site-menu__panel a {
	color: #141617;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a { padding: 0.45rem 0.75rem; white-space: nowrap; }
.site-nav a:hover,
.site-menu__panel a:hover { background: #F9F4E4; color: #E9152D; }
.site-nav a[aria-current="page"],
.site-menu__panel a[aria-current="page"] { color: #E9152D; }

.site-header__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	flex: none;
	margin-left: auto;
}
.site-header__donate {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 1rem;
	border-radius: 999px;
	background: #E9152D;
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.site-header__donate:hover { background: #141617; }

.site-menu { position: static; display: none; }
.site-menu > summary { list-style: none; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary::marker { content: ''; }
.site-menu__toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 36px;
	border-radius: 10px;
	cursor: pointer;
}
.site-menu__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	background: #141617;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-menu[open] .site-menu__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-menu[open] .site-menu__toggle span:nth-child(2) { opacity: 0; }
.site-menu[open] .site-menu__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-menu__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0.5rem 1rem 1rem;
	background: #fff;
	border-bottom: 1px solid #e5e1d3;
	box-shadow: 0 18px 30px rgba(20, 10, 20, 0.08);
}
.site-menu__panel a { padding: 0.75rem 0.75rem; }

@media (max-width: 860px) {
	.site-nav { display: none; }
	.site-menu { display: block; }
}
@media (max-width: 420px) {
	.site-header__inner { gap: 0.5rem; padding: 0.5rem 0.75rem; }
	.site-header__brand span { display: none; }
	.site-header__donate { padding: 0 0.8rem; }
}

.lang-menu {
	position: relative;
	display: inline-block;
	font-family: inherit;
	line-height: 1;
}
.lang-menu > summary { list-style: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::marker { content: ''; }
.lang-menu:not([open]) > .lang-menu__list { display: none; }

.lang-menu__toggle {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 0.4rem;
	height: 36px;
	padding: 0 0.75rem;
	border-radius: 999px;
	background: #F9F4E4;
	border: 1px solid #e5e1d3;
	color: #141617;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.lang-menu__toggle svg { display: block; flex: none; }
.lang-menu__toggle:hover,
.lang-menu[open] > .lang-menu__toggle { border-color: #E9152D; }
.lang-menu__toggle:hover { transform: translateY(-1px); }
.lang-menu__toggle:focus-visible { outline: 2px solid #E9152D; outline-offset: 2px; }
.lang-menu__code { letter-spacing: 0.04em; }
.lang-chevron { transition: transform 0.15s ease; }
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }

.lang-menu__list {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	z-index: 60;
	min-width: 12rem;
	margin: 0;
	padding: 0.4rem;
	list-style: none;
	background: #fff;
	border: 1px solid #e5e1d3;
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(20, 10, 20, 0.16);
}
.lang-menu__list li { margin: 0; padding: 0; }
.lang-menu__list li + li { margin-top: 2px; }
.lang-menu__option {
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0.75rem;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #141617;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}
.lang-menu__option:hover { background: #F9F4E4; }
.lang-menu__option.is-active { background: #E9152D; color: #fff; font-weight: 600; }
.lang-menu__tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	opacity: 0.55;
}
.lang-menu__option.is-active .lang-menu__tag { opacity: 0.85; }

.anbi-draft-notice {
	border: 2px solid #E9152D;
	background: #fff;
	color: #141617;
	font-weight: 700;
	text-align: center;
	padding: 0.85rem 1.1rem;
	border-radius: 0.5rem;
	max-width: 28rem;
	margin: 0 auto;
	box-shadow: 0 4px 14px -8px rgba(233, 21, 45, 0.45);
}
.site-footer__name {
	color: #141617;
}
.site-footer__address {
	color: #141617;
	line-height: 1.45;
	opacity: 0.85;
	margin-bottom: 1rem; /* a bit more space above the copyright line */
}
