/*
 * KHS child stylesheet. Enqueued after the parent's assets/css/main.css
 * (see functions.php), so anything set here wins the cascade.
 *
 * Fonts: self-hosted (LOOK-06), supplied by Shane as .ttf in backups/ (not
 * scraped from Squarespace's own font CDN, which isn't redistributable) —
 * Roboto for headings and body, as on the live site, wght 100-900
 * (verified from the font's own fvar table). @font-face is
 * deliberately unlayered, matching the parent's own convention (see its
 * assets/css/main.css header) — font loading isn't a cascade-priority
 * concern, so it stays outside any @layer.
 *
 * Colour, type-scale and spacing tokens (LOOK-01/02): taken from the live
 * site — its CSS custom properties and its computed styles at 390px and
 * 1366px wide; readme.txt lists the source of each value. Every colour changed here is set identically under both dark-mode
 * selectors too (this site is light-only — LOOK-01). Hover/active shades
 * are the same colour stepped darker in HSL lightness (matching the
 * parent's own primary/secondary step pattern), not independently sourced.
 */

@font-face {
	font-family: Roboto;
	src: url("../fonts/roboto/Roboto-Variable.woff2") format("woff2-variations"),
		url("../fonts/roboto/Roboto-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Roboto;
	src: url("../fonts/roboto/Roboto-Variable-Italic.woff2") format("woff2-variations"),
		url("../fonts/roboto/Roboto-Variable-Italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@layer tokens {
	:root {
		/* Brand colours (LOOK-01/02) — source: readme.txt */
		--wknz-color-primary: #010051;
		--wknz-color-primary-hover: #010036;
		--wknz-color-primary-active: #000021;
		--wknz-color-secondary: #06d344;
		--wknz-color-secondary-hover: #05ab37;
		--wknz-color-secondary-active: #04862b;
		--wknz-color-accent: #06d344;
		--wknz-color-heading: #010051;
		--wknz-color-text: #010051;
		--wknz-color-background: #fff;
		--wknz-color-link: #010051;
		--wknz-color-link-hover: #010036;
		--wknz-color-link-active: #000021;
		--wknz-color-focus: #06d344;

		/* Status colours for form messages (FORM-02/05): the parent's light-
		   mode values, repeated below so dark mode doesn't lighten them. */
		--wknz-color-success: #15803d;
		--wknz-color-danger: #b91c1c;
		--wknz-color-warning: #b45309;
		--wknz-color-info: #0369a1;

		/* Brand fonts (LOOK-01/02/06) */
		--wknz-font-family-heading: "Roboto", -apple-system, system-ui, blinkmacsystemfont, "Segoe UI", helvetica, arial, sans-serif;
		--wknz-font-family-body: "Roboto", -apple-system, system-ui, blinkmacsystemfont, "Segoe UI", helvetica, arial, sans-serif;

		/* Type scale (LOOK-02): the live site's computed sizes at 390px and
		   1366px wide, joined by a straight fluid line between them. */
		--wknz-font-size-h1: clamp(3.025rem, 2.606rem + 1.719vw, 4.074rem);
		--wknz-font-size-h2: clamp(2.0125rem, 1.803rem + 0.86vw, 2.537rem);
		--wknz-font-size-h3: clamp(1.7425rem, 1.589rem + 0.63vw, 2.127rem);
		--wknz-font-size-h4: clamp(1.27rem, 1.214rem + 0.23vw, 1.41rem);
		--wknz-font-size-body: clamp(1.0675rem, 1.054rem + 0.057vw, 1.1025rem);
		--wknz-line-height-heading: 1.05;
		--wknz-line-height-body: 1.3;
		--wknz-border-width: 2px;
		--wknz-border-width-thick: 4px;
	}

	/* Site is light-only (LOOK-01) — every colour changed above is repeated
	   identically here so neither an OS dark-mode preference nor the
	   manual toggle changes KHS's brand colours. */
	@media (prefers-color-scheme: dark) {
		:root:not([data-theme="light"]) {
			--wknz-color-primary: #010051;
			--wknz-color-primary-hover: #010036;
			--wknz-color-primary-active: #000021;
			--wknz-color-secondary: #06d344;
			--wknz-color-secondary-hover: #05ab37;
			--wknz-color-secondary-active: #04862b;
			--wknz-color-accent: #06d344;
			--wknz-color-heading: #010051;
			--wknz-color-text: #010051;
			--wknz-color-background: #fff;
			--wknz-color-link: #010051;
			--wknz-color-link-hover: #010036;
			--wknz-color-link-active: #000021;
			--wknz-color-focus: #06d344;
			--wknz-color-success: #15803d;
			--wknz-color-danger: #b91c1c;
			--wknz-color-warning: #b45309;
			--wknz-color-info: #0369a1;
		}
	}

	:root[data-theme="dark"] {
		--wknz-color-primary: #010051;
		--wknz-color-primary-hover: #010036;
		--wknz-color-primary-active: #000021;
		--wknz-color-secondary: #06d344;
		--wknz-color-secondary-hover: #05ab37;
		--wknz-color-secondary-active: #04862b;
		--wknz-color-accent: #06d344;
		--wknz-color-heading: #010051;
		--wknz-color-text: #010051;
		--wknz-color-background: #fff;
		--wknz-color-link: #010051;
		--wknz-color-link-hover: #010036;
		--wknz-color-link-active: #000021;
		--wknz-color-focus: #06d344;
		--wknz-color-success: #15803d;
		--wknz-color-danger: #b91c1c;
		--wknz-color-warning: #b45309;
		--wknz-color-info: #0369a1;
	}
}

/* Headings are regular weight on the live site (LOOK-02); bold is set
   per page where the live site uses it. */
@layer base {
	/* Focus (A11Y-02): a two-colour ring (WCAG technique C40) — navy inside,
	   the brand green outside. The two are 9.7:1 apart, so at least one has
	   3:1 against any background here: navy on white and the grey form
	   panel, green on the navy header, footer and hero. Green alone is only
	   about 2:1 on white. */
	:focus-visible {
		outline: 3px solid var(--wknz-color-focus);
		outline-offset: 2px;
		box-shadow: 0 0 0 2px var(--wknz-color-primary);
	}

	/* The skip link keeps the parent's drop shadow as well. */
	.screen-reader-text:focus-visible {
		box-shadow: 0 0 0 2px var(--wknz-color-primary), var(--wknz-shadow-md);
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-weight: var(--wknz-font-weight-regular);
		letter-spacing: -0.02em;
	}
}

/* --------------------------------------------------------------
# Global components (LOOK-01/03) — reused across every page template
# (GPS methodology, docs/theme-architecture.md Part F).
#
# Layout: each page template uses the parent's constrained default
# (.container > .page-layout > article.khs-page). Inside that column,
# content is laid out with flex. A section that needs a full-bleed
# background adds the parent's .alignfull and wraps its content in a
# constrained inner box.
-------------------------------------------------------------- */
@layer components {
	/* Focus and in-page jumps stop below the sticky header, so it never
	   covers a focused element (A11Y-11, WCAG 2.4.11). The header wraps onto
	   more lines as the screen narrows: up to about 220px tall at 320px wide,
	   and at most about 125px once it fits on one line (from about 1180px). */
	html {
		scroll-padding-block-start: 14rem;
	}

	@media (width >= 75em) {
		html {
			scroll-padding-block-start: 8.5rem;
		}
	}

	/* The skip link's target, the page title (assets/js/skip-link.js). Like
	   the parent's #primary rule: only ever focused by the skip link, which
	   has just shown its own focus ring, never through the Tab order. */
	#primary :is(h1, h2, h3)[tabindex="-1"]:focus {
		outline: 0;
	}

	/* Full-bleed bands are sized from #primary's width (cqi), not the
	   parent's 100vw, which includes a visible scrollbar and so pushes the
	   band 7-8px past the page and its content out of line with the column. */
	#primary {
		container-type: inline-size;
	}

	.khs-page .alignfull {
		width: 100cqi;
		max-width: 100cqi;
		margin-inline: calc(50% - 50cqi);
	}

	.khs-page {
		display: flex;
		flex-direction: column;
		padding-block-end: var(--wknz-space-2xl);
	}

	.khs-page > h1 {
		padding-block-start: var(--wknz-space-xl);
	}

	.section {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-md);
		padding-block: clamp(var(--wknz-space-lg), 4vw, var(--wknz-space-xl));
	}

	.section > .btn {
		align-self: center;
	}

	/* Two or more columns side by side that wrap to one column when
	   there isn't room — no breakpoint needed. */
	.khs-columns {
		display: flex;
		flex-wrap: wrap;
		gap: var(--wknz-space-xl);
	}

	.khs-columns > * {
		flex: 1 1 min(100%, 24rem);
		min-inline-size: 0;
	}

	.khs-page a {
		overflow-wrap: anywhere;
	}

	/* The live site's large heading sizes can't fit a long word on the
	   narrowest phones, so headings may hyphenate or break instead of
	   pushing the page sideways — on the parent's blog, search and 404
	   templates too, where a long search term is part of the heading
	   (A11Y-07). The parent's grid columns would otherwise refuse to shrink
	   below their longest word. */
	.page-layout > * {
		min-inline-size: 0;
	}

	.page-layout :is(h1, h2, h3) {
		overflow-wrap: break-word;
	}

	/* Hyphenate only where a long word could otherwise not fit; on wider
	   screens headings wrap between words, as on the live site. */
	@media (width < 30em) {
		.page-layout :is(h1, h2, h3) {
			hyphens: auto;
		}
	}

	.alignfull > .band-inner,
	.hero-band-inner {
		max-width: var(--wknz-container-max);
		margin-inline: auto;
		padding-inline: var(--wknz-container-gutter);
	}

	/* Buttons: the live site's green pill. Navy text rather than the live
	   site's white — white on this green is about 2:1 contrast, below
	   A11Y-01's 4.5:1; navy on it is about 9.7:1. */
	.khs-page :is(.btn, .cta),
	.khs-header-button {
		background-color: var(--wknz-color-secondary);
		border-radius: var(--wknz-radius-full);
		color: var(--wknz-color-primary);
		font-size: 0.9rem;
		font-weight: var(--wknz-font-weight-medium);
		letter-spacing: 0.05em;
		min-height: 3.5rem;
		padding: var(--wknz-space-sm) var(--wknz-space-xl);
		text-align: center;
		text-transform: uppercase;
	}

	.khs-page :is(.btn, .cta):hover,
	.khs-header-button:hover {
		background-color: var(--wknz-color-secondary-hover);
		color: var(--wknz-color-primary);
	}

	.khs-page :is(.btn, .cta):active,
	.khs-header-button:active {
		background-color: var(--wknz-color-secondary-active);
	}

	.contact-prompt a {
		font-weight: var(--wknz-font-weight-bold);
	}

	/* "title + text" repeater rows (steps, benefits, reasons — PAGE-06/08) */
	.title-text-list {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-sm);
		margin: 0;
	}

	.title-text-list dt {
		font-weight: var(--wknz-font-weight-bold);
	}

	.title-text-list dd {
		margin: 0;
	}

	.title-text-list-steps {
		padding-inline-start: 0;
		list-style: decimal inside;
		font-weight: var(--wknz-font-weight-bold);
	}

	/* Single-value repeater rows (situations, questions, pros, cons —
	   PAGE-06). Decorative markers are list markers or background images
	   on an empty ::before, never text content, so nothing extra is
	   announced by a screen reader (PAGE-09). */
	.text-list {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-2xs);
		margin: 0;
		padding-inline-start: 1.25em;
	}

	.text-list li::marker {
		color: var(--wknz-color-secondary);
	}

	.text-list-check,
	.text-list-cross {
		list-style: none;
		padding-inline-start: 0;
	}

	.text-list-check li,
	.text-list-cross li {
		position: relative;
		padding-inline-start: 1.75em;
	}

	.text-list-check li::before,
	.text-list-cross li::before {
		content: "";
		position: absolute;
		inset-inline-start: 0;
		top: 0.1em;
		width: 1.25em;
		height: 1.25em;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.text-list-check li::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%2306d344'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E");
	}

	.text-list-cross li::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d0021b' stroke-width='3' stroke-linecap='round' d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E");
	}

	/* Tap size (A11Y-03, WCAG 2.5.8): links that stand on their own, rather
	   than sitting inside a sentence, are at least 24px tall to tap. The
	   sidebar's widgets are whatever the editor places there (Latest Posts,
	   Archives, Categories...), so every list link in them is covered. */
	:is(.khs-footer-menu, .footer-navigation, .khs-contact-info, .post-navigation, .wp-block-categories-list, aside .widget li, .entry-read-more, .contact-prompt, .cta-box-phone, .director-card-phone, .director-card-email) a {
		display: inline-block;
		min-block-size: 1.5rem;
		line-height: 1.5rem;
	}

	/* Director photo — an uncropped cut-out portrait, as on the live site */
	.director-photo {
		margin: 0;
	}

	.director-photo img {
		width: min(100%, 16rem);
		height: auto;
		margin-inline: auto;
	}
}

/* --------------------------------------------------------------
# Forms (M5: FORM-01/02/05/08) — Contact Form 7, on any page.
# CF7's own stylesheet is switched off (inc/forms.php) because it is
# unlayered and would beat these rules; the few behaviour rules it
# carried are repeated first. Fields follow the live site's form:
# pill-shaped inputs, labels always visible above their field, a pill
# submit button. The panel behind each form is set per page below.
-------------------------------------------------------------- */
@layer components {
	/* Behaviour carried over from CF7's own stylesheet */
	.wpcf7 .screen-reader-response {
		position: absolute;
		overflow: hidden;
		clip-path: inset(50%);
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		border: 0;
		overflow-wrap: normal;
		word-break: normal;
	}

	.wpcf7 .hidden-fields-container,
	.wpcf7-reflection > output[hidden] {
		display: none;
	}

	.wpcf7 form:is(.init, .resetting, .submitting) .wpcf7-response-output {
		display: none;
	}

	.wpcf7 [inert] {
		opacity: 0.5;
	}

	.wpcf7 :is(input[type="url"], input[type="email"], input[type="tel"]) {
		direction: ltr;
	}

	.wpcf7-form-control-wrap {
		position: relative;
		display: block;
	}

	.wpcf7-reflection > output {
		display: list-item;
		list-style: none;
	}

	/* Layout: one column, fields stacked with room between them. The form
	   takes the width it is given: CF7's size="40" fields must not set the
	   page's minimum width, or narrow screens scroll sideways. */
	.wpcf7 {
		contain: inline-size;
	}

	.wpcf7-form label,
	.wpcf7-form input[type="file"] {
		min-inline-size: 0;
	}

	.wpcf7-form {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-md);
		color: var(--wknz-color-primary);
	}

	.wpcf7-form p {
		margin: 0;
	}

	/* CF7 adds line breaks between a label, its field and any hint; the
	   stacked layout below does that job instead. */
	.wpcf7-form :is(p, label) > br {
		display: none;
	}

	/* Groups of fields: no box or rule line (the live forms have none); a
	   group's heading reads like a bold label above its fields. */
	.wpcf7-form fieldset:not(.hidden-fields-container) {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-sm);
		min-inline-size: 0;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
	}

	.wpcf7-form legend {
		margin-block-end: var(--wknz-space-2xs);
		padding: 0;
		font-size: var(--wknz-font-size-body);
		font-weight: var(--wknz-font-weight-bold);
	}

	/* A field and its hint stay together */
	.wpcf7-form p:has(> label) {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-3xs);
	}

	/* Hints under a field (form content, class "cf7-hint"): small, kept
	   navy so they stay above 4.5:1 on either panel. */
	.wpcf7-form .cf7-hint {
		font-size: var(--wknz-font-size-sm);
		line-height: 1.3;
	}

	/* Labels stay visible above their field (FORM-02) */
	.wpcf7-form label {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-3xs);
		margin: 0;
		font-weight: var(--wknz-font-weight-regular);
	}

	/* Text-style fields, drop-downs and text areas: the live site's pill */
	.wpcf7-form :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="submit"], [type="hidden"]), select, textarea) {
		inline-size: 100%;
		min-inline-size: 0;
		min-block-size: 2.75rem;
		padding: var(--wknz-space-2xs) var(--wknz-space-sm);
		border: 1px solid var(--wknz-color-primary);
		border-radius: var(--wknz-radius-full);
		background-color: transparent;
		color: var(--wknz-color-primary);
		font-size: var(--wknz-font-size-body);
	}

	.wpcf7-form :is(textarea, select[multiple]) {
		border-radius: 1.25rem;
		resize: vertical;
	}

	.wpcf7-form select:not([multiple]) {
		appearance: none;
		padding-inline-end: 2.75rem;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23010051' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
		background-position: right var(--wknz-space-sm) center;
		background-repeat: no-repeat;
		background-size: 1rem;
	}

	.wpcf7-form ::placeholder {
		color: var(--wknz-color-primary);
		opacity: 0.7;
	}

	.wpcf7-form input[readonly] {
		border-style: dashed;
	}

	/* Fields keep their navy border when focused (the parent turns it
	   green, about 1.6:1 on the grey panel); the focus ring is the global
	   two-colour one. */
	.wpcf7-form :is(input, select, textarea):focus-visible {
		border-color: var(--wknz-color-primary);
		outline: 3px solid var(--wknz-color-focus);
		outline-offset: 2px;
		box-shadow: 0 0 0 2px var(--wknz-color-primary);
	}

	.wpcf7-form input[type="range"] {
		inline-size: 100%;
		min-block-size: 1.5rem;
		accent-color: var(--wknz-color-primary);
	}

	.wpcf7-form input[type="file"] {
		inline-size: 100%;
		padding: 0;
		border: 0;
		border-radius: 0;
		background-color: transparent;
		color: var(--wknz-color-primary);
		cursor: pointer;
	}

	.wpcf7-form input[type="file"]::file-selector-button {
		min-block-size: 2.75rem;
		margin-inline-end: var(--wknz-space-sm);
		padding: var(--wknz-space-2xs) var(--wknz-space-md);
		border: 1px solid var(--wknz-color-primary);
		border-radius: var(--wknz-radius-full);
		background-color: transparent;
		color: var(--wknz-color-primary);
		font: inherit;
		cursor: pointer;
	}

	/* Checkboxes, radio buttons and tick boxes (acceptance — FORM-08):
	   choices sit in a row and wrap onto more rows when there isn't room. */
	.wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio, .wpcf7-acceptance) {
		display: flex;
		flex-wrap: wrap;
		gap: var(--wknz-space-2xs) var(--wknz-space-md);
	}

	.wpcf7-list-item {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--wknz-space-2xs);
		min-inline-size: 0;
		margin: 0;
		overflow-wrap: anywhere;
	}

	.wpcf7-list-item label {
		flex-direction: row;
		align-items: center;
		gap: var(--wknz-space-2xs);
		min-block-size: 1.5rem;
		cursor: pointer;
	}

	.wpcf7-acceptance .wpcf7-list-item label {
		align-items: flex-start;
	}

	.wpcf7-form :is(input[type="checkbox"], input[type="radio"]) {
		flex: none;
		inline-size: 1.5rem;
		block-size: 1.5rem;
		min-inline-size: 1.5rem;
		min-block-size: 1.5rem;
		margin: 0;
		accent-color: var(--wknz-color-primary);
	}

	.wpcf7-list-item-label a {
		color: inherit;
		font-weight: var(--wknz-font-weight-medium);
		text-decoration: underline;
	}

	/* An "Other" choice's own text box sits beside it */
	.wpcf7-list-item.has-free-text .wpcf7-free-text {
		flex: 1 1 10rem;
		inline-size: auto;
	}

	.wpcf7-quiz-label {
		display: block;
	}

	/* Submit: the live site's pill button, centred */
	.wpcf7-form .wpcf7-submit {
		inline-size: auto;
		max-inline-size: 100%;
		min-block-size: 3.5rem;
		padding: var(--wknz-space-sm) clamp(var(--wknz-space-md), 6vw, var(--wknz-space-xl));
		white-space: normal;
		border: 0;
		border-radius: var(--wknz-radius-full);
		background-color: var(--wknz-color-primary);
		color: #fff;
		font-size: 0.8rem;
		font-weight: var(--wknz-font-weight-medium);
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}

	.wpcf7-form .wpcf7-submit:hover {
		background-color: var(--wknz-color-primary-hover);
	}

	/* CF7 keeps the button disabled until each required tick box is
	   ticked: same colours, dimmed. */
	.wpcf7-form .wpcf7-submit:disabled {
		background-color: var(--wknz-color-primary);
		color: #fff;
		opacity: 0.6;
		cursor: not-allowed;
	}

	.wpcf7-form p:has(> .wpcf7-submit) {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}

	.wpcf7-spinner {
		position: relative;
		display: inline-block;
		visibility: hidden;
		inline-size: 1.5rem;
		block-size: 1.5rem;
		margin-inline: var(--wknz-space-md);
		border-radius: 50%;
		background-color: var(--wknz-color-primary);
	}

	.wpcf7 form.submitting .wpcf7-spinner {
		visibility: visible;
	}

	.wpcf7-spinner::before {
		content: "";
		position: absolute;
		top: 0.25rem;
		left: 0.25rem;
		inline-size: 0.375rem;
		block-size: 0.375rem;
		border-radius: 50%;
		background-color: #fff;
		transform-origin: 0.5rem 0.5rem;
		animation: khs-spin 1s linear infinite;
	}

	@media (prefers-reduced-motion: reduce) {
		.wpcf7-spinner::before {
			animation: none;
		}
	}

	@keyframes khs-spin {
		to {
			transform: rotate(360deg);
		}
	}

	/* Validation (FORM-02): a red outline on the field, and its message on
	   a white strip with a red edge, so it reads the same (over 4.5:1)
	   whatever the panel behind it. */
	.wpcf7-form .wpcf7-not-valid {
		border-width: 2px;
		border-color: var(--wknz-color-danger);
	}

	.wpcf7-form :is(input[type="checkbox"], input[type="radio"]).wpcf7-not-valid,
	.wpcf7-form .wpcf7-not-valid :is(input[type="checkbox"], input[type="radio"]) {
		outline: 2px solid var(--wknz-color-danger);
		outline-offset: 1px;
	}

	.wpcf7-not-valid-tip {
		display: block;
		inline-size: fit-content;
		max-inline-size: 100%;
		margin-block-start: var(--wknz-space-3xs);
		padding: var(--wknz-space-3xs) var(--wknz-space-xs);
		border-inline-start: 4px solid var(--wknz-color-danger);
		border-radius: var(--wknz-radius-sm);
		background-color: #fff;
		color: var(--wknz-color-danger);
		font-size: var(--wknz-font-size-sm);
		font-weight: var(--wknz-font-weight-bold);
	}

	/* Response messages (FORM-05): each state has its own colour and mark.
	   Text stays navy on a pale tint, so contrast holds on any panel. */
	.wpcf7 form .wpcf7-response-output {
		--wknz-response-color: var(--wknz-color-info);
		--wknz-response-mark: "i" / "";

		display: flex;
		align-items: center;
		gap: var(--wknz-space-xs);
		margin: 0;
		padding: var(--wknz-space-xs) var(--wknz-space-sm);
		border: 2px solid var(--wknz-response-color);
		border-inline-start-width: 0.5rem;
		border-radius: var(--wknz-radius-md);
		background-color: color-mix(in srgb, var(--wknz-response-color) 10%, #fff);
		color: var(--wknz-color-primary);
		font-weight: var(--wknz-font-weight-medium);
	}

	.wpcf7 form .wpcf7-response-output::before {
		content: var(--wknz-response-mark);
		display: grid;
		flex: none;
		place-items: center;
		inline-size: 1.5rem;
		block-size: 1.5rem;
		border-radius: 50%;
		background-color: var(--wknz-response-color);
		color: #fff;
		font-weight: var(--wknz-font-weight-bold);
		line-height: 1;
	}

	.wpcf7 form.sent .wpcf7-response-output {
		--wknz-response-color: var(--wknz-color-success);
		--wknz-response-mark: "\2713" / "";
	}

	.wpcf7 form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output {
		--wknz-response-color: var(--wknz-color-warning);
		--wknz-response-mark: "!" / "";
	}

	.wpcf7 form:is(.failed, .aborted) .wpcf7-response-output {
		--wknz-response-color: var(--wknz-color-danger);
		--wknz-response-mark: "\00d7" / "";
	}

	.wpcf7 form.spam .wpcf7-response-output {
		--wknz-response-color: #7c2d12;
		--wknz-response-mark: "\26a0" / "";

		border-style: dashed;
		border-inline-start-style: solid;
	}
}

/* --------------------------------------------------------------
# Header and footer (M4: NAV-02..05, SITE-03..05) — global, on every page.
# The parent's header/footer markup and menu code are used unchanged
# (NAV-01); only their look changes here. Both keep their content in the
# centred column (the parent constrains .site-header, .footer-widgets and
# .footer-bottom themselves); a border-image paints their backgrounds out
# to the window edges, which doesn't add sideways scroll.
-------------------------------------------------------------- */
@layer components {
	/* Navy header with the live site's green rule underneath. The live
	   header fades to near-white; it stops at a darker navy here so white
	   menu text keeps at least 4.5:1 contrast (A11Y-01). */
	.site-header {
		background-color: transparent;
		border-image: linear-gradient(to bottom, var(--wknz-color-primary), #2a2a7e calc(100% - 4px), var(--wknz-color-secondary) calc(100% - 4px)) fill 0 / / 0 100vmax;
		color: #fff;
		padding-block: var(--wknz-space-sm) calc(var(--wknz-space-sm) + 4px);
	}

	.site-header a {
		color: #fff;
	}

	.site-header .custom-logo {
		max-height: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
	}

	.site-navigation a {
		font-size: 0.95rem;
		text-underline-offset: 0.3em;
	}

	/* current_page_parent is WordPress core's class for the posts page's
	   item on blog posts (NAV-03); matched by attribute as it isn't kebab-case. */
	.site-navigation a:hover,
	:is(.site-navigation, .mobile-menu-panel) :is(.current-menu-item, [class~="current_page_parent"]) > a {
		text-decoration: underline;
	}

	:is(.site-navigation, .mobile-menu-panel) [class~="current_page_parent"] > a {
		font-weight: var(--wknz-font-weight-bold);
	}

	.site-header .social-links {
		flex-wrap: nowrap;
		gap: var(--wknz-space-2xs);
	}

	.site-header .social-links a {
		min-width: 2.75rem;
		min-height: 2.75rem;
	}

	.site-header .khs-header-button {
		border: var(--wknz-border-width) solid #fff;
		color: var(--wknz-color-primary);
		min-height: 3rem;
		padding-inline: clamp(var(--wknz-space-sm), 3vw, var(--wknz-space-lg));
		white-space: nowrap;
	}

	/* Header actions stay one row: socials, then the button (NAV-04). */
	.header-actions {
		flex-wrap: nowrap;
	}

	/* Below the parent's 48em breakpoint the socials, button and menu
	   toggle share the second row, in their source (and tab) order.
	   site-header__end is the parent's class, matched by attribute as it
	   isn't kebab-case. */
	@media (width < 48em) {
		[class~="site-header__end"] {
			flex-basis: 100%;
			justify-content: space-between;
		}

		.site-header .khs-header-button {
			font-size: 0.8rem;
			min-height: 2.75rem;
		}

		:is([class~="site-header__end"], .header-actions),
		.site-header .social-links {
			gap: var(--wknz-space-3xs);
		}

		.site-header .social-links a {
			min-width: 2.5rem;
			min-height: 2.5rem;
		}
	}

	.site-header .mobile-menu-toggle {
		background-color: transparent;
		border-color: transparent;
		color: #fff;
		min-width: 2.75rem;
		min-height: 2.75rem;
		margin-inline-start: auto;
		padding: var(--wknz-space-2xs);
	}

	.site-header .mobile-menu-toggle .icon {
		width: 1.75rem;
		height: 1.75rem;
	}

	.mobile-menu-panel {
		background-color: var(--wknz-color-primary);
		border-block-end: 4px solid var(--wknz-color-secondary);
		padding-block: var(--wknz-space-sm);
	}

	.mobile-menu-panel nav a {
		min-height: 2.75rem;
		padding-inline: var(--wknz-container-gutter);
	}

	/* Navy footer: logo · Navigation Links · Contact Info · Socials */
	.site-footer {
		background-color: var(--wknz-color-primary);
		color: #fff;
		padding-block-end: 0;
	}

	.site-footer a {
		color: #fff;
		overflow-wrap: anywhere;
	}

	/* Columns sized to their content, as on the live footer, so the email
	   address stays on one line when there's room; they still wrap to
	   fewer columns on narrow screens. */
	.footer-widgets {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), auto));
		justify-content: space-between;
	}

	.site-footer .widget-title {
		color: #fff;
		font-size: var(--wknz-font-size-h4);
		margin-block-end: var(--wknz-space-md);
		text-transform: uppercase;
	}

	.khs-footer-logo img {
		width: min(100%, 12rem);
		height: auto;
	}

	.khs-footer-menu ul {
		columns: 2 7rem;
		column-gap: var(--wknz-space-lg);
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.khs-footer-menu li {
		padding-block-end: var(--wknz-space-2xs);
	}

	.khs-contact-info {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-md);
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.khs-contact-info li {
		padding-inline-start: 2.75rem;
		background-position: left center;
		background-repeat: no-repeat;
		background-size: 2rem auto;
	}

	.khs-contact-phone {
		background-image: url("../images/icon-phone.png");
	}

	.khs-contact-email {
		background-image: url("../images/icon-email.png");
	}

	.site-footer .social-links {
		gap: var(--wknz-space-sm);
	}

	.site-footer .social-links a {
		color: var(--wknz-color-secondary);
		min-width: 2.75rem;
		min-height: 2.75rem;
	}

	.site-footer .social-links .icon {
		width: 2.5rem;
		height: 2.5rem;
	}

	/* Green bottom bar with navy text (about 9.7:1). */
	.footer-bottom {
		border-image: linear-gradient(var(--wknz-color-secondary), var(--wknz-color-secondary)) fill 0 / / 0 100vmax;
		color: var(--wknz-color-primary);
		padding-block: var(--wknz-space-md);
	}

	.footer-bottom a {
		color: var(--wknz-color-primary);
	}

	.khs-footer-credit p {
		margin: 0;
	}

	/* Copyright, credit and the Privacy Policy link share one row, in
	   source order, wrapping on narrow screens. widget_khs_copyright is
	   WordPress's generated widget class, matched by attribute as it
	   isn't kebab-case. */
	[class~="widget_khs_copyright"] {
		display: contents;
	}

	.site-info {
		display: flex;
		align-items: center;
		gap: var(--wknz-space-2xs);
	}

	.khs-copyright-icon {
		width: 1.4em;
		height: 1.4em;
	}

	/* Web Kiwi's own icon beside its credit link — shown only while the
	   credit links to web.kiwi.nz. Decorative: the link text names it. */
	.khs-footer-credit a[href^="https://web.kiwi.nz"]::before {
		content: "";
		display: inline-block;
		inline-size: 1.4em;
		block-size: 1.4em;
		margin-inline-end: 0.35em;
		vertical-align: middle;
		background: url("../images/web-kiwi-nz.png") no-repeat center / contain;
	}
}

/* --------------------------------------------------------------
# Page/Section styles (LOOK-03/04/05/07) — one page-layout breakpoint
# (48em, matching the parent's), logical properties throughout, fluid
# from 320px to 1920px, laid out to match the live site.
-------------------------------------------------------------- */
@layer pages {
	/* Home ------------------------------------------------------------- */

	body.page-template-template-home #primary .hero-band {
		background-color: var(--wknz-color-primary);
		background-position: center;
		background-size: cover;
		padding-block: var(--wknz-space-2xl);
	}

	/* The tagline box and the form sit side by side, as on the live site,
	   and wrap to one column when there isn't room; the badges always
	   take a row of their own. */
	body.page-template-template-home #primary .hero-band-inner {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;
		gap: var(--wknz-space-2xl) var(--wknz-space-xl);
	}

	body.page-template-template-home #primary .hero-band-inner > .benefit-badges {
		flex-basis: 100%;
	}

	body.page-template-template-home #primary .hero {
		display: flex;
		flex: 1 1 min(100%, 26rem);
		flex-direction: column;
		gap: var(--wknz-space-md);
		min-inline-size: 0;
		max-inline-size: 40rem;
		padding: clamp(var(--wknz-space-sm), 4vw, var(--wknz-space-lg));
		background-color: var(--wknz-color-primary);
		color: #fff;
	}

	body.page-template-template-home #primary .hero h2 {
		color: #fff;
		font-size: var(--wknz-font-size-h1);
	}

	body.page-template-template-home #primary .hero-intro {
		font-size: var(--wknz-font-size-h4);
		font-style: italic;
		font-weight: var(--wknz-font-weight-medium);
	}

	/* Offer form (FORM-01): a white panel with the live site's thick green
	   border. Solid white rather than the live site's see-through white,
	   so the navy labels read clearly over any part of the photo. */
	body.page-template-template-home #primary .offer-form {
		flex: 1 1 min(100%, 22rem);
		min-inline-size: 0;
		max-inline-size: 32rem;
		padding: clamp(var(--wknz-space-sm), 3vw, var(--wknz-space-lg));
		border: 6px solid var(--wknz-color-secondary);
		background-color: #fff;
	}

	body.page-template-template-home #primary .benefit-badges ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: var(--wknz-space-md);
		list-style: none;
		margin: 0;
		padding-inline-start: 0;
	}

	body.page-template-template-home #primary .benefit-badges li {
		display: flex;
		flex: 1 1 9rem;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: var(--wknz-space-2xs);
		min-block-size: 4.5rem;
		padding: var(--wknz-space-sm);
		border: var(--wknz-border-width) solid var(--wknz-color-secondary);
		background-color: var(--wknz-color-primary);
		color: #fff;
		font-size: 0.9rem;
		font-weight: var(--wknz-font-weight-bold);
		text-align: center;
	}

	/* Section headings in a navy box with a green border */
	body.page-template-template-home #primary :is(.process, .situations) > h2 {
		align-self: center;
		inline-size: min(100%, 40rem);
		padding: var(--wknz-space-lg) var(--wknz-space-md);
		border: var(--wknz-border-width) solid var(--wknz-color-secondary);
		background-color: var(--wknz-color-primary);
		color: #fff;
		text-align: center;
		text-transform: uppercase;
	}

	body.page-template-template-home #primary .process > h2 {
		inline-size: min(100%, 25rem);
		font-size: var(--wknz-font-size-h2);
	}

	body.page-template-template-home #primary .situations > h2 {
		font-size: var(--wknz-font-size-h3);
	}

	body.page-template-template-home #primary .process .khs-columns {
		align-items: flex-start;
	}

	body.page-template-template-home #primary .process .title-text-list {
		padding: var(--wknz-space-lg);
		border: var(--wknz-border-width) solid var(--wknz-color-secondary);
		background-color: var(--wknz-color-primary);
		color: #fff;
	}

	body.page-template-template-home #primary .process > img {
		align-self: center;
		inline-size: min(40%, 10rem);
		height: auto;
	}

	body.page-template-template-home #primary .situations {
		border-block-start: var(--wknz-border-width) solid var(--wknz-color-border);
	}

	body.page-template-template-home #primary .situations .text-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
		gap: var(--wknz-space-2xs) var(--wknz-space-xl);
		inline-size: min(100%, 50rem);
		align-self: center;
		font-size: var(--wknz-font-size-h4);
	}

	/* About ------------------------------------------------------------ */

	body.page-template-template-about #primary .who-we-are .khs-columns > .who-we-are-text {
		display: flex;
		flex: 3 1 min(100%, 30rem);
		flex-direction: column;
		gap: var(--wknz-space-md);
	}

	body.page-template-template-about #primary .who-we-are .khs-columns > .director-photo {
		flex: 1 1 12rem;
	}

	body.page-template-template-about #primary .how-we-help .title-text-list-row,
	body.page-template-template-our-process #primary .why-our-process-works .title-text-list-row {
		display: flex;
		flex-wrap: wrap;
		gap: 0 0.3em;
	}

	body.page-template-template-about #primary .how-we-help dd::before,
	body.page-template-template-our-process #primary .why-our-process-works dd::before {
		content: "- ";
	}

	body.page-template-template-about #primary .how-we-help .title-text-list {
		gap: var(--wknz-space-2xs);
		padding-inline-start: var(--wknz-space-lg);
	}

	body.page-template-template-about #primary .how-we-help .title-text-list-row {
		display: list-item;
	}

	body.page-template-template-about #primary .how-we-help .title-text-list-row > * {
		display: inline;
	}

	body.page-template-template-about #primary .cta-box {
		align-self: center;
		inline-size: min(100%, 33rem);
		margin-block: var(--wknz-space-xl);
		padding: var(--wknz-space-lg);
		border: var(--wknz-border-width-thick) solid var(--wknz-color-secondary);
	}

	body.page-template-template-about #primary .cta-box h2 {
		font-size: var(--wknz-font-size-h4);
		font-weight: var(--wknz-font-weight-bold);
	}

	/* What We Do / Our Process ------------------------------------------ */

	body.page-template-template-what-we-do #primary .comparison > h2 {
		font-weight: var(--wknz-font-weight-bold);
	}

	body.page-template-template-what-we-do #primary .intro,
	body.page-template-template-our-process #primary .intro {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-md);
		padding-block: var(--wknz-space-xl) 0;
	}

	body.page-template-template-what-we-do #primary .comparison-columns {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-xl);
	}

	body.page-template-template-what-we-do #primary .comparison-column {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-sm);
	}

	body.page-template-template-what-we-do #primary .comparison-column h4 {
		font-size: var(--wknz-font-size-body);
		font-weight: var(--wknz-font-weight-bold);
		letter-spacing: normal;
	}

	body.page-template-template-what-we-do #primary .closing h2 {
		font-size: var(--wknz-font-size-h2);
	}

	body.page-template-template-our-process #primary .property-types {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-sm);
		padding-block-start: var(--wknz-space-md);
	}

	body.page-template-template-our-process #primary .property-types ul {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-2xs);
		margin: 0;
		padding-inline-start: 1.25em;
	}

	body.page-template-template-our-process #primary .property-types li {
		display: list-item;
	}

	body.page-template-template-our-process #primary .property-types li::marker {
		color: var(--wknz-color-secondary);
	}

	body.page-template-template-our-process #primary .why-our-process-works dt {
		position: relative;
		padding-inline-start: 1.6em;
	}

	body.page-template-template-our-process #primary .why-our-process-works dt::before {
		content: "";
		position: absolute;
		inset-inline-start: 0;
		top: 0.1em;
		width: 1.25em;
		height: 1.25em;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%2306d344'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") no-repeat center / contain;
	}

	body.page-template-template-our-process #primary .why-our-process-works .title-text-list {
		gap: var(--wknz-space-3xs);
	}

	body.page-template-template-our-process #primary .get-started {
		margin-block-start: var(--wknz-space-xl);
		border-block-start: var(--wknz-border-width-thick) solid var(--wknz-color-border);
	}

	body.page-template-template-our-process #primary .get-started > h2 {
		font-size: var(--wknz-font-size-h1);
		font-weight: var(--wknz-font-weight-bold);
		padding-block: var(--wknz-space-md);
	}

	body.page-template-template-our-process #primary .get-started dt {
		font-size: var(--wknz-font-size-h3);
		letter-spacing: -0.02em;
		line-height: var(--wknz-line-height-heading);
	}

	body.page-template-template-our-process #primary .get-started .title-text-list {
		gap: var(--wknz-space-md);
	}

	/* Contact ------------------------------------------------------------ */

	/* Heading and intro across the full width; below them the form and the
	   map sit side by side with their tops level, as on the live site, and
	   stack on narrow screens. */
	body.page-template-template-contact #primary .contact-columns {
		align-items: flex-start;
		padding-block-start: var(--wknz-space-xl);
	}

	body.page-template-template-contact #primary .contact-aside > .map {
		padding-block: 0;
	}

	body.page-template-template-contact #primary .contact-columns > * {
		display: flex;
		flex-direction: column;
		gap: var(--wknz-space-xl);
	}

	body.page-template-template-contact #primary .intro {
		padding-block-start: var(--wknz-space-lg);
		font-size: var(--wknz-font-size-h4);
	}

	/* Offer form (FORM-01): the live site's grey rounded panel with a white
	   pill submit button. Its labels are navy, not the live site's white,
	   which is about 1.4:1 on this grey (A11Y-01 needs 4.5:1). */
	body.page-template-template-contact #primary .offer-form {
		padding: clamp(var(--wknz-space-sm), 3vw, 2.25rem);
		padding-block-end: clamp(var(--wknz-space-lg), 5vw, var(--wknz-space-2xl));
		border-radius: clamp(var(--wknz-space-md), 4.5vw, 3.75rem);
		background-color: #d0d8df;
	}

	body.page-template-template-contact #primary .offer-form .wpcf7-submit {
		background-color: #fff;
		color: var(--wknz-color-primary);
	}

	body.page-template-template-contact #primary .offer-form .wpcf7-submit:hover {
		background-color: var(--wknz-color-primary);
		color: #fff;
	}

	body.page-template-template-contact #primary .map iframe {
		width: 100%;
		aspect-ratio: 4 / 3;
		border: 0;
	}

	/* The photo sits in the card's bottom corner, beside the handshake,
	   as on the live site at every width. */
	body.page-template-template-contact #primary .director-card {
		position: relative;
		padding: var(--wknz-space-lg);
		border-radius: var(--wknz-radius-lg);
		background-color: var(--wknz-color-primary);
		box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 35%);
		color: #fff;
		overflow: hidden;
	}

	body.page-template-template-contact #primary .director-card address {
		font-style: normal;
	}

	body.page-template-template-contact #primary .director-card address > :is(.director-card-email, .director-card-phone) {
		margin-block-start: var(--wknz-space-md);
	}

	body.page-template-template-contact #primary .director-card address::after {
		content: "";
		display: block;
		inline-size: 8.5rem;
		block-size: 5rem;
		margin-block-start: var(--wknz-space-md);
		margin-inline-start: var(--wknz-space-md);
		background: url("../images/handshake.png") no-repeat center / contain;
	}

	body.page-template-template-contact #primary .director-card-name,
	body.page-template-template-contact #primary .director-card-title {
		display: inline;
		font-size: var(--wknz-font-size-h4);
		font-weight: var(--wknz-font-weight-bold);
	}

	body.page-template-template-contact #primary .director-card-title::before {
		content: "- ";
	}

	body.page-template-template-contact #primary :is(.director-card-email, .director-card-phone) {
		padding-inline-start: 3rem;
		background-position: left center;
		background-repeat: no-repeat;
		background-size: 2.25rem auto;
	}

	body.page-template-template-contact #primary .director-card-email {
		background-image: url("../images/icon-email.png");
	}

	body.page-template-template-contact #primary .director-card-phone {
		background-image: url("../images/icon-phone.png");
	}

	body.page-template-template-contact #primary .director-card a {
		color: #fff;
	}

	body.page-template-template-contact #primary .director-card > img {
		position: absolute;
		inset-block-end: 0;
		inset-inline-end: var(--wknz-space-md);
		inline-size: clamp(6rem, 11vw, 10rem);
		height: auto;
	}

	/* Blog (BLOG-02/03/04) ------------------------------------------------ */

	.entry-read-more a {
		font-weight: var(--wknz-font-weight-medium);
	}

	/* Blog list: cards in a grid, as on the live site, three across on a
	   wide screen and one on a phone, with no breakpoint. Page numbers
	   take a whole row. */
	body.blog #primary .page-layout {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
		gap: var(--wknz-space-2xl) var(--wknz-space-xl);
		padding-block: var(--wknz-space-xl) var(--wknz-space-2xl);
	}

	body.blog #primary .page-layout > :is(.pagination, .khs-blog-title) {
		grid-column: 1 / -1;
	}

	/* A card: image, date, title and "Read More", centred. Used on the
	   blog list, the archives and search results. */
	.post-card {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--wknz-space-md);
		max-width: none;
		margin-inline: 0;
		text-align: center;
	}

	.post-card .post-thumbnail {
		align-self: stretch;
	}

	.post-card .post-thumbnail img {
		aspect-ratio: 3 / 2;
	}

	.post-card .entry-meta {
		margin: 0;
		font-size: var(--wknz-font-size-sm);
	}

	.post-card .entry-title {
		margin: 0;
		font-size: var(--wknz-font-size-h3);
		font-weight: var(--wknz-font-weight-regular);
	}

	.post-card .entry-title a {
		color: inherit;
		text-decoration: none;
	}

	.post-card .entry-title a:hover {
		text-decoration: underline;
	}

	/* Every page title sits the same distance under the header as About's
	   (Shane, 2026-10-01): posts, standard pages (Legal & Privacy, the
	   investor draft), archives, search results and the 404 page. The parent
	   gives these templates no space there. */
	body:is(.single, .page-template-default, .archive, .search, .error404) #primary .page-layout {
		padding-block: var(--wknz-space-xl) var(--wknz-space-2xl);
	}

	/* Full width up to the cap, then centred: without the width, the
	   parent's auto margins shrink it to its longest heading word, which
	   pushes a 320px screen sideways (A11Y-07). */
	body.single #primary .article {
		width: 100%;
		max-width: 59rem;
	}

	/* A standard page holding a form is laid out centred, like the live
	   site's investor page (the draft at /test-apply-for-investor-access/). */
	body.page-template-default #primary .article:has(.wpcf7) > h1 {
		text-align: center;
	}

	/* The live site's post headings are bold. */
	body.single #primary .entry-content :is(h2, h3) {
		font-weight: var(--wknz-font-weight-bold);
	}

	.pagination .nav-links {
		display: flex;
		flex-wrap: wrap;
		gap: var(--wknz-space-2xs);
		justify-content: center;
	}
}
