/* Page sections: section titles, feature rows, cards, CTA band, FAQ.
   Mirrors the live weenvo.com sections; colour only ever means a module (DESIGN.md). */

/* ---------- All theme buttons: one height and one way to react ---------- */
.wp-element-button, .wp-block-button__link {
	box-sizing: border-box;
	min-height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* ---------- Accent tones ----------
   Sections, cards, icons and menu groups pick a tone for variety (owner decision 2026-10-19: no colour-per-module
   system — modules will grow). Same five colours as the live site; one green only. */
:root {
	--wv-pink: #ff4a9e; --wv-pink-deep: #db4088; --wv-pink-mist: #ffebf4;
	--wv-green: #34dda9; --wv-green-deep: #2dbe91; --wv-green-mist: #e9fbf6;
	--wv-orange: #e9730c; --wv-orange-deep: #c8630a; --wv-orange-mist: #fdf0e4;
	--wv-indigo: #4a42ec; --wv-indigo-deep: #3b33d6; --wv-indigo-mist: #f3f1ff;
	--wv-purple: #b142ec; --wv-purple-deep: #9839cb; --wv-purple-mist: #f6eafd;
	/* Errors are a meaning, not an accent */
	--wv-error: #b03400; --wv-error-mist: #fff0e8;
}
.tone-pink { --wv-accent: var(--wv-pink); --wv-accent-deep: var(--wv-pink-deep); --wv-accent-mist: var(--wv-pink-mist); }
.tone-green { --wv-accent: var(--wv-green); --wv-accent-deep: var(--wv-green-deep); --wv-accent-mist: var(--wv-green-mist); }
.tone-orange { --wv-accent: var(--wv-orange); --wv-accent-deep: var(--wv-orange-deep); --wv-accent-mist: var(--wv-orange-mist); }
.tone-indigo { --wv-accent: var(--wv-indigo); --wv-accent-deep: var(--wv-indigo-deep); --wv-accent-mist: var(--wv-indigo-mist); }
.tone-purple { --wv-accent: var(--wv-purple); --wv-accent-deep: var(--wv-purple-deep); --wv-accent-mist: var(--wv-purple-mist); }

/* ---------- Icon block ---------- */
.wv-icon-block { display: flex; color: var(--wv-accent, var(--wp--preset--color--indigo-action)); line-height: 0; }
.wv-icon-block.aligncenter { justify-content: center; }
/* Decorative accent colours (benefit cards only; never text) */
.wv-icon-block.is-tone-pink { color: var(--wv-pink) !important; }
.wv-icon-block.is-tone-green { color: var(--wv-green) !important; }
.wv-icon-block.is-tone-purple { color: var(--wv-purple) !important; }
.wv-icon-block.is-tone-orange { color: var(--wv-orange) !important; }
.wv-icon-block.is-tone-indigo { color: var(--wv-indigo) !important; }
.wv-icon-block.has-tile {
	display: inline-grid; place-items: center;
	width: calc(var(--wv-icon-size) * 1.9); height: calc(var(--wv-icon-size) * 1.9);
	border-radius: 12px; background: var(--wv-accent-mist, var(--wp--preset--color--indigo-mist));
}

/* ---------- Section spacing and titles ---------- */
.wv-section { padding-block: clamp(2.5rem, 1.75rem + 3vw, 4rem); }
.wp-block-post-content > * + .wv-section, .wp-block-post-content > * + .wv-feature { margin-block-start: 0 !important; }
.wv-section-title {
	text-align: center;
	color: var(--wp--preset--color--indigo-action) !important;
	font-size: clamp(2rem, 1.3rem + 2.6vw, 2.75rem) !important;
	letter-spacing: -0.015em;
}
.wv-section-lead {
	max-width: 60ch; margin-inline: auto !important;
	text-align: center; color: var(--wp--preset--color--ink-muted);
	font-size: var(--wp--preset--font-size--subtitle); line-height: 1.5;
}

/* ---------- Check list ---------- */
.wv-checklist { list-style: none; padding-left: 0 !important; display: grid; gap: 10px; }
.wv-checklist li { position: relative; padding-left: 30px; }
.wv-checklist li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px;
	background: var(--wv-accent, var(--wp--preset--color--indigo-action));
	-webkit-mask: url("../icons/ui5/accept.svg") center / contain no-repeat;
	mask: url("../icons/ui5/accept.svg") center / contain no-repeat;
}

/* ---------- Feature row: screenshot + text, alternating ---------- */
.wv-feature { padding-block: clamp(2rem, 1.25rem + 2.5vw, 3.25rem); }
.wv-feature .wp-block-columns { gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.wv-feature__title {
	color: var(--wv-accent, var(--wv-indigo)) !important;
	font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem) !important;
	line-height: 1.1 !important;
	margin-bottom: 0.5rem !important;
}
.wv-feature__subtitle { font-size: var(--wp--preset--font-size--title) !important; line-height: 1.3 !important; margin-top: 0 !important; }
.wv-feature p { color: var(--wp--preset--color--ink-muted); }

/* Screenshot frame */
.wp-block-image.is-style-wv-screenshot img,
.wv-feature .wp-block-image img {
	border-radius: 16px;
	box-shadow: var(--wp--preset--shadow--card);
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface);
}

/* Button pair: "Open wiki" (filled module colour) + round "Demo" icon button.
   Same size, type, hover and focus as every other theme button (DESIGN.md → Buttons): 44px, Label 13px. */
.wv-feature .wp-block-buttons { gap: 12px; margin-top: 1.5rem; align-items: center; }
.wv-feature .wp-block-button__link {
	background: var(--wv-accent, var(--wp--preset--color--indigo-action));
	color: var(--wp--preset--color--surface);
}
.wv-feature .wp-block-button__link:hover,
.wv-feature .wp-block-button__link:focus-visible {
	background: var(--wv-accent-deep, var(--wp--preset--color--indigo-action-deep));
	color: var(--wp--preset--color--surface);
}
/* Round Demo button, as on the live site: a 44px circle with a passing shine;
   on hover/focus it opens into a pill and shows "Demo", and the shine stops. */
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link {
	position: relative;
	justify-content: flex-start;
	width: 44px; height: 44px; min-width: 44px;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	color: transparent;
	transition: width 0.25s ease, padding 0.25s ease, color 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link::before {
	content: ""; position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; z-index: 2;
	background: var(--wp--preset--color--surface);
	-webkit-mask: url("../icons/ui5/sys-monitor.svg") center / contain no-repeat;
	mask: url("../icons/ui5/sys-monitor.svg") center / contain no-repeat;
}
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link::after {
	content: ""; position: absolute; top: 0; left: -100%; width: 45%; height: 100%; z-index: 1;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
	transform: skewX(-20deg);
	animation: wv-demo-shine 5s linear infinite;
	pointer-events: none;
}
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link:hover,
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link:focus-visible {
	width: 98px;
	padding: 0 18px 0 42px;
	color: var(--wp--preset--color--surface);
}
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link:hover::after,
.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link:focus-visible::after { animation: none; opacity: 0; }
@keyframes wv-demo-shine { 0% { left: -100%; } 100% { left: 150%; } }


@media (max-width: 767px) {
	/* As on the live site: the round Demo button is not shown on phones */
	.wv-feature .wp-block-button.is-style-wv-demo { display: none; }
}

@media (max-width: 781px) {
	/* Text first, screenshot second on phones, whatever the desktop order */
	.wv-feature .wp-block-columns { display: flex; flex-direction: column; }
	.wv-feature .wp-block-column:has(> .wp-block-image) { order: 2; }
}

/* ---------- Cards ---------- */
.wv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: 2.5rem !important; }
.wv-cards > * { margin: 0 !important; }

/* Small module cards ("Weenvo applications") */
.wv-card {
	background: var(--wp--preset--color--surface);
	border-radius: 24px;
	box-shadow: var(--wp--preset--shadow--card);
	padding: 28px 24px !important;
	text-align: center;
	display: grid; justify-items: center; align-content: start; gap: 10px;
}
.wv-card h3 { font-size: 1.125rem !important; margin: 0 !important; }
.wv-card p { margin: 0 !important; font-size: var(--wp--preset--font-size--small); line-height: 1.55; color: var(--wp--preset--color--ink-muted); }

/* Benefit cards: big icon above, short rule, then the card ("Who this solution is for") */
.wv-benefit { display: grid; grid-template-rows: auto auto 1fr; gap: 18px; }
.wv-benefit .wv-icon-block { color: var(--wv-accent, var(--wp--preset--color--indigo-action)); }
.wv-benefit .wp-block-separator {
	width: 36px; margin: 0 !important; border: 0; border-top: 3px solid var(--wv-orange) !important; opacity: 1;
}
.wv-benefit__card {
	background: var(--wp--preset--color--surface);
	border-radius: 24px;
	box-shadow: var(--wp--preset--shadow--card);
	padding: 24px !important;
}
.wv-benefit__card h3 { font-size: 1.125rem !important; margin: 0 0 8px !important; }
.wv-benefit__card p { margin: 0 !important; font-size: var(--wp--preset--font-size--small); line-height: 1.55; color: var(--wp--preset--color--ink-muted); }

/* ---------- Highlight box and CTA band (violet gradient panel) ---------- */
.wv-panel {
	background: linear-gradient(115deg, var(--wp--preset--color--indigo-action) 0%, #6a2ae0 55%, #7a2fd8 100%);
	color: var(--wp--preset--color--surface);
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(74, 66, 236, 0.22);
	padding: clamp(2rem, 1.25rem + 3vw, 3.5rem) !important;
}
.wv-panel :where(h2, h3) { color: var(--wp--preset--color--surface) !important; }
.wv-panel p { color: var(--wp--preset--color--lavender-on-ground); }
.wv-panel .wv-checklist { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); column-gap: 48px; max-width: 900px; margin-inline: auto; }
.wv-panel .wv-checklist li::before { background: var(--wp--preset--color--surface); }

/* CTA band: light lavender, not violet, so it never merges with the violet highlight / use-case
   panels next to it (owner, 2026-10-19). Indigo title, filled + outlined indigo buttons. */
.wv-panel.wv-cta {
	text-align: center;
	background: var(--wp--preset--color--indigo-mist);
	color: var(--wp--preset--color--ink);
	border: 1px solid #e3defb;
	box-shadow: 0 16px 36px rgba(74, 66, 236, 0.10);
}
.wv-panel.wv-cta h2 { color: var(--wp--preset--color--indigo-action) !important; font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem) !important; margin-top: 0 !important; }
.wv-panel.wv-cta p { max-width: 56ch; margin-inline: auto !important; color: var(--wp--preset--color--ink-muted); font-size: var(--wp--preset--font-size--subtitle); line-height: 1.5; }
.wv-cta .wp-block-buttons { justify-content: center; gap: 16px; margin-top: 1.75rem; }
.wv-cta .wp-block-button__link { background: var(--wp--preset--color--indigo-action); color: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--indigo-action); }
.wv-cta .wp-block-button__link:hover,
.wv-cta .wp-block-button__link:focus-visible { background: var(--wp--preset--color--indigo-action-deep); border-color: var(--wp--preset--color--indigo-action-deep); color: var(--wp--preset--color--surface); }
.wv-cta .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--indigo-action); border: 1px solid var(--wp--preset--color--indigo-action); box-shadow: none; }
.wv-cta .wp-block-button.is-style-outline .wp-block-button__link:hover,
.wv-cta .wp-block-button.is-style-outline .wp-block-button__link:focus-visible { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--indigo-action-deep); border-color: var(--wp--preset--color--indigo-action-deep); }

/* Two panel sections in a row (any page): keep a clear gap so they never read as one block. */
.wv-section:has(> .wv-panel) + .wv-section:has(> .wv-panel) { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }

/* ---------- FAQ (core/details) ---------- */
/* Smooth open/close: the answer slides open (block-size animation where the browser supports
   interpolate-size / ::details-content — Chrome, Edge), the text fades in everywhere, the "+" turns into "−",
   and the open question sits on a soft tinted card. */
:root { interpolate-size: allow-keywords; }

.wv-faq .wv-section-title { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) !important; }

/* One style in every state: each question is a white card (same family as the site's cards). */
.wv-faq .wp-block-details {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 0 24px !important;
	margin: 0 0 12px !important;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.wv-faq .wp-block-details:hover { border-color: #cfcbe8; }
.wv-faq .wp-block-details[open] {
	border-color: transparent;
	box-shadow: var(--wp--preset--shadow--card);
}

.wv-faq .wp-block-details::details-content {
	block-size: 0;
	overflow-y: clip;
	transition: block-size 0.35s ease, content-visibility 0.35s ease allow-discrete;
}
.wv-faq .wp-block-details[open]::details-content { block-size: auto; }

.wv-faq .wp-block-details summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 20px 48px 20px 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 1.35;
	color: var(--wp--preset--color--ink);
	transition: color 0.2s ease;
}
.wv-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.wv-faq .wp-block-details summary:hover,
.wv-faq .wp-block-details[open] summary { color: var(--wp--preset--color--indigo-action); }
.wv-faq .wp-block-details summary:focus-visible { outline: 3px solid var(--wp--preset--color--indigo-action); outline-offset: 2px; border-radius: 8px; }

/* "+" made of two bars: the vertical bar folds away when open, leaving "−", while the icon turns */
.wv-faq .wp-block-details summary::before,
.wv-faq .wp-block-details summary::after {
	content: ""; position: absolute; right: 8px; top: 50%;
	width: 16px; height: 2px; margin-top: -1px; border-radius: 2px;
	background: var(--wp--preset--color--indigo-action);
	transition: transform 0.35s ease, opacity 0.35s ease;
}
.wv-faq .wp-block-details summary::after { transform: rotate(90deg); }
.wv-faq .wp-block-details[open] summary::before { transform: rotate(180deg); }
.wv-faq .wp-block-details[open] summary::after { transform: rotate(180deg); opacity: 0; }

.wv-faq .wp-block-details > :not(summary) { margin: 0 0 20px !important; color: var(--wp--preset--color--ink-muted); max-width: 68ch; }
.wv-faq .wp-block-details[open] > :not(summary) { animation: wv-faq-reveal 0.35s ease both; }
@keyframes wv-faq-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.wp-element-button, .wp-block-button__link { transition: none !important; }
	.wv-feature .wp-block-button.is-style-wv-demo .wp-block-button__link::after { animation: none; display: none; }
	.wv-faq .wp-block-details, .wv-faq .wp-block-details summary::before, .wv-faq .wp-block-details summary::after, .wv-faq .wp-block-details::details-content { transition: none; }
	.wv-faq .wp-block-details[open] > :not(summary) { animation: none; }
}

/* Screenshot viewer (core image lightbox): violet-tinted backdrop, zoom cursor on screenshots */
.wv-feature .wp-block-image img, .is-style-wv-screenshot img { cursor: zoom-in; }
.wp-lightbox-overlay .scrim { background-color: rgba(20, 0, 50, 0.88) !important; }
.wp-lightbox-overlay .close-button { color: var(--wp--preset--color--surface); }

/* ---------- Ask a question form ---------- */
/* Labels and per-field messages are for screen readers only (owner decision): people see placeholders,
   the message strip on top and a red outline on the fields to fix. */
.wv-form .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wv-form ::placeholder { color: var(--wp--preset--color--ink-muted); opacity: 1; }
.wv-ask .wv-section-lead { font-size: var(--wp--preset--font-size--body); line-height: 1.7; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) !important; }
.wv-form { display: grid; gap: 20px; }
.wv-form[hidden] { display: none; } /* after a successful send only the thank-you card stays */
.wv-form__grid { display: grid; gap: 18px; }
.wv-form__field { display: grid; gap: 0; }
.wv-form label { font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.wv-form__req { color: var(--wv-error); }
.wv-form__opt { font-weight: 400; color: var(--wp--preset--color--ink-muted); }
.wv-form input:not([type="checkbox"]), .wv-form textarea {
	box-sizing: border-box; width: 100%;
	font: inherit; font-size: var(--wp--preset--font-size--body); color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--surface-tint);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	padding: 13px 22px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.wv-form textarea { border-radius: 24px; min-height: 150px; resize: vertical; }
.wv-form input:not([type="checkbox"]):hover, .wv-form textarea:hover { border-color: #cfcbe8; }
.wv-form input:not([type="checkbox"]):focus, .wv-form textarea:focus {
	outline: none; background: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--indigo-action); box-shadow: 0 0 0 3px var(--wp--preset--color--indigo-mist);
}
.wv-form [aria-invalid="true"] { border-color: var(--wv-error) !important; box-shadow: 0 0 0 1px var(--wv-error); }
.wv-form input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--wv-error); outline-offset: 2px; }
.wv-form__error { margin: 0; min-height: 0; font-size: var(--wp--preset--font-size--small); color: var(--wv-error); }
.wv-form__error:empty { display: none; }
.wv-form__summary { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--wv-error-mist); color: var(--wv-error); font-weight: 600; }

.wv-form__consent { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.wv-form__consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--wp--preset--color--indigo-action); }
.wv-form__consent label { font-weight: 400; color: var(--wp--preset--color--ink-muted); font-size: var(--wp--preset--font-size--body); }
.wv-form__consent label a { color: var(--wp--preset--color--indigo-action); }
.wv-form__consent .wv-form__error { grid-column: 1 / -1; }

.wv-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wv-form__actions { justify-content: flex-end; margin: 0 !important; }
.wv-form button[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.wv-form__success {
	display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px;
	padding: 24px; border-radius: 24px; background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--card); color: var(--wp--preset--color--ink);
}
.wv-form__success[hidden] { display: none; }
.wv-form__success .wv-icon { color: var(--wv-green); }
.wv-form__success p { margin: 0; font-weight: 600; }
.wv-form__success:focus { outline: none; }

/* ---------- Intro block (section title, strong lead, body text, one button) ---------- */
.wv-intro .wv-lead {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.4375rem);
	line-height: 1.45;
	color: var(--wp--preset--color--ink);
	text-wrap: balance;
	margin-block: 1.25rem 1.5rem !important;
}
.wv-intro p:not(.wv-lead) { color: var(--wp--preset--color--ink-muted); }
.wv-intro .wp-block-buttons { margin-top: 1.75rem; }

/* Cookie banner (CookieYes plugin): text and buttons grouped in the centre instead of pushed to the edges. */
.cky-consent-bar .cky-notice-group { justify-content: center; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.cky-consent-bar .cky-notice-des { flex: 0 1 auto; text-align: center; }
.cky-consent-bar .cky-notice-btn-wrapper { flex: none; margin: 0; }

/* CTA strip: one row — title and line on the left, buttons on the right; stacks on phones. */
.wv-panel.wv-cta--strip {
	display: flex; align-items: center; justify-content: space-between; gap: 20px 40px;
	text-align: left; padding: clamp(1.5rem, 1rem + 1.5vw, 2rem) clamp(1.5rem, 1rem + 2vw, 2.5rem) !important;
}
.wv-cta--strip > * { margin: 0 !important; }
.wv-cta--strip .wv-cta__text { flex: 1 1 auto; min-width: 0; }
.wv-cta--strip .wv-cta__text > * { margin: 0 !important; }
.wv-panel.wv-cta--strip h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem) !important; line-height: 1.25; }
.wv-panel.wv-cta--strip p { max-width: 60ch; margin: 6px 0 0 !important; font-size: var(--wp--preset--font-size--body); }
.wv-cta--strip .wp-block-buttons { flex: none; flex-wrap: nowrap; margin-top: 0 !important; gap: 12px; }
@media (max-width: 781px) {
	.wv-panel.wv-cta--strip { flex-direction: column; align-items: stretch; text-align: center; }
	.wv-panel.wv-cta--strip p { margin-inline: auto !important; }
	.wv-cta--strip .wp-block-buttons { flex-wrap: wrap; justify-content: center; }
}

/* Benefits as rows: icon on the left, title and text on the right. 3 items → 3 columns,
   4 → 2×2, 5+ → 3 columns; one column on phones. Replaces the icon / rule / card stack. */
.wv-benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px); max-width: 1100px; margin: 2.5rem auto 0 !important; }
.wv-benefit-list:has(> :nth-child(4):last-child), .wv-benefit-list:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.wv-benefit-list > * { margin: 0 !important; }
.wv-benefit-row > * { margin: 0 !important; }
.wv-benefit-row__body h3 { font-size: 1.125rem !important; line-height: 1.3; margin: 0 0 6px !important; }
.wv-benefit-row__body p { margin: 0 !important; font-size: var(--wp--preset--font-size--small); line-height: 1.6; color: var(--wp--preset--color--ink-muted); }
@media (max-width: 900px) { .wv-benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wv-benefit-list, .wv-benefit-list:has(> :nth-child(4):last-child), .wv-benefit-list:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; gap: 24px; } }
/* Icon beside the title, text below across the whole item (owner's sketch, option 3). */
.wv-benefit-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; }
.wv-benefit-row__body { display: contents; }
.wv-benefit-row__body h3 { grid-column: 2; margin: 0 !important; }
.wv-benefit-row__body p { grid-column: 1 / -1; }

/* Module cards: the same icon-beside-title header; at most three columns. */
.wv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .wv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wv-cards { grid-template-columns: 1fr; } }
.wv-card { text-align: left; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; row-gap: 12px; }
.wv-card > .wv-icon-block { grid-column: 1; }
.wv-card > h3 { grid-column: 2; }
.wv-card > p, .wv-card:not(:has(> .wv-icon-block)) > h3 { grid-column: 1 / -1; }
/* A lone last card in a three-column grid (7, 10… items) spans the row instead of sitting alone. */
@media (min-width: 901px) { .wv-cards > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; } }
/* A heading-less card/benefit block right after an intro belongs to it: no second section gap. */
.wv-intro + .wv-section:not(:has(> .wv-section-title)) { padding-top: 0; }
.wv-section:not(:has(> .wv-section-title)) > :is(.wv-benefit-list, .wv-cards):first-child { margin-top: 0 !important; }
/* A heading-less intro (a note + button) after a section continues it: no second gap, centred like its button. */
.wv-section + .wv-intro:not(:has(.wv-section-title)) { padding-top: 0; }
.wv-intro:not(:has(.wv-section-title)):has(.wp-block-buttons) > p { text-align: center; }
/* Note strip: the CTA strip with one line of body text and a single button. */
.wv-panel.wv-cta--note p { margin: 0 !important; color: var(--wp--preset--color--ink); font-size: var(--wp--preset--font-size--body); }
.wv-section + .wv-section:has(> .wv-cta--note) { padding-top: 0; } /* the note continues the block above it */
.wv-panel.wv-cta--note h3 { margin: 0 0 6px !important; font-size: 1.125rem !important; color: var(--wp--preset--color--indigo-action) !important; }
.wv-panel.wv-cta--note h3 + p { color: var(--wp--preset--color--ink-muted); }
/* Note strips: white with an indigo outline and no shadow, so they never merge with the lavender CTA strip. */
.wv-panel.wv-cta--note { background: var(--wp--preset--color--surface); border: 1px solid #cfcbe8; box-shadow: none; }

/* Cookie banner buttons: live colours, ported from the old custom-css-js snippet "cookie-buttons". */
button.cky-btn.cky-btn-accept { background-color: #34dda9 !important; border-color: #34dda9 !important; border-radius: 30px !important; }
button.cky-btn.cky-btn-reject { background-color: #ff509f !important; border-color: #ff509f !important; color: #fff !important; border-radius: 30px !important; }

/* No grey/blue tap flash on phones: pressed state comes from the element's own hover/open styles. */
a, button, summary, [role="button"], .wp-block-post-navigation-link { -webkit-tap-highlight-color: transparent; }
