/* Alletop10 Hubs: huisstijl voor de hele site (lettertype, header, menu). Design: Alletop10 Krantenkop. */

@font-face {
	font-family: "Libre Franklin";
	src: url("fonts/libre-franklin-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Libre Franklin";
	src: url("fonts/libre-franklin-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root:root {
	--theme-font-family: "Libre Franklin", system-ui, sans-serif;
	--a10l-bar: #151b17;
	--a10l-ink: #151b17;
	--a10l-muted: #3d4842;
	--a10l-line: #dfe5e1;
	--a10l-surface: #f5f7f6;
	--a10l-accent: #29b473;
	--a10l-accent-deep: #137a4c;
	--a10l-bar-ink: #e4ebe7;
	--a10l-wrap: 1200px;
}

body {
	background-color: #ffffff;
	color: var(--a10l-ink);
}

/* Header: zwarte balk met het eigen logo (groot genoeg om LIJSTJES te kunnen lezen) */
#header [data-row*="middle"] {
	--height: 100px;
	background-color: var(--a10l-bar);
	border-bottom: 3px solid var(--a10l-accent);
}
#header .site-title-container { display: none; }
#header .site-logo-container {
	--logo-max-height: 60px;
}
#header .site-logo-container img { width: auto; max-width: none; height: var(--logo-max-height); }
#header .menu > li > .ct-menu-link { --menu-item-padding: 0 12px; }

/* Menu */
#header .menu > li > .ct-menu-link {
	--theme-link-initial-color: var(--a10l-bar-ink);
	--theme-link-hover-color: var(--a10l-accent);
	--theme-link-active-color: var(--a10l-accent);
	font-size: 15px;
	font-weight: 650;
	text-transform: none;
	letter-spacing: 0;
}
#header .menu > li.current-menu-item > .ct-menu-link,
#header .menu > li.current-menu-ancestor > .ct-menu-link {
	color: var(--a10l-accent);
}
#header .sub-menu {
	--dropdown-background-color: #1e2621;
	--dropdown-width: 240px;
	border-radius: 2px;
	padding-block: 6px;
}
#header .sub-menu .ct-menu-link {
	color: var(--a10l-bar-ink);
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
}
#header .sub-menu .ct-menu-link:hover,
#header .sub-menu .current-menu-item > .ct-menu-link {
	color: var(--a10l-accent);
}

/* Iconen (zoeken, mobiel menu) */
#header .ct-header-search,
#header .ct-header-trigger {
	--theme-icon-color: var(--a10l-bar-ink);
	--theme-icon-hover-color: var(--a10l-accent);
}

/* Mobiel menu (offcanvas) */
#offcanvas .ct-panel-inner {
	background-color: var(--a10l-bar);
}
#offcanvas .ct-menu-link {
	--theme-link-initial-color: var(--a10l-bar-ink);
	--theme-link-hover-color: var(--a10l-accent);
	--theme-link-active-color: var(--a10l-accent);
	font-size: 18px;
	font-weight: 650;
}
#offcanvas .ct-toggle-close,
#offcanvas .ct-toggle-dropdown-mobile {
	--theme-icon-color: var(--a10l-bar-ink);
}

/* Gedeelde bouwstenen */
.a10l-wrap {
	width: 100%;
	max-width: var(--a10l-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}
.a10l-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	color: var(--a10l-muted);
	margin-bottom: 10px;
}
.a10l-crumbs a { color: var(--a10l-accent-deep); text-decoration: none; }
.a10l-crumbs a:hover { text-decoration: underline; }

/* Footer: eigen footer (Alletop10 Hubs) vervangt die van Blocksy */
#footer { display: none; }
.a10l-footer {
	background: var(--a10l-bar);
	border-top: 3px solid var(--a10l-accent);
	color: #aab6af;
	font-family: "Libre Franklin", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	padding: 48px 0 0;
}
.a10l-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
	gap: 40px;
	padding-bottom: 40px;
}
.a10l-footer__logo { display: inline-block; }
.a10l-footer__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 46px;
	margin-bottom: 18px;
}
.a10l-footer__about p { margin: 0; max-width: 38ch; }
.a10l-footer h2 {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
}
.a10l-footer ul { list-style: none; margin: 0; padding: 0; }
.a10l-footer li { margin-bottom: 7px; }
.a10l-footer__col--wide ul { columns: 2; column-gap: 24px; }
.a10l-footer__col--wide li { break-inside: avoid; }
.a10l-footer a { color: var(--a10l-bar-ink); text-decoration: none; }
.a10l-footer a:hover { color: var(--a10l-accent); }
.a10l-footer__bottom {
	padding-block: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}

/* Laptopbreedte (desktopheader van Blocksy vanaf 1000px): logo en menu iets compacter, anders loopt het menu over */
@media (min-width: 1000px) and (max-width: 1279px) {
	#header [data-row*="middle"] { --height: 84px; }
	#header .site-logo-container { --logo-max-height: 46px; }
	#header .menu > li > .ct-menu-link { --menu-item-padding: 0 6px; font-size: 14px; }
}

/* Mobiele header van Blocksy (onder 1000px): vast bovenin, logo in het midden, menuknop rechts */
@media (max-width: 999.98px) {
	/* body ervoor: Blocksy zet #header later op position: relative */
	body #header { position: sticky; top: 0; z-index: 50; }
	#header [data-device="mobile"] [data-row*="middle"] .ct-container { position: relative; }
	/* Logokolom over de volle breedte met het logo in het midden; klikken gaat door naar de menuknop */
	#header [data-device="mobile"] [data-column="start"] {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		pointer-events: none;
	}
	#header [data-device="mobile"] [data-column="start"] > [data-items] { justify-content: center; margin: 0; }
	#header [data-device="mobile"] [data-column="start"] .site-branding { margin: 0; pointer-events: auto; }
	#header [data-device="mobile"] [data-column="end"] { grid-column: 2; justify-self: end; }
}

@media (max-width: 1023px) {
	.a10l-footer__grid { grid-template-columns: 1fr 1fr; }
	.a10l-footer__about,
	.a10l-footer__col--wide { grid-column: 1 / -1; }
	.a10l-footer__col--wide ul { columns: 3; }
}

@media (max-width: 719px) {
	.a10l-wrap { padding-inline: 16px; }
	#header [data-row*="middle"] { --height: 72px; }
	#header .site-logo-container { --logo-max-height: 40px; }
	.a10l-footer { padding-top: 36px; }
	.a10l-footer__grid { gap: 28px; }
	.a10l-footer__col--wide ul { columns: 2; }
	.a10l-footer__logo img { height: 38px; }
}
