/* Leesladder -- kaartgrids, categorie-hub en homepage-secties. */

/* ==========================================================================
   Kaartgrid (homepage-secties, per 2 naast elkaar).
   ========================================================================== */

.bfun-kaartgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.bfun-kaartgrid--klein {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 480px) {
	.bfun-kaartgrid.bfun-kaartgrid--klein {
		grid-template-columns: 1fr;
	}
}

.bfun-kaartgrid-item {
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid #E3DDD0;
	text-decoration: none;
	transition: border-color 120ms ease;
}

.bfun-kaartgrid-item:hover {
	border-color: #96692E;
}

.bfun-kaartgrid-afbeelding {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #F4F1EA;
}

.bfun-kaartgrid-afbeelding img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bfun-kaartgrid-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 28px;
}

.bfun-kaartgrid-stemmen {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(26, 29, 34, 0.85);
	color: #E8C989;
	font-family: Geist, system-ui, sans-serif;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 7px;
}

.bfun-kaartgrid-tekst {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
}

.bfun-kaartgrid-categorie {
	font-family: Geist, system-ui, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.6px;
	color: #6E6960;
}

.bfun-kaartgrid-titel {
	font-family: Geist, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #2B2420;
}

.bfun-kaartgrid-item:hover .bfun-kaartgrid-titel {
	color: #96692E;
}

@media (max-width: 767px) {
	.bfun-kaartgrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   Homepage: rijen van 2 secties naast elkaar + top-gebruikerslijst.
   ========================================================================== */

.bfun-home {
	max-width: 1024px;
	margin: 0 auto;
	padding: 32px 20px 64px;
	box-sizing: border-box;
}

.bfun-home-rij {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 40px;
}

.bfun-home-sectie-kop {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bfun-home-sectie-titel {
	font-family: Geist, system-ui, sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #2B2420;
	margin: 0;
}

.bfun-home-sectie-alles {
	font-family: Geist, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #96692E;
	text-decoration: none;
	white-space: nowrap;
}

.bfun-home-sectie-alles:hover {
	color: #2B2420;
}

.bfun-home-gebruikers {
	margin-top: 16px;
	padding-top: 32px;
	border-top: 1px solid #E3DDD0;
}

.bfun-ranking-lijst {
	margin-top: 16px;
}

.bfun-ranking-rij {
	display: flex;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid #E3DDD0;
	font-family: Geist, system-ui, sans-serif;
	color: #2B2420;
}

.bfun-ranking-plek {
	color: #96692E;
	font-weight: 800;
	width: 40px;
}

.bfun-ranking-naam {
	flex: 1;
}

.bfun-ranking-uitleg {
	color: #6E6960;
	font-size: 13px;
	margin-top: 16px;
}

@media (max-width: 767px) {
	.bfun-home-rij {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* ==========================================================================
   Categorie-hub: doorzoekbaar overzicht van alle lijstjes in een categorie.
   ========================================================================== */

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

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

.bfun-hub-label {
	font-family: Geist, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #96692E;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.bfun-hub-titel {
	font-family: Geist, system-ui, sans-serif;
	font-size: 34px;
	font-weight: 800;
	color: #2B2420;
	margin: 0 0 10px;
}

.bfun-hub-omschrijving {
	font-family: Geist, system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #6E6960;
	max-width: 640px;
	margin: 0;
}

.bfun-hub-controls {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 28px 0 12px;
	padding: 16px;
	background: #FFFFFF;
	border: 1px solid #E3DDD0;
}

.bfun-hub-zoek {
	flex: 1;
	min-width: 200px;
	background: #F4F1EA;
	border: 1px solid #E3DDD0;
	color: #2B2420;
	font-family: Geist, system-ui, sans-serif;
	font-size: 14px;
	padding: 10px 14px;
}

.bfun-hub-zoek::placeholder {
	color: #A39C8E;
}

.bfun-hub-zoek:focus,
.bfun-hub-sorteer:focus {
	outline: 2px solid #96692E;
	outline-offset: 1px;
}

.bfun-hub-sorteer {
	background: #F4F1EA;
	border: 1px solid #E3DDD0;
	color: #2B2420;
	font-family: Geist, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 14px;
	cursor: pointer;
}

.bfun-hub-teller {
	font-family: Geist, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #6E6960;
	margin: 0 0 16px;
}

.bfun-hub-teller span {
	color: #96692E;
}

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

.bfun-hub-kaart[hidden] {
	display: none !important;
}

.bfun-hub-kaart {
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid #E3DDD0;
	text-decoration: none;
	overflow: hidden;
	transition: border-color 120ms ease, transform 120ms ease;
}

.bfun-hub-kaart:hover {
	border-color: #96692E;
	transform: translateY(-2px);
}

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

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

.bfun-hub-kaart-placeholder {
	font-size: 28px;
}

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

.bfun-hub-kaart-categorie {
	font-family: Geist, system-ui, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #96692E;
}

.bfun-hub-kaart-titel {
	font-family: Geist, system-ui, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #2B2420;
	margin: 0;
	line-height: 1.3;
}

.bfun-hub-kaart-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 8px;
	font-family: Geist, system-ui, sans-serif;
	font-size: 12px;
	color: #6E6960;
}

.bfun-hub-kaart-stemmen {
	color: #96692E;
	font-weight: 700;
}

.bfun-hub-leeg {
	font-family: Geist, system-ui, sans-serif;
	color: #6E6960;
"font-size: 14px;
	padding: 40px 0 16px;
	text-align: center;
}

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

/* ==========================================================================
   Hitlijst-rijen (rang + kleine thumbnail + titel) -- zelfde compacte stijl
   als muziektop10.nl/filmfun.nl op de homepage.
   ========================================================================== */

.bfun-blok-titelbalk {
	background: #FFFFFF;
	border: 1px solid #E3DDD0;
	padding: 20px 16px;
	margin-top: 16px;
}

.bfun-blok-titelbalk .bfun-home-sectie-titel {
	margin: 0;
}

.bfun-blok-inhoud .bfun-hitlijst {
	margin-top: 0;
}

.bfun-blok-inhoud .bfun-hitlijst-rij:first-child {
	border-top: none;
}

.bfun-home-sectie-alles {
	display: inline-block;
	margin-top: 12px;
	font-family: Geist, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #96692E;
	text-decoration: none;
}

.bfun-home-sectie-alles:hover {
	color: #2B2420;
}

.bfun-hitlijst {
	display: flex;
	flex-direction: column;
}

.bfun-hitlijst-rij {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	background: #FFFFFF;
	border: 1px solid #E3DDD0;
	border-top: none;
	text-decoration: none;
	transition: background-color 120ms ease;
}

.bfun-hitlijst-rij:first-child {
	border-top: 1px solid #E3DDD0;
}

.bfun-hitlijst-rij:hover {
	background: #F5F2EC;
}

.bfun-hitlijst-rang {
	flex-shrink: 0;
	width: 32px;
	font-family: Geist, system-ui, sans-serif;
	font-weight: 800;
	font-size: 20px;
	color: #96692E;
}

.bfun-hitlijst-afbeelding {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	overflow: hidden;
	background: #F4F1EA;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bfun-hitlijst-afbeelding img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bfun-hitlijst-placeholder {
	font-size: 22px;
}

.bfun-hitlijst-tekst {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.bfun-hitlijst-meta {
	font-family: Geist, system-ui, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #6E6960;
}

.bfun-hitlijst-titel {
	font-family: Geist, system-ui, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #2B2420;
}

.bfun-hitlijst-rij:hover .bfun-hitlijst-titel {
	color: #96692E;
}

.bfun-hitlijst-leeg {
	margin-top: 16px;
	color: #6E6960;
	font-family: Geist, system-ui, sans-serif;
	font-size: 14px;
}
/* ==========================================================================
   Homepage-hero: titel, zoekbalk, categorieknoppen, CTA -- zelfde opzet als
   muziektop10.nl/filmfun.nl.
   ========================================================================== */

.bfun-hero {
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
	padding: 8px 0 8px;
}

.bfun-hero-titel {
	font-family: Geist, system-ui, sans-serif;
	font-size: 32px;
	font-weight: 800;
	color: #2B2420;
	margin: 0 0 20px;
	line-height: 1.2;
}

.bfun-hero-zoek {
	max-width: 560px;
	margin: 0 auto 20px;
	display: flex;
}

.bfun-hero-zoek input {
	flex: 1;
	background: #FFFFFF;
	border: 1px solid #E3DDD0;
	color: #2B2420;
	padding: 14px 18px;
	font-family: Geist, system-ui, sans-serif;
	font-size: 15px;
}

.bfun-hero-zoek button {
	background: #96692E;
	color: #FAF7F2;
	border: none;
	padding: 0 22px;
	font-weight: 700;
	cursor: pointer;
	font-family: Geist, system-ui, sans-serif;
}

.bfun-hero-grid {
	max-width: 680px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.bfun-hero-cat {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 1 1 140px;
	max-width: 220px;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #E3DDD0;
	background: #FFFFFF;
	color: #2B2420;
	font-family: Geist, system-ui, sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
	box-sizing: border-box;
}

.bfun-hero-cat:hover {
	border-color: #96692E;
	color: #96692E;
}

.bfun-hero-cta {
	display: block;
	max-width: 680px;
	margin: 14px auto 0;
	padding: 16px;
	background: #96692E;
	color: #FAF7F2;
	text-align: center;
	font-family: Geist, system-ui, sans-serif;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	box-sizing: border-box;
}

.bfun-hero-cta:hover {
	background: #7A5423;
}