/* happilyeverafterdeco.nl: generated layout tokens, shared base, then this site's own look. */
:root {
	--bg: #fbf7f2;
	--surface: #ffffff;
	--text: #2f2b27;
	--muted: #6b625a;
	--accent: #4f7a5e;
	--accent2: #e9b8aa;
	--line: #e8dfd5;
	--font-head: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--width: 68rem;
	--radius: 18px;
	--list-gap: 1.1rem;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1c1e1b;
		--surface: #252824;
		--text: #ece7df;
		--muted: #b3aca2;
		--accent: #9cc3a8;
		--accent2: #c98f80;
		--line: #3a3d38;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(100% - 2.5rem, var(--width)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; }
.logo-mark { width: 2rem; height: 2rem; flex: none; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: var(--logo-spacing, 0); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.nav a { color: var(--text); text-decoration: none; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--accent); }

/* Home and category heads */
.home-intro, .category-head, .not-found { padding-block: 2.5rem 1.5rem; }
.home-title { font-family: var(--font-head); font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0 0 0.75rem; letter-spacing: var(--head-spacing, -0.01em); }
.home-lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; margin: 0; }
.section-title { font-family: var(--font-head); font-size: 1.45rem; margin: 0 0 0.35rem; }
.section-title a { color: var(--text); text-decoration: none; }
.section-title a:hover { color: var(--accent); }
.topic { padding-block: 1.5rem; }
.topic-head { margin-bottom: 1rem; }
.topic-intro { margin: 0; color: var(--muted); }

/* Article lists */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--list-gap, 1rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.post-item-link { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; color: var(--text); text-decoration: none; }
.post-item-cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
.post-item-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.post-item-link:hover .post-item-title { color: var(--accent); }
.post-item-desc { color: var(--muted); font-size: 0.95rem; }
.empty { color: var(--muted); }
/* Grouped lists (home sections, category pages) already say the category. */
.topic .post-item-cat { display: none; }

/* Articles and pages */
.post, .page { padding-block: 2rem 1rem; }
.post-header, .prose { max-width: 42rem; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.crumbs a { color: var(--muted); }
.post-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.18; margin: 0 0 0.75rem; letter-spacing: var(--head-spacing, -0.01em); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.9rem; color: var(--muted); margin: 0 0 1.5rem; }
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.summary-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.35rem; color: var(--accent); }
.summary p { margin: 0; }
.prose h2 { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.25; margin: 2.25rem 0 0.6rem; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: 0.3rem; }
.prose blockquote { margin: 1.25rem 0; padding: 0.25rem 1rem; border-left: 3px solid var(--accent2); color: var(--muted); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.45rem 0.75rem; text-align: left; white-space: nowrap; }
.prose th { background: var(--surface); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.page-updated { color: var(--muted); font-size: 0.9rem; }
.related { padding-block: 2rem 1rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.related .section-title { margin-bottom: 1rem; }

/* Footer */
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); padding-block: 2rem; font-size: 0.95rem; }
.footer-about p { margin: 0 0 0.5rem; color: var(--muted); }
.footer-name { color: var(--text) !important; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.footer-nav a { color: var(--text); }
.footer-small { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Kraamwijzer: soft and rounded, serif headings, centred header */
.header-inner { flex-direction: column; justify-content: center; text-align: center; padding-block: 1.5rem 1rem; }
.nav { justify-content: center; }
.home-intro { text-align: center; padding-block: 3.5rem 2rem; }
.home-intro .home-lede { margin-inline: auto; }
.topic-head { text-align: center; }
.post-item-link { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.post-item-link:hover { border-color: var(--accent2); box-shadow: 0 6px 18px -12px var(--accent); }
.summary { border-left-width: 1px; border-top: 4px solid var(--accent2); }
.prose h2 { color: var(--accent); }
.site-footer { border-top: 0; border-radius: 28px 28px 0 0; }
