/* Categorie-hub: doorzoekbaar overzicht van alle lijstjes in een categorie,
 * in plaats van de standaard WordPress-paginering. */

.ffun-hub {
	max-width: 1024px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	box-sizing: border-box;
}

.ffun-hub-kop {
	margin-bottom: 8px;
}

.ffun-hub-label {
	font-family: "Public Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #E8A33B;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.ffun-hub-titel {
	font-family: "Public Sans", sans-serif;
	font-size: 34px;
	font-weight: 800;
	color: #F3EFE2;
	margin: 0 0 10px;
}

.ffun-hub-omschrijving {
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #A9C4C0;
	max-width: 640px;
	margin: 0;
}

/* Zelfde visuele taal als .ffun-account-banner op de lijstjepagina's
 * zelf (die stylesheet laadt hier niet, vandaar een eigen, identieke
 * regel i.p.v. die hergebruiken). */
.ffun-hub-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	justify-content: space-between;
	margin: 0 0 20px;
	padding: 16px 18px;
	background: #16393B;
	border: 1px solid #E8A33B;
	font-family: "Public Sans", sans-serif;
}

.ffun-hub-cta p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #F3EFE2;
	max-width: 480px;
}

.ffun-hub-cta strong {
	color: #F3EFE2;
}

.ffun-hub-cta-knop {
	flex-shrink: 0;
	background: #E8A33B;
	color: #24150A;
	border: none;
	border-radius: 0;
	padding: 10px 20px;
	font-family: "Public Sans", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.ffun-hub-cta-knop:hover {
	background: #C98A2E;
}

@media (max-width: 480px) {
	.ffun-hub-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

.ffun-hub-controls {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 28px 0 12px;
	padding: 16px;
	background: #16393B;
	border: 1px solid #2D5053;
}

.ffun-hub-zoek {
	flex: 1;
	min-width: 200px;
	background: #122F30;
	border: 1px solid #2D5053;
	color: #F3EFE2;
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 14px;
	padding: 10px 14px;
}

.ffun-hub-zoek::placeholder {
	color: #6d8c8a;
}

.ffun-hub-zoek:focus,
.ffun-hub-sorteer:focus {
	outline: 2px solid #E8A33B;
	outline-offset: 1px;
}

.ffun-hub-sorteer {
	background: #122F30;
	border: 1px solid #2D5053;
	color: #F3EFE2;
	font-family: "Public Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 14px;
	cursor: pointer;
}

.ffun-hub-teller {
	font-family: "Public Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #A9C4C0;
	margin: 0 0 16px;
}

.ffun-hub-teller span {
	color: #E8A33B;
}

.ffun-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

/* Let op: [hidden] uit de browser-standaardstijl en de class-regel hieronder
 * hebben dezelfde specificiteit -- zonder deze regel zou onze eigen
 * display:flex de display:none van [hidden] verslaan, waardoor het
 * zoekfilter de kaarten niet echt verbergt. */
.ffun-hub-kaart[hidden] {
	display: none !important;
}

.ffun-hub-kaart {
	display: flex;
	flex-direction: column;
	background: #16393B;
	border: 1px solid #2D5053;
	text-decoration: none;
	overflow: hidden;
	transition: border-color 120ms ease, transform 120ms ease;
}

.ffun-hub-kaart:hover {
	border-color: #E8A33B;
	transform: translateY(-2px);
}

.ffun-hub-kaart-afbeelding {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #122F30;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ffun-hub-kaart-afbeelding img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ffun-hub-kaart-placeholder {
	font-size: 28px;
	color: #2D5053;
}

.ffun-hub-kaart-inhoud {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.ffun-hub-kaart-categorie {
	font-family: "Public Sans", sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #E8A33B;
}

.ffun-hub-kaart-titel {
	font-family: "Public Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #F3EFE2;
	margin: 0;
	line-height: 1.3;
}

.ffun-hub-kaart-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 8px;
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 12px;
	color: #A9C4C0;
}

.ffun-hub-kaart-stemmen {
	color: #E8A33B;
	font-weight: 700;
}

.ffun-hub-leeg {
	font-family: "Public Sans", system-ui, sans-serif;
	color: #A9C4C0;
	font-size: 14px;
	padding: 40px 0 16px;
	text-align: center;
}

.ffun-hub-opnieuw-zoeken {
	display: flex;
	gap: 12px;
	max-width: 420px;
	margin: 0 auto 40px;
	padding: 0 20px;
}

.ffun-hub-opnieuw-zoeken input {
	flex: 1;
	min-width: 0;
	background: #16393B;
	border: 1px solid #2D5053;
	color: #F3EFE2;
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 14px;
	padding: 10px 14px;
}

.ffun-hub-opnieuw-zoeken input::placeholder {
	color: #6d8c8a;
}

.ffun-hub-opnieuw-zoeken input:focus {
	outline: 2px solid #E8A33B;
	outline-offset: 1px;
}

.ffun-hub-opnieuw-zoeken button {
	background: #E8A33B;
	color: #24150A;
	border: none;
	border-radius: 0 !important;
	padding: 0 20px !important;
	font-family: "Public Sans", sans-serif;
	font-weight: 700;
	font-size: 14px !important;
	cursor: pointer;
}

.ffun-hub-opnieuw-zoeken button:hover {
	background: #C98A2E;
}

@media (max-width: 480px) {
	.ffun-hub {
		padding: 28px 16px 60px;
	}
	.ffun-hub-titel {
		font-size: 26px;
	}
	.ffun-hub-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}
