/* ==========================================================================
   CCS basis: tokens, typografie, Salient-resets, knoppen
   Ontwerp op 1728px breed; vloeiende maten via clamp(min, vw, max).
   ========================================================================== */

:root {
	--ccs-navy: #354374;
	--ccs-nacht: #18203e;
	--ccs-geel: #faba24;
	--ccs-lichtblauw: #f5f7ff;
	--ccs-grijs: #ebebeb;
	--ccs-tekst: #594f4f;
	--ccs-wit: #fff;
	--ccs-verloop: linear-gradient(118deg, #18203e 2.5%, #354374 107%);
	--ccs-schaduw: 0 0 17px rgba(0, 0, 0, .1);
	--ccs-schaduw-hover: 0 15.3px 34px rgba(24, 32, 62, .16);
	--ccs-radius: 20px;
	--ccs-radius-groot: 31px;
	--ccs-font: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ccs-container: 1168.75px;
	--ccs-gutter: clamp(17px, 3.4vw, 51px);
	--ccs-sectie: clamp(59.5px, 6.38vw, 110.5px);
	--ccs-ease: cubic-bezier(.2, .7, .2, 1);

	--ccs-fs-h1: clamp(34px, 3.2vw, 55.25px);
	--ccs-fs-h2: clamp(27.2px, 2.46vw, 42.5px);
	--ccs-fs-h3: clamp(20.4px, 1.73vw, 29.75px);
	--ccs-fs-h4: clamp(17.85px, 1.48vw, 25.5px);
	--ccs-fs-tekst: clamp(15px, 0.99vw, 17px);
	--ccs-fs-klein: clamp(14px, 0.85vw, 14.5px);
}

html body.ccs {
	font-family: var(--ccs-font);
	color: var(--ccs-tekst);
	font-size: var(--ccs-fs-tekst);
	line-height: 1.5;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.ccs,
body.ccs .container-wrap,
body.ccs #ajax-content-wrap {
	background: #fff;
}

/* Salient-header en pagina-titel weg: CCS heeft een eigen header. */
body.ccs #header-outer,
body.ccs #header-space,
body.ccs #search-outer,
body.ccs #slide-out-widget-area,
body.ccs #slide-out-widget-area-bg,
body.ccs .nectar-skip-to-content + #header-space,
body.ccs #page-header-wrap,
body.ccs #page-header-bg,
body.ccs .row.heading-title,
body.ccs #to-top {
	display: none !important;
}

body.ccs .container-wrap {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
}

body.ccs .main-content > .row > .wpb_row:last-child {
	margin-bottom: 0;
}

/* Container */
body.ccs .container,
body.ccs .wpb_row .row_col_wrap_12.col.span_12 {
	max-width: none;
}

@media (min-width: 1000px) {
	body.ccs .container,
	body.ccs .full-width-section > .col.span_12,
	body.ccs .nectar-global-section > .container {
		max-width: calc(var(--ccs-container) + 2 * var(--ccs-gutter)) !important;
		padding-left: var(--ccs-gutter) !important;
		padding-right: var(--ccs-gutter) !important;
	}
}

/* ---------- Typografie ---------- */
body.ccs h1, body.ccs h2, body.ccs h3, body.ccs h4, body.ccs h5, body.ccs h6,
body.ccs .row .col h1, body.ccs .row .col h2, body.ccs .row .col h3, body.ccs .row .col h4 {
	font-family: var(--ccs-font);
	font-weight: 500;
	color: var(--ccs-navy);
	letter-spacing: -.05em;
	line-height: 1.2;
	margin-bottom: .45em;
	text-wrap: balance;
}

body.ccs h1, body.ccs .row .col h1 { font-size: var(--ccs-fs-h1); line-height: 1.2; }
body.ccs h2, body.ccs .row .col h2 { font-size: var(--ccs-fs-h2); line-height: 1.2; }
body.ccs h3, body.ccs .row .col h3 { font-size: var(--ccs-fs-h3); line-height: 1.2; }
body.ccs h4, body.ccs .row .col h4 { font-size: var(--ccs-fs-h4); line-height: 1.2; }
body.ccs h5, body.ccs .row .col h5 { font-size: var(--ccs-fs-tekst); letter-spacing: 0; font-weight: 700; line-height: 1.5; }

/* Accentwoorden: cursief in de editor = bold italic. */
body.ccs h1 em, body.ccs h2 em, body.ccs h3 em, body.ccs h4 em,
body.ccs .ccs-accent {
	font-weight: 700;
	font-style: italic;
	letter-spacing: -.045em;
	padding-right: .04em;
}

body.ccs p,
body.ccs .wpb_text_column,
body.ccs li {
	font-size: var(--ccs-fs-tekst);
	line-height: 1.5;
	color: inherit;
}

body.ccs p { padding-bottom: 1em; }
body.ccs .wpb_text_column > *:last-child,
body.ccs .wpb_text_column .wpb_wrapper > *:last-child { padding-bottom: 0; margin-bottom: 0; }

body.ccs a { color: var(--ccs-navy); transition: color .2s; }
body.ccs em, body.ccs strong, body.ccs b, body.ccs i { font-family: inherit; }
body.ccs strong { font-weight: 700; }

/* Bovenkop (eyebrow) */
body.ccs .ccs-bovenkop,
body.ccs p.ccs-bovenkop {
	display: block;
	font-size: var(--ccs-fs-tekst);
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ccs-navy);
	padding-bottom: .4em;
	line-height: 1.3;
}

body.ccs .ccs-intro,
body.ccs p.ccs-intro {
	max-width: 36em;
}

body.ccs .ccs-centraal { text-align: center; }
body.ccs .ccs-centraal .ccs-intro { margin-left: auto; margin-right: auto; }

/* Donkere secties */
body.ccs .ccs-donker,
body.ccs .ccs-donker p,
body.ccs .ccs-donker li { color: var(--ccs-grijs); }
html body.ccs .ccs-donker h1, html body.ccs .ccs-donker h2, html body.ccs .ccs-donker h3, html body.ccs .ccs-donker h4,
html body.ccs .ccs-donker .row .col h1, html body.ccs .ccs-donker .row .col h2, html body.ccs .ccs-donker .row .col h3, html body.ccs .ccs-donker .row .col h4 { color: #fff !important; }
html body.ccs .ccs-donker h1 em, html body.ccs .ccs-donker h2 em, html body.ccs .ccs-donker h3 em,
body.ccs .ccs-donker .ccs-accent { color: var(--ccs-geel) !important; }
body.ccs .ccs-donker .ccs-bovenkop { color: var(--ccs-geel); }
body.ccs .ccs-donker a:not(.ccs-knop):not(.nectar-button) { color: #fff; }

/* Pijl-link ("Meer over ons →") */
body.ccs a.ccs-pijl,
body.ccs .ccs-pijl a {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	font-weight: 700;
	font-size: var(--ccs-fs-klein);
	color: var(--ccs-navy);
	text-decoration: none;
}
body.ccs a.ccs-pijl::after,
body.ccs .ccs-pijl a::after {
	content: "→";
	transition: transform .3s var(--ccs-ease);
}
body.ccs a.ccs-pijl:hover::after,
body.ccs .ccs-pijl a:hover::after { transform: translateX(4.25px); }

/* ---------- Knoppen ----------
   Native nectar_btn met el_class "ccs-knop ccs-knop--wit|--blauw|--lijn" of <a class="ccs-knop">. */
html body.ccs a.ccs-knop,
html body.ccs button.ccs-knop,
html body.ccs .gform_wrapper button.ccs-knop,
html body.ccs .nectar-button.ccs-knop {
	--knop-bg: #fff;
	--knop-tekst: #000;
	--knop-bol: var(--ccs-geel);
	--knop-pijl: #fff;
	--knop-rand: transparent;
	position: relative;
	display: inline-flex !important;
	align-items: center;
	gap: 13.6px;
	min-height: 53.55px;
	padding: 8.5px 9.35px 8.5px clamp(17px, 1.36vw, 23.8px) !important;
	margin: 0 !important;
	border-radius: 999px !important;
	border: 1px solid var(--knop-rand) !important;
	background: var(--knop-bg) !important;
	color: var(--knop-tekst) !important;
	font-family: var(--ccs-font) !important;
	font-size: var(--ccs-fs-tekst) !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
	cursor: pointer;
	transition: transform .35s var(--ccs-ease), box-shadow .35s var(--ccs-ease), background-color .25s !important;
	white-space: nowrap;
}

html body.ccs .ccs-knop span,
html body.ccs .nectar-button.ccs-knop span {
	color: inherit !important;
	position: static !important;
	transform: none !important;
	opacity: 1 !important;
	font: inherit !important;
	left: auto !important;
}

html body.ccs .ccs-knop i,
html body.ccs .nectar-button.ccs-knop i,
html body.ccs .nectar-button.ccs-knop .im-icon-wrap { display: none !important; }

html body.ccs .ccs-knop::after {
	content: "";
	flex: 0 0 auto;
	width: 34.85px;
	height: 34.85px;
	border-radius: 50%;
	background: var(--knop-bol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cpath fill='%23fff' d='M19.22 6.21v10.1a.58.58 0 1 1-1.16 0V7.62L6.62 19.05a.58.58 0 0 1-.82-.82L17.23 6.8H8.54a.58.58 0 1 1 0-1.17h10.1c.32 0 .58.26.58.58z'/%3E%3C/svg%3E") center / 21.25px no-repeat;
	transition: transform .45s var(--ccs-ease);
	position: static !important;
	opacity: 1 !important;
	display: block !important;
	box-shadow: none !important;
}

html body.ccs .ccs-knop:hover,
html body.ccs .ccs-knop:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10.2px 23.8px rgba(0, 0, 0, .18) !important;
}
html body.ccs .ccs-knop:hover::after,
html body.ccs .ccs-knop:focus-visible::after { transform: rotate(45deg); }

html body.ccs .ccs-knop--blauw,
html body.ccs .gform_wrapper button.ccs-knop--blauw,
html body.ccs .nectar-button.ccs-knop--blauw {
	--knop-bg: var(--ccs-navy);
	--knop-tekst: #fff;
}

html body.ccs .ccs-knop--lijn,
html body.ccs .nectar-button.ccs-knop--lijn {
	--knop-bg: transparent;
	--knop-tekst: #fff;
	--knop-rand: rgba(255, 255, 255, .85);
	--knop-bol: #fff;
}
html body.ccs .ccs-knop--lijn::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cpath fill='%23354374' d='M19.22 6.21v10.1a.58.58 0 1 1-1.16 0V7.62L6.62 19.05a.58.58 0 0 1-.82-.82L17.23 6.8H8.54a.58.58 0 1 1 0-1.17h10.1c.32 0 .58.26.58.58z'/%3E%3C/svg%3E");
}
html body.ccs .ccs-knop--lijn:hover { --knop-bg: rgba(255, 255, 255, .08); }

/* Knoppen naast elkaar (nectar_btn rendert inline) */
body.ccs .ccs-knoppen .wpb_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 11.9px 15.3px;
	align-items: center;
}
body.ccs .ccs-knoppen.ccs-centraal .wpb_wrapper { justify-content: center; }

/* Ronde icoonbol (telefoon, mail) */
body.ccs .ccs-bol {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36.55px;
	height: 36.55px;
	border-radius: 50%;
	background: #f5f5f5;
	color: var(--ccs-geel);
}
body.ccs .ccs-bol svg { width: 15.3px; height: 15.3px; }

body.ccs .ccs-contactlijnen { display: grid; gap: 15.3px; }
body.ccs a.ccs-contactlijn {
	display: inline-flex;
	align-items: center;
	gap: 18.7px;
	color: #fff;
	text-decoration: none;
	font-size: var(--ccs-fs-tekst);
}
body.ccs a.ccs-contactlijn:hover { color: var(--ccs-geel); }
body.ccs .ccs-contactlijnen--labels a.ccs-contactlijn { gap: 11.9px; line-height: 1.3; }
body.ccs .ccs-contactlijn small { display: block; font-size: var(--ccs-fs-klein); color: var(--ccs-lichtblauw); }
body.ccs .ccs-contactlijn strong { display: block; font-weight: 700; color: var(--ccs-lichtblauw); }

/* Toegankelijkheid */
body.ccs :focus-visible { outline: 3px solid var(--ccs-geel); outline-offset: 3px; }

/* ---------- Reveal-animaties (alleen met JS) ---------- */
html[data-ccs-js] [data-ccs-reveal] {
	opacity: 0;
	transform: translateY(27.2px);
	transition: opacity .9s var(--ccs-ease), transform .9s var(--ccs-ease);
	transition-delay: calc(var(--ccs-i, 0) * 90ms);
}
html[data-ccs-js] [data-ccs-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html[data-ccs-js] [data-ccs-reveal] { opacity: 1; transform: none; transition: none; }
	html body.ccs * { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
html body.ccs { scroll-padding-top: 110.5px; }

/* ---------- Berichten (cases & nieuws): zelfde opbouw als pagina's ---------- */
body.ccs.single-post .container-wrap .main-content > .row > .post-area,
body.ccs.single-post .post-area article,
body.ccs.single-post .post-area .inner-wrap,
body.ccs.single-post .post-area .post-content,
body.ccs.single-post .post-area .content-inner {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
body.ccs.single-post .post-area .wpb_row.full-width-section,
body.ccs.single-post .post-area .nectar-global-section .wpb_row.full-width-section {
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
	width: 100vw !important;
	left: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.ccs.single-post .post-area .wpb_row.full-width-section > .row_col_wrap_12,
body.ccs.single-post .post-area .wpb_row.full-width-section > .span_12 {
	max-width: calc(var(--ccs-container) + 2 * var(--ccs-gutter));
	margin: 0 auto;
	padding-left: var(--ccs-gutter);
	padding-right: var(--ccs-gutter);
}
body.ccs.single-post .container.main-content { padding-top: 0 !important; margin-top: 0 !important; }
body.ccs.single-post #single-below-header,
body.ccs.single-post .post-meta,
body.ccs.single-post .post-featured-img,
body.ccs.single-post .heading-title,
body.ccs.single-post #author-bio,
body.ccs.single-post .comments-section,
body.ccs.single-post .comment-wrap,
body.ccs.single-post .post-tags,
body.ccs.single-post .bottom-meta,
body.ccs.single-post .blog_next_prev_buttons { display: none !important; }
