/* Dierenfun Hubs: homepage */

.df-home__hero { padding: 56px 0; }
.df-home__hero .df-hero__title { font-size: clamp(38px, 5vw, 64px); }
.df-home__hero .df-hero__intro { margin-bottom: 24px; }

/* Zoekveld */
.df-search {
	display: flex;
	max-width: 520px;
	background: #ffffff;
	border-radius: 999px;
	padding: 6px;
}
.df-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 10px 16px;
	font: inherit;
	font-size: 17px;
	color: var(--df-ink);
	outline: none;
}
.df-search input::placeholder { color: #7a857f; }
.df-search button {
	border: 0;
	border-radius: 999px;
	padding: 10px 22px;
	background: var(--df-accent);
	color: var(--df-night);
	font: inherit;
	font-size: 16px;
	font-weight: 750;
	cursor: pointer;
}
.df-search button:hover { background: #3cc7a4; }
.df-search:focus-within { box-shadow: 0 0 0 3px var(--df-accent); }

/* Diergroepen */
.df-groups {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.df-group {
	position: relative;
	display: flex;
	flex-direction: column;
}
.df-group:first-child { grid-column: span 2; }
.df-group__img {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--df-radius);
	overflow: hidden;
	background: linear-gradient(135deg, #dfe8e1, #c9d9cf);
}
.df-group:first-child .df-group__img { aspect-ratio: 8 / 3; }
.df-group__img img { transition: transform 0.35s ease; }
.df-group:hover .df-group__img img { transform: scale(1.04); }
.df-group__name {
	margin-top: 12px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--df-ink);
}
.df-group:first-child .df-group__name { font-size: 26px; }
.df-group:hover .df-group__name { color: var(--df-accent-deep); }

/* A tot Z band */
.df-home__az {
	margin-top: 72px;
	background: var(--df-night);
	color: #cfdad3;
	padding: 48px 0;
}
.df-home__az .df-h2 { color: #ffffff; margin-bottom: 8px; }
.df-home__az p { margin: 0 0 20px; max-width: 56ch; }
.df-home__az + .df-section { padding-top: 72px; }

.df-home__themes { margin-bottom: 0; }

@media (max-width: 1023px) {
	.df-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.df-group:first-child .df-group__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 719px) {
	.df-home__hero { padding: 32px 0 36px; }
	.df-search button { padding: 10px 16px; }
	.df-groups { gap: 16px; }
	.df-group:first-child { grid-column: span 2; }
	.df-group__name { font-size: 17px; }
	.df-group:first-child .df-group__name { font-size: 20px; }
	.df-home__az { padding: 36px 0; margin-top: 56px; }
}

/* Zoekresultaten */
.df-searchpage .df-hero { padding: 40px 0 44px; }
.df-searchpage .df-hero__title { margin-bottom: 20px; }
.df-searchpage .df-empty { margin: 0 0 20px; }
@media (max-width: 719px) {
	.df-searchpage .df-hero { padding: 28px 0 32px; }
}
