/*
Theme Name: Puppy-S Block
Author: The puppy-s.com team
Text Domain: puppy-s-block
Requires at least: 6.5
Requires PHP: 7.4
Version: 0.7.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Description: Block theme of puppy-s.com. Colours, fonts and sizes come from theme.json (Appearance > Editor > Styles); page types are set in the editor. See readme.txt.
*/

/* Ported from ps-design (live canonical): tokens, shared, hub layout. Staging only. */
/* Puppy-S design tokens: the one place for colour, spacing and type values.
   Load first (before shared.css, chrome.css, index1.php and every rebuilt page). Page rules use these names. */
:root {
	--color-background-page: var(--wp--preset--color--page);
	--color-background-surface: var(--wp--preset--color--surface);
	--color-text-heading: var(--wp--preset--color--heading);
	--color-text-body: var(--wp--preset--color--body);
	--color-text-primary: var(--wp--preset--color--text);
	--color-text-accent: var(--wp--preset--color--ochre-text);
	--color-interactive-primary: var(--wp--preset--color--heading);
	--color-interactive-primary-hover: var(--wp--custom--color--navy-deep);
	--color-focus: var(--wp--preset--color--focus);
	--color-border-subtle: var(--wp--preset--color--border);
	--color-border-strong: var(--wp--preset--color--heading);
	--color-decoration-accent: var(--wp--preset--color--ochre);
	--color-decoration-sage: var(--wp--preset--color--sage);
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 12px;
	--space-lg: 16px;
	--space-xl: 24px;
	--space-2xl: 32px;
	--space-3xl: 48px;
	--space-section: 80px;
	--margin-col: 12rem;
	--sheet-pad: 56px;
	--ease-out: cubic-bezier(0.23,1,0.32,1);
	--serif: var(--wp--preset--font-family--serif);
	--sans: var(--wp--preset--font-family--sans);
	--ink: var(--color-interactive-primary);
	--ink-deep: var(--color-interactive-primary-hover);
	--accent-blue: var(--color-focus);
	--border-cool: var(--color-border-subtle);
	--primary-navy: var(--ink);
	--rule-strong: var(--ink);
	--soft-cream: var(--paper);
	--surface-white: var(--paper);
	--body-gray: var(--slate);
	--text-dark: var(--text-dark);
	--paper: var(--wp--preset--color--page);
	--navy: var(--wp--preset--color--heading);
	--navy-deep: var(--wp--custom--color--navy-deep);
	--ochre: var(--wp--preset--color--ochre);
	--ochre-text: var(--wp--preset--color--ochre-text);
	--sage: var(--wp--preset--color--sage);
	--slate: var(--wp--preset--color--body);
	--text: var(--wp--preset--color--text);
	--link: var(--wp--preset--color--focus);
	--border: var(--wp--preset--color--border);
	--rule: var(--wp--preset--color--heading);
	--heading: var(--wp--preset--font-family--serif);
	--body: var(--wp--preset--font-family--sans);
	--content: 1040px;
	--measure: 680px;
	--gap: 24px;
	--section: 48px;
}
/* Puppy-S design system: shared chrome (tokens, skip link, masthead, menu, footer). Extracted from index_1.html. */
* {
	box-sizing: border-box;
}
a,
summary {
	touch-action: manipulation;
}
html {
	scroll-behavior: smooth;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	padding: var(--space-2xl) var(--space-lg) 0;
	background: var(--paper);
	color: var(--slate);
	font-family: var(--sans);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.7;
}
h1,
h2,
h3 {
	font-family: var(--serif);
	color: var(--ink);
	margin: 0;
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}
h2,
h3,
[id] {
	scroll-margin-top: var(--space-xl);
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
p {
	margin: 0;
}
a {
	color: var(--ink);
	text-underline-offset: 3px;
}
@media (hover:hover) and (pointer:fine) {
	a:hover {
		color: var(--ink);
		text-decoration: underline;
	}
}
:focus-visible {
	outline: 3px solid var(--accent-blue);
	outline-offset: 2px;
	border-radius: 2px;
}
.skip {
	position: absolute;
	left: 16px;
	top: -48px;
	background: var(--paper);
	padding: var(--space-sm) var(--space-md);
	z-index: 10;
}
.skip:focus {
	top: 12px;
}
.masthead,
.page {
	max-width: 1040px;
	margin: 0 auto;
	padding-left: var(--sheet-pad);
	padding-right: var(--sheet-pad);
}
.masthead {
	padding-top: 28px;
	border-top: 3px solid var(--rule-strong);
}
.masthead__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-sm);
	padding: 20px 0 var(--space-lg);
	border-bottom: 1px solid var(--rule-strong);
}
.wordmark {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 28px;
	letter-spacing: .02em;
	color: var(--ink);
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 22px;
}
.site-nav__list li {
	margin: 0;
	padding: 0;
}
.site-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-xs) 22px;
}
.site-nav a {
	position: relative;
	color: var(--ink);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--body-s);
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	height: 1px;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 220ms var(--ease-out);
}
.site-nav a:focus-visible::after {
	transform: scaleX(1);
}
@media (hover:hover) and (pointer:fine) {
	.site-nav a:hover::after {
		transform: scaleX(1);
	}
}
@media (hover:hover) and (pointer:fine) {
	.site-nav a:hover {
		text-decoration: underline;
	}
}
.btn:focus-visible {
	outline: 3px solid var(--accent-blue);
	outline-offset: 3px;
}
.situation summary:focus-visible {
	outline: 3px solid var(--accent-blue);
	outline-offset: 2px;
}
.site-footer {
	max-width: 1040px;
	margin: 0 auto;
	border-top: 3px solid var(--rule-strong);
	color: var(--slate);
	padding: 28px 0 40px;
	text-align: left;
	font-size: var(--wp--preset--font-size--body-s);
}
.site-footer p {
	margin: 0 0 var(--space-md);
}
.site-footer b {
	color: var(--ink);
}
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--space-xs);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	column-gap: var(--space-xl);
	align-items: start;
}
.site-footer a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.site-menu {
	width: 100%;
}
.site-menu__toggle {
	display: none;
}
@media (max-width:767px) {
	.site-menu__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		min-width: 48px;
		margin: 0 auto;
		padding: 12px;
		border: 2px solid var(--ink);
		border-radius: 2px;
		color: var(--ink);
		font-weight: 600;
		background: transparent;
		cursor: pointer;
		list-style: none;
	}
	.site-menu__toggle::-webkit-details-marker {
		display: none;
	}
	.site-menu:not([open]) .site-nav {
		display: none;
	}
	.site-menu .site-nav {
		padding-top: var(--space-lg);
		padding-bottom: var(--space-sm);
	}
	.site-menu[open] .site-nav {
		display: flex;
	}
}
@media (max-width:1099px) {
	:root {
		--margin-col: 10rem;
		--gutter: 32px;
		--sheet-pad: 40px;
	}
}
@media (max-width:767px) {
	:root {
		--sheet-pad: 20px;
	}
	body {
		padding: 0;
	}
	.masthead {
		padding-top: max(20px,env(safe-area-inset-top));
	}
	.wordmark {
		font-size: 20px;
	}
	.site-footer {
		padding-left: 20px;
		padding-right: 20px;
	}
	.site-footer__grid {
		grid-template-columns: minmax(0,1fr);
	}
	.site-footer ul {
		align-items: flex-start;
	}
}
@media (prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto;
	}
	.site-nav a::after {
		transition: none;
	}
}
/* Guide variables mapped to the design-system tokens (index_1). The guide sheet takes the paper surface, as on the homepage. */
:root {
	--gutter: 16px;
}
/* Submenus: a parent item opens its children on hover or keyboard focus (desktop); on the phone menu they are listed under the parent. */
.site-nav__list li.menu-item-has-children {
	position: relative;
}
.site-nav__list .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	flex-direction: column;
	gap: 0;
	background: var(--color-background-page,var(--wp--preset--color--page));
	border: 1px solid var(--color-border-subtle,var(--wp--preset--color--border));
	z-index: 20;
}
.site-nav__list li:hover>.sub-menu,
.site-nav__list li:focus-within>.sub-menu {
	display: flex;
}
.site-nav__list .sub-menu li {
	margin: 0;
	padding: 0;
}
.site-nav__list .sub-menu a {
	padding: 0 16px;
	min-height: 44px;
	white-space: nowrap;
}
.site-nav__list .sub-menu a::after {
	display: none;
}
@media (max-width:767px) {
	.site-nav__list > li.menu-item-has-children {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.site-nav__list .sub-menu {
		display: flex;
		position: static;
		transform: none;
		min-width: 0;
		padding: 0;
		border: 0;
		background: transparent;
		align-items: center;
	}
}
/* Hub pages (buying-guide hubs and Puppy Essentials): page 65's own layout, now shared by pages 65, 66 and 82. */
/* Tokens: reused from the Puppy-S design system; no near-duplicates. */
.ps-type-hub {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 17px/1.65 var(--body);
}
.ps-type-hub *,
.ps-type-hub *::before,
.ps-type-hub *::after {
	box-sizing: border-box;
}
.ps-type-hub a:focus-visible {
	outline: 3px solid var(--link);
	outline-offset: 2px;
}
.ps-type-hub .ps-skip {
	position: absolute;
	left: var(--gutter);
	top: -48px;
	background: var(--wp--preset--color--surface);
	padding: 8px 12px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	z-index: 10;
}
.ps-type-hub .ps-skip:focus {
	top: 12px;
}
.ps-type-hub .ps-wrap {
	width: min(var(--content),100% - 2 * var(--gutter));
	margin-inline: auto;
}
.ps-type-hub .ps-measure {
	max-width: var(--measure);
}
/* Masthead and footer */
.ps-type-hub .ps-wordmark {
	font: 700 28px/1 var(--heading);
	color: var(--navy);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.ps-type-hub .ps-site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin-top: 8px;
}
.ps-type-hub .ps-site-nav a {
	color: var(--navy);
	font-size: var(--wp--preset--font-size--body-s);
	font-weight: 600;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.ps-type-hub .ps-site-nav a:hover {
	text-decoration: underline;
}
.ps-type-hub .ps-site-nav a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
/* Main content */
.ps-type-hub .ps-main {
	padding-top: var(--section);
}
.ps-type-hub .ps-eyebrow {
	margin: 0 0 12px;
	color: var(--ochre-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.ps-type-hub h1 {
	font: 700 clamp(36px,5vw,52px)/1.15 var(--heading);
	color: var(--navy);
	margin: 0 0 16px;
}
.ps-type-hub .ps-standfirst {
	font: 400 20px/1.55 var(--heading);
	color: var(--text);
	margin: 0 0 24px;
}
.ps-type-hub h2 {
	font: 600 clamp(26px,3vw,32px)/1.25 var(--heading);
	color: var(--navy);
	margin: 0 0 var(--gap);
	scroll-margin-top: 16px;
}
.ps-type-hub h3 {
	font: 600 19px/1.35 var(--heading);
	color: var(--navy);
	margin: 0 0 8px;
}
.ps-type-hub p {
	margin: 0 0 var(--gap);
	max-width: var(--measure);
}
.ps-type-hub ul {
	margin: 0;
	padding-left: 1.25em;
	max-width: var(--measure);
}
.ps-type-hub li {
	margin-bottom: 6px;
}
.ps-type-hub a {
	color: var(--navy);
	font-weight: 600;
	text-underline-offset: 3px;
}
.ps-type-hub .ps-section {
	border-top: 1px solid var(--rule);
	padding-top: var(--gap);
	margin-bottom: var(--section);
}
.ps-type-hub .ps-muted {
	color: var(--slate);
	font-size: 15px;
}
/* Hero */
.ps-type-hub .ps-hero {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(0,1fr);
	gap: var(--gap);
	align-items: center;
	margin-bottom: var(--section);
}
.ps-type-hub .ps-hero-figure {
	margin: 0;
}
.ps-type-hub .ps-hero-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
}

/* Photo credit (author, source, licence) under a photo: from the media-library caption (site-core photo-credit.php) on
   guides and the homepage, from the image block's own caption on hubs and designed pages. */
.photo-credit,
.ps-hero-figure .wp-element-caption,
.sx-fig .wp-element-caption {
	margin: 0;
	padding-top: var(--space-sm);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--body-s);
	font-style: normal;
	line-height: 1.5;
	color: var(--wp--preset--color--body);
	text-align: left;
}
/* figure in the selectors: above the page types' own link rules (.ps-guide a, .ps-type-hub a). */
figure .photo-credit a,
figure.ps-hero-figure .wp-element-caption a,
figure.sx-fig .wp-element-caption a {
	color: inherit;
	font-weight: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
figure .photo-credit a[rel="license"],
figure.ps-hero-figure .wp-element-caption a[rel="license"],
figure.sx-fig .wp-element-caption a[rel="license"] {
	white-space: nowrap;
}
.ps-type-hub .ps-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	margin-top: 8px;
}
.ps-type-hub .ps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	background: var(--navy);
	color: var(--wp--preset--color--surface);
	border: 1px solid var(--navy);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.ps-type-hub .ps-btn:hover {
	background: var(--navy-deep);
}
.ps-type-hub .ps-text-link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
/* Category navigation */
.ps-type-hub .ps-cats {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: none;
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	border-top: 1px solid var(--border);
}
.ps-type-hub .ps-cats li {
	margin: 0;
	border-bottom: 1px solid var(--border);
}
.ps-type-hub .ps-cats a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 8px 12px 8px 0;
	text-decoration: none;
}
.ps-type-hub .ps-cats a:hover {
	text-decoration: underline;
}
/* First 30 days */
.ps-type-hub .ps-needs {
	margin-top: 8px;
}
.ps-type-hub .ps-need {
	border-top: 1px solid var(--border);
	padding-top: 12px;
}
.ps-type-hub .ps-need ul {
	padding-left: 1.1em;
	margin: 0;
}
/* Category sections */
.ps-type-hub .ps-cat {
	border-top: 1px solid var(--rule);
	padding-top: var(--gap);
	margin-bottom: var(--section);
}
.ps-type-hub .ps-cat p:last-child {
	margin-bottom: 0;
}
.ps-type-hub .ps-products {
	list-style: none;
	padding: 0;
	margin: var(--gap) 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr));
	gap: var(--gap);
}
.ps-type-hub .ps-product {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--border);
	padding: 20px;
	margin: 0;
}
.ps-type-hub .ps-product p {
	margin: 0;
	font-size: 15px;
}
/* Related guides: separate from product recommendations */
.ps-type-hub .ps-guides {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--border);
}
.ps-type-hub .ps-guides li {
	border-bottom: 1px solid var(--border);
	margin: 0;
	padding: 16px 0;
}
.ps-type-hub .ps-guides a {
	font: 600 19px/1.35 var(--heading);
	text-decoration: none;
	color: var(--navy);
}
.ps-type-hub .ps-guides a:hover {
	text-decoration: underline;
}
.ps-type-hub .ps-guides p {
	margin: 4px 0 0;
	font-size: 15px;
}
/* FAQ */
.ps-type-hub details {
	border-bottom: 1px solid var(--border);
	padding: 12px 0;
}
.ps-type-hub summary {
	cursor: pointer;
	color: var(--navy);
	font: 600 var(--wp--preset--font-size--heading-s)/1.4 var(--heading);
	min-height: 44px;
	display: flex;
	align-items: center;
}
.ps-type-hub details p {
	margin: 8px 0 0;
}
/* Unavailable resource: stated plainly, no download link */
.ps-type-hub .ps-unavailable {
	font-size: 15px;
	border-left: 3px solid var(--ochre);
	padding: 4px 0 4px 14px;
	margin: 0 0 var(--gap);
	max-width: var(--measure);
}
/* Responsive */
@media (max-width:860px) {
	.ps-type-hub .ps-cats {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}
@media (max-width:620px) {
	.ps-type-hub {
		font-size: var(--wp--preset--font-size--body);
	}
	.ps-type-hub .ps-hero {
		grid-template-columns: minmax(0,1fr);
		gap: 20px;
	}
	.ps-type-hub .ps-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.ps-type-hub .ps-btn {
		width: 100%;
	}
	.ps-type-hub .ps-needs {
		grid-template-columns: minmax(0,1fr);
	}
	.ps-type-hub .ps-cats {
		grid-template-columns: minmax(0,1fr);
	}
	.ps-type-hub .ps-cats a {
		padding-right: 0;
	}
	.ps-type-hub h2 {
		font-size: 26px;
	}
}
@media (prefers-reduced-motion:reduce) {
	.ps-type-hub * {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
.sheet {
	max-width: 1040px;
	margin: 0 auto;
	padding: var(--space-2xl) 16px var(--space-3xl);
}
/* Images never wider than the screen (the shared base used to set this). */
.ps-type-hub img {
	max-width: 100%;
	height: auto;
}
/* Puppy Essentials directory: First 30 Days list, category index (rail on desktop, row on phone) and category counts.
   Used only when the page has category rows in the hub_categories field (see psc_hub_directory in ps-types/hub.php). */
.ps-type-hub .ps-lede {
	font: 400 var(--wp--preset--font-size--heading-s)/1.6 var(--body);
	color: var(--slate);
	max-width: 64ch;
	margin: 0 0 var(--gap);
}
.ps-type-hub .ps-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0 0 var(--gap);
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--slate);
}
.ps-type-hub .ps-legend li {
	position: relative;
	padding-left: 20px;
	margin: 0;
}
.ps-type-hub .ps-legend li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 10px;
	height: 10px;
	border-radius: 2px;
}
.ps-type-hub .ps-legend-core::before {
	background: var(--navy);
}
.ps-type-hub .ps-legend-opt::before {
	border: 1.5px dashed var(--slate);
}
.ps-type-hub .ps-needs {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 28px 40px;
}
.ps-type-hub .ps-need h3 {
	font: 700 12px/1 var(--body);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ochre-text);
	margin: 0 0 10px;
}
.ps-type-hub .ps-need ul {
	list-style: none;
	padding: 0;
	max-width: none;
}
.ps-type-hub .ps-core li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 6px;
	font-weight: 500;
	color: var(--navy);
}
.ps-type-hub .ps-core li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 10px;
	height: 10px;
	background: var(--navy);
	border-radius: 2px;
}
.ps-type-hub .ps-optional li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 6px;
	color: var(--slate);
}
.ps-type-hub .ps-optional li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 10px;
	height: 10px;
	border: 1.5px dashed var(--slate);
	border-radius: 2px;
}
.ps-type-hub .ps-dep {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--slate);
	margin: 12px 0 4px;
}
.ps-type-hub .ps-printable {
	margin: var(--gap) 0 0;
	padding: 16px 20px;
	background: var(--wp--custom--color--paper-deep);
	border-left: 3px solid var(--ochre);
	font-size: 15px;
	max-width: none;
}
.ps-type-hub .ps-dir {
	display: grid;
	grid-template-columns: 240px minmax(0,1fr);
	gap: 48px;
	margin-top: var(--gap);
	align-items: start;
}
.ps-type-hub .ps-rail {
	position: sticky;
	top: 16px;
}
.ps-type-hub .ps-rail ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ps-type-hub .ps-rail li {
	margin: 0;
	border: 0;
}
.ps-type-hub .ps-rail a {
	display: grid;
	grid-template-columns: 28px 1fr;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 10px 8px 12px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	border-left: 2px solid rgba(11,42,91,.15);
}
.ps-type-hub .ps-rail a:hover {
	background: rgba(11,42,91,.04);
}
.ps-type-hub .ps-rail a[aria-current="true"] {
	border-left-color: var(--navy);
	background: rgba(11,42,91,.06);
}
.ps-type-hub .ps-num {
	font: 600 15px/1 var(--heading);
	color: var(--ochre-text);
	letter-spacing: .04em;
}
.ps-type-hub .ps-cat-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.ps-type-hub .ps-cat-head h2 {
	margin: 0;
}
.ps-type-hub .ps-count {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--ochre-text);
	margin: 6px 0 0;
}
.ps-type-hub .ps-guide-link {
	margin: 16px 0 0;
}
.ps-type-hub .ps-guide-link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.ps-type-hub .ps-scope {
	color: var(--slate);
	font-size: 15px;
}
.ps-type-hub .ps-catlist .ps-cat {
	scroll-margin-top: 16px;
}
@media (max-width:860px) {
	.ps-type-hub .ps-dir {
		grid-template-columns: minmax(0,1fr);
		gap: 20px;
	}
	.ps-type-hub .ps-rail {
		position: sticky;
		top: 0;
		z-index: 5;
		background: var(--paper);
		margin: 0 calc(var(--gutter) * -1);
		padding: 10px var(--gutter);
		border-bottom: 1px solid rgba(11,42,91,.15);
		overflow-x: auto;
	}
	.ps-type-hub .ps-rail ol {
		display: flex;
		gap: 6px;
		white-space: nowrap;
	}
	.ps-type-hub .ps-rail a {
		display: flex;
		gap: 6px;
		min-height: 44px;
		padding: 7px 12px;
		border: 1px solid rgba(11,42,91,.22);
		border-radius: 999px;
		background: var(--wp--preset--color--surface);
		font-size: var(--wp--preset--font-size--body-s);
	}
	.ps-type-hub .ps-rail a[aria-current="true"] {
		background: var(--navy);
		border-color: var(--navy);
		color: var(--wp--preset--color--surface);
	}
	.ps-type-hub .ps-rail a[aria-current="true"] .ps-num {
		color: var(--ochre);
	}
	.ps-type-hub .ps-needs {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}
@media (max-width:520px) {
	.ps-type-hub .ps-needs {
		grid-template-columns: 1fr;
	}
}
.ps-type-hub .ps-note {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-left: 3px solid var(--ochre);
	background: var(--wp--preset--color--surface);
	font-size: 15px;
	color: var(--slate);
}
.ps-type-hub .ps-status {
	display: grid;
	grid-template-columns: repeat(3,auto);
	justify-content: start;
	margin: var(--gap) 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
}
.ps-type-hub .ps-status div {
	padding-right: 24px;
	margin-right: 24px;
	border-right: 1px solid rgba(11,42,91,.2);
}
.ps-type-hub .ps-status div:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}
.ps-type-hub .ps-status dt {
	font-size: 13px;
	color: var(--slate);
}
.ps-type-hub .ps-status dd {
	margin: 2px 0 0;
	font: 600 30px/1 var(--heading);
	color: var(--navy);
}
.ps-type-hub .ps-covers {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--slate);
	max-width: 64ch;
}
.ps-type-hub .ps-covers strong {
	display: block;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ochre-text);
	margin-bottom: 4px;
}
@media (max-width:520px) {
	.ps-type-hub .ps-status div {
		padding-right: 10px;
		margin-right: 10px;
	}
	.ps-type-hub .ps-status dd {
		font-size: 24px;
	}
}
.ps-type-hub .ps-funding {
	margin-top: var(--gap);
	font-size: 15px;
	color: var(--slate);
}
.ps-type-hub .ps-funding p {
	margin: 0;
}
/* Staging overrides: block header and footer, matched to the live masthead and footer. */
.masthead .wp-block-site-title {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 28px;
	letter-spacing: .02em;
	margin: 0;
}
/* The wordmark is a paragraph (the site name is "Puppy-S", the wordmark "puppy-s.com"); the link takes the paragraph's type,
   with the same weak selector as the Site Title block's own stylesheet. */
.masthead .wp-block-site-title a {
	color: var(--ink);
	text-decoration: none;
}
.wp-block-site-title :where(a) {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}
.masthead .wp-block-navigation__container {
	justify-content: center;
	gap: 4px 22px;
}
.masthead .wp-block-navigation-item__content {
	text-decoration: none;
}
.masthead .wp-block-navigation {
	justify-content: center;
}
.site-footer .wp-block-navigation__container {
	justify-content: flex-end;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
/* Checklist items: grouped columns, as on the live hub. */
.psc-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
	gap: 20px 32px;
	margin: 0 0 var(--space-xl);
}
.psc-checklist ul {
	margin: 0 0 var(--space-md);
	padding-left: 18px;
}
.psc-checklist h3 {
	margin-bottom: 6px;
}
/* Centre the hub and document content column on wide screens (live preview showed it left-aligned). */
.ps-type-hub main,
.ps-type-hub .wp-block-post-content,
.ps-type-legal main,
.ps-type-contact main {
	width: 100%;
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}
.ps-type-legal main,
.ps-type-contact main {
	max-width: 720px;
}
/* Hard centring for the hub and document pages (overrides block layout widths). */
.ps-type-legal main.wp-block-group,
.ps-type-contact main.wp-block-group {
	width: min(720px, 100% - 40px);
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
/* The body of these pages was capped at 1040px and pinned to the left edge on wide screens. */
body.ps-type-hub,
body.ps-type-legal,
body.ps-type-contact {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
/* Header and footer, matched to the live site: centred wordmark over one navigation row; footer grid. */
header.masthead {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 1040px;
	margin: 0 auto;
	padding: 20px 0 16px;
	border-top: 3px solid var(--wp--preset--color--heading);
	border-bottom: 1px solid var(--wp--preset--color--heading);
	padding-left: 56px;
	padding-right: 56px;
	padding-top: 48px;
}
header.masthead .wp-block-site-title {
	text-align: center;
	margin: 0;
}
header.masthead .wp-block-navigation {
	justify-content: center;
}
header.masthead .wp-block-navigation__container {
	justify-content: center;
	gap: 4px 18px;
	flex-wrap: nowrap;
}
header.masthead .wp-block-navigation-item__content {
	text-decoration: none;
	white-space: nowrap !important;
}
footer.site-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 24px;
	align-items: start;
	max-width: 1040px;
	margin: 0 auto;
	border-top: 3px solid var(--wp--preset--color--heading);
	padding-left: 56px;
	padding-right: 56px;
	padding-bottom: 0;
}
footer.site-footer .ps-funding {
	grid-column: 1;
	grid-row: 1;
	color: var(--wp--preset--color--heading);
}
footer.site-footer .site-footer__links {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}
footer.site-footer .site-footer__links .wp-block-navigation__container {
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
footer.site-footer .wp-block-navigation-item__content {
	text-decoration: underline;
}
footer.site-footer .ps-back-top {
	grid-column: 1;
	grid-row: 2;
	margin-top: 16px;
}
footer.site-footer .ps-back-top a {
	font-weight: 600;
	color: var(--wp--preset--color--heading);
}
@media (max-width: 767px) {
	footer.site-footer {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	footer.site-footer .site-footer__links,
	footer.site-footer .ps-funding,
	footer.site-footer .ps-back-top {
		grid-column: 1;
	}
	footer.site-footer .site-footer__links {
		grid-row: 2;
		justify-self: start;
	}
	footer.site-footer .ps-back-top {
		grid-row: 3;
	}
	footer.site-footer .site-footer__links .wp-block-navigation__container {
		align-items: flex-start !important;
	}
}
/* Header and footer corrections: one navigation row, left-aligned footer grid, footer links in navy and bold. */
header.masthead .wp-block-navigation,
header.masthead .wp-block-navigation__container {
	width: 100%;
}
footer.site-footer > * {
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
footer.site-footer .ps-funding,
footer.site-footer .ps-back-top {
	text-align: left;
}
footer.site-footer .site-footer__links {
	margin-left: auto;
}
/* Live spacing: the header and footer keep the 56px sheet padding; navigation at 14px so it fits one row. */
header.masthead {
	padding-bottom: 16px;
}
header.masthead .wp-block-navigation__container {
	max-width: none;
	width: 100%;
}
/* Hub pages: the H1 sits inside the hero text column (as on the live hub), so the template title is hidden. */
.ps-type-hub .wp-block-post-title {
	display: none;
}
.ps-type-hub .ps-hero-text .ps-eyebrow {
	margin-bottom: 12px;
}
/* Live parity (measured against the live hub pages at 1440 px): container width, no inner margins, left-aligned notes. */
.ps-type-hub main.wp-block-group,
.ps-type-hub .wp-block-post-content,
.ps-type-hub .wp-block-group.ps-hero-wrap,
.ps-type-hub .wp-block-group.ps-hero,
.ps-type-hub .wp-block-group.ps-section,
.ps-type-hub .wp-block-group.ps-intro,
.ps-type-hub nav.ps-crumbs {
	width: 100%;
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}
.ps-type-hub ul.ps-legend,
.ps-type-hub .ps-note,
.ps-type-hub .ps-funding {
	margin-left: 0 !important;
	margin-right: auto;
	max-width: 64ch !important;
}
header.masthead .wp-block-site-title a {
	color: var(--wp--preset--color--heading);
}
header.masthead .wp-block-site-title,
header.masthead .wp-block-navigation-item__content {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
footer.site-footer {
	color: var(--wp--preset--color--body);
}
/* Live parity, round 2: wordmark colour, header height, legend width, footer height. */
header.masthead .wp-block-site-title {
	color: var(--wp--preset--color--heading);
}
.ps-type-hub ul.ps-legend {
	max-width: none !important;
}
/* Live parity, phone widths: 16px side gutter (the live pages use 16px), smaller wordmark. */
@media (max-width: 767px) {
	.ps-type-hub .wp-site-blocks {
		padding-left: 16px;
		padding-right: 16px;
	}
	header.masthead .wp-block-site-title {
		font-size: 20px;
		align-self: center;
	}
}
/* Live parity, phone widths: the body padding was added on top of the 16px gutter. */
@media (max-width: 767px) {
	body.ps-type-hub,
	body.ps-type-legal,
	body.ps-type-contact {
		padding-left: 0;
		padding-right: 0;
	}
}
/* The How We Recommend line on hubs 66 and 82 lines up with the left column of the hero. */
.ps-type-hub .ps-intro .approved-note {
	margin-left: 0 !important;
	margin-right: auto;
	text-align: left;
}
/* Review posts (document shell, 720px sheet). The content carries its own breadcrumb and H1, so the template title is hidden. */
body.ps-type-review {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.ps-type-review main.wp-block-group {
	width: min(720px, 100% - 40px);
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.ps-type-review .wp-block-post-title {
	display: none;
}
@media (max-width: 767px) {
	body.ps-type-review {
		padding-left: 0;
		padding-right: 0;
	}
}
/* Document pages on phones: 16px gutter like the live pages (the 720px column rule added an extra 20px). */
@media (max-width: 767px) {
	.ps-type-review .wp-site-blocks,
	.ps-type-legal .wp-site-blocks,
	.ps-type-contact .wp-site-blocks {
		padding-left: 0;
		padding-right: 0;
	}
	.ps-type-review main.wp-block-group,
	.ps-type-legal main.wp-block-group,
	.ps-type-contact main.wp-block-group {
		width: 100% !important;
	}
}
/* Checklist pages (document shell, 760px sheet, as on the live pages). */
body.ps-type-checklist {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.ps-type-checklist main.wp-block-group {
	width: min(760px, 100% - 40px);
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 767px) {
	body.ps-type-checklist {
		padding-left: 0;
		padding-right: 0;
	}
	.ps-type-checklist .wp-site-blocks {
		padding-left: 0;
		padding-right: 0;
	}
	.ps-type-checklist main.wp-block-group {
		width: 100% !important;
	}
}
/* Checklists: one 16px inner padding for both the title and the text, as on the live sheet. */
.ps-type-checklist main.wp-block-group {
	padding-left: 16px;
	padding-right: 16px;
}
.ps-type-checklist .wp-block-group.sheet {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}
/* Buttons follow the design system on every block page, whatever else is loaded (old Elementor global colours, form plugin defaults).
   Primary: navy with white text. Secondary (checklist "Clear"): navy outline. */
.wp-site-blocks .ff-btn-submit,
.wp-site-blocks .fluentform button[type="submit"],
.wp-site-blocks .fluentform .ff-btn,
.wp-site-blocks input[type="submit"] {
	background: var(--wp--preset--color--heading) !important;
	background-color: var(--wp--preset--color--heading) !important;
	color: var(--wp--preset--color--surface) !important;
	border: 1px solid var(--wp--preset--color--heading) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--sans) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}
.wp-site-blocks .ff-btn-submit:hover,
.wp-site-blocks .fluentform button[type="submit"]:hover,
.wp-site-blocks input[type="submit"]:hover {
	background: var(--wp--custom--color--navy-deep) !important;
	background-color: var(--wp--custom--color--navy-deep) !important;
	border-color: var(--wp--custom--color--navy-deep) !important;
	color: var(--wp--preset--color--surface) !important;
}
/* Form fields and the submit button keep the site focus ring (the form plugin sets outline:none on focus). */
.wp-site-blocks .fluentform .ff-el-form-control:focus-visible,
.wp-site-blocks .fluentform button[type="submit"]:focus-visible {
	outline: 3px solid var(--accent-blue);
	outline-offset: 2px;
}
.wp-site-blocks .ps-checkbar__clear,
.wp-site-blocks button.ps-btn {
	background: transparent;
	background-color: transparent;
	color: var(--wp--preset--color--heading);
	border: 2px solid var(--wp--preset--color--heading);
	border-radius: 2px;
	box-shadow: none;
	font-family: var(--sans);
	font-weight: 600;
}
.wp-site-blocks .ps-checkbar__clear:hover,
.wp-site-blocks button.ps-btn:hover {
	background: rgba(11, 42, 91, .06) !important;
	color: var(--wp--preset--color--heading) !important;
}
/* Buying guides (document shell, 1040px sheet, as on the live pages). */
body.ps-buying-guide-page {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.ps-buying-guide-page main.wp-block-group {
	width: min(1040px, 100% - 40px);
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
.ps-buying-guide-page .wp-block-group.sheet {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}
@media (max-width: 767px) {
	body.ps-buying-guide-page,
	.ps-buying-guide-page .wp-site-blocks {
		padding-left: 0;
		padding-right: 0;
	}
	.ps-buying-guide-page main.wp-block-group {
		width: 100% !important;
	}
}
/* Guide articles: the article carries its own layout (.ps-guide) and its own H1, so the template wrappers stay out of the way. */
/* As on live (shared.css): 32px 16px 0 around the page, none on phones. */
body.ps-guide-page {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 32px 16px 0;
}
@media (max-width: 767px) {
	body.ps-guide-page {
		padding: 0 !important;
	}
}
.ps-guide-page .wp-site-blocks {
	padding-left: 0;
	padding-right: 0;
}
.ps-guide-page main.wp-block-group,
.ps-guide-page .wp-block-post-content {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}
.ps-guide-page .wp-block-post-content > * {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}
.ps-guide-page .wp-block-post-title {
	display: none;
}
/* Header and footer, all page types: measured against the live chrome (shared.css), which is the same on every live page.
   Desktop header 168px: wordmark 51px below the top edge, one navigation row. Footer 315px: no side padding inside 1040px. */
footer.site-footer {
	padding: 28px 0 40px !important;
}
footer.site-footer .ps-funding,
footer.site-footer .ps-back-top {
	margin: 0 0 12px !important;
}
/* Phones: 20px sides, a 52px square menu button on the left (live summary.site-menu__toggle), rule under the row only. */
@media (max-width: 767px) {
	header.masthead {
		position: relative;
		padding: 40px 20px 17px !important;
		border-bottom: 0;
		align-items: stretch !important;
	}
	header.masthead::after {
		content: "";
		position: absolute;
		left: 20px;
		right: 20px;
		bottom: 0;
		border-bottom: 1px solid var(--wp--preset--color--heading);
	}
	header.masthead .wp-block-navigation {
		justify-content: flex-start !important;
	}
	header.masthead .wp-block-navigation__responsive-container-open {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 52px;
		padding: 12px;
		border: 2px solid var(--wp--preset--color--heading);
		border-radius: 2px;
		color: var(--wp--preset--color--heading);
		background: transparent;
	}
	header.masthead .wp-block-navigation__responsive-container-open svg {
		display: none;
	}
	header.masthead .wp-block-navigation__responsive-container-open::before {
		content: "";
		width: 24px;
		height: 24px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18' fill='none' stroke='%230B2A5B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
	}
	footer.site-footer {
		padding: 28px 20px 40px !important;
	}
	footer.site-footer .site-footer__links {
		margin-left: 0 !important;
	}
}
/* Header and footer, per page type: live hub, legal and contact footers keep 56px sides; guide articles and the homepage have none.
   The shared document styles (base.css li margin, 1.65 line height) must not reach the header and footer. */
header.masthead .wp-block-site-title,
header.masthead .wp-block-site-title a,
footer.site-footer,
footer.site-footer p {
	line-height: 1.7;
}
footer.site-footer li {
	margin: 0;
}
@media (min-width: 768px) {
	footer.site-footer {
		padding-left: 56px !important;
		padding-right: 56px !important;
	}
	body.ps-guide-page footer.site-footer,
	body.ps-home-index1 footer.site-footer {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
/* Hub phones: the 16px gutter sits on the content, so the header and footer run full width as on live. */
@media (max-width: 767px) {
	body.ps-type-hub .wp-site-blocks {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.ps-type-hub main.wp-block-group {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}
header.masthead li {
	margin: 0;
}
/* Homepage (index_1 copy): the hub tokens set --gutter:16px on :root; the live homepage uses 48px (32px below 1100px).
   The template's block gap and title stay out of the way. */
body.ps-home-index1 {
	--gutter: 48px;
}
@media (max-width: 1099px) {
	body.ps-home-index1 {
		--gutter: 32px;
	}
}
body.ps-home-index1 main.wp-block-group > *,
body.ps-home-index1 .wp-block-post-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}
body.ps-home-index1 .wp-block-post-title {
	display: none;
}
/* Guides and product-reviews archives (live archive.css): the sheet carries its own spacing, so block gaps stay out of it. */
body.ps-archive-page .sheet > * {
	margin-block-start: 0;
}
body.ps-archive-page .sheet h1.wp-block-heading {
	margin-bottom: 20px;
}
/* Legal, contact and review pages: the block layout gave paragraphs and lists the 1040px content width;
   the live pages keep base.css's 36rem reading width, left-aligned in the sheet. */
body.ps-type-legal .is-layout-constrained > :is(p,
ul,
ol),
body.ps-type-contact .is-layout-constrained > :is(p,
ul,
ol),
body.ps-type-review .is-layout-constrained > :is(p,
ul,
ol) {
	max-width: 36rem !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}
/* Checklist pages: the "Keep going" link row is a paragraph now (it was a div); it keeps the div's full width and no margin. */
.ps-html > p.psi-11 {
	margin: 0;
	max-width: none;
}
/* Hubs: the hero buttons sit in a paragraph now; the paragraph steps aside so the buttons stay the flex items. */
.ps-actions > p {
	display: contents;
}
/* Hubs: tables made with the Table block keep the look of the hand-written ones (psi-22 to psi-25). */
.ps-cat .wp-block-table.ps-hub-table {
	margin: 0;
}
.ps-cat .wp-block-table.ps-hub-table table {
	width: 100%;
	background: var(--wp--preset--color--surface);
	border-collapse: separate;
	border-spacing: 0;
}
.ps-cat .wp-block-table.ps-hub-table thead {
	border-bottom: 0;
}
.ps-cat .wp-block-table.ps-hub-table thead tr {
	background: var(--wp--custom--color--cream);
}
.ps-cat .wp-block-table.ps-hub-table :is(th, td) {
	padding: 8px 10px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: 12px;
	line-height: 1.55;
	color: var(--wp--preset--color--body);
	text-align: left;
	vertical-align: top;
}
.ps-cat .wp-block-table.ps-hub-table thead th {
	padding: 9px 10px;
	line-height: inherit;
	font-weight: 700;
	color: var(--wp--custom--color--navy-mid);
}
.ps-cat .wp-block-table.ps-hub-table thead th:first-child {
	width: 28%;
}
.ps-cat .wp-block-table.ps-hub-table tbody th {
	font-weight: 700;
	color: var(--wp--custom--color--navy-mid);
}
.wp-block-table.caption-hidden figcaption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	margin: 0;
}
/* How We Recommend (method, 720px sheet) and First 30 Days (route, 880px sheet): the document shell, as on the live pages. */
body.ps-type-method,
body.ps-type-route {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.ps-type-method main.wp-block-group {
	width: min(720px, 100% - 40px);
	max-width: 720px;
}
.ps-type-route main.wp-block-group {
	width: min(880px, 100% - 40px);
	max-width: 880px;
}
.ps-type-method main.wp-block-group,
.ps-type-route main.wp-block-group {
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
.ps-type-method .wp-block-group.sheet,
.ps-type-route .wp-block-group.sheet {
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}
body.ps-type-checklist .is-layout-constrained > :is(p,
ul,
ol),
body.ps-type-method .is-layout-constrained > :is(p,
ul,
ol),
body.ps-type-route .is-layout-constrained > :is(p,
ul,
ol) {
	max-width: 36rem !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}
@media (max-width: 767px) {
	body.ps-type-method,
	body.ps-type-route,
	.ps-type-method .wp-site-blocks,
	.ps-type-route .wp-site-blocks {
		padding-left: 0;
		padding-right: 0;
	}
	.ps-type-method main.wp-block-group,
	.ps-type-route main.wp-block-group {
		width: 100% !important;
	}
}
/* Live renders the document pages' "On this page" heading in Lora (its --sans variable is unset there), so the block pages do too. */
:is(.ps-type-legal,
.ps-type-contact,
.ps-type-checklist,
.ps-type-method,
.ps-type-route) .toc h2 {
	font-family: var(--serif);
}
/* Header and footer menus: the look comes from the Navigation block (theme.json styles.blocks.core/navigation, or
   what is set in Site Editor for the block or under Styles > Blocks > Navigation) and the links inherit it. The
   footer menu's bold is a setting on its block (parts/footer.html). */
header.masthead .wp-block-navigation-item__content,
footer.site-footer .wp-block-navigation-item__content {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}
/* The header menu is not a content list: hub pages indent lists (.ps-type-hub ul), the header must not follow. */
header.masthead .wp-block-navigation__container {
	padding-left: 0;
}
/* Document-shell pages: on live the sheet's 32px top padding sits above the title; the block template prints the title
   outside the sheet, so the padding moves from the sheet to main. (Review posts carry their own title in the content.) */
:is(.ps-type-legal,
.ps-type-contact,
.ps-type-checklist,
.ps-type-method,
.ps-type-route) main.wp-block-group {
	padding-top: 32px;
}
:is(.ps-type-legal,
.ps-type-contact,
.ps-type-checklist,
.ps-type-method,
.ps-type-route) .wp-block-group.sheet {
	padding-top: 0;
}
/* Legal and contact: the title is inset 16px like the text, as on live (the side padding moves from the sheet to main). */
:is(.ps-type-legal,
.ps-type-contact) main.wp-block-group {
	padding-left: 16px;
	padding-right: 16px;
}
:is(.ps-type-legal,
.ps-type-contact) .wp-block-group.sheet {
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}
/* Contact: the first heading sits 48px below the title, as on live (the title's 12px bottom margin does not collapse here). */
.ps-type-contact .wp-block-group.sheet > h2:first-child {
	margin-top: 36px;
}
/* 404 and search pages (archive sheet): search box, result count and page links. */
body.ps-archive-page .ps-search {
	max-width: 34em;
	margin: 0 0 40px;
}
body.ps-archive-page .ps-search .wp-block-search__label {
	display: block;
	font-size: var(--wp--preset--font-size--body-s);
	font-weight: 600;
	color: var(--slate);
	margin-bottom: 8px;
}
body.ps-archive-page .ps-search .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}
body.ps-archive-page .ps-search .wp-block-search__input {
	flex: 1;
	min-height: 48px;
	padding: 0 14px;
	font: var(--wp--preset--font-size--body)/1.4 var(--sans);
	color: var(--text-dark);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--rule-strong);
	border-radius: 0;
}
body.ps-archive-page .ps-search .wp-block-search__input:focus-visible {
	outline: 2px solid var(--accent-blue);
	outline-offset: 2px;
}
body.ps-archive-page .ps-search .wp-block-search__button {
	min-height: 48px;
	margin: 0;
	padding: 0 22px;
	font: 600 var(--wp--preset--font-size--body)/1 var(--sans);
	color: var(--wp--preset--color--surface);
	background: var(--ink);
	border: 1px solid var(--ink);
	border-radius: 0;
	cursor: pointer;
}
body.ps-archive-page .ps-search .wp-block-search__button:hover {
	background: var(--ink-deep);
	border-color: var(--ink-deep);
}
body.ps-archive-page .search-count {
	font-size: 15px;
	color: var(--slate);
	margin: 0 0 24px;
}
body.ps-archive-page .search-pages ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
}
body.ps-archive-page .search-pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--border-cool);
	text-decoration: none;
}
body.ps-archive-page .search-pages .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--wp--preset--color--surface);
}

/* Product reviews in blocks: the old inline styles, now classes (same values). */
body.ps-type-review p.updated-line {
	margin-top: 6px;
}
body.ps-type-review p.ask-vet {
	background: var(--wp--custom--color--sky-tint);
	border-left: 3px solid var(--wp--preset--color--heading);
	padding: 12px 14px;
	border-radius: 0 6px 6px 0;
}
body.ps-type-review p.table-intro {
	color: var(--wp--preset--color--body);
	font-size: 13px;
}
body.ps-type-review p.fine-print {
	margin: 8px 0 0;
	font-size: 11.5px;
	color: var(--wp--preset--color--body);
}
body.ps-type-review p.center {
	text-align: center;
}
body.ps-type-review a.plain {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
	font-weight: 600;
}
body.ps-type-review span.sep {
	color: var(--wp--preset--color--body);
	padding: 0 8px;
}
body.ps-type-review span.current {
	color: var(--wp--preset--color--body);
}
body.ps-type-review span.sep-light {
	color: var(--wp--preset--color--border);
	padding: 0 8px;
}
body.ps-type-review strong.navy {
	color: var(--wp--preset--color--heading);
}
/* The second contents list was loose links between blocks; in a paragraph it keeps their spacing. */
body.ps-type-review p.jump {
	margin: 0;
	max-width: none !important;
}

/* Document-shell pages: on live the footer sits 48px below the sheet (hubs already have it; guides and the homepage have none). */
body:is(.ps-type-review, .ps-type-legal, .ps-type-contact, .ps-type-checklist, .ps-type-method, .ps-type-route, .ps-buying-guide-page) footer.site-footer {
	margin-top: 48px !important;
}

/* Designed pages (template "Designed page"): the content area sets its own width (.sx-wrap, 1180px with a 16px gutter),
   so the page frame is not limited to 1040px; the header and footer keep their own width, as on the document pages. */
body.ps-sx {
	max-width: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Hubs: the content starts 48px below the header, as on live (.ps-main padding-top). */
.ps-type-hub main.wp-block-group {
	padding-top: 48px !important;
}


/* Hubs: the breadcrumb sits 24px above the opening section, as on live (the gap of the live .ps-wrap grid). */
.ps-type-hub .ps-crumbs {
	margin-bottom: 24px;
}

/* Product reviews archive on phones: the live header keeps a 24px bottom margin on this page only. */
@media (max-width: 767px) {
	body.category-product-reviews header.wp-block-template-part {
		margin-bottom: 24px;
	}
}

/* Hubs, as on live: the last section's bottom margin does not add to the page (on live it collapses with the space above the footer). */
.ps-type-hub .wp-block-post-content > :last-child {
	margin-bottom: 0;
}

/* Breadcrumb (site-core psc/breadcrumb, owner decisions of 2026-11-02): one small, quiet trail, the same on every page.
   Links in the site's blue (navy-mid: the focus blue is below 4.5:1 on the page colour), the current page grey, not a link. */
.ps-breadcrumb {
	margin: 0 0 16px;
	font: 400 var(--wp--preset--font-size--body-s)/1.5 var(--wp--preset--font-family--sans);
	color: var(--wp--custom--color--slate-2);
}
/* Inline items, so a long title wraps as text on phones instead of moving to a line of its own. */
.ps-breadcrumb ol {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ps-breadcrumb li {
	display: inline;
	margin: 0;
}
.ps-breadcrumb li + li::before {
	content: "\203A";
	margin: 0 8px;
}
.ps-breadcrumb a {
	padding: 3px 0;
	color: var(--wp--custom--color--navy-mid);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ps-breadcrumb [aria-current="page"] {
	color: var(--wp--custom--color--slate-2);
}

/* "Keep going" links (site-core psc/keep-going, owner request of 2026-11-02): white chips with a thin sand border and an
   arrow, the checklist style, on every page that has them. */
.wp-site-blocks ul.ps-keepgoing {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	list-style: none;
}
.wp-site-blocks ul.ps-keepgoing li {
	margin: 0;
	padding: 0;
}
.wp-site-blocks ul.ps-keepgoing a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 7px 13px;
	border: 1px solid var(--wp--custom--color--sand);
	border-radius: 6px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--heading);
	font: 600 13px/1.4 var(--wp--preset--font-family--sans);
	text-decoration: none;
}
.wp-site-blocks ul.ps-keepgoing a::after {
	content: "\2192";
}
.wp-site-blocks ul.ps-keepgoing a:hover {
	border-color: var(--wp--preset--color--ochre);
}
/* Reviews: the content sheet carries the top spacing, so the breadcrumb takes it and the sheet starts below it. */
.ps-type-review main > .ps-breadcrumb {
	padding: 32px 16px 0;
}
.ps-type-review main > .ps-breadcrumb ~ .wp-block-post-content > .sheet:first-child {
	padding-top: 0;
}
/* Guides: centred, as the title and standfirst of the opener. */
.ps-guide .opener .ps-breadcrumb {
	text-align: center;
}
/* Buying guides: space under the header rule, as on the other document pages. */
.ps-buying-guide-page main > .ps-breadcrumb {
	margin-top: 24px;
}
/* Designed pages: the links end the page, so they keep space above the footer. */
.sx-main ul.ps-keepgoing {
	margin-bottom: 48px;
}

/* Checklist pages, redesign of 2026-11-03 (site-core check-item, check-count, warning-signs; ps-design/checklist.js). */
.ps-type-checklist .ps-callout {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--heading);
	background: var(--wp--preset--color--surface);
}
.ps-type-checklist .ps-callout > :first-child {
	margin-top: 0;
}
.ps-type-checklist .ps-callout > :last-child {
	margin-bottom: 0;
}
.ps-checkbar__meta {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--preset--color--body);
}
.ps-checkbar__bar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px 16px;
	align-items: center;
	margin: 0 0 8px;
	padding: 12px 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--page);
}
.ps-checkbar__bar p {
	margin: 0;
}
.ps-checkbar__progress {
	font-weight: 600;
	color: var(--wp--preset--color--heading);
}
.ps-checkbar__actions {
	display: flex;
	gap: 8px;
}
.wp-site-blocks .ps-checkbar__actions button {
	min-height: 44px;
	padding: 8px 14px;
	font: 600 14px/1.2 var(--wp--preset--font-family--sans);
	border: 2px solid var(--wp--preset--color--heading);
	border-radius: 2px;
	cursor: pointer;
}
.wp-site-blocks .ps-checkbar__print {
	background: var(--wp--preset--color--heading);
	color: var(--wp--preset--color--surface);
}
.ps-checkbar__meter {
	grid-column: 1 / -1;
	height: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--wp--preset--color--border);
}
.ps-checkbar__meter span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--wp--preset--color--heading);
	transition: width .25s ease;
}
.ps-checkbar__saved {
	grid-column: 1 / -1;
	font-size: 13px;
	color: var(--wp--preset--color--body);
}
.ps-ck {
	border-top: 1px solid var(--wp--preset--color--border);
}
.ps-ck label.check {
	border-top: 0;
}
.ps-ck__body {
	display: block;
}
.ps-ck__name {
	color: var(--wp--preset--color--text);
}
.ps-ck__note {
	display: block;
	margin-top: 4px;
	color: var(--wp--preset--color--body);
	font-size: 15px;
}
.ps-ck__kind,
.ps-ck .pf-when {
	display: inline-block;
	padding: 1px 6px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font: 700 11px/1.6 var(--wp--preset--font-family--sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: 2px;
}
.ps-ck__kind {
	min-width: 3.4em;
	margin-right: 4px;
	text-align: center;
}
.ps-ck .pf-when {
	margin-left: 6px;
	color: var(--wp--custom--color--slate-2);
}
.ps-ck--do .ps-ck__kind {
	color: var(--wp--preset--color--heading);
}
.ps-ck--ask .ps-ck__kind {
	color: var(--wp--preset--color--ochre-text);
}
.ps-ck--book .ps-ck__kind {
	color: var(--wp--custom--color--green);
}
.ps-ck__date {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -4px 0 12px 40px;
	font-size: 14px;
	color: var(--wp--preset--color--body);
}
.ps-ck__date input {
	min-height: 40px;
	padding: 6px 8px;
	border: 1px solid #C9D2DC;
	border-radius: 2px;
	background: var(--wp--preset--color--surface);
	font: inherit;
	color: var(--wp--preset--color--text);
}
.ps-ck.is-done .ps-ck__name {
	color: var(--wp--preset--color--body);
	text-decoration: line-through;
	text-decoration-color: var(--wp--preset--color--sage);
}
.ps-warn {
	margin: 40px 0 0;
	padding: 18px 20px;
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--ochre-text);
	background: var(--wp--preset--color--surface);
}
.wp-site-blocks .ps-warn h2 {
	margin: 0 0 4px;
	color: var(--wp--preset--color--ochre-text);
}
.ps-warn p,
.ps-warn li {
	color: var(--wp--preset--color--body);
}
.ps-warn li strong {
	color: var(--wp--preset--color--text);
}
@media (max-width: 600px) {
	.ps-checkbar__bar {
		grid-template-columns: 1fr;
	}
	.ps-checkbar__actions button {
		flex: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ps-checkbar__meter span {
		transition: none;
	}
}
/* Print: the lists on one A4 sheet where they fit, two columns, empty boxes and lines for the dates. */
@media print {
	@page {
		size: A4;
		margin: 8mm;
	}
	body.ps-type-checklist {
		background: #fff;
		font-size: 9pt;
		line-height: 1.3;
	}
	.ps-type-checklist :is(header.wp-block-template-part, footer.wp-block-template-part, .ps-breadcrumb, .wp-block-psc-page-toc, .ps-callout,
		.ps-checkbar__actions, .ps-checkbar__saved, .ps-checkbar__meter, .wp-block-psc-keep-going, .skip-link) {
		display: none !important;
	}
	/* Only the lists print: headings followed by text (cost, shopping notes) and that text are left out. */
	.ps-type-checklist .sheet > p:not(:first-child),
	.ps-type-checklist .sheet > :is(h2, h3):is(:has(+ p), :has(+ .wp-block-psc-keep-going)) {
		display: none;
	}
	.ps-type-checklist .sheet {
		padding: 0 !important;
		columns: 2;
		column-gap: 8mm;
	}
	/* Print only: the screen heading rules are more specific, so these win with !important. */
	html body.ps-type-checklist .sheet :is(h2, h3) {
		font-size: 10.5pt !important;
		margin: 5pt 0 1pt !important;
		break-after: avoid;
	}
	.ps-checkbar__meta {
		margin: 0 0 2pt;
		font-size: 8pt;
	}
	.ps-type-checklist h1 {
		font-size: 16pt;
		margin: 0 0 2pt;
	}
	.ps-checkbar,
	.ps-type-checklist .sheet > p:first-child {
		column-span: all;
	}
	.ps-checkbar__bar {
		position: static;
		border: 0;
		padding: 0;
		margin: 0 0 4pt;
	}
	.ps-ck {
		break-inside: avoid;
	}
	.ps-ck label.check {
		min-height: 0;
		padding: 1.5pt 0;
		gap: 6px;
	}
	.ps-ck label.check input {
		width: 11px;
		height: 11px;
		flex-basis: 11px;
	}
	.ps-ck__note {
		font-size: 7.5pt;
		line-height: 1.2;
		margin-top: 0;
	}
	.ps-ck__kind,
	.ps-ck .pf-when {
		font-size: 6.5pt;
		padding: 0 3px;
	}
	.ps-ck__date {
		margin: 0 0 1pt 17px;
		font-size: 7.5pt;
	}
	.ps-ck__date input {
		min-height: 0;
		width: 30mm;
		padding: 0;
		border: 0;
		border-bottom: 1px solid #999;
		border-radius: 0;
		font-size: 8.5pt;
	}
	.ps-ck__date input.is-empty {
		color: transparent;
	}
	.ps-ck__date input.is-empty::-webkit-calendar-picker-indicator {
		display: none;
	}
	.ps-warn {
		column-span: all;
		break-inside: avoid;
		margin-top: 6pt;
		padding: 4pt 8pt;
	}
	.ps-warn ul {
		columns: 2;
		column-gap: 8mm;
		margin: 0;
	}
	.ps-warn p {
		display: none;
	}
	.ps-warn li {
		margin: 1pt 0;
		font-size: 8.5pt;
	}
}
