/*
 * Overzichtssecties. De kaarten en het raster zijn die van het thema (zelfde
 * klassen); hier alleen de koppen, teksten, stijlen en knopjes eromheen.
 * Kleuren en letters volgen het voorstel van 27 oktober 2026.
 */
.hrw-os {
	--hrw-os-groen: #02922b;
	--hrw-os-zwart: #000;
	--hrw-os-band: #e8eceb;
	--hrw-os-kopletter: var(--wp--preset--font-family--battambang, Battambang, serif);
}

.hrw-os [hidden],
.hrw-os [data-hrw-os-weg] {
	display: none !important;
}

/* Filterknopjes (B441) */
.hrw-os-knopjes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 8px;
}

.hrw-os-knop {
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	padding: 8px 16px;
	border: 1px solid var(--hrw-os-zwart);
	border-radius: 999px;
	background: #fff;
	color: var(--hrw-os-zwart);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hrw-os-knop:hover {
	background: #f2f2f2;
}

.hrw-os-knop:focus-visible {
	outline: 2px solid var(--hrw-os-groen);
	outline-offset: 2px;
}

.hrw-os-knop[aria-pressed="true"] {
	background: var(--hrw-os-groen);
	border-color: var(--hrw-os-groen);
	color: #fff;
}

.hrw-os-aantal {
	margin-left: 4px;
	font-size: 0.75rem;
	opacity: 0.7;
}

.hrw-os-terug {
	margin: 12px 0 0;
	font-size: 0.875rem;
}

.hrw-os-terug a,
.hrw-os-alle a {
	color: var(--hrw-os-groen);
	font-weight: 600;
	text-decoration: none;
}

.hrw-os-terug a:hover,
.hrw-os-alle a:hover {
	text-decoration: underline;
}

/* Secties */
.hrw-os-sectie {
	margin-top: 36px;
	scroll-margin-top: 120px;
}

.hrw-os-sectie--los {
	margin-top: 8px;
}

.hrw-os-kop {
	margin-bottom: 12px;
}

.hrw-os-titel {
	font-family: var(--hrw-os-kopletter);
	/* Gewicht van de koppen van het thema (Wouter, 11 november 2026: "veel vetter"). */
	font-weight: 900;
	font-size: 2rem;
	line-height: 1.15;
	margin: 0 0 6px;
}

.hrw-os-tekst {
	max-width: 760px;
}

.hrw-os-tekst p {
	margin: 0 0 8px;
}

.hrw-os-label {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f2c94c;
	color: #000;
	font-size: 0.75rem;
	font-weight: 600;
}

.hrw-os-alle {
	margin: 4px 0 0;
	font-size: 0.875rem;
}

/* Uitgelicht: eigen kleurvlak met label (B434) */
.hrw-os-sectie--uitgelicht {
	padding: 24px;
	border-radius: 8px;
	background: var(--hrw-os-vlak, #14301c);
	color: var(--hrw-os-inkt, #fff);
}

.hrw-os-sectie--uitgelicht .hrw-os-titel,
.hrw-os-sectie--uitgelicht .hrw-os-alle a {
	color: inherit;
}

/* De kaart zelf blijft donker op licht, ook op een donker vlak. */
.hrw-os-sectie--uitgelicht [data-hrw-os-kaart] {
	color: #000;
}

/* Verhaalband: brede band met tekst en sfeerfoto (B434) */
.hrw-os-band {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 16px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--hrw-os-vlak, var(--hrw-os-band));
	color: var(--hrw-os-inkt, inherit);
}
.hrw-os-sectie--verhaalband .hrw-os-titel {
	color: inherit;
}

.hrw-os-band__tekst {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px 28px;
}

.hrw-os-band__foto {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
}

@media (max-width: 767px) {
	.hrw-os-titel {
		font-size: 1.625rem;
	}

	.hrw-os-sectie--uitgelicht {
		padding: 16px;
		margin-left: -8px;
		margin-right: -8px;
	}

	.hrw-os-band {
		grid-template-columns: 1fr;
	}

	.hrw-os-band__tekst {
		padding: 20px;
	}

	.hrw-os-band__foto {
		order: -1;
		min-height: 180px;
		max-height: 260px;
	}
}

/* Indelen op Acties (1.48.0): een actie die nog moet beginnen, krijgt de startdatum bij de kop. */
.hrw-os-vanaf {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff;
	/* Op een gekleurd vlak de kleur van het vlak, anders de campagnekleur (1.48.2: was wit op wit). */
	color: var(--hrw-os-vlak, var(--hrw-db-kleur, #32a16e));
	border: 1px solid currentColor;
	font-size: 0.8125rem;
	font-weight: 600;
}

/* Verhaalband met één product: prijs en knop in de band (1.48.3). */
.hrw-os-koop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	/* Onderaan de band (1.48.4). */
	margin-top: auto;
	padding-top: 18px;
}
.hrw-os-koop__prijs {
	font-size: 1.5rem;
	font-weight: 700;
}
.hrw-os-koop__prijs del {
	opacity: .7;
	font-size: 1.1rem;
	font-weight: 400;
	margin-right: 6px;
}
.hrw-os-koop__prijs ins {
	text-decoration: none;
}
.hrw-os .hrw-os-koop__knop {
	padding: 12px 22px;
	border-radius: 4px;
	background: #fff;
	color: var(--hrw-os-vlak, #000);
	font-weight: 700;
	text-decoration: none;
}
.hrw-os-sectie--verhaalband:not([style]) .hrw-os-koop__knop {
	background: #000;
	color: #fff;
}
.hrw-os-koop__meer {
	color: inherit;
	text-decoration: underline;
}

/* Opmaak uit de editor (1.48.4): vet, links en lijsten. */
.hrw-os-tekst strong,
.hrw-os-tekst b {
	font-weight: 700;
}
.hrw-os-tekst a {
	color: inherit;
	text-decoration: underline;
}
.hrw-os-tekst ul,
.hrw-os-tekst ol {
	margin: 0 0 8px;
	padding-left: 1.3em;
}
.hrw-os-tekst ul {
	list-style: disc;
}
.hrw-os-tekst ol {
	list-style: decimal;
}

/* Pakketblok (verhaalband met één product), ontwerp A (1.49.0): ruimer, kopregel, grote kop,
   inhoud als lijst met vinkjes (één kolom, 1.49.2), badge van de productpagina op de foto. */
.hrw-os-sectie--pakket .hrw-os-band__tekst {
	padding: 34px 38px;
}
.hrw-os-kopregel {
	margin: 0 0 10px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .9;
}
.hrw-os-sectie--pakket .hrw-os-titel {
	font-size: 2.6rem;
	line-height: 1.05;
	margin: 0 0 18px;
}
.hrw-os-sectie--pakket .hrw-os-tekst {
	font-size: 1rem;
	line-height: 1.6;
}
.hrw-os-sectie--pakket .hrw-os-tekst ul {
	list-style: none;
	padding: 0;
	margin: 4px 0 10px;
}
.hrw-os-sectie--pakket .hrw-os-tekst li {
	break-inside: avoid;
	padding-left: 1.4em;
	text-indent: -1.4em;
}
.hrw-os-sectie--pakket .hrw-os-tekst li::before {
	content: "✓";
	display: inline-block;
	width: 1.4em;
	text-indent: 0;
	font-weight: 700;
}
.hrw-os-band__fotovak {
	position: relative;
	/* De foto vierkant, zoals de productfoto; het blok krijgt zo de hoogte van de foto (1.49.1). */
	aspect-ratio: 1 / 1;
}
.hrw-os-band__fotovak .hrw-os-band__foto {
	position: absolute;
	inset: 0;
	height: 100%;
}
.hrw-os-sectie--pakket .hrw-os-koop__prijs {
	font-size: 1.9rem;
}
@media (max-width: 767px) {
	.hrw-os-sectie--pakket .hrw-os-band__tekst {
		padding: 22px 20px;
	}
	.hrw-os-sectie--pakket .hrw-os-titel {
		font-size: 2rem;
	}
	.hrw-os-band__fotovak {
		order: -1;
	}
}
