h1, h2 {
	/* color: rebeccapurple !important; */
}
:root {
	/* GO Customizer settings */
	/* --go--copias--color--primary: #192954; // also: header front, footer front, socials
	--go--copias--color--secondary: #73b89e; // also: footer background
	--go--copias--color--tertiary: #faba51;
	--go--copias--color--background: #f1efe1; // also: header background */
	/* site spacing: 1446 */
}
body,
.editor-styles-wrapper {
	--go--copias--color--primary: #192954; /* also: header front, footer front, socials */
	--go--copias--color--secondary: #73b89e; /* also: footer background */
	--go--copias--color--tertiary: #faba51;
	--go--copias--color--background: #f1efe1; /* also: header background */

	--go-button--text-transform: normal;
	/*--go--spacing--horizontal: 50;
	--go--spacing--paragraph: 15;
	--go--spacing--header: 25;
	--wp--style--block-gap: var(--go--spacing--paragraph); */
	--wp--style--gallery-gap-default: calc(var(--go--spacing--horizontal)*1px);
}




/* Theme colors */
/* Generate custom color properties, so children can inherit text & bg colors. */
.has-black-color {
	--current--color--text: var(--wp--preset--color--black);
}
.has-black-background-color {
	--current--color--bg: var(--wp--preset--color--black);
}
.has-primary-color {
	--current--color--text: var(--wp--preset--color--primary);
}
.has-primary-background-color {
	--current--color--bg: var(--wp--preset--color--primary);
}
.has-secondary-color {
	--current--color--text: var(--wp--preset--color--secondary);
}
.has-secondary-background-color {
	--current--color--bg: var(--wp--preset--color--secondary);
}
.has-tertiary-color {
	--current--color--text: var(--wp--preset--color--tertiary);
}
.has-tertiary-background-color {
	--current--color--bg: var(--wp--preset--color--tertiary);
}
.has-quarternary-color {
	--current--color--text: var(--wp--preset--color--quarternary);
}
.has-quarternary-background-color {
	--current--color--bg: var(--wp--preset--color--quarternary);
}
.has-quinary-color {
	--current--color--text: var(--wp--preset--color--quinary);
}
.has-quinary-background-color {
	--current--color--bg: var(--wp--preset--color--quinary);
}
.has-senary-color {
	--current--color--text: var(--wp--preset--color--senary);
}
.has-senary-background-color {
	--current--color--bg: var(--wp--preset--color--senary);
}
.has-grey-light-color {
	--current--color--text: var(--wp--preset--color--grey-light);
}
.has-grey-light-background-color {
	--current--color--bg: var(--wp--preset--color--grey-light);
}
.has-grey-color {
	--current--color--text: var(--wp--preset--color--grey);
}
.has-grey-background-color {
	--current--color--bg: var(--wp--preset--color--grey);
}
.has-grey-dark-color {
	--current--color--text: var(--wp--preset--color--grey-dark);
}
.has-grey-dark-background-color {
	--current--color--bg: var(--wp--preset--color--grey-dark);
}




/* Let the rectangles overflow, it's ok 'cause we've clipped the body. */
html,
body,
.editor-styles-wrapper {
	overflow-x: clip;
}
.site-content {
	overflow: visible;
}

/* Fix wrong paddings in editor (prevent horizontal scroll, while still allowing tilted backgrounds to touch the edges iso the body border). */
body,
body :where(.editor-styles-wrapper) {
	padding-left: .75rem !important;
	padding-right: .75rem !important;
	box-sizing: border-box;
	border: none;
}

/* Fake match the vertical spacing on front in the editor. */
:where(.editor-styles-wrapper) .wp-block.alignfull,
:where(.editor-styles-wrapper) .wp-block.alignwide,
:where(.editor-styles-wrapper) .wp-block.is-style-wide {
	margin-bottom: calc(var(--go--spacing--vertical)*2);
}





.is-style-default  {
	z-index: 1;
}
h1, h2, h3,
.has-x-large-font-size,
.has-large-font-size {
	hyphens: auto;
}



/* Orig 2023 */
.img-scale-out img {
	transform: scale(2);
	opacity: .5;
}

.menu-item.lang-item a {
	text-transform: uppercase;
}

h1 + h2 {
	margin-top: calc( var(--go-heading--margin-bottom) * -1.2 );
}

.wp-block-separator {
	margin-top: calc( var(--go--spacing--vertical) * 3 );
}

.wp-block-cover__inner-container,
.wp-block-cover__inner-container h1,
/* Fix width innercontent copy that cannot be set 'wide'. */
[class*="__inner-container"] > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide):not(h1) {
	max-width: 100% !important;
	width: 100% !important;
}

ul.wp-block-latest-posts {
	padding-left: 0;
}

.wp-block-latest-posts__featured-image img {
    max-width: 100% !important;
}




/*** Custom 2026 ***/
@media (max-width: 600px) {
:where(.wp-block-columns.is-layout-flex) {
    gap: calc( var(--wp--style--gallery-gap-default) / 4);
}
}




/*** HALFHEADER ***/
/* mobile = normal flow, tablet = crop, wide copy, desktop = crop, narrow copy */
@media (max-width: 782px) {
	.halfheader .has-primary-background-color + .wp-block-cover__inner-container h1,
	.halfheader .has-primary-background-color + .wp-block-cover__inner-container h2,
	.halfheader .has-primary-background-color + .wp-block-cover__inner-container p {
		color: contrast-color(var(--wp--preset--color--primary)) !important;

	}
}
@media (min-width: 782px) {
	.halfheader {
		padding-top: var(--wp--preset--spacing--70);
		padding-bottom: var(--wp--preset--spacing--70);
		min-height: 25rem;
	}
	.halfheader .wp-block-cover__image-background,
	.halfheader .wp-block-cover__background {
		/* De schuine snede */
		clip-path: polygon(
			60% 0%,   /* links boven */
			100% 0%,  /* rechts boven */
			100% 100%,/* rechts onder */
			85% 100%  /* links onder */
		);
	}
	.halfheader .wp-block-cover__inner-container {
		max-width: 70% !important;
	}
}

@media (min-width: 1050px) {
	.halfheader .wp-block-cover__image-background,
	.halfheader .wp-block-cover__background {
		/* De schuine snede */
		clip-path: polygon(
			45% 0%,   /* links boven */
			100% 0%,  /* rechts boven */
			100% 100%,/* rechts onder */
			70% 100%  /* links onder */
		);
	}
	.halfheader .wp-block-cover__inner-container {
		max-width: 55% !important;
	}
}

@media (min-width: 1280px) {
	.halfheader .wp-block-cover__image-background,
	.halfheader .wp-block-cover__background {
		/* De schuine snede */
		clip-path: polygon(
			35% 0%,   /* links boven */
			100% 0%,  /* rechts boven */
			100% 100%,/* rechts onder */
			60% 100%  /* links onder */
		);
	}
	.halfheader .wp-block-cover__inner-container {
		max-width: 42% !important;
	}
}





/*** INTRO & PARAGRAPHS ***/
.is-style-wide {
	width: var(--go--max-width--alignwide) !important;
	max-width: 100% !important;
}
.is-style-uitgelijnd {
	text-align: justify !important;
}
.is-layout-constrained > .wp-block-group:not(.alignfull) > p {
	max-width: var(--wp--style--global--content-size);
}




/*** GROENE BALK ***/
.is-style-met-achtergrondbalk {
	z-index: 1;
	position: relative;
}
.is-style-met-achtergrondbalk:before {
	content: '';
	display: block;
	position: absolute;
	left: 75%;
	top: 50%;
	z-index: -1;
	background-color: var(--go--copias--color--secondary);
	width: 50vw;
	height: 10rem;

	transform: rotate(-17.5deg) translateY(-7.5%);
}
/* Media-text with media right? Move it up. */
.wp-block-media-text.has-media-on-the-right.is-style-met-achtergrondbalk:before {
	transform: rotate(-17.5deg) translateY(-75%);
}

@media (max-width: 600px) {
	.wp-block-media-text {
		gap: calc( var(--wp--style--gallery-gap-default) / 2);
	}
}



/*** TILTED BACKGROUND ***/
.wp-block-group:has(+ .is-style-tilted-background) {
	position: relative;
	z-index: 5;
}
:where(.editor-styles-wrapper) .is-layout-constrained > .alignwide.alignwide {
	max-width: var(--wp--style--global--wide-size) !important;
}
:where(.editor-styles-wrapper) .is-vertical.is-content-justification-center figure {
	text-align: center;
	width: auto !important;
}
.is-style-tilted-background {
	z-index: 1;
	position: relative;

	background-color: transparent !important;
	padding: calc(var(--go--spacing--vertical)*10) calc(var(--go--spacing--vertical)*1.3) !important;
	margin-top: 7rem;
	margin-bottom: 7rem;
}
:where(.editor-styles-wrapper) .is-style-tilted-background.has-background.has-background {
	padding: calc(var(--go--spacing--paragraph)*10px) calc(var(--go--spacing--paragraph)*1.3px) !important;
	background-color: transparent !important;
}
/* Reset double margin/padding */
.is-style-tilted-grid:has(+ .is-style-tilted-background),
.is-style-tilted-grid:has(+ .wp-block-group > .is-style-tilted-background) {
	padding-bottom: 0 !important;
}
/*:root :where(.editor-styles-wrapper) {
	--go--viewport-basis: 1951;
	/* --go--spacing--horizontal: 50;
	--go--spacing--vertical
	--go--spacing--paragraph: 15;
	--go--spacing--header: 25;
	--wp--style--block-gap: var(--go--spacing--paragraph); * /
}*/
.is-style-tilted-background:before {
	content: '';
	display: block;
	position: absolute;
	left: -20rem;
	right: -20rem;
	top: 0;
	bottom: 0;
	z-index: -2;
	background-color: var(--current--color--bg);

	transform: rotate(-9deg);
	transform-origin: 30rem center;
}
.wp-block-group.is-content-justification-right .is-style-tilted-background:last-child:before {
	right: -60rem;
	transform-origin: 30rem center;
}
.wp-block-group.is-content-justification-left .is-style-tilted-background:first-child:before {
	left: -60rem;
	transform-origin: 70rem center;
}



/***  TILTED GRID ***/
.editor-styles-wrapper {

}

.is-style-tilted-grid {
	overflow: clip;
	gap: var(--wp--style--gallery-gap-default);
}
.is-style-tilted-grid:before {
	bottom: auto;
	height: 30rem;
	top: -20rem;
	transform-origin: center;
}

.is-style-tilted-grid > .wp-block-group {
	margin-top: 0;
}
.is-style-tilted-grid > .wp-block-group > .wp-block-group {
	position: relative;
}
.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(1) {
	top: calc( ((100vw - 1.5rem - var(--double-padding)) / 8 * 3) * 0.156434465 );
}
.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(2) {
	top: calc( ((100vw - 1.5rem - var(--double-padding)) / 8 * 1) * 0.156434465 );
}
.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(3) {
	top: calc( ((100vw - 1.5rem - var(--double-padding)) / 8 * -1) * 0.156434465 );
}
.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(4) {
	top: calc( ((100vw - 1.5rem - var(--double-padding)) / 8 * -3) * 0.156434465 );
}

@media (min-width: 82rem) {
	.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(1) {
		top: calc( (var(--wp--style--global--wide-size) / 8 * 3) * 0.156434465 );
	}
	.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(2) {
		top: calc( (var(--wp--style--global--wide-size) / 8 * 1) * 0.156434465 );
	}
	.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(3) {
		top: calc( (var(--wp--style--global--wide-size) / 8 * -1) * 0.156434465 );
	}
	.is-style-tilted-grid > .wp-block-group > .wp-block-group:nth-child(4) {
		top: calc( (var(--wp--style--global--wide-size) / 8 * -3) * 0.156434465 );
	}
}

@media (min-width: 2000px) {
	.is-style-tilted-grid:before {
		height: 30rem;
		top: -15rem;
	}
	.is-style-tilted-grid > .wp-block-group {
		margin-top: 5rem;
	}
}

/* disable grid on small screens */
@media (max-width: 820px) {
	.is-style-tilted-grid > .wp-block-group {
		display: block;
		/* margin-top: -2.5rem; */
	}
	.is-style-tilted-grid > .wp-block-group > .wp-block-group {
		position: static;
		margin-bottom: var(--wp--style--gallery-gap-default);
	}
}




/*** NEWS ***/
.wp-block-latest-posts__list {
	background-color: transparent !important;
	gap: calc( var(--wp--style--gallery-gap-default) / 2);
}
:where(.editor-styles-wrapper) .wp-block-latest-posts__list.has-background.has-background {
	background-color: transparent !important;
}
@media (min-width: 600px) {
	.wp-block-latest-posts.columns-3 li {
		width: 25%;
		flex-grow: 5;
	}
}

ul.wp-block-latest-posts__list > li {
	padding: 0 20px 20px 20px;
	color: var(--current-color--text);
	background-color: var(--current--color--bg);
}
:where(.editor-styles-wrapper) ul.wp-block-latest-posts.wp-block-latest-posts > li {
	padding-left: 20px;
}
.wp-block-latest-posts__list > li,
.wp-block-latest-posts__list > li * {
	transition: all 0.3s ease;
}
.wp-block-latest-posts__featured-image {
	margin-left: -20px;
	margin-right: -20px;
	width: calc( 100% + 40px);
}
.wp-block-latest-posts__featured-image a {
	display: block;
	width: 100%;
}
.wp-block-latest-posts__featured-image img {
	width: 100%;
	height: 350px;
	object-fit: cover;
}
.wp-block-latest-posts__post-title {
	font-size: var(--go--type-scale-2);
	line-height: var(--go-heading--line-height);
	font-weight: bold;
	text-decoration: none;
}
.wp-block-latest-posts__post-date {
	font-size: calc( var(--go--font-size) * .9 );
}
.wp-block-latest-posts__post-excerpt {
	font-size: var(--go--font-size);
}

/* JS moves the link of a 'linked featured image' to the parent li, enabling fully clickable posts */
.clickablePostItem {
	position: relative;
}
.clickablePostItemLink {
	position: absolute;
	z-index: 20;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
.clickablePostItem:hover,
.clickablePostItem:focus {
	transform: scale(1.05);
	color: var(--wp--preset--color--secondary) !important;
}
.clickablePostItem:hover *,
.clickablePostItem:focus *,
a.wp-block-latest-posts__post-title:focus,
a.wp-block-latest-posts__post-title:hover {
	color: var(--wp--preset--color--secondary) !important;
}


.wp-block-latest-posts__list.has-background > li {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Prevent hovers in the editor. */
.editor-styles-wrapper a.wp-block-latest-posts__post-title:focus,
.editor-styles-wrapper a.wp-block-latest-posts__post-title:hover {
	color: inherit !important;
}


.post-categories.meta-wrapper {
	display: none;
}




/*** WATERMERK HOME ***/
.wp-block-cover.is-style-contain-background .wp-block-cover__image-background {
	object-fit: contain;
}
.wp-block-cover.is-style-contain-transparent-background .wp-block-cover__image-background {
	object-fit: contain;
	opacity: .2;
}





/*** LOGOS ***/
figure.wp-block-gallery.has-nested-images {
	justify-content: center;
}
.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
	flex-grow: 0;
}
.wp-block-gallery .wp-block-image a {
	transition: all 0.3s ease;
}
.wp-block-gallery .wp-block-image a:hover,
.wp-block-gallery .wp-block-image a:focus {
	transform: translateY(-1rem);
}



/*** LEDEN ***/
.grid--leden {
	gap: calc( var(--wp--style--gallery-gap-default) * 1.5 );
}
.grid--leden > .wp-block-group > figure {
	width: 50%;
	height: auto;
}
.grid--leden > .wp-block-group.is-vertical > .wp-block-group.is-vertical:last-child {
	flex-grow: 50;
}
.grid--leden > .wp-block-group.is-vertical {
	gap: calc( var(--wp--style--gallery-gap-default) / 2 );
}

@media (max-width: 600px) {
	.grid--leden {
		grid-template-columns: 1fr !important;
	}
}




/*** SAMENWERKING ***/
.herosamenwerking {
	margin-bottom: -15em;
}
.redenensamenwerking {
	max-width: 1550px !important;
}
.compabiliteit, .betrokkenheid, .betrouwbaar, .kansen {
	align-items: center!important;
	position: relative;
	width: 50%;
}

.compabiliteit {
	margin-left: -1em;
	top: -1.5em;
}
.betrokkenheid {
	top: -3.3em;
}
.betrouwbaar {
	top: -3.75em;
}
.kansen {
	top: -4.5em;
}



/* Numbers */
.copias-numbers > .wp-block-group {
	flex-basis: 25%;
	flex-grow: 10;
	flex-shrink: 0;
}
.copias-numbers > .wp-block-group p {
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}
@media (max-width: 600px) {
	.copias-numbers {
		align-items: flex-start !important;
	}
	.copias-numbers > .wp-block-group {
		flex-wrap: wrap !important;
		flex-basis: 30%;
		flex-grow: 0;

		justify-content: center;
	}
	.copias-numbers > .wp-block-group p {
		text-align: center;
	}
}
@media (max-width: 500px) {
	.copias-numbers {
		flex-wrap: wrap !important;
	}
	.copias-numbers > .wp-block-group {
		flex-basis: 100%;
		justify-content: flex-start;
		flex-wrap: nowrap !important;
	}
	.copias-numbers > .wp-block-group p {
		text-align: left;
	}
	.copias-numbers figure {
		flex-basis: 25vw;
		flex-grow: 0;
		flex-shrink: 0;
	}
}



/* Doelstellingen */
@media (max-width: 781px) {
	.doelstellingen .wp-block-group {
		min-height: unset !important;
	}
}