/* Kleine aanvullingen op het oorspronkelijke thema, zonder WordPress-afhankelijkheden. */
html {
	overflow-x: auto;
}

body {
	padding-top: 38px;
}

#bovenbalk-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px 18px;
	flex-wrap: wrap;
	box-sizing: border-box;
	padding: 0 12px;
}

ul#menu-bovenbalk {
	height: auto;
	min-height: 38px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-left: 0;
}

ul#menu-bovenbalk li {
	float: none;
}

.zoekform {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 4px 0;
}

.zoekform input[type="search"] {
	width: 140px;
	border: 0;
	border-radius: 3px;
	padding: 4px 8px;
	font: inherit;
	color: #272b2e;
}

.zoekform button {
	border: 0;
	border-radius: 3px;
	background: #87ea00;
	color: #024e68;
	font: inherit;
	font-weight: bold;
	padding: 4px 8px;
	cursor: pointer;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

div.skip-link {
	display: block;
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

div.skip-link:focus-within,
div.skip-link a:focus {
	position: fixed;
	left: 12px;
	top: 46px;
	z-index: 200;
	width: auto;
	height: auto;
	padding: 8px 12px;
	background: #fff;
	color: #06799f;
	outline: 2px solid #06799f;
}

#header {
	overflow: hidden;
	background-color: #eefcdb;
}

.header-collage {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	z-index: 0;
}

.header-collage img {
	width: 100%;
	height: 215px;
	object-fit: cover;
	display: block;
}

#header::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.78) 78%, rgba(255, 255, 255, 0.94) 100%);
}

#header h1,
#header #blog-description {
	z-index: 2;
	text-shadow: 0 1px 0 #fff, 0 0 12px #fff;
}

div#menulabel {
	z-index: 2;
}

div.page_item {
	text-shadow: 0 1px 0 #fff, 0 0 18px #fff;
	max-width: 980px;
	overflow: hidden;
}

.share-links {
	margin: 1.5em 0 0;
	padding-top: 0.5em;
	clear: both;
}

.share-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.share-links a {
	display: inline-block;
	padding: 4px 8px;
	border: 1px solid #06799f;
	border-radius: 3px;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.social-links {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	gap: 12px;
	font-size: 0.9em;
}

.contact-card,
.order-intro {
	background: #eefcdb;
	border: 3px solid #bcf46e;
	padding: 1em 1.2em;
	margin: 0 0 1.5em;
}

.contact-card p {
	margin: 0.3em 0;
}

.site-form label {
	display: block;
	font-weight: bold;
	margin: 0.8em 0 0.2em;
}

.site-form input,
.site-form textarea,
.site-form select {
	width: 100%;
	max-width: 420px;
	box-sizing: border-box;
	padding: 6px 8px;
	font: inherit;
}

.site-form button,
.cta-button {
	display: inline-block;
	margin-top: 1em;
	padding: 8px 14px;
	background: #ff2800;
	color: #fff;
	border: 0;
	font: inherit;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}

.form-ok {
	background: #eefcdb;
	border: 2px solid #589800;
	padding: 0.8em 1em;
}

.form-err {
	background: #fff3f0;
	border: 2px solid #ff2800;
	padding: 0.8em 1em;
}

.kopie-list a {
	font-weight: bold;
}

.search-results li {
	margin: 0 0 1em;
}

@media (max-width: 1024px) {
	body {
		width: auto;
		max-width: 990px;
		padding: 72px 12px 0;
	}

	div#container,
	div#primary {
		float: none;
		width: auto;
		min-height: 0;
		max-height: none;
	}

	div#content {
		padding-right: 0;
		top: 12px;
	}

	.entry-content,
	.entry-title,
	.entry-meta,
	div.navigation {
		width: auto;
		max-width: 100%;
	}

	h1#blog-title,
	div#blog-description {
		left: 12px;
		right: 12px;
	}

	h1#blog-title {
		font-size: 1.8em;
		top: 150px;
	}

	div#blog-description {
		font-size: 1.1em;
		top: 188px;
	}

	.header-collage {
		grid-template-columns: repeat(2, 1fr);
	}

	div.page_item {
		font-size: 1.6em;
		left: 12px;
		right: 12px;
		top: 48px;
	}

	ul.xoxo li ul li {
		font-size: 100%;
		text-transform: none;
	}
}
