/*
Theme Name: Willibrordushuis
Description: Blocktheme voor het Willibrordushuis — een levend klooster in het hart van Den Haag. Kleuren rechtstreeks uit de kapelroset: kalksteen en warm ivoor, met glasrood, koningsblauw, amber, paars en magenta als glas-in-loodaccenten. Koppen in Literata, tekst in Manrope.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: willibrordushuis
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready
*/

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

:root {
	--wh-lood: #2E211C;
	--wh-rand: rgba(122, 102, 86, 0.28);
	/* accentlijn: amber met een subtiele overgang naar het brons van de roset */
	--wh-accent: linear-gradient(90deg, #C2892B 0%, #E8801E 100%);
}

/* ---------- kicker ---------- */
.wh-kicker,
.is-style-bovenschrift {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--goud);
}
.wh-kicker a,
.is-style-bovenschrift a { color: inherit; text-decoration: none; }

/* ---------- accentstreepje onder sectiekoppen ---------- */
.wh-goldline,
.is-style-accentlijn {
	position: relative;
	padding-bottom: 0.7rem;
}
.wh-goldline::after,
.is-style-accentlijn::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 72px;
	height: 3px;
	border-radius: 2px;
	background: var(--wh-accent);
}
.has-text-align-center.wh-goldline::after,
.has-text-align-center.is-style-accentlijn::after {
	left: 50%;
	transform: translateX(-50%);
}

/* ---------- netflix-rij ---------- */
.wh-scroller .wp-block-post-template,
.wp-block-query.is-style-schuivende-rij .wp-block-post-template {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0.5rem 0.25rem 1.1rem;
	margin: 0;
	list-style: none;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--steen) transparent;
	-webkit-overflow-scrolling: touch;
}
.wh-scroller .wp-block-post-template > li,
.wp-block-query.is-style-schuivende-rij .wp-block-post-template > li {
	flex: 0 0 auto;
	width: clamp(180px, 22vw, 240px);
	scroll-snap-align: start;
	margin: 0;
}

/* ---------- posterkaart ---------- */
.wh-poster,
.wp-block-cover.is-style-poster {
	aspect-ratio: 2 / 3;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(46, 33, 28, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	min-height: 0 !important;
}
.wh-poster:hover, .wh-poster:focus-within,
.is-style-poster:hover, .is-style-poster:focus-within {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 10px 26px rgba(46, 33, 28, 0.34);
}
.wh-poster a, .is-style-poster a { color: inherit; text-decoration: none; }
.wh-poster .wp-block-cover__inner-container,
.is-style-poster .wp-block-cover__inner-container { align-self: flex-end; }
.wh-poster h3, .wh-poster .wp-block-post-title,
.is-style-poster h3, .is-style-poster .wp-block-post-title {
	font-size: 1.15rem;
	line-height: 1.2;
	color: #fff;
	margin: 0;
}
.wh-poster .wh-poster-meta,
.is-style-poster .wh-poster-meta,
.is-style-poster .is-style-bovenschrift {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber);
	margin: 0 0 0.35rem;
}

/* ---------- kaarten ---------- */
.wh-card,
.wp-block-group.is-style-kaart {
	background: var(--wp--preset--color--wit);
	border: 1px solid var(--wh-rand);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(46, 33, 28, 0.07);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
/* Kaarten naast elkaar even hoog, zodat de onderranden uitlijnen. Alleen als een
   kolom één kaart bevat — gestapelde kaarten houden hun eigen hoogte. */
.wp-block-post-template .wh-card,
.wp-block-post-template .is-style-kaart,
.wp-block-column > .wh-card:only-child,
.wp-block-column > .is-style-kaart:only-child { height: 100%; }
/* koppen gelijkmatiger afbreken, scheelt ongelijke regelaantallen */
.wh-card h3, .is-style-kaart h3 { text-wrap: balance; }
.wh-card:hover,
.is-style-kaart:hover {
	box-shadow: 0 8px 24px rgba(46, 33, 28, 0.16);
	transform: translateY(-2px);
}
.wh-card .wp-block-image img,
.is-style-kaart .wp-block-image img { width: 100%; object-fit: cover; }
.wh-card > .wp-block-image img,
.is-style-kaart > .wp-block-image img { aspect-ratio: 16 / 9; object-fit: cover; }
.wh-card a, .is-style-kaart a { text-decoration: none; }
.wh-card h3 a, .wh-card .wp-block-post-title a,
.is-style-kaart h3 a, .is-style-kaart .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
.wh-card h3 a:hover, .wh-card .wp-block-post-title a:hover,
.is-style-kaart h3 a:hover, .is-style-kaart .wp-block-post-title a:hover { color: var(--wp--preset--color--rood); }

.wh-specs,
.is-style-kerngegevens {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--steen);
}

/* ---------- rondboog & vormen ---------- */
.wh-arch img,
.is-style-rondboog img,
.wh-arch-full,
.wh-arch-full img { border-radius: 999px 999px 14px 14px; }
.wh-rond,
.is-style-zachte-hoeken { border-radius: 12px; overflow: hidden; }
.wh-rond img,
.is-style-zachte-hoeken img { border-radius: 12px; }
.wh-schaduw,
.is-style-schaduw { box-shadow: 0 10px 30px rgba(46, 33, 28, 0.2); }

.wh-badge,
.is-style-label {
	display: inline-block;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wit);
	background: var(--wp--preset--color--paars);
	border-radius: 999px;
	padding: 0.3rem 0.9rem;
}

/* =====================================================================
   TABELLEN — glas-in-loodstijl: geen hokjesraster, wel rustige lijnen
   ===================================================================== */
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) {
	margin: 1.5rem 0;
	overflow-x: auto;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table {
	table-layout: auto;
	width: 100%;
	border-collapse: collapse;
	border: 0;
	background: transparent;
	font-size: 1rem;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table th,
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table td {
	border: 0;
	padding: 0.85rem 1.1rem;
	vertical-align: baseline;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) thead th {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steen);
	text-align: left;
	padding-bottom: 0.55rem;
	border-bottom: 0;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) thead tr {
	border-bottom: 2px solid var(--wp--preset--color--goud);
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) tbody tr + tr td {
	border-top: 1px solid var(--wh-rand);
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) tbody tr:hover td {
	background: rgba(240, 207, 216, 0.16);
}
/* eerste kolom = label, laatste kolommen = waarde */
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) td:first-child {
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	padding-left: 0;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) th:first-child { padding-left: 0; }
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) td:not(:first-child) {
	color: var(--wp--preset--color--steen);
	white-space: nowrap;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table:not(:has(thead)) td:last-child {
	text-align: right;
	padding-right: 0;
	font-variant-numeric: tabular-nums;
}
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) thead ~ tbody td:last-child { padding-right: 0; }
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) figcaption {
	font-size: 0.85rem;
	color: var(--wp--preset--color--steen);
}

/* prijzentabel: bedragen uitlijnen */
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) thead th:not(:first-child),
.wp-block-table:is(.wh-tabel, .is-style-huisstijl) thead ~ tbody td:not(:first-child) {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* =====================================================================
   FORMULIEREN (Fluent Forms)
   ===================================================================== */
.fluentform { --wh-veld-rand: rgba(122, 102, 86, 0.42); }

/* twee kolommen: velden met ff-col-2 staan naast elkaar.
   Fluent Forms wikkelt de velden in een fieldset, dus dáár staat het raster op. */
.fluentform .frm-fluent-form > fieldset {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
	border: 0;
	margin: 0;
	padding: 0;
}
.fluentform .frm-fluent-form > fieldset > legend { grid-column: 1 / -1; }
.fluentform .ff-el-group,
.fluentform .ff-el-group.ff-text-block,
.fluentform .ff_submit_btn_wrapper {
	grid-column: 1 / -1;
	margin-bottom: 1.15rem;
}
.fluentform .ff-el-group.ff-col-2 { grid-column: span 1; }
@media (max-width: 600px) {
	.fluentform .frm-fluent-form { grid-template-columns: 1fr; }
	.fluentform .ff-el-group.ff-col-2 { grid-column: 1 / -1; }
}

/* labels */
.fluentform .ff-el-input--label label {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steen);
	margin-bottom: 0.35rem;
	line-height: 1.4;
}
.fluentform .ff-el-is-required.asterisk-right label:after,
.fluentform .ff-el-is-required.asterisk-left label:before {
	color: var(--wp--preset--color--rood);
}

/* velden */
.fluentform .ff-el-form-control {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.95rem;
	border: 1px solid var(--wh-veld-rand);
	border-radius: 8px;
	background: var(--wp--preset--color--wit);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--contrast);
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.fluentform textarea.ff-el-form-control { min-height: 150px; resize: vertical; }

.fluentform select.ff-el-form-control {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--steen) 50%),
	                  linear-gradient(135deg, var(--wp--preset--color--steen) 50%, transparent 50%);
	background-position: calc(100% - 20px) center, calc(100% - 14px) center;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.6rem;
}

.fluentform .ff-el-form-control:focus {
	outline: none;
	border-color: var(--wp--preset--color--blauw);
	box-shadow: 0 0 0 3px rgba(31, 47, 168, 0.16);
}
.fluentform .ff-el-form-control::placeholder { color: rgba(122, 102, 86, 0.65); }

/* knop */
.fluentform .ff-btn-submit,
.fluentform .ff-btn.ff-btn-submit {
	font-family: var(--wp--preset--font-family--manrope);
	font-weight: 600;
	font-size: 0.95rem;
	border: none;
	border-radius: 8px;
	padding: 0.8rem 1.8rem;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.12s ease;
}
.fluentform .ff-btn-submit:active { transform: translateY(1px); }

/* meldingen */
.fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--wp--preset--color--rood); }
.fluentform .error.text-danger,
.fluentform .ff-el-is-error .error {
	font-size: 0.85rem;
	color: var(--wp--preset--color--rood);
	margin-top: 0.3rem;
}
.ff-message-success,
.fluentform .ff_submit_success {
	border: 1px solid var(--wp--preset--color--goud);
	border-left-width: 4px;
	border-radius: 8px;
	background: rgba(252, 212, 107, 0.14);
	color: var(--wp--preset--color--contrast);
	font-size: 0.98rem;
	padding: 1rem 1.2rem;
}
.fluentform .ff-el-group.ff-el-form-bottom { margin-bottom: 0; }

/* ---------- header ---------- */
.wh-header {
	border-bottom: 1px solid var(--wh-rand);
	background: var(--wp--preset--color--base);
}
.wh-header .wp-block-navigation a {
	font-family: var(--wp--preset--font-family--manrope);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wh-header .wp-block-navigation a:hover { color: var(--wp--preset--color--rood); }
.wh-logo-tekst {
	font-family: var(--wp--preset--font-family--literata);
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1.05;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wh-logo-tekst a { color: inherit; text-decoration: none; }
.wh-logo-sub {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steen);
}

/* ---------- footer ---------- */
.wh-footer {
	background: var(--wp--preset--color--contrast);
	color: #EFE4D6;
	border-top: 3px solid var(--wp--preset--color--goud);
}
.wh-footer a { color: #EFE4D6; }
.wh-footer a:hover { color: var(--wp--preset--color--amber); }
.wh-footer h2, .wh-footer h3, .wh-footer h4 { color: #FBF6EE; }
.wh-footer .wh-kicker { color: var(--wp--preset--color--amber); }

/* ---------- hero ---------- */
.wh-hero { min-height: min(78vh, 720px); }
.wh-hero h1 {
	color: #fff;
	text-shadow: 0 2px 24px rgba(46, 33, 28, 0.5);
}
.wh-hero p { color: rgba(255, 255, 255, 0.94); }

/* tekst op een foto altijd leesbaar houden */
.wp-block-cover .wh-kicker,
.wp-block-cover .is-style-bovenschrift,
.wp-block-cover .wp-block-post-date {
	text-shadow: 0 1px 14px rgba(46, 33, 28, 0.75);
}
.wp-block-cover h1,
.wp-block-cover h2 { text-shadow: 0 2px 20px rgba(46, 33, 28, 0.5); }

/* =====================================================================
   MOBIEL
   ===================================================================== */

/* Kaartenrasters klappen in: drie kolommen passen niet op een telefoon. */
@media (max-width: 899px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 599px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 781px) {
	/* koptekst: logo en naam compacter, menuknop houdt ruimte */
	.wh-logo-tekst { font-size: 1.15rem; }
	.wh-logo-sub { font-size: 0.62rem; letter-spacing: 0.12em; }
	.wh-header .wp-block-site-logo img { width: 46px !important; }

	/* hero niet onnodig hoog op een telefoon */
	.wh-hero { min-height: 62vh; }

	/* tabellen: labels mogen afbreken, bedragen blijven bij elkaar */
	.wp-block-table:is(.wh-tabel, .is-style-huisstijl) td:first-child { hyphens: auto; }
	.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table { font-size: 0.95rem; }
	.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table th,
	.wp-block-table:is(.wh-tabel, .is-style-huisstijl) table td { padding: 0.7rem 0.6rem; }

	/* posters iets breder zodat de titel niet in vier regels valt */
	.wh-scroller .wp-block-post-template > li,
	.wp-block-query.is-style-schuivende-rij .wp-block-post-template > li {
		width: 62vw;
		max-width: 240px;
	}

	/* citaten en grote koppen wat rustiger */
	.wp-block-quote { font-size: 1.05rem !important; }
}

/* ---------- uitklapmenu op mobiel ---------- */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	padding: 5.5rem var(--wp--style--root--padding-right, 1.25rem) 3rem var(--wp--style--root--padding-left, 1.25rem);
}
/* de balk is rechts uitgelijnd; in het overlay moet alles links beginnen */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	padding-top: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.15rem;
	width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--wh-rand);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child {
	border-bottom: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 0.85rem 0;
	font-family: var(--wp--preset--font-family--literata);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--rood);
}
/* sluitknop netjes rechtsboven, op één lijn met het logo */
.wp-block-navigation__responsive-container-close {
	top: 1.35rem;
	right: var(--wp--style--root--padding-right, 1.25rem);
	color: var(--wp--preset--color--contrast);
}
.wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--contrast); }
.wp-block-navigation__responsive-container.is-menu-open::before {
	content: "Willibrordushuis";
	position: absolute;
	top: 1.6rem;
	left: var(--wp--style--root--padding-left, 1.25rem);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steen);
}

/* nooit horizontaal kunnen schuiven */
html, body { overflow-x: hidden; }

/* ---------- nieuwslijst (afwisseling met de posterrijen) ---------- */
.wh-nieuwslijst .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.wh-nieuwslijst .wp-block-post-template > li + li {
	border-top: 1px solid var(--wh-rand);
}
.wh-nieuwslijst .wp-block-post-featured-image {
	flex: 0 0 auto;
	margin: 0;
}
.wh-nieuwslijst .wp-block-post-featured-image img {
	width: 120px;
	height: 88px;
	object-fit: cover;
	border-radius: 10px;
}
.wh-nieuwslijst .wp-block-post-title { margin: 0; }
.wh-nieuwslijst .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.wh-nieuwslijst .wp-block-post-title a:hover { color: var(--wp--preset--color--rood); }
.wh-nieuwslijst .wp-block-post-excerpt,
.wh-nieuwslijst .wp-block-post-excerpt p { margin: 0; color: var(--wp--preset--color--steen); }
.wh-nieuwslijst .wp-block-post-date { margin: 0; }

@media (max-width: 599px) {
	.wh-nieuwslijst .wp-block-post-featured-image img { width: 84px; height: 64px; }
}

/* knop van Fluent Forms altijd in huisstijl, ook als de plugin eigen kleuren zet */
.fluentform .ff-btn-submit,
.fluentform button.ff-btn-submit {
	background-color: var(--wp--preset--color--rood) !important;
	border-color: var(--wp--preset--color--rood) !important;
	color: var(--wp--preset--color--base) !important;
}
.fluentform .ff-btn-submit:hover,
.fluentform button.ff-btn-submit:hover {
	background-color: var(--wp--preset--color--rood-donker) !important;
	border-color: var(--wp--preset--color--rood-donker) !important;
}
/* keuzerondjes netjes onder elkaar */
.fluentform .ff-el-form-check { margin-bottom: 0.4rem; }
.fluentform .ff-el-form-check label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.98rem; color: var(--wp--preset--color--contrast); }

/* =====================================================================
   MAANDKALENDER (Events Manager 7)
   ===================================================================== */
.wh-agenda { margin-top: 2rem; }
.wh-agenda .em.em-calendar {
	background: var(--wp--preset--color--wit);
	border: 1px solid var(--wh-rand);
	border-radius: 12px;
	padding: 0.6rem 0.8rem 1rem;
	box-shadow: 0 1px 6px rgba(46, 33, 28, 0.07);
	font-family: var(--wp--preset--font-family--manrope);
}

/* kop met maand en pijlen */
.wh-agenda .em-cal-nav { padding: 0.6rem 0.2rem 1rem; }
.wh-agenda .em-cal-nav .month input,
.wh-agenda .em-cal-nav .em-month-picker {
	font-family: var(--wp--preset--font-family--literata);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	border: 0;
	background: transparent;
}
.wh-agenda .em-calnav-today {
	font-size: 0.78rem !important;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steen) !important;
	border: 1px solid var(--wh-rand) !important;
	border-radius: 6px;
	background: transparent !important;
}
.wh-agenda .em-calnav svg path { stroke: var(--wp--preset--color--contrast); }

/* dagnamen */
.wh-agenda .em-cal-head .em-cal-day {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steen);
	padding-bottom: 0.5rem;
}
.wh-agenda .em-cal-head.em-cal-week-days { border-bottom: 2px solid var(--wp--preset--color--goud); }

/* dagvakjes */
.wh-agenda .em-cal-body .em-cal-day { border-color: rgba(122, 102, 86, 0.16); }
.wh-agenda .em-cal-day-date span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	border-radius: 999px;
	font-size: 0.95rem;
	color: var(--wp--preset--color--contrast);
}
.wh-agenda .eventless-pre .em-cal-day-date span,
.wh-agenda .eventless-post .em-cal-day-date span { color: rgba(122, 102, 86, 0.55); }

/* dag mét activiteit: gevulde bol in glasrood */
.wh-agenda .em-cal-day.eventful .em-cal-day-date span,
.wh-agenda .em-cal-day.eventful-today .em-cal-day-date span {
	background: var(--wp--preset--color--rood);
	color: var(--wp--preset--color--base);
	font-weight: 700;
}
.wh-agenda .em-cal-day.eventful { background: rgba(252, 212, 107, 0.12); }
.wh-agenda .em-cal-day.eventful:hover { background: rgba(252, 212, 107, 0.28); cursor: pointer; }

/* vandaag */
.wh-agenda .em-cal-day.eventless-today .em-cal-day-date span {
	border: 2px solid var(--wp--preset--color--goud);
	font-weight: 700;
}

/* titels van activiteiten in het vakje */
.wh-agenda .em-cal-day .em-cal-event,
.wh-agenda .em-cal-day .em-event-title {
	font-size: 0.72rem;
	line-height: 1.25;
	color: var(--wp--preset--color--contrast);
}
.wh-agenda .em-cal-day a { text-decoration: none; }

/* ---------- tekstueel maandoverzicht (Events Manager lijst) ---------- */
.wh-agendalijst { max-width: 100%; }
.wh-agendalijst h3 { margin-bottom: 0.6rem; }
.wh-agendalijst .em-events-list-grouped > h2 {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--goud);
	margin: 2rem 0 0.5rem;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--wh-rand);
}
.wh-agendalijst .em-event.em-item {
	display: flex !important;
	grid-template-columns: none !important;
	gap: 1rem;
	align-items: center;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(122, 102, 86, 0.16);
	border-left: 0 !important;
	background: transparent !important;
}
.wh-agendalijst .em-item-image {
	flex: 0 0 96px !important;
	width: 96px !important;
	height: 68px !important;
	max-width: 96px !important;
	min-width: 96px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 8px;
	overflow: hidden;
}
.wh-agendalijst .em-item-info { flex: 1 1 auto; min-width: 0; }
.wh-agendalijst .em-item-image img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.wh-agendalijst .em-item-title {
	font-family: var(--wp--preset--font-family--literata);
	font-size: 1.1rem;
	margin: 0 0 0.2rem;
}
.wh-agendalijst .em-item-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wh-agendalijst .em-item-title a:hover { color: var(--wp--preset--color--rood); }
.wh-agendalijst .em-item-meta,
.wh-agendalijst .em-item-meta-line {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 0.88rem;
	color: var(--wp--preset--color--steen);
}
.wh-agendalijst .em-item-meta { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.wh-agendalijst .em-item-actions,
.wh-agendalijst .em-event-meta-location { display: none; }
@media (max-width: 600px) {
	.wh-agendalijst .em-item-image {
		flex: 0 0 68px !important; width: 68px !important; height: 50px !important;
		min-width: 68px !important; max-width: 68px !important;
	}
	.wh-agendalijst .em-item-title { font-size: 1rem; }
}
