/* Dierenfun Hubs: hubsjabloon */

.df-hub {
	--df-bg: #f6f7f3;
	--df-surface: #ffffff;
	--df-ink: #18201c;
	--df-muted: #56625c;
	--df-line: #e1e6df;
	--df-night: #121815;
	--df-accent: #2ab391;
	--df-accent-deep: #17775f;
	--df-radius: 12px;
	--df-wrap: 1200px;

	background: var(--df-bg);
	color: var(--df-ink);
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	padding-bottom: 72px;
}
.df-hub *,
.df-hub *::before,
.df-hub *::after { box-sizing: border-box; }
.df-hub a { color: inherit; text-decoration: none; }
.df-hub img { display: block; width: 100%; height: 100%; object-fit: cover; }

.df-wrap {
	width: 100%;
	max-width: var(--df-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

/* Hero */
.df-hero {
	background: var(--df-night);
	color: #eef3ef;
	padding: 40px 0;
}
.df-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 48px;
	align-items: center;
}
.df-crumbs {
	display: flex;
	gap: 8px;
	font-size: 14px;
	color: #a9b8b0;
	margin-bottom: 20px;
}
.df-crumbs a:hover { color: var(--df-accent); }
.df-hero__title {
	font-size: clamp(40px, 5vw, 68px);
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.035em;
	margin: 0 0 16px;
	color: #ffffff;
}
.df-hero__title em {
	font-style: italic;
	font-weight: 700;
	color: var(--df-accent);
	padding-bottom: 0.08em;
}
.df-hero__intro {
	max-width: 58ch;
	font-size: 18px;
	line-height: 1.55;
	color: #cfdad3;
	margin: 0;
}
.df-hero__img {
	aspect-ratio: 3 / 2;
	border-radius: var(--df-radius);
	overflow: hidden;
	background: #24302a;
}

.df-hub--compact .df-hero__title { font-size: clamp(36px, 4.5vw, 56px); }
.df-hub--compact .df-hero__grid { grid-template-columns: 1fr; }

/* Secties */
.df-section { padding-top: 72px; }
.df-hero + .df-section { padding-top: 56px; }
.df-h2 {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 28px;
	color: var(--df-ink);
}
.df-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

/* Register A-Z */
.df-register {
	background: var(--df-surface);
	border-block: 1px solid var(--df-line);
	padding-block: 56px 48px;
}
.df-register__cols {
	columns: 5 180px;
	column-gap: 32px;
}
.df-register__group {
	break-inside: avoid;
	margin-bottom: 20px;
	display: grid;
	grid-template-columns: 28px 1fr;
}
.df-register__letter {
	font-size: 20px;
	font-weight: 850;
	line-height: 1.4;
	color: var(--df-accent);
}
.df-register ul { list-style: none; margin: 0; padding: 0; }
.df-register li { line-height: 1.75; font-size: 16px; }
.df-register li a { border-bottom: 1px solid transparent; }
.df-register li a:hover { color: var(--df-accent-deep); border-color: var(--df-accent); }

/* Kaarten */
.df-card__link { display: block; }
.df-card__img {
	aspect-ratio: 3 / 2;
	border-radius: var(--df-radius);
	overflow: hidden;
	background: linear-gradient(135deg, #dfe8e1, #c9d9cf);
}
.df-card__img img { transition: transform 0.35s ease; }
.df-card__link:hover .df-card__img img { transform: scale(1.04); }
.df-card__title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	margin: 14px 0 0;
	color: var(--df-ink);
}
.df-card__link:hover .df-card__title { color: var(--df-accent-deep); }

/* Filterchips */
.df-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}
.df-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--df-line);
	background: var(--df-surface);
	font-size: 15px;
	font-weight: 650;
}
.df-chip span { color: var(--df-muted); font-weight: 500; }
.df-chip:hover { border-color: var(--df-accent); }
.df-chip.is-active {
	background: var(--df-night);
	border-color: var(--df-night);
	color: #ffffff;
}
.df-chip.is-active span { color: var(--df-accent); }

/* Laden zonder herladen */
.df-all .df-results { transition: opacity 0.2s ease; }
.df-all.is-loading .df-results { opacity: 0.4; pointer-events: none; }

/* Raster */
.df-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 28px;
}

/* Paginering */
.df-pages { margin-top: 56px; }
.df-pages ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.df-pages a,
.df-pages span {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--df-line);
	background: var(--df-surface);
	font-weight: 650;
}
.df-pages .current { background: var(--df-night); border-color: var(--df-night); color: #ffffff; }
.df-pages a:hover { border-color: var(--df-accent); }
.df-pages .dots { border: 0; background: none; }

.df-empty { font-size: 18px; }
.df-empty a { color: var(--df-accent-deep); border-bottom: 2px solid var(--df-accent); }

.df-hub a:focus-visible {
	outline: 3px solid var(--df-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Tablet */
@media (max-width: 1023px) {
	.df-hero__grid { grid-template-columns: 1fr 300px; gap: 32px; }
	.df-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobiel */
@media (max-width: 719px) {
	.df-hub { font-size: 16px; }
	.df-wrap { padding-inline: 16px; }
	.df-hero { padding: 28px 0 32px; }
	.df-hero__grid { grid-template-columns: 1fr; gap: 24px; }
	.df-hero__intro { font-size: 17px; }
	.df-hero__img { display: none; }
	.df-hero + .df-section { padding-top: 48px; }
	.df-section { padding-top: 56px; }
	.df-register { padding-block: 40px 32px; }
	.df-register__cols { columns: 2 140px; column-gap: 20px; }
	.df-grid { grid-template-columns: 1fr; gap: 32px; }
	.df-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	.df-hub * { transition: none !important; }
}
