/* ==========================================================================
   Flow 2 – aanvullende opmaak
   Kleuren, lettertypen en basismaten staan in theme.json.
   ========================================================================== */

/* ---------- Header: blijft bovenaan staan en wordt compacter bij scrollen ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	transition: box-shadow .25s ease;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}
.flow-scrolled .wp-site-blocks > header.wp-block-template-part {
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .05);
}

.flow-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 18px clamp(16px, 3vw, 40px);
	transition: padding .25s ease;
}
.flow-header > * { margin: 0 !important; }
.flow-header__logo img {
	display: block;
	height: auto;
	width: 150px !important;
	transition: width .25s ease;
}
.flow-scrolled .flow-header { padding-top: 10px; padding-bottom: 10px; }
.flow-scrolled .flow-header__logo img { width: 112px !important; }

/* Desktopmenu */
.flow-nav-desktop { display: none !important; }
.flow-nav-desktop .wp-block-navigation__container { gap: clamp(18px, 2vw, 34px); }
.flow-nav-desktop .wp-block-navigation-item__content {
	position: relative;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	padding: 6px 0;
	color: var(--wp--preset--color--ink);
}
.flow-nav-desktop .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.flow-nav-desktop .wp-block-navigation-item__content:hover::after,
.flow-nav-desktop .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

/* Mobiel menu (hamburger) */
.flow-nav-mobile .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--ink);
	padding: 8px 0 8px 8px;
}
.flow-nav-mobile .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.flow-nav-mobile .wp-block-navigation__responsive-container.is-menu-open {
	background: #fff;
	color: var(--wp--preset--color--ink);
	padding: 32px 24px;
}
.flow-nav-mobile .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 72px;
	gap: 6px;
}
.flow-nav-mobile .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: clamp(26px, 6vw, 34px);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: 4px 0;
}
.flow-nav-mobile .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

@media (min-width: 1100px) {
	.flow-nav-desktop { display: flex !important; }
	.flow-nav-mobile { display: none !important; }
}

/* ---------- Typografie ---------- */
.wp-block-heading,
.wp-block-post-title,
.wp-block-query-title {
	font-family: var(--wp--preset--font-family--cormorant);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.12;
	color: var(--wp--preset--color--ink);
}
h1.wp-block-heading, h1.wp-block-post-title, h1.wp-block-query-title { font-size: clamp(38px, 5.2vw, 64px); }
h2.wp-block-heading { font-size: clamp(30px, 3.6vw, 44px); }
h3.wp-block-heading { font-size: clamp(22px, 2.2vw, 28px); }
h4.wp-block-heading { font-size: 22px; }
h5.wp-block-heading { font-size: 19px; }
h6.wp-block-heading { font-size: 17px; }

/* Klein label boven een kop */
p.flow-eyebrow {
	font-family: var(--wp--preset--font-family--raleway);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text);
	margin-bottom: 8px;
}
p.flow-eyebrow + .wp-block-heading { margin-top: 0; }

/* Grotere inleidende zin */
p.flow-lead {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.35;
	color: var(--wp--preset--color--ink);
}

/* ---------- Hoofdinhoud ---------- */
.flow-main {
	padding-top: 40px;
	padding-bottom: var(--wp--preset--spacing--50);
}
.flow-main:has(> .wp-block-post-content > .alignfull:first-child) { padding-top: 0; }
.flow-main:has(> .wp-block-post-content > .alignfull:last-child) { padding-bottom: 0; }
.flow-page-title {
	padding-top: 20px;
	margin-bottom: 30px;
}
.wp-site-blocks > footer { margin-block-start: 0; }
.wp-site-blocks > main, .wp-site-blocks > .flow-main { margin-block-start: 0; }

.wp-block-post-content img { max-width: 100%; }

/* Korte scheidingslijn */
hr.wp-block-separator.flow-short {
	width: 30px;
	height: 2px;
	border: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
	opacity: 1;
	margin-left: auto;
	margin-right: auto;
}
hr.wp-block-separator.flow-short.flow-short--left { margin-left: 0; }
hr.wp-block-separator.flow-short.flow-short--light { background: #fff; color: #fff; }

/* ---------- Homepage: hero ---------- */
.flow-hero .wp-block-cover__inner-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 40px) clamp(40px, 7vw, 90px);
}
.flow-hero h1.wp-block-heading {
	font-size: clamp(42px, 6.4vw, 84px);
	line-height: 1.02;
	max-width: 14ch;
	color: #fff;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.flow-hero p.flow-eyebrow { color: rgba(255, 255, 255, .85); }
.flow-hero__sub {
	max-width: 46ch;
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .92);
}
.flow-hero .wp-block-buttons { gap: 12px; }
.flow-hero .wp-block-button__link { border-color: #fff; }
.flow-hero .is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--wp--preset--color--ink);
}
.flow-hero .flow-btn-solid .wp-block-button__link:hover {
	background: transparent;
	color: #fff;
}
@media (max-width: 700px) {
	.flow-hero { min-height: 82svh !important; }
}

/* ---------- Homepage: zes voordelen met icoon (zoals voorheen) ---------- */
.flow-usp {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}
.flow-usp > * { margin: 0 !important; }
.flow-usp svg {
	width: 38px;
	height: 38px;
	flex: none;
	color: var(--wp--preset--color--icon);
}
.flow-usp h5.wp-block-heading {
	font-family: var(--wp--preset--font-family--raleway);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.5;
	margin: 4px 0 8px;
}
.flow-usp p { margin: 0; }

/* Groot getal "365" */
.flow-counter {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: clamp(80px, 12vw, 150px);
	font-weight: 500;
	line-height: .9;
	color: var(--wp--preset--color--ink);
}

/* Onderwerpen in het SEO-blok */
.flow-topics h3.wp-block-heading { font-size: 24px; margin-bottom: 6px; }
.flow-topics p { margin-top: 0; }

/* Video zonder zwarte balken */
.flow-video video { width: 100%; display: block; }

/* ---------- Logo's van verkooppunten ---------- */
.flow-logos { row-gap: 28px; }
.flow-logos .wp-block-image { margin: 0; }
.flow-logos img {
	width: auto !important;
	height: auto;
	max-height: 56px;
	max-width: 180px;
	filter: grayscale(1);
	opacity: .7;
	transition: opacity .2s, filter .2s;
}
.flow-logos img:hover { opacity: 1; filter: none; }

/* ---------- Uitklapblokken (Over ons) ---------- */
.flow-accordion .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 14px 0;
	margin: 0;
}
.flow-accordion .wp-block-details summary {
	position: relative;
	padding-right: 32px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
}
.flow-accordion .wp-block-details summary::-webkit-details-marker { display: none; }
.flow-accordion .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 0;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
}
.flow-accordion .wp-block-details[open] summary::after { content: "–"; }
.flow-accordion .wp-block-details p { margin-top: 10px; }

.flow-band { background: rgba(255, 255, 255, .92); }

/* ---------- Footer ---------- */
.flow-footer { font-size: 14px; }
.flow-footer p { line-height: 2; }
.flow-footer a { text-decoration: none; }
.flow-footer a:hover { text-decoration: underline; }
.flow-footer .wp-block-columns { margin-bottom: var(--wp--preset--spacing--40); }
.flow-footer .wp-block-separator { margin: 0 0 16px; height: 1px; border: 0; }

/* ---------- Header op telefoons compacter ---------- */
@media (max-width: 781px) {
	.flow-header { padding-top: 12px; padding-bottom: 12px; }
	.flow-header__logo img { width: 112px !important; }
	.flow-scrolled .flow-header { padding-top: 8px; padding-bottom: 8px; }
	.flow-scrolled .flow-header__logo img { width: 92px !important; }
}
