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

@font-face {
	font-family: "Public Sans";
	src: url("fonts/public-sans-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("fonts/public-sans-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root:root {
	--theme-font-family: "Public Sans", system-ui, sans-serif;
	--df-night: #121815;
	--df-accent: #2ab391;
	--df-header-ink: #e6eee9;
}

/* Header: nachtgroen, sluit aan op de hero van de hubs */
#header [data-row*="middle"] {
	--height: 76px;
	background-color: var(--df-night);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
#header .site-title-container { display: none; }
#header .site-logo-container {
	--logo-max-height: 34px;
}
#header .site-logo-container img { width: auto; height: var(--logo-max-height); }

/* Menu */
#header .menu > li > .ct-menu-link {
	--theme-link-initial-color: var(--df-header-ink);
	--theme-link-hover-color: var(--df-accent);
	--theme-link-active-color: var(--df-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(--df-accent);
}
#header .sub-menu {
	--dropdown-background-color: #1c2420;
	--dropdown-width: 240px;
	border-radius: 12px;
	box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
	padding-block: 8px;
}
#header .sub-menu .ct-menu-link {
	color: var(--df-header-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(--df-accent);
}

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

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

/* Footer: eigen footer (Dierenfun Hubs) vervangt die van Blocksy */
#footer { display: none; }
.df-footer {
	--df-accent: #2ab391;
	background: var(--df-night);
	color: #a9b8b0;
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	padding: 56px 0 0;
}
.df-footer .df-wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}
.df-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}
.df-footer__logo img {
	display: block;
	width: auto;
	height: 30px;
	margin-bottom: 16px;
}
.df-footer__about p { margin: 0; max-width: 36ch; }
.df-footer h2 {
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 0 14px;
}
.df-footer ul { list-style: none; margin: 0; padding: 0; }
.df-footer li { margin-bottom: 8px; }
.df-footer a { color: #cfdad3; text-decoration: none; }
.df-footer a:hover { color: var(--df-accent); }
.df-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
}
@media (max-width: 1023px) {
	.df-footer__grid { grid-template-columns: 1fr 1fr; }
	.df-footer__about { grid-column: span 2; }
}
@media (max-width: 719px) {
	.df-footer { padding-top: 40px; }
	.df-footer .df-wrap { padding-inline: 16px; }
	.df-footer__grid { gap: 28px; }
}
