/*
Theme Name: Lekkerthema
Theme URI: https://jamieturner.nl
Version: 1.1.0
Description: Portfolio-thema van Jamie Turner. Doorontwikkeld vanaf Ballard (Tom Rhodes).
Author: Tom Rhodes
Author URI: http://www.tommusrhodus.com/
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-background, threaded-comments, translation-ready, custom-menu
Text Domain: Ballard
*/

/* 

WARNING! DO NOT EDIT THIS FILE!

To make it easy to update your theme, you should not edit the styles in this file. Instead use 
the custom css area in "appearance => customise" from your wp-admin. IF you make edits to this
or any other theme file, they will be lost in a theme update. You have been warned.

*/

html,
body {
	background: #171717;
}
figure {
	width: auto !important;
}
img {
	max-width: 100%;
	height: auto;
}
.nav-inline + h1 {
	margin-bottom: 140px;
}
blockquote {
	margin-bottom: 1.625em;
}
.team-member__bio a + a {
	display: block;
}
.team-member-modal .modal-close-cross {
	top: 1em !important;
}
@media (max-width: 1024px) {
	.team-member-modal .modal-content .modal-close-cross {
	    top: 1.25em !important;
	}	
}

.section-cta:first-child,
.section-inner-nav + .section-cta {
	padding-top: 0;
	padding-bottom: 9.75em;
}
.section-inner-nav + .section-cta {
	padding-bottom: 0;
}
.comment footer {
	padding-top: 0;
	padding-bottom: 0;
}
.commentlist {
	list-style: none;
}

/*-----------------------------------------------------------------------------------*/
/*	WordPress Standard Styles
/*-----------------------------------------------------------------------------------*/
.sticky {
}
.bypostauthor img.avatar {
}
.screen-reader-text {
	display: none;
}
select {
	max-width: 100%;
}
.alignleft,
.aligncenter,
.alignright,
.alignnone {
	margin-bottom: 25px;
}
.alignnone {
	display: block;
}
.alignleft { 
	float: left; 
	margin: 0 30px 30px 0 !important;
}
.alignright { 
	float: right; 
	margin: 0 0 30px 30px !important;
}
.aligncenter { 
	display: block; 
	margin-right: auto; 
	margin-left: auto; 
	text-align: center; 
}
.wp-caption { 
}
.gallery-caption { 
}
.wp-caption-text, 
.gallery-caption-text { 
}
table#wp-calendar {
	border: 1px solid #cccccc
}
table#wp-calendar>tbody>tr>td>a {
	text-decoration: underline
}
table#wp-calendar thead>tr>th { 
	width: 35px;
	height: 20px;
	text-align: center;
	border: 1px solid #cccccc;
}
table#wp-calendar tbody>tr>td {
	width: 35px;
	height: 20px;
	text-align: center;
	border: 1px solid #cccccc;
}
table#wp-calendar tfoot>tr>td>a, 
tfoot>tr>td>a:link, 
tfoot>tr>td>a:visited, 
tfoot>tr>td>a:hover, 
tfoot>tr>td>a:active {
	text-decoration: underline;
	height: 23px;
	margin-left: 10px;
	padding-bottom: 3px;
}
table#wp-calendar tfoot>tr>td#prev {
	width: 58px;
	height: 20px;
	text-align: left;
}
table#wp-calendar tfoot>tr>td#next {
	width: 58px;
	height: 20px;
	text-align: right;
}
.post-content table {
	margin-bottom: 25px;
}
.post-content table tr,
.post-content table td,
#wp-calendar table tr,
#wp-calendar table td {
	padding: 10px 15px;
	border: 1px solid #cccccc;
}
dd {
	margin-bottom: 25px;
}
dt {
	margin-bottom: 10px;
	font-size: 18px;
}
.widget_rss li {
	margin-bottom: 20px; padding-bottom: 20px;
}
.widget_rss li .rsswidget, .widget_rss li cite {
	font-weight: bold; display: block;
}
.widget_rss li .rss-date {
	display: block; margin-bottom: 10px;
}
.widget_rss li cite {
	margin-top: 10px;
}
.widget address {
	margin-bottom: 0;
}
.widget {
	margin-bottom: 35px;
}
@media all and (max-width: 768px) {
	.main-container {
		overflow: hidden;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	CONTACT FORM 7
/*-----------------------------------------------------------------------------------*/
div.wpcf7 .wpcf7-not-valid { 
	border: 2px solid #de4747
}
span.wpcf7-not-valid-tip { 
	display: none !important 
}
div.wpcf7-validation-errors,
.highlight {
    margin: 15px -5px 0;
    padding: 10px;
    background-color: #fcf8e3;
    color: #c09853;
    border: 2px solid #faebcc;
}
div.wpcf7-mail-sent-ok {
	margin: 15px -5px 0;
	padding: 10px;
	border: 2px solid #d6e9c6;
	background-color: #dff0d8;
	color: #468847;
}
div.wpcf7 input[type="submit"],
div.wpcf7 p {
	margin-bottom: 0;
}
div.wpcf7-response-output {
	clear: both;
	margin-top: 25px;
}

/*-----------------------------------------------------------------------------------*/
/*	GUTENBERG
/*-----------------------------------------------------------------------------------*/
.wp-block-quote {
	margin: 3.39130435em 0;
}
.wp-block-quote:not(.is-large):not(.is-style-large) {
	border-left: none;
	padding-left: 0;
}

/*-----------------------------------------------------------------------------------*/
/*	PROJECTPAGINA — MEELOPENDE ZIJKOLOM
/*-----------------------------------------------------------------------------------*/
.project-layout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 54px;
	align-items: start;
}
/* zonder min-width:0 duwt een flexrij de gridkolom breder dan het scherm */
.project-side,
.project-media {
	min-width: 0;
}
.project-side {
	position: sticky;
	top: 40px;
	background: #1a1a18;
	border: 3px solid var(--project-color, #ffd84d);
	border-radius: 20px;
	box-shadow: 7px 7px 0 #0d0d0d;
	padding: 28px 26px 26px;
}
.project-title {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	margin: 0 0 16px;
	/* lange woorden als "Afstudeerproject:" mogen de kaart niet uitlopen */
	overflow-wrap: break-word;
	hyphens: auto;
}
.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.project-tag {
	font-family: "DM Mono", monospace;
	font-size: 9.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 2px solid #171717;
	border-radius: 999px;
	padding: 5px 11px;
	background: var(--project-color, #ffd84d);
}
.bg--dark .project-side .project-tag {
	color: #171717;
}
.project-intro p {
	margin-bottom: 1.2em;
}
.project-intro > *:last-child {
	margin-bottom: 0;
}
.project-back {
	display: inline-block;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(245, 245, 245, 0.16);
	width: 100%;
	font-family: "DM Mono", monospace;
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* beeld: geen randen, alleen ronding */
.project-media > * {
	margin-bottom: 26px;
}
.project-media > *:last-child {
	margin-bottom: 0;
}
.project-media .wp-block-gallery {
	gap: 26px;
}
.project-media .wp-block-gallery.columns-2 > figure.wp-block-image:not(#individual-image) {
	flex: 0 0 auto;
	width: calc(50% - 13px) !important;
	min-width: 0;
}
.project-media figure.wp-block-image img,
.project-media .wp-block-image img {
	width: 100%;
	height: auto;
	border-radius: 14px;
}
.project-media .wp-block-embed iframe,
.project-media .wp-block-video video {
	border-radius: 14px;
}
.project-media .wp-block-video video {
	display: block;
	width: 100%;
	height: auto;
}

/* project zonder beeld: geen lege rechterkolom */
.project-layout--single {
	grid-template-columns: minmax(0, 46rem);
}
.project-layout--single .project-side {
	position: static;
}

/* tekst tussen de beelden blijft leesbaar */
.project-media > p,
.project-media > ul,
.project-media > ol,
.project-media > h2,
.project-media > h3 {
	max-width: 34rem;
}

@media (max-width: 991px) {
	.project-layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}
	.project-side {
		position: static;
	}

	/* galerij wordt een swipebare rij met snap-punten */
	.project-media .wp-block-gallery {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		gap: 12px;
		margin-inline: calc(50% - 50vw);
		padding: 0 10vw 6px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.project-media .wp-block-gallery::-webkit-scrollbar {
		display: none;
	}
	.project-media .wp-block-gallery.columns-2 > figure.wp-block-image:not(#individual-image),
	.project-media .wp-block-gallery > figure.wp-block-image:not(#individual-image) {
		flex: 0 0 80vw;
		width: 80vw !important;
		align-self: flex-start;
		scroll-snap-align: center;
		margin: 0;
	}
	.project-media .wp-block-gallery > figure.wp-block-image img {
		height: auto;
		object-fit: contain;
	}
}

@media (prefers-reduced-motion: reduce) {
	.project-media .wp-block-gallery {
		scroll-behavior: auto;
	}
}

/*-----------------------------------------------------------------------------------*/
.project__content > *:not(.wp-block-gallery):not(.wp-block-embed) {
	max-width: 33rem;
}
.project__content > * {
	margin-bottom: 1.6em;
}
.project__content .wp-block-gallery {
	margin-top: 3em;
	gap: 30px;
}
.project__content .wp-block-gallery.columns-2 > figure.wp-block-image:not(#individual-image) {
	flex: 0 0 auto;
	width: calc(50% - 15px) !important;
	min-width: 0;
}
.project__content .wp-block-gallery > figure.wp-block-image img {
	width: 100%;
	height: auto;
}
.project__content .wp-block-embed {
	margin-top: 3em;
}

/*-----------------------------------------------------------------------------------*/
/*	PORTFOLIO BENTO CARDS
/*-----------------------------------------------------------------------------------*/
.bento-cell {
	--ink: #171717;
	--card: #fffdf8;
	--slab: #0d0d0d;
	--yellow: #ffd84d;
	--blue: #8cbcff;
	--pink: #ff9fca;
	--green: #a9e76c;
	--purple: #b99cff;

	margin-bottom: 40px;
}
.bento-cell:nth-child(5n+1) { --card-color: var(--yellow); }
.bento-cell:nth-child(5n+2) { --card-color: var(--blue); }
.bento-cell:nth-child(5n+3) { --card-color: var(--pink); }
.bento-cell:nth-child(5n+4) { --card-color: var(--green); }
.bento-cell:nth-child(5n+5) { --card-color: var(--purple); }

.bento {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 3px solid var(--card-color);
	border-radius: 20px;
	background: #000;
	box-shadow: 7px 7px 0 var(--slab);
	isolation: isolate;
	transition: transform 170ms ease, box-shadow 170ms ease;
}
.bento:hover,
.bento:focus {
	text-decoration: none;
}
.bento img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	/* eigen afronding: anders piepen de vierkante hoeken tijdens het schalen uit de clip */
	border-radius: 17px;
	transition: transform 500ms ease;
}
.bento__scrim {
	position: absolute;
	inset: 0;
	border-radius: 17px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 80%);
}
/* badge rechts: op de blogkaarten staat hij links */
.bento__tag {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--card-color);
	border: 2px solid var(--ink);
	border-radius: 999px;
	font-family: "DM Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 13px;
	transform: rotate(-3deg);
	transition: transform 200ms ease;
}
.bento__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	padding: 24px 24px 22px;
}
.bento__text {
	display: block;
	min-width: 0;
}
.bento__title {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: -0.04em;
}
.bento__meta {
	display: block;
	font-family: "DM Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.72;
	margin-top: 7px;
}
.bento__arrow {
	flex: none;
	width: 48px;
	height: 48px;
	border: 3px solid var(--card);
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
	font-family: "DM Mono", monospace;
	font-size: 17px;
	transition: background 170ms ease;
}
.bento__arrow span {
	grid-area: 1 / 1;
	width: 100%;
	text-align: center;
	transition: transform 220ms ease;
}
.bento__arrow::after {
	content: "\2192";
	grid-area: 1 / 1;
	width: 100%;
	text-align: center;
	transform: translateX(-100%);
	transition: transform 220ms ease;
}

.bg--dark .bento .bento__tag {
	color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
	.bento:hover {
		transform: translate(-4px, -4px);
		box-shadow: 14px 14px 0 var(--slab);
	}
	.bento:hover img {
		transform: scale(1.04);
	}
	.bento:hover .bento__tag {
		transform: rotate(4deg) scale(1.08);
	}
	.bento:hover .bento__arrow {
		background: var(--card-color);
		border-color: var(--card-color);
	}
	.bg--dark .bento:hover .bento__arrow,
	.bg--dark .bento:hover .bento__arrow span {
		color: var(--ink);
	}
	.bento:hover .bento__arrow span {
		transform: translateX(100%);
	}
	.bento:hover .bento__arrow::after {
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bento,
	.bento img,
	.bento__tag,
	.bento__arrow span,
	.bento__arrow::after {
		transition-duration: 100ms;
	}
	.bento:hover {
		transform: none;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	LOGO IN CIRKEL
/*-----------------------------------------------------------------------------------*/
header .logo {
	--logo-circle: 164px;

	display: inline-grid;
	place-items: center;
	width: var(--logo-circle);
	aspect-ratio: 1;
	border: 3px solid #171717;
	border-radius: 50%;
	background: #ffd84d;
}
header .logo img {
	width: calc(var(--logo-circle) * 0.55);
	max-height: none;
	height: auto;
	/* theme.css zet margin-bottom op alle img's; dat duwt het logo uit het midden */
	margin: 0;
	/* het logo is wit; omkeren zodat het op de gevulde cirkel leesbaar is */
	filter: invert(1);
}
@media (max-width: 768px) {
	header .logo {
		--logo-circle: 62px;
		margin-bottom: 0;
	}
	header {
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}
	.section-home-agency {
		padding-top: 0;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	MASCOTTE-COMPONENT — herbruikbaar, zie inc/content-mascot.php
/*-----------------------------------------------------------------------------------*/
.mascot {
	--size: 164px;
	--pop: calc(var(--size) * 0.38);     /* ruimte waarin ze boven de cirkel uitsteekt */
	--sink: calc(var(--size) * 0.18);    /* benen lopen door tot onder de rand */
	--scale: 1.34;                       /* hoogte t.o.v. de cirkel */
	--nudge: calc(var(--size) * -0.085); /* horizontaal; negatief = naar links */

	position: relative;
	display: block;
	width: var(--size);
	height: var(--size);
	margin-top: var(--pop);
}
.mascot__circle {
	position: absolute;
	inset: 0;
	z-index: 1;
	border: 3px solid #171717;
	border-radius: 50%;
	background: #ffd84d;
	transition: transform 260ms ease;
}
.mascot__mask {
	position: absolute;
	left: 50%;
	bottom: calc(var(--sink) * -1);
	width: calc(var(--size) * 1.4);
	height: calc(var(--size) + var(--pop) + var(--sink));
	transform: translateX(-50%);
	z-index: 2;
	/* bovenste helft volledig open, onder het midden knipt de cirkel */
	-webkit-mask-image:
		linear-gradient(#000 0 calc(var(--pop) + var(--size) / 2), transparent calc(var(--pop) + var(--size) / 2)),
		radial-gradient(circle calc(var(--size) / 2 - 2px) at 50% calc(var(--pop) + var(--size) / 2), #000 99%, transparent 100%);
	mask-image:
		linear-gradient(#000 0 calc(var(--pop) + var(--size) / 2), transparent calc(var(--pop) + var(--size) / 2)),
		radial-gradient(circle calc(var(--size) / 2 - 2px) at 50% calc(var(--pop) + var(--size) / 2), #000 99%, transparent 100%);
	-webkit-mask-composite: source-over;
	mask-composite: add;
}
.mascot__art {
	position: absolute;
	left: 50%;
	bottom: 0;
	height: calc(var(--size) * var(--scale));
	width: auto;
	max-width: none;
	max-height: none;
	display: block;
	transform: translateX(calc(-50% + var(--nudge))) scaleX(-1);
	transform-origin: 50% 100%;
	transition: transform 300ms cubic-bezier(0.2, 1.5, 0.4, 1);
}

@media (hover: hover) and (pointer: fine) {
	a:hover > .mascot .mascot__art,
	.mascot:hover .mascot__art {
		transform: translateX(calc(-50% + var(--nudge))) scaleX(-1) translateY(-14px) rotate(3deg);
	}
	a:hover > .mascot .mascot__circle,
	.mascot:hover .mascot__circle {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mascot__art,
	.mascot__circle {
		transition-duration: 100ms;
	}
	.mascot:hover .mascot__art {
		transform: translateX(calc(-50% + var(--nudge))) scaleX(-1);
	}
}

/*-----------------------------------------------------------------------------------*/
/*	HOMEPAGE — TEKENING NAAST DE INTRO
/*-----------------------------------------------------------------------------------*/
body.home .intro {
	position: relative;
}
.hero-figure {
	display: none;
}
@media (min-width: 992px) {
	.hero-figure {
		display: none;
		position: absolute;
		right: 7%;
		bottom: -2.5em;
		width: 260px;
		pointer-events: none;
	}
	.hero-figure img {
		display: block;
		width: 100%;
		height: auto;
	}
}

/*-----------------------------------------------------------------------------------*/
header .logo--mascot {
	--size: 164px;
	--pop: calc(var(--size) * 0.38);    /* ruimte waarin ze boven de cirkel uitsteekt */
	--sink: calc(var(--size) * 0.18);   /* benen lopen door tot onder de rand */
	--scale: 1.34;                      /* hoogte t.o.v. de cirkel */
	--nudge: calc(var(--size) * -0.085);/* horizontaal; negatief = naar links */

	position: relative;
	display: block;
	width: var(--size);
	height: var(--size);
	margin-top: var(--pop);
}
header .logo--mascot .logo__circle {
	position: absolute;
	inset: 0;
	z-index: 1;
	border: 3px solid #171717;
	border-radius: 50%;
	background: #ffd84d;
}
header .logo--mascot .logo__mask {
	position: absolute;
	left: 50%;
	bottom: calc(var(--sink) * -1);
	width: calc(var(--size) * 1.4);
	height: calc(var(--size) + var(--pop) + var(--sink));
	transform: translateX(-50%);
	z-index: 2;
	/* bovenste helft volledig open, onder het midden knipt de cirkel */
	-webkit-mask-image:
		linear-gradient(#000 0 calc(var(--pop) + var(--size) / 2), transparent calc(var(--pop) + var(--size) / 2)),
		radial-gradient(circle calc(var(--size) / 2 - 2px) at 50% calc(var(--pop) + var(--size) / 2), #000 99%, transparent 100%);
	mask-image:
		linear-gradient(#000 0 calc(var(--pop) + var(--size) / 2), transparent calc(var(--pop) + var(--size) / 2)),
		radial-gradient(circle calc(var(--size) / 2 - 2px) at 50% calc(var(--pop) + var(--size) / 2), #000 99%, transparent 100%);
	-webkit-mask-composite: source-over;
	mask-composite: add;
}
header .logo--mascot .logo__art {
	position: absolute;
	left: 50%;
	bottom: 0;
	height: calc(var(--size) * var(--scale));
	width: auto;
	max-width: none;
	max-height: none;
	display: block;
	transform: translateX(calc(-50% + var(--nudge))) scaleX(-1);
	transform-origin: 50% 100%;
	transition: transform 300ms cubic-bezier(0.2, 1.5, 0.4, 1);
}

@media (hover: hover) and (pointer: fine) {
	header .logo--mascot:hover .logo__art {
		transform: translateX(calc(-50% + var(--nudge))) scaleX(-1) translateY(-14px) rotate(3deg);
	}
	header .logo--mascot:hover .logo__circle {
		transform: scale(1.04);
	}
}
header .logo--mascot .logo__circle {
	transition: transform 260ms ease;
}

@media (max-width: 768px) {
	header .logo--mascot {
		--size: 116px;
	}
}

@media (prefers-reduced-motion: reduce) {
	header .logo--mascot .logo__art,
	header .logo--mascot .logo__circle {
		transition-duration: 100ms;
	}
	header .logo--mascot:hover .logo__art {
		transform: translateX(calc(-50% + var(--nudge))) scaleX(-1);
	}
}

/*-----------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------*/
/*	NAVIGATIE ALS PILLEN
/*-----------------------------------------------------------------------------------*/
.navigation--horizontal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.navigation--horizontal > li,
.navigation--horizontal > li:not(:last-child) {
	margin: 0;
	padding: 0;
	float: none;
}
.navigation--horizontal > li > a {
	display: block;
	border: 2px solid rgba(245, 245, 245, 0.35);
	border-radius: 999px;
	padding: 9px 17px;
	font-family: "DM Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
/* de theme-onderstreping (opgebouwd uit text-shadows) uitzetten binnen een pil */
.navigation--horizontal > li > a .underline {
	text-shadow: none;
	background-image: none;
	background: none;
}
.navigation--horizontal > li > a:hover,
.navigation--horizontal > li.current-menu-item > a {
	background: #ffd84d;
	border-color: #ffd84d;
	transform: translateY(-2px);
}
.bg--dark .navigation--horizontal > li > a:hover,
.bg--dark .navigation--horizontal > li > a:hover .underline,
.bg--dark .navigation--horizontal > li.current-menu-item > a,
.bg--dark .navigation--horizontal > li.current-menu-item > a .underline {
	color: #171717;
}

/*-----------------------------------------------------------------------------------*/
/*	HOMEPAGE INTRO ALS STATEMENT
/*-----------------------------------------------------------------------------------*/
body.home .intro h1,
body.home .intro h2,
body.home .intro h3,
body.home .intro h4,
body.home .intro p {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 1.75rem + 1.28vw, 2.9rem);
	line-height: 1.12;
	letter-spacing: -0.045em;
	max-width: 30ch;
	margin: 0;
}
/* de editor zet inline font-weight op spans; die moet wijken voor de statement-stijl */
body.home .intro h1 span,
body.home .intro h2 span,
body.home .intro h3 span,
body.home .intro h4 span,
body.home .intro p span {
	font-weight: inherit !important;
}
body.home .intro em,
body.home .intro strong {
	font-style: normal;
	font-weight: 700;
	color: #ffd84d;
}

/* navigatie rechtsboven, naast het logo */
header .header-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}
header .header-nav .navigation--horizontal {
	justify-content: flex-end;
}
header .nav-pill {
	display: block;
	border: 2px solid rgba(245, 245, 245, 0.35);
	border-radius: 999px;
	padding: 9px 17px;
	font-family: "DM Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
header .nav-pill--cta {
	background: #ffd84d;
	border-color: #ffd84d;
}
.bg--dark header .nav-pill--cta,
.bg--dark header .nav-pill--cta:hover {
	color: #171717;
}
header .nav-pill:hover {
	transform: translateY(-2px);
}
header .col-sm-4 {
	display: flex;
	align-items: center;
}
@media (max-width: 768px) {
	header .row {
		display: flex;
		align-items: center;
	}
	header .row > div[class*="col-"] {
		margin-bottom: 0;
	}
	header .col-sm-4 {
		display: flex;
		align-items: center;
		flex: none;
		width: auto;
	}
	header .col-sm-8 {
		flex: 1;
		min-width: 0;
		padding-right: 0;
	}
	header .header-nav {
		justify-content: flex-start;
	}
	header .header-nav .navigation--horizontal {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding-right: 1.625em;
	}
	header .header-nav .navigation--horizontal::-webkit-scrollbar {
		display: none;
	}
	header .navigation--horizontal > li {
		flex: none;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	COOL STUFF — FILTER
/*-----------------------------------------------------------------------------------*/
.blog-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 46px;
}
.blog-filter__label {
	font-family: "DM Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.55;
	margin-right: 6px;
}
@media (max-width: 768px) {
	.blog-filter__label {
		flex: 0 0 100%;
		margin-right: 0;
	}
}
.filter-pill {
	display: block;
	border: 2px solid rgba(245, 245, 245, 0.35);
	border-radius: 999px;
	padding: 9px 17px;
	font-family: "DM Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.filter-pill b {
	font-weight: 400;
	opacity: 0.5;
	margin-left: 7px;
}
.filter-pill:hover {
	transform: translateY(-2px);
}
.filter-pill.is-active {
	background: #ffd84d;
	border-color: #ffd84d;
}
.bg--dark .filter-pill.is-active,
.bg--dark .filter-pill.is-active:hover {
	color: #171717;
}
/* het aantal is een <b> en wordt anders door .bg--dark *:not(a) wit gekleurd */
.bg--dark .filter-pill b {
	color: inherit;
}

/*-----------------------------------------------------------------------------------*/
/*	COOL STUFF — KAARTEN
/*-----------------------------------------------------------------------------------*/
.blog-cell {
	--ink: #171717;
	--slab: #0d0d0d;
	--yellow: #ffd84d;
	--blue: #8cbcff;
	--pink: #ff9fca;
	--green: #a9e76c;
	--purple: #b99cff;

	margin-bottom: 34px;
}
.blog-cell:nth-child(5n+1) { --card-color: var(--yellow); }
.blog-cell:nth-child(5n+2) { --card-color: var(--blue); }
.blog-cell:nth-child(5n+3) { --card-color: var(--pink); }
.blog-cell:nth-child(5n+4) { --card-color: var(--green); }
.blog-cell:nth-child(5n+5) { --card-color: var(--purple); }

.blogcard {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border: 3px solid var(--card-color);
	border-radius: 20px;
	background: #000;
	box-shadow: 7px 7px 0 var(--slab);
	isolation: isolate;
	transition: transform 170ms ease, box-shadow 170ms ease;
}
.blogcard:hover,
.blogcard:focus {
	text-decoration: none;
}
.blogcard img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 17px;
	transition: transform 500ms ease;
}
.blogcard__scrim {
	position: absolute;
	inset: 0;
	border-radius: 17px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0) 82%);
}
.blogcard__tag {
	position: absolute;
	top: 13px;
	left: 13px;
	background: var(--card-color);
	border: 2px solid var(--ink);
	border-radius: 999px;
	font-family: "DM Mono", monospace;
	font-size: 9px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 11px;
	transform: rotate(-3deg);
	transition: transform 200ms ease;
}
.blogcard__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 20px 18px;
}
.blogcard__title {
	display: block;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.15;
	letter-spacing: -0.035em;
}
.blogcard__date {
	display: block;
	font-family: "DM Mono", monospace;
	font-size: 9px;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
	margin-top: 1px;
}
.bg--dark .blogcard .blogcard__tag {
	color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
	.blogcard:hover {
		transform: translate(-4px, -4px);
		box-shadow: 12px 12px 0 var(--slab);
	}
	.blogcard:hover img {
		transform: scale(1.05);
	}
	.blogcard:hover .blogcard__tag {
		transform: rotate(4deg) scale(1.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.blogcard,
	.blogcard img,
	.blogcard__tag {
		transition-duration: 100ms;
	}
	.blogcard:hover {
		transform: none;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	PAGINA MET PORTRET (OVER MIJ)
/*-----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
	.page-layout {
		display: flex;
		flex-direction: column;
	}
	.page-portrait {
		order: -1;
		margin-bottom: 2em;
	}
}
@media (min-width: 768px) {
	.page-layout {
		display: flex;
		align-items: flex-start;
		gap: 6%;
	}
	.page-portrait {
		position: sticky;
		top: 3em;
	}
}
.page-portrait img {
	border-radius: 28px;
	width: 100%;
}

/*-----------------------------------------------------------------------------------*/
/*	BLOKSTIJLEN
/*-----------------------------------------------------------------------------------*/
p.is-style-lead {
	font-size: 1.4em;
	line-height: 1.5;
	margin-bottom: 1.2em;
}
.is-style-label {
	font-family: "DM Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffd84d;
	margin: 2em 0 0.6em;
}
p.is-style-contact {
	border: 2px solid rgba(245, 245, 245, 0.2);
	border-radius: 20px;
	padding: 1.25em 1.5em;
	margin-top: 2em;
}
p.is-style-contact a {
	color: #ffd84d;
}
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 2em;
}
.wp-block-button__link {
	display: inline-block;
	border: 2px solid #ffd84d;
	border-radius: 999px;
	padding: 11px 18px;
	font-family: "DM Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: none;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.bg--dark .wp-block-button__link:hover {
	background: #ffd84d;
	color: #171717;
	transform: translateY(-2px);
}
