/*
 * Landing page styles (home page, waiting list, checker, plugin, guides, contact and legal pages, blog). Loaded only on those pages, see functions.php.
 * Block groups come from the page content ("::: ohs-name" in content/pages), the form from [outbox_waitlist].
 * No fonts, images or scripts. Colours follow the parent theme palette; text contrast is WCAG AA or better.
 */
.ohs-landing {
	--ohs-text: var(--wp--preset--color--contrast, #111);
	--ohs-muted: #4a4a4a;
	--ohs-accent: var(--wp--preset--color--accent-3, #503aa8);
	--ohs-tint: var(--wp--preset--color--accent-5, #fbfaf3);
	--ohs-line: #d4d4d0;
	box-sizing: border-box;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 7vw, 5rem);
	color: var(--ohs-text);
	font-size: 1.0625rem;
	line-height: 1.6;
}
.ohs-landing *,
.ohs-landing *::before,
.ohs-landing *::after {
	box-sizing: border-box;
}
.ohs-landing .wp-block-post-title {
	max-width: 20ch;
	margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
	font-size: clamp(2.1rem, 6vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
}

/* Hero text next to the form card; stacked on small screens, DOM order is reading order. */
.ohs-landing .ohs-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
@media (min-width: 52rem) {
	.ohs-landing .ohs-split {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}
}
.ohs-landing .ohs-hero > * {
	margin: 0 0 1.25rem;
}
.ohs-landing .ohs-hero > p:first-child {
	font-size: clamp(1.15rem, 2.6vw, 1.4rem);
	line-height: 1.5;
}
.ohs-landing .ohs-hero > p:nth-child(2) {
	color: var(--ohs-muted);
}

/* Check-mark lists (value points and trust notes). The mark is drawn with borders, not text or an image. */
.ohs-landing .ohs-hero ul,
.ohs-landing .ohs-card ul,
.ohs-landing .ohs-conditions ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ohs-landing .ohs-hero li,
.ohs-landing .ohs-card li {
	position: relative;
	margin: 0 0 0.75rem;
	padding-left: 2rem;
}
.ohs-landing .ohs-conditions li {
	margin: 0 0 1rem;
}
.ohs-landing .ohs-hero li::before,
.ohs-landing .ohs-card li::before {
	content: "";
	position: absolute;
	left: 0.35rem;
	top: 0.3em;
	width: 0.5rem;
	height: 0.9rem;
	border: solid var(--ohs-accent);
	border-width: 0 3px 3px 0;
	transform: rotate(40deg);
}

/* The form card. */
.ohs-landing .ohs-card {
	padding: clamp(1.25rem, 4vw, 2rem);
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-top: 5px solid var(--ohs-accent);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}
.ohs-landing .ohs-card > h2 {
	margin: 0 0 0.5rem;
	font-size: 1.6rem;
	line-height: 1.2;
}
.ohs-landing .ohs-card > p {
	margin: 0 0 1.25rem;
	color: var(--ohs-muted);
}
.ohs-landing .ohs-card > .wp-block-shortcode,
.ohs-landing .ohs-card .ohsc-waitlist {
	margin: 0;
}
.ohs-landing .ohsc-wl-form p {
	margin: 0 0 1rem;
}
.ohs-landing .ohsc-wl-form label {
	font-weight: 600;
}
.ohs-landing .ohsc-wl-form input[type="email"] {
	display: block;
	width: 100%;
	min-height: 48px;
	margin-top: 0.35rem;
	padding: 0.6rem 0.85rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ohs-text);
	background: #fff;
	border: 2px solid #6b6b6b;
	border-radius: 8px;
}
.ohs-landing .ohsc-wl-consent {
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-landing .ohsc-wl-consent label {
	position: relative;
	display: block;
	min-height: 44px;
	padding-left: 2.5rem;
	font-weight: 400;
}
.ohs-landing .ohsc-wl-consent input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
	accent-color: var(--ohs-accent);
}
.ohs-landing .ohsc-wl-consent a,
.ohs-landing .ohs-conditions a,
.ohs-landing .ohs-section a {
	color: var(--ohs-accent);
	text-underline-offset: 0.15em;
}
.ohs-landing .ohsc-wl-form button[type="submit"] {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #fff;
	background: var(--ohs-text);
	border: 2px solid var(--ohs-text);
	border-radius: 8px;
	cursor: pointer;
}
.ohs-landing .ohsc-wl-form button[type="submit"]:hover {
	background: #333;
	border-color: #333;
}
.ohs-landing input:focus-visible,
.ohs-landing button:focus-visible,
.ohs-landing a:focus-visible {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 3px;
}
.ohs-landing .ohsc-wl-notice {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	font-weight: 600;
	background: var(--ohs-tint);
	border: 2px solid var(--ohs-text);
	border-radius: 8px;
}
.ohs-landing #ohsc-waitlist {
	scroll-margin-top: 1.5rem;
}
.ohs-landing .ohs-card > ul {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ohs-line);
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-landing .ohs-card > ul li {
	margin-bottom: 0.4rem;
}

/* Sections below the fold. */
.ohs-landing .ohs-section,
.ohs-landing .ohs-conditions {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: clamp(1.5rem, 4vw, 2.5rem);
	border-top: 1px solid var(--ohs-line);
}
.ohs-landing .ohs-section > h2,
.ohs-landing .ohs-conditions > h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	line-height: 1.2;
}
.ohs-landing .ohs-section > p,
.ohs-landing .ohs-section > ul,
.ohs-landing .ohs-section > ol {
	max-width: 46rem;
}
.ohs-landing .ohs-section > p {
	margin: 0 0 1rem;
}
.ohs-landing .ohs-section ul,
.ohs-landing .ohs-section ol {
	padding-left: 1.4rem;
}
.ohs-landing .ohs-section li {
	margin-bottom: 0.6rem;
}
.ohs-landing .ohs-conditions {
	padding: clamp(1.25rem, 4vw, 2rem);
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-landing .ohs-conditions ul {
	max-width: 46rem;
}

@media (prefers-reduced-motion: no-preference) {
	.ohs-landing .ohsc-wl-form button[type="submit"],
	.ohs-landing .ohsc-wl-form input {
		transition: background-color 0.15s ease, border-color 0.15s ease;
	}
}
@media (forced-colors: active) {
	.ohs-landing .ohs-hero li::before,
	.ohs-landing .ohs-card li::before {
		border-color: CanvasText;
	}
}

/*
 * Home page (front-page.html adds .ohs-home). Same rules as above: no fonts, images or scripts,
 * everything drawn with CSS, low specificity, content groups come from "::: ohs-name" in the page Markdown.
 */
.ohs-home .wp-block-post-title {
	max-width: 24ch;
}
.ohs-home .ohs-split {
	align-items: center;
}
.ohs-home .ohs-hero > p:last-child {
	margin-bottom: 0;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}

/* Buttons: links in paragraphs inside .ohs-cta. The first is the primary button, a second one is secondary. */
.ohs-landing .ohs-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}
.ohs-landing .ohs-cta > p {
	margin: 0;
	font-size: 1.0625rem;
}
.ohs-landing .ohs-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: var(--ohs-text);
	border: 2px solid var(--ohs-text);
	border-radius: 8px;
}
.ohs-landing .ohs-cta > p + p a {
	color: var(--ohs-text);
	background: #fff;
}
.ohs-landing .ohs-cta a:hover {
	background: #333;
	border-color: #333;
	color: #fff;
}
.ohs-landing .ohs-cta > p + p a:hover {
	color: var(--ohs-text);
	background: var(--ohs-tint);
	border-color: var(--ohs-text);
}
@media (max-width: 30rem) {
	.ohs-landing .ohs-cta > p,
	.ohs-landing .ohs-cta a {
		width: 100%;
	}
}

/* Screenshots. WordPress adds width and height to the img, so the space is reserved. */
.ohs-landing .wp-block-image {
	margin: 0;
}
.ohs-landing .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--ohs-line);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}
.ohs-landing .wp-element-caption {
	margin: 0.6rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--ohs-muted);
}
.ohs-landing .ohs-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin: 0 0 1.5rem;
}
@media (min-width: 52rem) {
	.ohs-landing .ohs-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Trust strip: four short facts, mark drawn with borders. */
.ohs-landing .ohs-trust {
	margin-top: clamp(2rem, 5vw, 3rem);
}
.ohs-landing .ohs-trust ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 36rem) {
	.ohs-landing .ohs-trust ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 64rem) {
	.ohs-landing .ohs-trust ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
.ohs-landing .ohs-trust li {
	position: relative;
	margin: 0;
	padding: 1rem 1rem 1rem 2.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ohs-muted);
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 10px;
}
.ohs-landing .ohs-trust li strong {
	display: block;
	color: var(--ohs-text);
}
.ohs-landing .ohs-trust li::before {
	content: "";
	position: absolute;
	left: 1.1rem;
	top: 1.1rem;
	width: 0.45rem;
	height: 0.8rem;
	border: solid var(--ohs-accent);
	border-width: 0 3px 3px 0;
	transform: rotate(40deg);
}

/* Card grids: features, guides, steps. */
.ohs-landing .ohs-cards,
.ohs-landing .ohs-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
	gap: 1rem;
	margin: 0 0 1.5rem;
	counter-reset: ohs-step;
}
.ohs-landing .ohs-steps {
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 43.75rem) {
	.ohs-landing .ohs-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.ohs-landing .ohs-feature,
.ohs-landing .ohs-guide,
.ohs-landing .ohs-step {
	position: relative;
	min-width: 0;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-landing .ohs-feature > h3,
.ohs-landing .ohs-guide > h3,
.ohs-landing .ohs-step > h3 {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.ohs-landing .ohs-feature > p,
.ohs-landing .ohs-guide > p,
.ohs-landing .ohs-step > p {
	margin: 0;
	font-size: 0.9688rem;
	line-height: 1.55;
	color: var(--ohs-muted);
}

/* Feature markers: a small tile with a shape drawn in CSS gradients (decorative, no text, no image). */
.ohs-landing .ohs-feature::before {
	content: "";
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	background-color: var(--ohs-tint);
	background-repeat: no-repeat;
	border: 1px solid var(--ohs-line);
	border-radius: 10px;
}
.ohs-landing .ohs-feature:nth-child(1)::before {
	background-image:
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent));
	background-position: 0.65rem 0.65rem, 0.65rem 1.15rem, 0.65rem 1.65rem;
	background-size: 1.3rem 0.25rem, 1.3rem 0.25rem, 0.8rem 0.25rem;
}
.ohs-landing .ohs-feature:nth-child(2)::before {
	background-image: radial-gradient(circle, var(--ohs-accent) 0 0.2rem, transparent 0.22rem 0.5rem, var(--ohs-accent) 0.52rem 0.7rem, transparent 0.72rem);
	background-position: center;
	background-size: 1.6rem 1.6rem;
}
.ohs-landing .ohs-feature:nth-child(3)::before {
	background-image:
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent));
	background-position: 0.6rem 0.6rem, 1.05rem 0.62rem, 0.6rem 1.1rem, 1.05rem 1.12rem, 0.6rem 1.6rem, 1.05rem 1.62rem;
	background-size: 0.3rem 0.3rem, 0.9rem 0.25rem, 0.3rem 0.3rem, 0.9rem 0.25rem, 0.3rem 0.3rem, 0.9rem 0.25rem;
}
.ohs-landing .ohs-feature:nth-child(4)::before {
	background-image:
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent));
	background-position: center 0.5rem, center 1.55rem;
	background-size: 0.28rem 0.85rem, 0.28rem 0.28rem;
}
.ohs-landing .ohs-feature:nth-child(5)::before {
	background-image:
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent)),
		linear-gradient(var(--ohs-accent), var(--ohs-accent));
	background-position: 0.6rem 0.6rem, 1.15rem 0.6rem, 0.6rem 1.15rem, 1.15rem 1.15rem;
	background-size: 0.5rem 0.5rem;
}
.ohs-landing .ohs-feature:nth-child(6)::before {
	background-image: linear-gradient(135deg, var(--ohs-accent) 50%, transparent 50%);
	background-position: center;
	background-size: 1.3rem 1.3rem;
}

/* Guides: the whole card is the link target (the heading link is stretched over it). */
.ohs-landing .ohs-guide {
	border-top: 4px solid var(--ohs-accent);
}
.ohs-landing .ohs-guide > h3 a {
	color: var(--ohs-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
.ohs-landing .ohs-guide > h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
}
.ohs-landing .ohs-guide > h3 a:focus-visible {
	outline: none;
}
.ohs-landing .ohs-guide > h3 a:focus-visible::after {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 3px;
}
.ohs-landing .ohs-guide:hover {
	border-color: var(--ohs-accent);
}

/* Steps: number drawn by a CSS counter. */
.ohs-landing .ohs-step::before {
	counter-increment: ohs-step;
	content: counter(ohs-step);
	content: counter(ohs-step) / "";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.85rem;
	font-weight: 700;
	color: #fff;
	background: var(--ohs-accent);
	border-radius: 50%;
}

/* A band: checker and closing call to action. */
.ohs-landing .ohs-band {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-left: 5px solid var(--ohs-accent);
	border-radius: 12px;
}
.ohs-landing .ohs-band > h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.4rem, 3.2vw, 1.8rem);
	line-height: 1.2;
}
.ohs-landing .ohs-band > p {
	max-width: 46rem;
	margin: 0 0 1.25rem;
}
.ohs-landing .ohs-band > .ohs-cta {
	margin-bottom: 0;
}

/* Section links under card grids, and links in the sections. */
.ohs-landing .ohs-section > p > a {
	font-weight: 600;
}

/* Two columns: what it does not do, and where the data stays. */
.ohs-landing .ohs-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin-top: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 52rem) {
	.ohs-landing .ohs-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}
}
.ohs-landing .ohs-columns > .ohs-conditions {
	margin-top: 0;
}
.ohs-landing .ohs-columns > .ohs-conditions > h2 {
	font-size: clamp(1.35rem, 2.8vw, 1.6rem);
}
.ohs-landing .ohs-columns > .ohs-conditions > p {
	margin: 0;
}
.ohs-landing .ohs-columns .ohs-conditions ul {
	padding-left: 1.25rem;
	list-style: disc;
}
.ohs-landing .ohs-columns .ohs-conditions li {
	margin-bottom: 0.75rem;
}

/* FAQ: native details and summary, no script. */
.ohs-landing .ohs-faq {
	max-width: 46rem;
}
.ohs-landing .ohs-faq details {
	margin: 0 0 0.75rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 10px;
}
.ohs-landing .ohs-faq summary {
	position: relative;
	display: block;
	min-height: 48px;
	padding: 0.75rem 3rem 0.75rem 1rem;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
	border-radius: 10px;
}
.ohs-landing .ohs-faq summary::-webkit-details-marker {
	display: none;
}
.ohs-landing .ohs-faq summary::after {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 1.1rem;
	width: 0.55rem;
	height: 0.55rem;
	border: solid var(--ohs-accent);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.ohs-landing .ohs-faq details[open] > summary::after {
	top: 1.35rem;
	transform: rotate(225deg);
}
.ohs-landing .ohs-faq summary:focus-visible {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 3px;
}
.ohs-landing .ohs-faq details > p {
	margin: 0.5rem 0 0;
	padding: 0 1rem 1rem;
}

/* The small Pro mention and the trademark line. */
.ohs-landing .ohs-note {
	max-width: 46rem;
	margin-top: clamp(2rem, 5vw, 3rem);
	padding-top: 1rem;
	border-top: 1px solid var(--ohs-line);
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-landing .ohs-note > p {
	margin: 0;
}
.ohs-landing .ohs-note a {
	color: var(--ohs-accent);
	text-underline-offset: 0.15em;
}
.ohs-home .wp-block-post-content > p {
	max-width: 46rem;
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--ohs-muted);
}

@media (prefers-reduced-motion: no-preference) {
	.ohs-landing .ohs-cta a,
	.ohs-landing .ohs-guide {
		transition: background-color 0.15s ease, border-color 0.15s ease;
	}
}
@media (forced-colors: active) {
	.ohs-landing .ohs-trust li::before,
	.ohs-landing .ohs-faq summary::after {
		border-color: CanvasText;
	}
	.ohs-landing .ohs-step::before {
		border: 2px solid CanvasText;
	}
	.ohs-landing .ohs-cta a {
		border-color: ButtonText;
	}
	.ohs-landing .ohs-guide > h3 a:focus-visible::after {
		outline-color: Highlight;
	}
}

/* Grid children: the flow layout's block gap would push every card but the first down. */
.ohs-landing .ohs-cards > *,
.ohs-landing .ohs-steps > *,
.ohs-landing .ohs-gallery > *,
.ohs-landing .ohs-columns > *,
.ohs-landing .ohs-split > *,
.ohs-landing .ohs-channels > * {
	margin-block-start: 0;
}

/*
 * Checker page (page-checker.html adds .ohs-checker-page). The form and results come from the site plugin's
 * [outbox_checker] shortcode (classes ohsc-ck-*). Status is always written out as a word; the colour only supports it.
 */
.ohs-checker-page .wp-block-post-title {
	max-width: 22ch;
	margin-bottom: 1rem;
}
.ohs-checker-page .ohs-ckintro {
	max-width: 46rem;
	margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
	font-size: clamp(1.1rem, 2.4vw, 1.3rem);
	line-height: 1.5;
}
.ohs-checker-page .ohs-ckintro > p {
	margin: 0;
}

/* The form: the centrepiece. Input and button share a row on wide screens and stack on narrow ones. */
.ohs-checker-page .ohsc-ck-form {
	position: relative;
	padding: clamp(1.25rem, 4vw, 2.25rem);
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-top: 5px solid var(--ohs-accent);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}
.ohs-checker-page .ohsc-ck-form label {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}
.ohs-checker-page .ohsc-ck-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin-top: 0.6rem;
}
@media (min-width: 40rem) {
	.ohs-checker-page .ohsc-ck-row {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}
.ohs-checker-page .ohsc-ck-form input[type="text"]#ohsc-ck-domain {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 56px;
	padding: 0.7rem 1rem;
	font: inherit;
	font-size: 1.25rem;
	color: var(--ohs-text);
	background: #fff;
	border: 2px solid #6b6b6b;
	border-radius: 8px;
}
.ohs-checker-page .ohsc-ck-form input::placeholder {
	color: #6b6b6b;
	opacity: 1;
}
.ohs-checker-page .ohsc-ck-form button[type="submit"] {
	min-height: 56px;
	padding: 0.75rem 2rem;
	font: inherit;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
	background: var(--ohs-text);
	border: 2px solid var(--ohs-text);
	border-radius: 8px;
	cursor: pointer;
}
.ohs-checker-page .ohsc-ck-form button[type="submit"]:hover {
	background: #333;
	border-color: #333;
}
.ohs-checker-page .ohsc-ck-hint,
.ohs-checker-page .ohsc-ck-assure {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-checker-page .ohsc-ck-assure {
	margin-top: 0.25rem;
	font-weight: 600;
	color: var(--ohs-text);
}
.ohs-checker-page .ohsc-checker > p > em {
	display: block;
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	font-style: normal;
	background: var(--ohs-tint);
	border: 2px solid var(--ohs-text);
	border-radius: 8px;
}

/* Results and errors. */
.ohs-checker-page .ohsc-ck-results,
.ohs-checker-page .ohsc-ck-error {
	margin-top: 1.5rem;
	scroll-margin-top: 1.5rem;
}
.ohs-checker-page .ohsc-ck-results:focus-visible,
.ohs-checker-page .ohsc-ck-error:focus-visible {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 4px;
}
.ohs-checker-page .ohsc-ck-error {
	padding: 1rem 1.25rem;
	font-weight: 600;
	background: var(--ohs-tint);
	border: 2px solid var(--ohs-text);
	border-left-width: 8px;
	border-radius: 8px;
}
.ohs-checker-page .ohsc-ck-results > h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.4rem, 3.2vw, 1.8rem);
	line-height: 1.25;
	overflow-wrap: anywhere;
}
.ohs-checker-page .ohsc-ck-check {
	min-width: 0;
	margin: 0 0 1rem;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-left: 8px solid #6b6b6b;
	border-radius: 12px;
}
.ohs-checker-page .ohsc-ck-pass {
	border-left-color: #15803d;
}
.ohs-checker-page .ohsc-ck-warning {
	border-left-color: #b45309;
}
.ohs-checker-page .ohsc-ck-fail {
	border-left-color: #b91c1c;
}
.ohs-checker-page .ohsc-ck-check > h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.3;
}
.ohs-checker-page .ohsc-ck-sep {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
/* The badge is a bordered pill with the status word in it; colour only reinforces the word. */
.ohs-checker-page .ohsc-ck-badge,
.ohs-checker-page .ohs-cklegend h3 {
	display: inline-block;
	padding: 0.15rem 0.75rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
	color: #3d3d3d;
	background: #f0f0ee;
	border: 2px solid #6b6b6b;
	border-radius: 999px;
}
.ohs-checker-page .ohsc-ck-pass .ohsc-ck-badge,
.ohs-checker-page .ohs-lg-pass > h3 {
	color: #14532d;
	background: #e7f5ec;
	border-color: #15803d;
}
.ohs-checker-page .ohsc-ck-warning .ohsc-ck-badge,
.ohs-checker-page .ohs-lg-warning > h3 {
	color: #78350f;
	background: #fdf1de;
	border-color: #b45309;
}
.ohs-checker-page .ohsc-ck-fail .ohsc-ck-badge,
.ohs-checker-page .ohs-lg-fail > h3 {
	color: #7f1d1d;
	background: #fcebea;
	border-color: #b91c1c;
}
.ohs-checker-page .ohsc-ck-check > p {
	margin: 0 0 0.75rem;
}
.ohs-checker-page .ohsc-ck-check ul {
	margin: 0 0 0.75rem;
	padding-left: 1.25rem;
}
.ohs-checker-page .ohsc-ck-check li {
	margin-bottom: 0.4rem;
	overflow-wrap: anywhere;
}
.ohs-checker-page .ohsc-ck-check code {
	padding: 0.1rem 0.35rem;
	font-size: 0.9rem;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 4px;
	overflow-wrap: anywhere;
	word-break: break-all;
}
.ohs-checker-page .ohsc-ck-record {
	padding: 0.75rem 1rem 0.75rem 1rem;
	list-style: none;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 8px;
}
.ohs-checker-page .ohsc-ck-check details {
	margin: 0;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 8px;
}
.ohs-checker-page .ohsc-ck-check summary {
	min-height: 44px;
	padding: 0.6rem 1rem;
	font-weight: 600;
	cursor: pointer;
	border-radius: 8px;
}
.ohs-checker-page .ohsc-ck-check summary:focus-visible {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 3px;
}
.ohs-checker-page .ohsc-ck-check details > p,
.ohs-checker-page .ohsc-ck-check details > ul {
	margin: 0.5rem 0 0.75rem;
	padding-right: 1rem;
}
.ohs-checker-page .ohsc-ck-check details > p {
	padding-left: 1rem;
}
.ohs-checker-page .ohsc-ck-check details > ul {
	padding-left: 2.25rem;
}
.ohs-checker-page .ohsc-ck-results > p {
	max-width: 46rem;
	margin: 0 0 0.75rem;
}
.ohs-checker-page .ohsc-ck-note {
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}

/* The three records and the legend. */
.ohs-checker-page .ohs-ckrecords,
.ohs-checker-page .ohs-cklegend {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 0 0 1rem;
}
@media (min-width: 43.75rem) {
	.ohs-checker-page .ohs-ckrecords {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (min-width: 52rem) {
	.ohs-checker-page .ohs-cklegend {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.ohs-checker-page .ohs-ckrecords > *,
.ohs-checker-page .ohs-cklegend > * {
	margin-block-start: 0;
}
.ohs-checker-page .ohs-ckrecord,
.ohs-checker-page .ohs-cklegend > div {
	min-width: 0;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-checker-page .ohs-ckrecord {
	border-top: 4px solid var(--ohs-accent);
}
.ohs-checker-page .ohs-ckrecord > h3 {
	margin: 0 0 0.5rem;
	font-size: 1.4rem;
	line-height: 1.2;
	letter-spacing: 0.02em;
}
.ohs-checker-page .ohs-ckrecord > p,
.ohs-checker-page .ohs-cklegend p {
	margin: 0;
	font-size: 0.9688rem;
	line-height: 1.55;
	color: var(--ohs-muted);
}
.ohs-checker-page .ohs-cklegend h3 {
	margin: 0 0 0.6rem;
}
.ohs-checker-page .ohs-section > .ohs-faq + p {
	margin-top: 1rem;
}
.ohs-checker-page .ohs-faq details > ul {
	margin: 0.5rem 0 0;
	padding: 0 1rem 1rem 2.25rem;
}
.ohs-checker-page .ohs-columns .ohs-conditions p {
	margin: 0 0 1rem;
}
.ohs-checker-page .ohs-columns .ohs-conditions p:last-child {
	margin-bottom: 0;
}
.ohs-checker-page .ohs-conditions code {
	overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: no-preference) {
	.ohs-checker-page .ohsc-ck-form button[type="submit"],
	.ohs-checker-page .ohsc-ck-form input {
		transition: background-color 0.15s ease, border-color 0.15s ease;
	}
}
@media (forced-colors: active) {
	.ohs-checker-page .ohsc-ck-form button[type="submit"],
	.ohs-checker-page .ohsc-ck-badge,
	.ohs-checker-page .ohs-cklegend h3 {
		border-color: ButtonText;
	}
	.ohs-checker-page .ohsc-ck-check {
		border-left-color: CanvasText;
	}
}

/*
 * Plugin page (page-plugin.html adds .ohs-plugin-page). Same rules as above: no fonts, images or scripts.
 * Components: .ohs-showcase (text next to a framed screenshot), .ohs-figure (one framed screenshot),
 * .ohs-specs (requirements table).
 */
.ohs-plugin-page .wp-block-post-title {
	max-width: 24ch;
}
.ohs-plugin-page .ohs-split {
	align-items: center;
}
.ohs-plugin-page .ohs-hero > p:last-child {
	margin-bottom: 0;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-plugin-page .ohs-trust {
	margin-top: clamp(2rem, 5vw, 3rem);
}

/* Text next to a screenshot. Stacked on small screens, text first. */
.ohs-plugin-page .ohs-showcase {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 52rem) {
	.ohs-plugin-page .ohs-showcase {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(1.5rem, 4vw, 3rem);
	}
	.ohs-plugin-page .ohs-showcase:nth-of-type(even) > .ohs-showtext {
		order: 2;
	}
}
.ohs-plugin-page .ohs-showcase > * {
	margin-block-start: 0;
	min-width: 0;
}
.ohs-plugin-page .ohs-showtext > h3 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.25rem, 2.6vw, 1.5rem);
	line-height: 1.25;
}
.ohs-plugin-page .ohs-showtext > p {
	margin: 0 0 1rem;
}
.ohs-plugin-page .ohs-showtext > ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
	list-style: disc;
}
.ohs-plugin-page .ohs-showtext li {
	margin-bottom: 0.6rem;
}
.ohs-plugin-page .ohs-figure {
	max-width: 46rem;
	margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}
.ohs-plugin-page .ohs-showcase + .ohs-figure {
	margin-top: calc(-1 * clamp(1rem, 3vw, 2rem));
}
.ohs-plugin-page .ohs-figure > * {
	margin-block-start: 0;
}
.ohs-plugin-page .ohs-showcase .wp-block-image,
.ohs-plugin-page .ohs-figure .wp-block-image {
	padding: 0.5rem;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-plugin-page .ohs-showcase .wp-block-image img,
.ohs-plugin-page .ohs-figure .wp-block-image img {
	max-width: 100%;
	box-shadow: none;
}
.ohs-plugin-page .ohs-showcase .wp-element-caption,
.ohs-plugin-page .ohs-figure .wp-element-caption {
	margin: 0.6rem 0.25rem 0.1rem;
}

/* Requirements table. */
.ohs-plugin-page .ohs-specs {
	max-width: 46rem;
}
.ohs-plugin-page .ohs-specs .wp-block-table {
	margin: 0;
}
.ohs-plugin-page .ohs-specs table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}
.ohs-plugin-page .ohs-specs th,
.ohs-plugin-page .ohs-specs td {
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--ohs-line);
	overflow-wrap: break-word;
}
.ohs-plugin-page .ohs-specs thead th {
	background: var(--ohs-tint);
}
.ohs-plugin-page .ohs-specs tbody td:first-child {
	width: 9rem;
	font-weight: 600;
}
@media (max-width: 30rem) {
	.ohs-plugin-page .ohs-specs tbody td:first-child {
		width: 6.5rem;
	}
	.ohs-plugin-page .ohs-specs th,
	.ohs-plugin-page .ohs-specs td {
		padding: 0.6rem 0.65rem;
	}
}
.ohs-plugin-page .ohs-feature code {
	font-size: 0.9em;
	overflow-wrap: anywhere;
}
.ohs-plugin-page .wp-block-post-content > p {
	max-width: 46rem;
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--ohs-muted);
}
@media (min-width: 52rem) {
	.ohs-plugin-page .ohs-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*
 * Guides index (page-guides.html adds .ohs-guides-page). Reuses the hero, card, guide card, band, conditions and note
 * components above. The topic label is the first paragraph of a .ohs-guide card; the heading link is stretched over the card.
 */
.ohs-guides-page .wp-block-post-title {
	max-width: 24ch;
}
.ohs-guides-page .ohs-split {
	align-items: center;
}
.ohs-guides-page .ohs-hero > p:last-child {
	margin-bottom: 0;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-guides-page .ohs-section > h2 + p {
	color: var(--ohs-muted);
}
.ohs-guides-page .ohs-cards {
	margin-top: 1.25rem;
}
@media (min-width: 43.75rem) {
	.ohs-guides-page .ohs-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ohs-guides-page .ohs-cards > .ohs-guide:only-child {
		grid-column: 1 / -1;
	}
}
.ohs-guides-page .ohs-guide {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
}
.ohs-guides-page .ohs-guide:hover {
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}
.ohs-guides-page .ohs-guide > p:first-child {
	align-self: flex-start;
	margin: 0 0 0.85rem;
	padding: 0.2rem 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ohs-accent);
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 999px;
}
.ohs-guides-page .ohs-guide > h3 {
	font-size: 1.3rem;
}
.ohs-guides-page .ohs-guide > h3 + p {
	flex: 1 1 auto;
}
/* "Read the guide" cue: decoration only, the heading link is the one link in the card. */
.ohs-guides-page .ohs-guide > h3 + p::after {
	content: "Read the guide \2192";
	content: "Read the guide \2192" / "";
	display: block;
	margin-top: 1rem;
	font-weight: 600;
	color: var(--ohs-accent);
}
.ohs-guides-page .ohs-guide:hover > h3 a {
	text-decoration-thickness: 2px;
}
.ohs-guides-page .ohs-conditions {
	max-width: none;
	margin-top: clamp(2.5rem, 6vw, 4rem);
}
.ohs-guides-page .ohs-conditions ul {
	margin: 0;
	padding-left: 1.25rem;
	list-style: disc;
}
.ohs-guides-page .ohs-conditions li {
	margin: 0 0 0.75rem;
}
.ohs-guides-page .ohs-conditions li:last-child {
	margin-bottom: 0;
}
.ohs-guides-page .wp-block-post-content > p {
	max-width: 46rem;
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--ohs-muted);
}

/*
 * Guide articles (page-guide.html adds .ohs-guide-page; used for every child page of /guides/). One reading column,
 * about 70 characters wide. Source groups: .ohs-answer (short answer), .ohs-plugin-help, .ohs-related, .ohs-sources;
 * the Fix steps are the ordered list. Reuses the band and button styles above. Colours are the existing tokens
 * (accent on white or the tint: 7.5:1 or more; muted text: 8:1 or more).
 */
.ohs-guide-page {
	max-width: 48rem;
	--ohs-code: #f3f1ea;
}
.ohs-guide-page .ohs-crumbs,
.ohs-blog-page .ohs-crumbs {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--ohs-muted);
}
.ohs-guide-page .ohs-crumbs ol,
.ohs-blog-page .ohs-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ohs-guide-page .ohs-crumbs li,
.ohs-blog-page .ohs-crumbs li {
	margin: 0;
	padding: 0;
}
.ohs-guide-page .ohs-crumbs li:not(:last-child)::after,
.ohs-blog-page .ohs-crumbs li:not(:last-child)::after {
	content: "/";
	content: "/" / "";
	margin-left: 0.5rem;
}
.ohs-guide-page .ohs-crumbs a,
.ohs-blog-page .ohs-crumbs a {
	display: inline-block;
	padding-block: 0.125rem;
	color: var(--ohs-accent);
	font-weight: 600;
	text-underline-offset: 0.15em;
}
.ohs-guide-page > .wp-block-post-title {
	max-width: none;
	margin: 0 0 0.75rem;
	font-size: clamp(1.9rem, 5.5vw, 2.75rem);
}
.ohs-guide-page .wp-block-post-content > * {
	margin-block: 0 1.1rem;
	max-width: none;
}
.ohs-guide-page .wp-block-post-content > .ohs-reviewed {
	margin-block-end: 1.5rem;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-guide-page .wp-block-post-content a,
.ohs-guide-back a {
	color: var(--ohs-accent);
	text-underline-offset: 0.15em;
}
/* Bold stands out against the light (300) body text; scoped to posts and guides only. */
.ohs-guide-page .wp-block-post-content strong,
.ohs-guide-page .wp-block-post-content b {
	font-weight: 700;
}
.ohs-guide-page .wp-block-post-content a:hover,
.ohs-guide-back a:hover {
	text-decoration-thickness: 2px;
}
.ohs-guide-page .wp-block-post-content h2 {
	margin-block: 2.75rem 0.85rem;
	font-size: clamp(1.4rem, 3.4vw, 1.75rem);
	line-height: 1.2;
}
.ohs-guide-page .wp-block-post-content h3 {
	margin-block: 1.75rem 0.6rem;
	font-size: 1.2rem;
	line-height: 1.3;
}
.ohs-guide-page .wp-block-post-content ul {
	padding-left: 1.4rem;
}
.ohs-guide-page .wp-block-post-content li {
	margin-bottom: 0.5rem;
}

/* Record values and commands: long strings wrap instead of widening the page. */
.ohs-guide-page code,
.ohs-legal-page code {
	padding: 0.1em 0.35em;
	font-size: 0.9em;
	color: var(--ohs-text);
	background: var(--ohs-code);
	border-radius: 4px;
	overflow-wrap: anywhere;
}
.ohs-guide-page pre {
	max-width: 100%;
	margin: 0 0 1.1rem;
	padding: 1rem;
	overflow-x: auto;
	background: var(--ohs-code);
	border-radius: 8px;
}
.ohs-guide-page pre code {
	padding: 0;
	background: none;
	overflow-wrap: normal;
}

/* Short answer. */
.ohs-guide-page .ohs-answer {
	margin-block: 0 1.5rem;
	padding: clamp(1.1rem, 3vw, 1.5rem);
	font-size: 1.1875rem;
	line-height: 1.55;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-left: 5px solid var(--ohs-accent);
	border-radius: 12px;
}
.ohs-guide-page .ohs-answer > p {
	margin: 0;
}

/* Fix steps: the numbers are the list's own markers, so the list stays a list for assistive technology. */
.ohs-guide-page .wp-block-post-content ol {
	padding-left: 2.25rem;
}
.ohs-guide-page .wp-block-post-content ol > li {
	margin-bottom: 0.75rem;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 10px;
}
.ohs-guide-page .wp-block-post-content ol > li::marker {
	font-weight: 700;
	color: var(--ohs-accent);
}

/* Tables scroll sideways inside their own box when the screen is narrow. */
.ohs-guide-page .wp-block-table,
.ohs-legal-page .wp-block-table {
	max-width: 100%;
	margin: 0 0 1.25rem;
	overflow-x: auto;
}
.ohs-guide-page .wp-block-table table,
.ohs-legal-page .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.45;
}
.ohs-guide-page .wp-block-table:focus-visible,
.ohs-legal-page .wp-block-table:focus-visible {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 3px;
}
.ohs-guide-page .wp-block-table th,
.ohs-guide-page .wp-block-table td,
.ohs-legal-page .wp-block-table th,
.ohs-legal-page .wp-block-table td {
	min-width: 9rem;
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--ohs-line);
}
.ohs-guide-page .wp-block-table thead th,
.ohs-legal-page .wp-block-table thead th {
	background: var(--ohs-tint);
}

/* How the plugin helps: a quiet note, not a sales box. */
.ohs-guide-page .ohs-plugin-help {
	margin-block: 2.75rem 0;
	padding: clamp(1.1rem, 3vw, 1.5rem);
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-guide-page .wp-block-post-content .ohs-plugin-help > h2,
.ohs-guide-page .wp-block-post-content .ohs-related > h2,
.ohs-guide-page .wp-block-post-content .ohs-sources > h2 {
	margin-block: 0 0.6rem;
	font-size: 1.2rem;
}
.ohs-guide-page .ohs-plugin-help > p:last-child {
	margin-bottom: 0;
}

/* Related guides: one link per small card. */
.ohs-guide-page .ohs-related {
	margin-block: 2.5rem 0;
}
.ohs-guide-page .wp-block-post-content .ohs-related > ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 43.75rem) {
	.ohs-guide-page .wp-block-post-content .ohs-related > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.ohs-guide-page .wp-block-post-content .ohs-related li {
	margin: 0;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 10px;
}
.ohs-guide-page .wp-block-post-content .ohs-related li:hover {
	border-color: var(--ohs-accent);
}
.ohs-guide-page .ohs-related li a {
	display: block;
	padding: 0.85rem 1rem;
	font-weight: 600;
	line-height: 1.35;
}

/* Sources. */
.ohs-guide-page .ohs-sources {
	margin-block: 2.5rem 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ohs-line);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.ohs-guide-page .ohs-sources > ul {
	margin: 0;
}
.ohs-guide-page .ohs-sources li {
	overflow-wrap: anywhere;
}
.ohs-guide-page .ohs-guide-back {
	margin-top: 2rem;
}
.ohs-guide-page .ohs-guide-back > p {
	margin: 0;
	font-weight: 600;
}
/* Target size (WCAG 2.5.8): the link is at least 24 px tall. */
.ohs-guide-page .ohs-guide-back a {
	display: inline-block;
	padding-block: 0.125rem;
}
.ohs-guide-page .ohs-band {
	margin-top: 1.5rem;
}

/*
 * Contact page (page-contact.html adds .ohs-contact-page) and legal pages: privacy policy and External services
 * (page-privacy.html and page-external-services.html add .ohs-legal-page). Presentation only: the text comes from
 * content/pages. Groups: .ohs-lede, .ohs-channels > .ohs-channel (contact), .ohs-updated, .ohs-callout, .ohs-toc
 * (built from the page's H2 headings by bin/content_build.py). Existing tokens only: muted text and accent on white
 * or the tint are 7.5:1 or more.
 */
.ohs-contact-page .wp-block-post-title,
.ohs-legal-page .wp-block-post-title {
	max-width: none;
	margin: 0 0 1rem;
	font-size: clamp(1.9rem, 5.5vw, 2.75rem);
}
.ohs-contact-page .ohs-lede {
	max-width: 40rem;
	margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
	font-size: clamp(1.15rem, 2.6vw, 1.4rem);
	line-height: 1.5;
}
.ohs-contact-page .ohs-lede > p {
	margin: 0;
}

/* Contact methods as cards. */
.ohs-contact-page .ohs-channels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
	gap: 1rem;
}
.ohs-contact-page .ohs-channel {
	min-width: 0;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-contact-page .ohs-channel:first-child {
	border-top: 5px solid var(--ohs-accent);
}
.ohs-contact-page .ohs-channel > h2 {
	margin: 0 0 0.6rem;
	font-size: 1.3rem;
	line-height: 1.25;
}
.ohs-contact-page .ohs-channel > p {
	margin: 0 0 0.9rem;
	font-size: 0.9688rem;
	line-height: 1.55;
	color: var(--ohs-muted);
}
.ohs-contact-page .ohs-channel > .ohs-cta {
	margin: 1.25rem 0 0;
}
.ohs-contact-page .ohs-channel > :last-child {
	margin-bottom: 0;
}
.ohs-contact-page .ohs-channel a {
	color: var(--ohs-accent);
	font-weight: 600;
	text-underline-offset: 0.15em;
	overflow-wrap: anywhere;
}
.ohs-contact-page .ohs-channel .ohs-cta a {
	color: #fff;
}
.ohs-contact-page .ohs-channel .ohs-cta a:hover {
	color: #fff;
}
.ohs-contact-page .ohs-channel a[href^="mailto:"] {
	font-size: 1.0625rem;
}
.ohs-contact-page .ohs-section > h2 {
	font-size: clamp(1.3rem, 3vw, 1.6rem);
}
.ohs-contact-page .ohs-section a {
	color: var(--ohs-accent);
	text-underline-offset: 0.15em;
}

/* Legal pages: one calm reading column of about 70 characters. */
.ohs-legal-page {
	max-width: 48rem;
	--ohs-code: #f3f1ea;
}
.ohs-legal-page .wp-block-post-content > * {
	max-width: none;
	margin-block: 0 1.1rem;
}
.ohs-legal-page .wp-block-post-content a,
.ohs-legal-contact a {
	color: var(--ohs-accent);
	text-underline-offset: 0.15em;
}
.ohs-legal-page .wp-block-post-content a:hover,
.ohs-legal-contact a:hover {
	text-decoration-thickness: 2px;
}
.ohs-legal-page .wp-block-post-content h2 {
	margin-block: 2.5rem 0.85rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ohs-line);
	font-size: clamp(1.35rem, 3.2vw, 1.65rem);
	line-height: 1.25;
	scroll-margin-top: 1rem;
}
.ohs-legal-page .wp-block-post-content h3 {
	margin-block: 1.75rem 0.6rem;
	font-size: 1.2rem;
	line-height: 1.3;
}
.ohs-legal-page .wp-block-post-content ul,
.ohs-legal-page .wp-block-post-content ol {
	padding-left: 1.4rem;
}
.ohs-legal-page .wp-block-post-content li {
	margin-bottom: 0.5rem;
	overflow-wrap: break-word;
}
.ohs-legal-page .wp-block-post-content > .ohs-updated {
	margin-block-end: 1.25rem;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-legal-page .ohs-updated > p,
.ohs-legal-page .ohs-callout > p {
	margin: 0;
}
.ohs-legal-page .wp-block-post-content > .ohs-callout {
	padding: clamp(1rem, 3vw, 1.4rem);
	font-size: 1.125rem;
	line-height: 1.55;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-left: 5px solid var(--ohs-accent);
	border-radius: 12px;
}

/* Opening line (glossary, compare): larger, same column. */
.ohs-legal-page .wp-block-post-content > .ohs-lede {
	font-size: clamp(1.1rem, 2.4vw, 1.3rem);
	line-height: 1.5;
}
.ohs-legal-page .ohs-lede > p,
.ohs-legal-page .ohs-section > :last-child {
	margin-bottom: 0;
}

/* On this page. */
.ohs-legal-page .wp-block-post-content > .ohs-toc {
	margin-block: 1.75rem 0;
	padding: 1rem 1.25rem 0.75rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-legal-page .ohs-toc > p {
	margin: 0 0 0.5rem;
	font-weight: 700;
}
.ohs-legal-page .wp-block-post-content .ohs-toc > ul {
	margin: 0;
	padding: 0;
	list-style: none;
	column-width: 15rem;
	column-gap: 2rem;
	font-size: 0.9688rem;
	line-height: 1.4;
}
.ohs-legal-page .wp-block-post-content .ohs-toc li {
	break-inside: avoid;
	margin: 0 0 0.45rem;
}
.ohs-legal-page .ohs-toc a:focus-visible {
	outline: 3px solid var(--ohs-accent);
	outline-offset: 2px;
}

/* Tables here are plain; the scroll box is focusable, see ohs_table_scroll_region(). */
.ohs-legal-page .wp-block-table td:first-child {
	font-weight: 600;
}

/* Quiet closing band. */
.ohs-legal-contact {
	margin-top: 3rem;
	padding: 1.1rem 1.25rem;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-legal-contact > p {
	margin: 0;
}

/*
 * Blog (home.html and archive.html add .ohs-blog-page; single.html reuses the guide article styles above and adds
 * .ohs-post-page). A plain list of cards: kind label, title link, short text, date. No images, no scripts.
 * Colours are the existing tokens (accent on the tint: 7.5:1 or more; muted text on white: 8:1 or more).
 */
.ohs-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ohs-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--ohs-muted);
}
.ohs-post-kind,
.ohs-post-kind a {
	font-weight: 600;
	color: var(--ohs-accent);
}
.ohs-post-meta .ohs-post-kind {
	padding: 0.1rem 0.6rem;
	font-size: 0.8125rem;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 999px;
}
.ohs-guide-page .wp-block-post-content > .ohs-post-guide {
	padding: 0.85rem 1.1rem;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-blog-page .wp-block-post-title {
	max-width: 24ch;
}
.ohs-blog-page .ohs-blog-intro {
	max-width: 46rem;
	margin: 0 0 2rem;
	color: var(--ohs-muted);
}
.ohs-blog-page .wp-block-post-template {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 43.75rem) {
	.ohs-blog-page .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.ohs-blog-page .wp-block-post-template > li {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--ohs-line);
	border-radius: 12px;
}
.ohs-blog-page .wp-block-post-template > li:hover {
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}
.ohs-blog-page .wp-block-post-terms.ohs-post-kind {
	align-self: flex-start;
	margin: 0 0 0.85rem;
	padding: 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	background: var(--ohs-tint);
	border: 1px solid var(--ohs-line);
	border-radius: 999px;
}
.ohs-blog-page .wp-block-post-template .wp-block-post-title {
	max-width: none;
	margin: 0 0 0.6rem;
	font-size: 1.3rem;
	line-height: 1.25;
	letter-spacing: 0;
}
/* The title link covers the whole card, so the card is one target; the kind label stays above it. */
.ohs-blog-page .wp-block-post-template .wp-block-post-title a {
	color: var(--ohs-text);
	text-underline-offset: 0.15em;
}
.ohs-blog-page .wp-block-post-template .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.ohs-blog-page .wp-block-post-terms.ohs-post-kind {
	position: relative;
	z-index: 1;
}
/* The padding sits on the link so the whole pill is the target, at least 24 by 24 px (WCAG 2.5.8). */
.ohs-blog-page .wp-block-post-terms.ohs-post-kind a {
	display: inline-block;
	min-height: 1.5rem;
	box-sizing: border-box;
	padding: 0.2rem 0.65rem;
}
.ohs-blog-page .wp-block-post-template .wp-block-post-title a:hover {
	text-decoration-thickness: 2px;
}
.ohs-blog-page .wp-block-post-excerpt {
	flex: 1 1 auto;
	margin: 0 0 1rem;
}
.ohs-blog-page .wp-block-post-excerpt__excerpt {
	margin: 0;
}
.ohs-blog-page .ohs-post-date {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ohs-muted);
}
.ohs-blog-page .wp-block-query-pagination {
	margin-top: 2rem;
	gap: 1rem;
}
.ohs-blog-page .wp-block-query-pagination a,
.ohs-blog-page .wp-block-query-pagination .page-numbers {
	display: inline-block;
	min-width: 1.5rem;
	min-height: 1.5rem;
	box-sizing: border-box;
	padding: 0.1rem 0.4rem;
	text-align: center;
}
.ohs-blog-page .wp-block-query-pagination a {
	color: var(--ohs-accent);
	text-underline-offset: 0.15em;
}
@media (forced-colors: active) {
	.ohs-blog-page .wp-block-post-template > li,
	.ohs-post-meta .ohs-post-kind {
		border: 1px solid CanvasText;
	}
}
