/*
Theme Name: SBHEU
Theme URI: https://www.sbheu.nl/
Description: Child theme van GeneratePress voor Stichting Beheer Historisch Erfgoed Uithoorn.
Author: Lekker Communicatie
Author URI: https://lekker.online/
Template: generatepress
Version: 1.0.0
Text Domain: sbheu
*/

:root {
	--sbheu-rood: #9b122b;
	--sbheu-rood-donker: #7a0e22;
	--sbheu-goud: #edb340;
	--sbheu-tekst: #3d3d3d;
	--sbheu-grijs: #6b6b6b;
	--sbheu-lijn: #e6e1dc;
	--sbheu-licht: #f7f4f1;
	--sbheu-breed: 1100px;
	--sbheu-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
	font-family: var(--sbheu-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--sbheu-tekst);
	background: #fff;
}

a { color: var(--sbheu-rood); }
a:hover, a:focus { color: var(--sbheu-rood-donker); }

h1, h2, h3, h4 {
	font-family: var(--sbheu-font);
	color: var(--sbheu-rood);
	font-weight: 600;
	line-height: 1.3;
}
h1 { font-size: 34px; margin-bottom: 18px; }
h2 { font-size: 26px; margin-bottom: 14px; }
h3 { font-size: 22px; margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 6px; }

.sbheu-wrap {
	max-width: var(--sbheu-breed);
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text:focus {
	background: #fff;
	color: var(--sbheu-rood);
	padding: 10px 16px;
	z-index: 1000;
}

/* ---------- Header ---------- */
.sbheu-header { position: relative; }
.sbheu-hero {
	position: relative;
	background-color: #555;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: clamp(150px, 26.04vw, 500px);
}
.sbheu-logo {
	position: absolute;
	left: 50%;
	top: 45%;
	transform: translateX(-50%);
	width: 60%;
	max-width: 975px;
	display: block;
}
.sbheu-logo img { display: block; width: 100%; height: auto; }
.sbheu-logo-tekst {
	color: #fff;
	font-size: clamp(22px, 4vw, 44px);
	font-weight: 700;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
	text-decoration: none;
	text-align: center;
}

.sbheu-nav { background: var(--sbheu-rood); }
.sbheu-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.sbheu-nav li { margin: 0; }
.sbheu-nav a {
	display: block;
	padding: 14px 22px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	letter-spacing: .02em;
}
.sbheu-nav a:hover,
.sbheu-nav a:focus { background: var(--sbheu-rood-donker); color: #fff; }
.sbheu-nav .current-menu-item > a,
.sbheu-nav .current_page_item > a { background: var(--sbheu-goud); color: #fff; }

/* ---------- Inhoud ---------- */
.sbheu-main { padding: 55px 0 70px; }
.sbheu-main .entry-content > *:first-child { margin-top: 0; }
.sbheu-tekst p:last-child { margin-bottom: 0; }

.sbheu-oproep {
	margin-top: 36px;
	padding: 28px 32px;
	background: var(--sbheu-licht);
	border-left: 4px solid var(--sbheu-goud);
}
.sbheu-oproep h3 { margin-top: 0; }

.sbheu-kruimel {
	font-size: 14px;
	color: var(--sbheu-grijs);
	margin-bottom: 24px;
}
.sbheu-kruimel a { color: var(--sbheu-grijs); }

.sbheu-kern {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 40px;
	margin: 28px 0 8px;
	padding: 24px 28px;
	background: var(--sbheu-licht);
}
.sbheu-kern h4 { font-size: 15px; color: var(--sbheu-grijs); font-weight: 600; margin: 0 0 2px; }
.sbheu-kern p { margin: 0; font-size: 17px; }

.sbheu-sectie {
	padding: 26px 0;
	border-bottom: 1px solid var(--sbheu-lijn);
}
.sbheu-sectie:last-child { border-bottom: 0; }
.sbheu-sectie h4 { margin-top: 0; }
.sbheu-sectie ol, .sbheu-sectie ul { margin-left: 1.4em; }

.sbheu-documenten a {
	display: inline-block;
	padding-left: 22px;
	position: relative;
}
.sbheu-documenten a::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 12px;
	height: 15px;
	border: 2px solid currentColor;
	border-radius: 2px;
}

/* ---------- Footer ---------- */
.sbheu-footer {
	background: var(--sbheu-rood);
	color: #fff;
	padding: 40px 0 20px;
	font-size: 15px;
}
.sbheu-footer-grid {
	display: grid;
	grid-template-columns: 2.4fr 1.4fr 2fr 1fr;
	gap: 30px;
	align-items: start;
}
.sbheu-footer h4 {
	color: var(--sbheu-goud);
	font-weight: 400;
	font-size: 18px;
	margin: 0 0 10px;
}
.sbheu-footer p { margin: 0 0 8px; }
.sbheu-footer a { color: var(--sbheu-goud); }
.sbheu-footer a:hover { color: #fff; }
.sbheu-footer-logo { text-align: right; }
.sbheu-footer-logo img { max-width: 100%; height: auto; display: inline-block; }
.sbheu-credit {
	margin-top: 30px;
	text-align: center;
	font-size: 12px;
}
.sbheu-credit a { color: #fff; }

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
	.sbheu-footer-grid { grid-template-columns: 1fr 1fr; }
	.sbheu-footer-logo { text-align: left; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	h1 { font-size: 28px; }
	.sbheu-logo { width: 86%; top: 38%; }
	.sbheu-main { padding: 36px 0 50px; }
	.sbheu-kern { grid-template-columns: 1fr; padding: 20px; }
	.sbheu-oproep { padding: 22px 20px; }
	.sbheu-footer-grid { grid-template-columns: 1fr; }
	.sbheu-nav a { padding: 12px 16px; }
}
