/* ==========================================================================
   Reset & basics
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var( --cf-font-body );
	color: #f1f0fb;
	background: var( --cf-navy );
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var( --cf-pink-dark );
}

h1, h2, h3, h4 {
	font-family: var( --cf-font-heading );
	font-weight: 800;
	line-height: 1.15;
	color: #ffffff;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect( 1px, 1px, 1px, 1px );
	white-space: nowrap;
}

.skip-link.screen-reader-text:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	background: #fff;
	color: var( --cf-navy );
	padding: 10px 16px;
	z-index: 9999;
	border-radius: 8px;
}

.cf-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.cf-site-header {
	background: var( --cf-navy );
	position: sticky;
	top: 0;
	z-index: 100;
}

.cf-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	position: relative;
}

.cf-logo {
	text-decoration: none;
}

.cf-logo-text {
	font-family: var( --cf-font-heading );
	font-weight: 800;
	font-size: 22px;
	color: #fff;
	letter-spacing: 0.02em;
}

.cf-menu-toggle {
	display: none;
	background: transparent;
	border: none;
	padding: 8px;
	cursor: pointer;
}

.cf-menu-toggle span {
	display: block;
	width: 24px;
	height: 3px;
	background: #fff;
	margin: 5px 0;
	border-radius: 2px;
}

.cf-menu {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cf-menu a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}

.cf-menu a:hover {
	color: var( --cf-blue );
}

@media ( max-width: 780px ) {
	.cf-menu-toggle {
		display: block;
	}

	.cf-primary-nav {
		display: none;
		width: 100%;
	}

	.cf-primary-nav.is-open {
		display: block;
	}

	.cf-header-inner {
		flex-wrap: wrap;
	}

	.cf-menu {
		flex-direction: column;
		gap: 4px;
		padding: 16px 0 8px;
	}

	.cf-menu a {
		display: block;
		padding: 10px 0;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.cf-hero {
	background: var( --cf-navy );
	position: relative;
	overflow: hidden;
	padding: 80px 0 96px;
	text-align: center;
}

.cf-bubbles {
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	max-width: 620px;
	height: auto;
	pointer-events: none;
}

.cf-hero-inner {
	position: relative;
	z-index: 1;
}

.cf-hero-columns {
	display: grid;
	grid-template-columns: 0.9fr 1.3fr;
	gap: 48px;
	align-items: center;
	text-align: left;
}

.cf-hero-columns.cf-hero-columns-no-image {
	display: block;
	text-align: center;
}

.cf-hero-image {
	max-width: 100%;
	border-radius: 20px;
}

@media ( max-width: 780px ) {
	.cf-hero-columns {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.cf-hero-image-col {
		max-width: 280px;
		margin: 0 auto;
	}
}

.cf-hero-eyebrow {
	color: #fff;
	font-family: var( --cf-font-heading );
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 15px;
	margin: 0 0 12px;
}

.cf-hero-title {
	color: var( --cf-pink );
	font-size: clamp( 40px, 7vw, 68px );
	margin: 0 0 10px;
	text-transform: uppercase;
}

.cf-hero-subtitle {
	color: var( --cf-pink );
	font-family: var( --cf-font-heading );
	font-weight: 700;
	font-size: clamp( 18px, 3vw, 26px );
	text-transform: uppercase;
	margin: 0 0 32px;
}

.cf-hero-spellen-lijst {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	color: var( --cf-blue );
	font-family: var( --cf-font-heading );
	font-weight: 700;
	font-size: clamp( 15px, 2.2vw, 19px );
}

.cf-hero-spellen-lijst li {
	margin-bottom: 6px;
}

.cf-hero-404 {
	text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cf-btn {
	display: inline-block;
	font-family: var( --cf-font-heading );
	font-weight: 700;
	border-radius: 999px;
	padding: 12px 28px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}

.cf-btn-primary {
	background: var( --cf-pink );
	color: #fff;
}

.cf-btn-primary:hover {
	background: var( --cf-pink-dark );
	color: #fff;
}

.cf-btn-large {
	padding: 16px 40px;
	font-size: 17px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.cf-section {
	padding: 72px 0;
}

.cf-section-alt {
	background: var( --cf-navy-alt );
}

.cf-section-title {
	text-align: center;
	font-size: clamp( 28px, 4vw, 38px );
	margin: 0 0 12px;
}

.cf-section-lead {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
	color: rgba( 255, 255, 255, 0.75 );
}

.cf-prose {
	max-width: 780px;
	margin: 0 auto;
}

.cf-prose img {
	border-radius: 14px;
}

.cf-cta {
	background: var( --cf-navy-alt );
	text-align: center;
}

.cf-cta h2 {
	margin-top: 0;
}

/* ==========================================================================
   Page banner (generic pages, spellen overzicht, spel detail)
   ========================================================================== */

.cf-page-banner {
	background: var( --cf-navy );
	padding: 56px 0;
	text-align: center;
}

.cf-page-title {
	color: #fff;
	margin: 0 0 6px;
	font-size: clamp( 28px, 5vw, 42px );
}

.cf-page-subtitle {
	color: var( --cf-blue );
	margin: 0;
	font-weight: 600;
}

.cf-page-banner-spel .cf-badge-onderwerp {
	margin-bottom: 12px;
}

.cf-page-banner-spel .cf-doelgroepen {
	margin-top: 12px;
}

/* ==========================================================================
   Badges — basisstijl komt uit de plugin (frontend.css), dit is alleen de
   variant voor gebruik bovenop de donkere paginabanner.
   ========================================================================== */

.cf-page-banner .cf-badge-doelgroep {
	background: rgba( 255, 255, 255, 0.15 );
	color: #fff;
}

/* ==========================================================================
   Spel detail
   ========================================================================== */

.cf-spel-detail-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.2fr 1fr;
	gap: 40px;
	align-items: start;
}

.cf-spel-detail-image {
	border-radius: 18px;
	overflow: hidden;
}

.cf-spel-detail-download-col {
	position: sticky;
	top: 100px;
}

@media ( max-width: 1000px ) {
	.cf-spel-detail-grid {
		grid-template-columns: 1fr 1fr;
	}

	.cf-spel-detail-download-col {
		grid-column: 1 / -1;
		position: static;
	}
}

@media ( max-width: 640px ) {
	.cf-spel-detail-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Blog fallback
   ========================================================================== */

.cf-post {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.15 );
}

.cf-post h2 a {
	text-decoration: none;
}

