/* ==========================================================================
   Pantry Organization — main stylesheet
   Design system: tokens, typography, components, layouts, utilities.
   No external dependencies. No remote fonts. No image files. Mobile-first.

   Look: a tidy pantry. Warm-white page, white cards, cream panels, deep
   teal for everything interactive, terracotta for the main call to action
   and a little pale oak, mustard and sage. Three recurring motifs, all
   plain CSS:
     1. Shelf line — headings and card groups rest on a pale-oak board with
        two small bracket marks under it; cards and panels stand on a thin
        oak bottom edge.
     2. Label      — category chips, callout titles and panel titles are
        small rounded rectangles, like the label on a storage bin.
     3. Jar        — step numbers and list markers are drawn as small jars.

   Contrast reference (WCAG 2.1, calculated from relative luminance):
     charcoal   #2b3336 on warm white #fbf9f4 / cream #f1ece1 .. 12.2 / 10.9:1
     ink-soft   #465155 on warm white / cream / white .......... 7.7 / 6.9 / 8.1:1
     ink-muted  #5a666a on warm white / cream / white .......... 5.7 / 5.1 / 6.0:1
     teal       #1f4e5a on warm white / cream / white .......... 8.7 / 7.8 / 9.1:1
     hover teal #2f6b78 on warm white / white .................. 5.7 / 6.0:1
     white      #ffffff on teal #1f4e5a / hover teal #2f6b78 ... 9.1 / 6.0:1
     white      #ffffff on button terracotta #b4532f / #96421f . 5.0 / 6.7:1
     terracotta text #a04623 on warm white / cream ............. 5.9 / 5.2:1
     footer text #d7e3e5 on dark teal #163a43 .................. 9.4:1
     mustard    #e2a93b on dark teal #163a43 (footer) .......... 5.8:1
     form border #6b7578 on white (non-text) ................... 4.7:1
   Terracotta #d2714a, pale oak #dcc19a, oak shade #a98548, sage #9db8a0
   and mustard #e2a93b (on pale surfaces) are decoration only — borders,
   markers, shelf lines — and never carry text. Buttons use the darker
   terracotta #b4532f so white text passes AA.
   Focus ring: 3px charcoal on pale surfaces, 3px mustard on the dark
   teal footer, always with a 2px offset.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Colour — raw palette */
	--pto-teal: #1f4e5a;
	--pto-teal-deep: #163a43;
	--pto-teal-mid: #2f6b78;
	--pto-teal-soft: #e4eef0;
	--pto-teal-line: #bdd3d8;
	--pto-charcoal: #2b3336;
	--pto-paper: #fbf9f4;
	--pto-paper-deep: #f1ece1;
	--pto-white: #ffffff;
	--pto-linen: #f1ece1;
	--pto-linen-deep: #e3d9c6;
	--pto-linen-soft: #f7f3ea;
	--pto-terracotta: #d2714a;
	--pto-terracotta-deep: #a04623;
	--pto-terracotta-soft: #fbeee7;
	--pto-oak: #dcc19a;
	--pto-oak-shade: #a98548;
	--pto-sage: #9db8a0;
	--pto-sage-soft: #eef4ef;
	--pto-mustard: #e2a93b;
	--pto-mustard-soft: #fbf0d4;

	/* Colour — roles */
	--pto-bg: var(--pto-paper);
	--pto-bg-deep: var(--pto-paper-deep);
	--pto-surface: var(--pto-white);
	--pto-ink: var(--pto-charcoal);
	--pto-ink-soft: #465155;
	--pto-ink-muted: #5a666a;
	--pto-line: #e2dccd;
	--pto-line-strong: #6b7578;
	--pto-accent: var(--pto-teal);
	--pto-accent-hover: var(--pto-teal-mid);
	--pto-accent-soft: var(--pto-teal-soft);
	--pto-cta: #b4532f;
	--pto-cta-hover: #96421f;
	--pto-focus: var(--pto-charcoal);

	/* Motif — shelf line: a pale-oak board with two bracket marks under it.
	   Used as a background on anything that needs bottom padding of 1.25rem
	   or more. */
	--pto-shelf:
		linear-gradient(var(--pto-oak-shade), var(--pto-oak-shade)) left 1.25rem bottom 0 / 5px 7px no-repeat,
		linear-gradient(var(--pto-oak-shade), var(--pto-oak-shade)) right 1.25rem bottom 0 / 5px 7px no-repeat,
		linear-gradient(var(--pto-oak), var(--pto-oak)) left bottom 7px / 100% 3px no-repeat;

	/* Motif — jar: a storage jar with a narrower lid, as a clip-path. */
	--pto-jar: polygon(24% 0, 76% 0, 76% 14%, 100% 26%, 100% 100%, 0 100%, 0 26%, 24% 14%);

	/* Typography: device font stacks, nothing to download. Headings use a
	   serif stack; body and interface text use a sans stack. */
	--pto-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--pto-font-head: "Iowan Old Style", "Sitka Heading", "Sitka Text", Charter, "Bitstream Charter", Cambria, Georgia, "Times New Roman", serif;
	--pto-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--pto-text-xs: 0.8125rem;
	--pto-text-sm: 0.875rem;
	--pto-text-base: 1rem;
	--pto-text-md: 1.0625rem;
	--pto-text-lg: 1.1875rem;
	--pto-text-xl: 1.4375rem;
	--pto-text-2xl: 1.75rem;
	--pto-text-3xl: 2.125rem;
	--pto-text-4xl: 2.75rem;

	--pto-leading-tight: 1.16;
	--pto-leading-snug: 1.35;
	--pto-leading-normal: 1.65;
	--pto-leading-relaxed: 1.75;

	/* Spacing — 4px scale */
	--pto-s1: 0.25rem;
	--pto-s2: 0.5rem;
	--pto-s3: 0.75rem;
	--pto-s4: 1rem;
	--pto-s5: 1.5rem;
	--pto-s6: 2rem;
	--pto-s7: 2.5rem;
	--pto-s8: 3rem;
	--pto-s9: 4rem;
	--pto-s10: 5rem;

	/* Shape: flat surfaces and tidy rounded rectangles, like bins and
	   labels. Buttons and the search field are rounded rectangles too. */
	--pto-radius-sm: 4px;
	--pto-radius: 6px;
	--pto-radius-lg: 10px;
	--pto-radius-card: 10px;
	--pto-radius-pill: 8px;
	--pto-shadow: 0 10px 24px rgba(43, 51, 54, 0.1);

	/* Layout */
	--pto-container: 1180px;
	--pto-container-narrow: 780px;
	--pto-measure: 68ch;
	--pto-gutter: var(--pto-s4);
	--pto-header-row: 4.5rem;
	--pto-sticky-offset: 5.25rem;

	color-scheme: light;
}

@media (min-width: 48em) {
	:root {
		--pto-gutter: var(--pto-s6);
	}
}

@media (min-width: 62em) {
	:root {
		--pto-sticky-offset: 4.25rem;
	}
}

/* --------------------------------------------------------------------------
   2. Base reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Room for the sticky header when jumping to a heading. */
	scroll-padding-top: calc(var(--pto-sticky-offset) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: var(--pto-bg);
	color: var(--pto-ink);
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-md);
	line-height: var(--pto-leading-normal);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	height: 10px;
	margin: var(--pto-s7) 0;
	background: var(--pto-shelf);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--pto-font-head);
	color: var(--pto-ink);
	line-height: var(--pto-leading-tight);
	margin: 0 0 var(--pto-s4);
	font-weight: 700;
	letter-spacing: -0.012em;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(2rem, 1.4rem + 2.6vw, var(--pto-text-4xl));
}

h2 {
	font-size: clamp(1.5625rem, 1.25rem + 1.4vw, var(--pto-text-3xl));
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.8vw, var(--pto-text-xl));
}

h4 {
	font-size: var(--pto-text-lg);
}

h5,
h6 {
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pto-ink-soft);
}

p {
	margin: 0 0 var(--pto-s4);
}

a {
	color: var(--pto-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: var(--pto-accent-hover);
	text-decoration-thickness: 2px;
}

strong,
b {
	font-weight: 700;
}

small {
	font-size: var(--pto-text-sm);
}

mark {
	background: #fbe7ae;
	color: var(--pto-ink);
	padding: 0 0.15em;
}

code,
kbd,
samp {
	font-family: var(--pto-font-mono);
	font-size: 0.9em;
	background: var(--pto-bg-deep);
	border: 1px solid var(--pto-line);
	border-radius: var(--pto-radius-sm);
	padding: 0.1em 0.35em;
}

pre {
	font-family: var(--pto-font-mono);
	font-size: var(--pto-text-sm);
	background: var(--pto-bg-deep);
	border: 1px solid var(--pto-line);
	border-radius: var(--pto-radius);
	padding: var(--pto-s4);
	overflow-x: auto;
	line-height: 1.5;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
}

/* A quote sits in a cream panel with an oak edge on the left. */
blockquote {
	margin: var(--pto-s6) 0;
	padding: var(--pto-s5);
	background: var(--pto-linen-soft);
	border: 1px solid var(--pto-linen-deep);
	border-left: 5px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-lg);
	color: var(--pto-ink);
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: var(--pto-s2);
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-sm);
	font-style: normal;
	color: var(--pto-ink-soft);
}

/* --------------------------------------------------------------------------
   4. Accessibility
   -------------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--pto-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* On the dark teal footer the ring switches to mustard. */
.pto-site-footer :focus-visible {
	outline-color: var(--pto-mustard);
}

/* The main landmark only receives focus from the skip link. */
.pto-site-main:focus {
	outline: 0;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--pto-ink);
	border-radius: var(--pto-radius-pill);
	box-shadow: var(--pto-shadow);
	clip-path: none;
	color: var(--pto-surface);
	display: block;
	font-size: var(--pto-text-base);
	font-weight: 700;
	height: auto;
	left: var(--pto-s4);
	line-height: normal;
	outline: 3px solid var(--pto-mustard);
	outline-offset: 2px;
	padding: var(--pto-s3) var(--pto-s5);
	text-decoration: none;
	top: var(--pto-s4);
	width: auto;
	z-index: 100000;
}

.pto-skip-link:focus {
	position: fixed;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.pto-container {
	width: 100%;
	max-width: var(--pto-container);
	margin-inline: auto;
	padding-inline: var(--pto-gutter);
}

.pto-container--narrow {
	max-width: var(--pto-container-narrow);
}

.pto-site-main {
	flex: 1 0 auto;
	padding-block: var(--pto-s7) var(--pto-s9);
}

/* Used on the homepage, where the hero sits flush against the header. */
.pto-site-main--flush {
	padding-top: 0;
}

/* minmax(0, 1fr) lets the column shrink below the intrinsic width of wide
   children (tables, long words) so they scroll inside it instead of pushing
   the page sideways. */
.pto-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s7);
}

.pto-layout > * {
	min-width: 0;
}

@media (min-width: 62em) {
	.pto-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: var(--pto-s8);
		align-items: start;
	}
}

.pto-stack > * + * {
	margin-top: var(--pto-s4);
}

.pto-section {
	margin-block: var(--pto-s9);
}

.pto-section:first-child {
	margin-top: var(--pto-s8);
}

/* Section heading: title, "View all" link and description rest on a shelf. */
.pto-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--pto-s2) var(--pto-s4);
	margin-bottom: var(--pto-s6);
	padding-bottom: calc(var(--pto-s4) + 10px);
	background: var(--pto-shelf);
}

/* A short terracotta tab stands in front of every section title, like the
   label holder on the front of a shelf. */
.pto-section__title {
	position: relative;
	margin: 0;
	padding-left: 1rem;
	font-size: var(--pto-text-2xl);
}

.pto-section__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.14em;
	bottom: 0.14em;
	width: 6px;
	border-radius: 3px;
	background: var(--pto-terracotta);
}

/* Always on its own line under the title and the "View all" link. */
.pto-section__description {
	flex: 0 0 100%;
	order: 3;
	margin: 0;
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-base);
	max-width: 62ch;
}

.pto-section__link {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 0.2rem 0.85rem;
	background: var(--pto-surface);
	border: 1px solid var(--pto-teal-line);
	border-radius: var(--pto-radius-pill);
	font-size: var(--pto-text-sm);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.pto-section__link:hover,
.pto-section__link:focus {
	background: var(--pto-accent);
	border-color: var(--pto-accent);
	color: var(--pto-surface);
}

.pto-section__link::after {
	content: "\2192";
	margin-left: 0.4em;
}

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */

/* A white header that stays in view, under a thin teal top edge. On wide
   screens the brand row scrolls away and only the cream navigation band
   stays pinned (negative top). */
.pto-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--pto-surface);
	border-top: 4px solid var(--pto-teal);
	border-bottom: 1px solid var(--pto-oak);
}

.pto-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pto-s4);
	min-height: var(--pto-header-row);
	min-width: 0;
}

.pto-branding {
	display: flex;
	align-items: center;
	gap: var(--pto-s3);
	min-width: 0;
}

.pto-branding__mark {
	flex: 0 0 auto;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--pto-teal);
}

.pto-branding__text {
	min-width: 0;
}

.pto-branding__title {
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-xl);
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.015em;
}

.pto-branding__title a {
	color: var(--pto-ink);
	text-decoration: none;
}

.pto-branding__title a:hover {
	color: var(--pto-accent);
}

.pto-branding__tagline {
	margin: 0.2rem 0 0;
	font-size: var(--pto-text-xs);
	color: var(--pto-ink-muted);
	line-height: 1.3;
}

/* On the narrowest phones the tagline would wrap under the menu button. */
@media (max-width: 29.99em) {
	.pto-branding__tagline {
		display: none;
	}

	.pto-branding__title {
		font-size: var(--pto-text-lg);
	}
}

.custom-logo-link img {
	max-height: 3rem;
	width: auto;
}

/* Mobile menu button */
.pto-menu-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: var(--pto-s2);
	background: var(--pto-bg);
	border: 1.5px solid var(--pto-line-strong);
	border-radius: var(--pto-radius-pill);
	box-shadow: none;
	color: var(--pto-ink);
	cursor: pointer;
	font: inherit;
	font-size: var(--pto-text-sm);
	font-weight: 700;
	min-height: 2.75rem;
	padding: var(--pto-s2) var(--pto-s4);
}

.pto-menu-toggle:hover {
	background: var(--pto-linen);
	border-color: var(--pto-teal);
	color: var(--pto-ink);
}

.pto-menu-toggle__bars {
	display: block;
	position: relative;
	width: 1.125rem;
	height: 2px;
	background: currentColor;
}

.pto-menu-toggle__bars::before,
.pto-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.pto-menu-toggle__bars::before {
	top: -6px;
}

.pto-menu-toggle__bars::after {
	top: 6px;
}

.pto-header__panel {
	display: none;
	padding-bottom: var(--pto-s5);
}

/* The open panel scrolls inside the pinned header on short screens. */
.pto-header__panel.is-open {
	display: block;
	max-height: calc(100vh - var(--pto-header-row) - 1rem);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.pto-nav__list,
.pto-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-nav__list li {
	position: relative;
}

.pto-nav__list a {
	display: block;
	padding: var(--pto-s3) var(--pto-s2);
	border-bottom: 1px solid var(--pto-line);
	color: var(--pto-ink);
	font-size: var(--pto-text-base);
	font-weight: 600;
	text-decoration: none;
}

.pto-nav__list a:hover {
	color: var(--pto-accent);
}

.pto-nav__list .sub-menu a {
	padding-left: var(--pto-s5);
	font-weight: 500;
}

.pto-nav .current-menu-item > a,
.pto-nav .current-menu-ancestor > a,
.pto-nav .current_page_item > a {
	color: var(--pto-accent);
	box-shadow: inset 3px 0 0 var(--pto-terracotta);
}

.pto-header__search {
	margin-top: var(--pto-s4);
}

/* Shown only to users who can edit menus, when no menu is assigned to the
   primary location. Visitors never see this block. */
.pto-nav--empty {
	margin: 0;
	padding: var(--pto-s3) 0;
	font-size: var(--pto-text-sm);
}

@media (min-width: 62em) {
	.pto-menu-toggle {
		display: none;
	}

	/* Brand row scrolls away; the navigation band stays pinned. */
	.pto-site-header {
		top: calc(-1 * var(--pto-header-row));
	}

	/* Two rows: brand and search on the first, the full menu on the second.
	   If a longer menu is assigned, the list wraps instead of overflowing. */
	.pto-site-header .pto-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: var(--pto-s5);
	}

	.pto-header__inner {
		flex: 1 1 0;
		height: var(--pto-header-row);
	}

	/* The panel wrapper dissolves so that its two children (menu and search)
	   can be placed independently in the header's flex layout. */
	.pto-header__panel,
	.pto-header__panel.is-open {
		display: contents;
	}

	.pto-header__search {
		order: 2;
		flex: 0 1 16rem;
		min-width: 11rem;
		margin-top: 0;
	}

	/* The cream band: painted edge to edge with an outset border-image, which
	   adds no scrollable overflow; the menu itself stays in the container. */
	.pto-nav {
		order: 3;
		flex: 1 0 100%;
		min-width: 0;
		padding-block: 0.4rem;
		background: var(--pto-bg-deep);
		border-image: linear-gradient(var(--pto-bg-deep), var(--pto-bg-deep)) fill 0 / 0 / 0 100vmax;
	}

	.pto-nav__list {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--pto-s1);
		margin-inline: calc(-1 * var(--pto-s3));
	}

	/* Label-shaped items. */
	.pto-nav__list a {
		border-bottom: 0;
		border-radius: var(--pto-radius-pill);
		padding: 0.4rem var(--pto-s3);
		font-size: var(--pto-text-sm);
		white-space: nowrap;
	}

	.pto-nav__list a:hover {
		background: var(--pto-surface);
		color: var(--pto-accent);
	}

	.pto-nav .current-menu-item > a,
	.pto-nav .current-menu-ancestor > a,
	.pto-nav .current_page_item > a {
		background: var(--pto-accent);
		color: var(--pto-surface);
		box-shadow: none;
	}

	/* Submenus (one level) */
	.pto-nav__list .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 13rem;
		background: var(--pto-surface);
		border: 1px solid var(--pto-line);
		border-bottom: 3px solid var(--pto-oak);
		border-radius: var(--pto-radius);
		box-shadow: var(--pto-shadow);
		padding: var(--pto-s2);
		z-index: 60;
	}

	.pto-nav__list li:hover > .sub-menu,
	.pto-nav__list li:focus-within > .sub-menu {
		display: block;
	}

	.pto-nav__list .sub-menu a {
		padding-left: var(--pto-s3);
		white-space: normal;
		border-radius: var(--pto-radius);
		background: none;
		color: var(--pto-ink);
	}

	.pto-nav__list .sub-menu a:hover {
		background: var(--pto-bg);
		color: var(--pto-accent);
	}
}

@media (min-width: 75em) {
	.pto-nav__list a {
		font-size: 0.9375rem;
		padding-inline: var(--pto-s4);
	}

	.pto-nav__list {
		margin-inline: calc(-1 * var(--pto-s4));
	}
}

/* Logged-in view: keep the pinned header below the WordPress toolbar. */
@media (min-width: 37.5625em) {
	.admin-bar .pto-site-header {
		top: 46px;
	}
}

@media (min-width: 48.9375em) {
	.admin-bar .pto-site-header {
		top: 32px;
	}
}

@media (min-width: 62em) {
	.admin-bar .pto-site-header {
		top: calc(32px - var(--pto-header-row));
	}
}

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */

label {
	display: block;
	font-size: var(--pto-text-sm);
	font-weight: 700;
	margin-bottom: var(--pto-s2);
}

.pto-field {
	margin-bottom: var(--pto-s5);
}

.pto-field__hint {
	display: block;
	margin-top: var(--pto-s2);
	font-size: var(--pto-text-xs);
	font-weight: 400;
	color: var(--pto-ink-muted);
}

.pto-required {
	color: var(--pto-terracotta-deep);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	background: var(--pto-surface);
	border: 1.5px solid var(--pto-line-strong);
	border-radius: var(--pto-radius-lg);
	color: var(--pto-ink);
	font: inherit;
	font-size: var(--pto-text-base);
	padding: var(--pto-s3) var(--pto-s4);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--pto-teal);
}

textarea {
	min-height: 11rem;
	resize: vertical;
	line-height: var(--pto-leading-normal);
}

input::placeholder,
textarea::placeholder {
	color: var(--pto-ink-muted);
	opacity: 1;
}

/* Search field: input and button joined into one rounded rectangle. */
.pto-search-form {
	display: flex;
	gap: 0;
}

.pto-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.pto-search-form input[type="search"] {
	min-height: 2.75rem;
	padding-block: var(--pto-s2);
	border-right: 0;
	border-radius: var(--pto-radius-pill) 0 0 var(--pto-radius-pill);
}

.pto-search-form__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	min-height: 2.75rem;
	background: var(--pto-accent);
	border: 1.5px solid var(--pto-accent);
	border-radius: 0 var(--pto-radius-pill) var(--pto-radius-pill) 0;
	box-shadow: none;
	color: var(--pto-surface);
	cursor: pointer;
	padding: 0 var(--pto-s4) 0 var(--pto-s3);
}

.pto-search-form__submit:hover {
	background: var(--pto-accent-hover);
	border-color: var(--pto-accent-hover);
	color: var(--pto-surface);
}

.pto-search-form__submit .pto-icon {
	width: 1.125rem;
	height: 1.125rem;
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */

.pto-button,
.pto-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--pto-s2);
	background: var(--pto-accent);
	border: 2px solid var(--pto-accent);
	border-radius: var(--pto-radius-pill);
	color: var(--pto-surface);
	cursor: pointer;
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-base);
	font-weight: 700;
	letter-spacing: 0.005em;
	line-height: 1.3;
	min-height: 3rem;
	padding: var(--pto-s3) 1.6rem;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pto-button:hover,
.pto-button:focus,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover {
	background: var(--pto-accent-hover);
	border-color: var(--pto-accent-hover);
	color: var(--pto-surface);
}

.pto-button--secondary {
	background: var(--pto-surface);
	border-color: var(--pto-teal);
	color: var(--pto-teal);
}

.pto-button--secondary:hover,
.pto-button--secondary:focus {
	background: var(--pto-linen);
	border-color: var(--pto-teal-deep);
	color: var(--pto-teal-deep);
}

/* The main call to action (hero button, closing panel) is terracotta. The
   button shade is darker than the decorative terracotta so white text
   passes WCAG AA (5.0:1). */
.pto-button.pto-button--primary,
.pto-cta .pto-button:not(.pto-button--secondary) {
	background: var(--pto-cta);
	border-color: var(--pto-cta);
	color: var(--pto-surface);
}

.pto-button.pto-button--primary:hover,
.pto-button.pto-button--primary:focus,
.pto-cta .pto-button:not(.pto-button--secondary):hover,
.pto-cta .pto-button:not(.pto-button--secondary):focus {
	background: var(--pto-cta-hover);
	border-color: var(--pto-cta-hover);
	color: var(--pto-surface);
}

.pto-button--small {
	font-size: var(--pto-text-sm);
	min-height: 2.5rem;
	padding: var(--pto-s2) 1.15rem;
}

.pto-button[disabled],
button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   9. Labels, categories, metadata
   -------------------------------------------------------------------------- */

/* Category chip above a title: a small rounded-rectangle label, cream with
   an oak edge and a terracotta dot, like the label on a storage bin. */
.pto-eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.5em;
	max-width: 100%;
	padding: 0.2rem 0.6rem 0.2rem 0.5rem;
	background: var(--pto-linen);
	border: 1px solid var(--pto-oak);
	border-radius: var(--pto-radius-sm);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--pto-teal);
	text-decoration: none;
	margin-bottom: var(--pto-s2);
}

.pto-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--pto-terracotta);
}

a.pto-eyebrow:hover {
	background: var(--pto-surface);
	border-color: var(--pto-teal);
	color: var(--pto-teal);
	text-decoration: none;
}

/* Tag chip: a mustard-tinted label. */
.pto-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--pto-s1);
	background: var(--pto-mustard-soft);
	border: 1px solid var(--pto-mustard);
	border-radius: var(--pto-radius);
	color: var(--pto-teal);
	font-size: var(--pto-text-sm);
	font-weight: 700;
	padding: 0.35rem 0.75rem;
	text-decoration: none;
}

a.pto-chip:hover {
	background: var(--pto-teal);
	border-color: var(--pto-teal);
	color: var(--pto-surface);
}

.pto-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pto-s2) var(--pto-s4);
	color: var(--pto-ink-muted);
	font-size: var(--pto-text-sm);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-meta > li {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pto-s2) var(--pto-s4);
}

.pto-meta__item {
	display: inline-flex;
	align-items: center;
	gap: var(--pto-s2);
}

.pto-meta a {
	color: inherit;
}

.pto-meta svg {
	flex: 0 0 auto;
	color: var(--pto-teal);
}

.pto-icon {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.125em;
}

/* Intro paragraph available to page content. */
.pto-lead {
	font-size: var(--pto-text-lg);
	line-height: var(--pto-leading-relaxed);
	color: var(--pto-ink-soft);
}

/* --------------------------------------------------------------------------
   10. Cards and grids
   -------------------------------------------------------------------------- */

.pto-grid {
	display: grid;
	gap: var(--pto-s5);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 36em) {
	.pto-grid--2,
	.pto-grid--3,
	.pto-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.pto-grid {
		gap: var(--pto-s6);
	}

	.pto-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pto-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--pto-s5);
	}
}

/* Flat card: thin border, no shadow, standing on an oak base line. */
.pto-card {
	display: flex;
	flex-direction: column;
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius-card);
	height: 100%;
	overflow: hidden;
	transition: border-color 0.18s ease;
}

.pto-card:hover {
	border-color: var(--pto-teal-line);
	border-bottom-color: var(--pto-terracotta);
}

/* Images stand on a thin oak shelf edge, drawn by ::after. */
.pto-card__media,
.pto-card-row__media,
.pto-window {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--pto-linen);
}

.pto-card__media::after,
.pto-card-row__media::after,
.pto-window::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 4px;
	background: var(--pto-oak);
	pointer-events: none;
}

.pto-card__media {
	aspect-ratio: 16 / 9;
}

.pto-card__media img,
.pto-card-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Posts without a featured image get a plain cream panel with two jars and
   a can standing on the shelf edge (an inline data URI: no image file, no
   request). */
.pto-card__media--placeholder,
.pto-card-row__media--placeholder {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 48'%3E%3Crect x='8' y='12' width='14' height='5' rx='1.5' fill='%231f4e5a'/%3E%3Crect x='6' y='17' width='18' height='27' rx='3' fill='%23ffffff' stroke='%231f4e5a' stroke-width='2'/%3E%3Crect x='10' y='26' width='10' height='7' rx='1' fill='%23dcc19a'/%3E%3Crect x='30' y='22' width='16' height='22' rx='2' fill='%23d2714a'/%3E%3Crect x='30' y='28' width='16' height='9' fill='%23fbf9f4'/%3E%3Crect x='53' y='6' width='10' height='5' rx='1.5' fill='%239db8a0'/%3E%3Crect x='51' y='11' width='14' height='33' rx='3' fill='%23ffffff' stroke='%239db8a0' stroke-width='2'/%3E%3Crect x='54' y='22' width='8' height='8' rx='1' fill='%23e2a93b'/%3E%3C/svg%3E") center bottom 4px / 6rem 4rem no-repeat,
		linear-gradient(180deg, var(--pto-linen-soft), var(--pto-linen));
}

.pto-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--pto-s2);
	padding: var(--pto-s4) var(--pto-s5) var(--pto-s5);
}

.pto-grid--4 .pto-card__body {
	padding: var(--pto-s4);
}

.pto-card__title {
	font-size: var(--pto-text-lg);
	line-height: 1.28;
	margin: 0;
}

.pto-grid--4 .pto-card__title {
	font-size: var(--pto-text-md);
}

.pto-card__title a,
.pto-card-row__title a,
.pto-steps__title a {
	color: var(--pto-ink);
	text-decoration: none;
}

.pto-card__title a:hover,
.pto-card-row__title a:hover,
.pto-steps__title a:hover {
	color: var(--pto-accent);
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.pto-card__excerpt {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-sm);
	line-height: var(--pto-leading-normal);
	margin: 0;
}

.pto-card__footer {
	margin-top: auto;
	padding-top: var(--pto-s3);
	border-top: 1px dashed var(--pto-line);
}

/* Horizontal card (lists and search results) */
.pto-card-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s4);
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s4);
}

@media (min-width: 36em) {
	.pto-card-row {
		grid-template-columns: 13rem minmax(0, 1fr);
		gap: var(--pto-s5);
		align-items: start;
	}
}

.pto-card-row__media {
	border-radius: var(--pto-radius);
	box-shadow: 0 0 0 1px var(--pto-line);
	aspect-ratio: 4 / 3;
}

/* min-width: 0 keeps long titles from blowing out the grid column. */
.pto-card-row__body {
	min-width: 0;
}

.pto-card-row__title {
	font-size: var(--pto-text-xl);
	margin: var(--pto-s1) 0 var(--pto-s2);
}

.pto-card-row__excerpt {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-base);
	margin: 0 0 var(--pto-s3);
}

.pto-card-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s4);
}

/* Numbered path (Start Here): each step number sits in a jar badge. */
.pto-steps {
	list-style: none;
	counter-reset: pto-step;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s4);
	margin: 0;
	padding: 0;
}

@media (min-width: 48em) {
	.pto-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--pto-s5);
	}
}

.pto-steps > li {
	counter-increment: pto-step;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: var(--pto-s4);
	align-items: start;
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s5);
}

.pto-steps > li::before {
	content: counter(pto-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding-top: 0.5rem;
	background: var(--pto-accent);
	clip-path: var(--pto-jar);
	color: var(--pto-surface);
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-lg);
	font-weight: 700;
	line-height: 1;
}

.pto-steps__title {
	font-size: var(--pto-text-lg);
	line-height: var(--pto-leading-snug);
	margin: 0 0 var(--pto-s2);
}

.pto-steps p {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-sm);
	margin: 0;
}

/* --------------------------------------------------------------------------
   11. Homepage — hero and sections
   -------------------------------------------------------------------------- */

/* A cream band with faint shelf lines; the art sits in a white frame. */
.pto-hero {
	background-color: var(--pto-bg-deep);
	background-image: linear-gradient(rgba(220, 193, 154, 0.38) 2px, transparent 2px);
	background-size: 100% 7rem;
	border-bottom: 3px solid var(--pto-oak);
	padding-block: var(--pto-s7) var(--pto-s8);
}

.pto-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s7);
	align-items: center;
}

@media (min-width: 62em) {
	.pto-hero {
		padding-block: var(--pto-s9);
	}

	.pto-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: var(--pto-s9);
	}
}

.pto-hero__title {
	font-size: clamp(2.25rem, 1.45rem + 3.4vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.022em;
	line-height: 1.08;
	margin-bottom: var(--pto-s5);
	max-width: 17ch;
}

.pto-hero__text {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-lg);
	line-height: var(--pto-leading-relaxed);
	max-width: 46ch;
	margin-bottom: var(--pto-s6);
}

.pto-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pto-s3);
}

/* Decorative inline SVG (no image request, no JS) in a cupboard frame: a
   white border with an oak base. */
.pto-hero__figure {
	width: 100%;
	max-width: 21rem;
	margin-inline: auto;
	background: var(--pto-surface);
	border: 8px solid var(--pto-surface);
	border-radius: var(--pto-radius-lg);
	box-shadow: 0 0 0 1px var(--pto-linen-deep), 0 9px 0 -1px var(--pto-oak);
	overflow: hidden;
}

@media (min-width: 62em) {
	.pto-hero__figure {
		max-width: 28rem;
		border-width: 10px;
	}
}

.pto-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--pto-radius-sm);
}

/* Category strip (optional "Browse by Category" section) */
.pto-topics {
	display: grid;
	gap: var(--pto-s4);
	grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-topic {
	display: flex;
	flex-direction: column;
	gap: var(--pto-s2);
	background: var(--pto-linen-soft);
	border: 1px solid var(--pto-linen-deep);
	border-top: 5px solid var(--pto-teal);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s4);
	text-decoration: none;
	height: 100%;
	transition: background-color 0.18s ease, border-color 0.18s ease;
}

/* The eight bins take turns with the accent colours on their top edge. */
.pto-topics > li:nth-child(4n + 2) .pto-topic {
	border-top-color: var(--pto-terracotta);
}

.pto-topics > li:nth-child(4n + 3) .pto-topic {
	border-top-color: var(--pto-mustard);
}

.pto-topics > li:nth-child(4n + 4) .pto-topic {
	border-top-color: var(--pto-sage);
}

.pto-topic:hover {
	background: var(--pto-surface);
	border-bottom-color: var(--pto-terracotta);
}

.pto-topic__name {
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-lg);
	font-weight: 700;
	line-height: 1.25;
	color: var(--pto-ink);
}

.pto-topic:hover .pto-topic__name {
	color: var(--pto-accent);
}

.pto-topic__desc {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-sm);
	line-height: var(--pto-leading-normal);
}

.pto-topic__count {
	margin-top: auto;
	padding-top: var(--pto-s2);
	color: var(--pto-ink-muted);
	font-size: var(--pto-text-xs);
	font-weight: 700;
}

/* Closing call to action: a wide cream panel with a teal left edge,
   standing on an oak shelf. */
.pto-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s5);
	align-items: center;
	background-color: var(--pto-linen);
	border: 1px solid var(--pto-linen-deep);
	border-left: 8px solid var(--pto-teal);
	border-bottom: 4px solid var(--pto-oak);
	border-radius: var(--pto-radius-lg);
	color: var(--pto-ink);
	padding: var(--pto-s6) var(--pto-s5);
}

@media (min-width: 48em) {
	.pto-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: var(--pto-s8);
	}
}

.pto-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pto-s3);
}

@media (min-width: 48em) {
	.pto-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}
}

.pto-cta__title {
	color: var(--pto-ink);
	margin-bottom: var(--pto-s3);
}

.pto-cta__text {
	color: var(--pto-ink-soft);
	margin: 0;
	max-width: 54ch;
}

/* --------------------------------------------------------------------------
   12. Article
   -------------------------------------------------------------------------- */

.pto-breadcrumbs {
	margin-bottom: var(--pto-s5);
	font-size: var(--pto-text-sm);
	color: var(--pto-ink-muted);
}

.pto-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pto-s1) var(--pto-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: var(--pto-s2);
	min-width: 0;
}

.pto-breadcrumbs li + li::before {
	content: "/";
	color: var(--pto-oak-shade);
	font-weight: 700;
}

.pto-breadcrumbs a {
	color: var(--pto-ink-soft);
	text-decoration: none;
	font-weight: 600;
}

.pto-breadcrumbs a:hover {
	color: var(--pto-accent);
	text-decoration: underline;
}

.pto-breadcrumbs [aria-current="page"] {
	color: var(--pto-ink-muted);
}

.pto-article__header {
	margin-bottom: var(--pto-s6);
}

.pto-article__title {
	margin-bottom: var(--pto-s4);
	max-width: 22ch;
}

.pto-article__summary {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-lg);
	line-height: var(--pto-leading-relaxed);
	max-width: var(--pto-measure);
	margin-bottom: var(--pto-s4);
}

.pto-article__meta {
	padding-bottom: calc(var(--pto-s4) + 10px);
	background: var(--pto-shelf);
}

/* Featured image in a plain white frame standing on an oak shelf edge
   (drawn by .pto-window::after above). */
.pto-article__figure {
	margin-bottom: var(--pto-s7);
}

.pto-window {
	border: 6px solid var(--pto-surface);
	border-radius: var(--pto-radius-lg);
	box-shadow: 0 0 0 1px var(--pto-line);
}

@media (min-width: 48em) {
	.pto-window {
		border-width: 8px;
	}
}

.pto-window img {
	width: 100%;
}

.pto-article__figure > img {
	border: 6px solid var(--pto-surface);
	border-radius: var(--pto-radius-lg);
	box-shadow: 0 0 0 1px var(--pto-line);
	width: 100%;
}

/* Figures and captions */
.pto-article__figure figcaption,
.pto-content figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	margin-top: var(--pto-s4);
	padding: var(--pto-s2) var(--pto-s3);
	background: var(--pto-bg-deep);
	border-radius: var(--pto-radius-sm);
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-sm);
	line-height: var(--pto-leading-snug);
	text-align: left;
}

/* Body text */
.pto-content {
	font-size: var(--pto-text-md);
	line-height: var(--pto-leading-relaxed);
	min-width: 0;
}

.pto-content > * {
	max-width: var(--pto-measure);
}

.pto-content > .alignwide,
.pto-content > .alignfull,
.pto-content > .pto-tutorial-facts,
.pto-content > .pto-toc,
.pto-content > figure,
.pto-content > .wp-block-image,
.pto-content > .wp-block-gallery,
.pto-content > .wp-block-table,
.pto-content > .pto-table-wrap,
.pto-content > table,
.pto-content > .pto-ad-slot {
	max-width: 100%;
}

/* Every H2 in a guide rests on a shelf line. */
.pto-content h2 {
	margin-top: var(--pto-s8);
	padding-bottom: calc(var(--pto-s3) + 10px);
	background: var(--pto-shelf);
}

.pto-content h3 {
	margin-top: var(--pto-s6);
}

.pto-content h4 {
	margin-top: var(--pto-s5);
}

.pto-content > h2:first-child,
.pto-content > h3:first-child {
	margin-top: 0;
}

.pto-content ul,
.pto-content ol {
	margin: 0 0 var(--pto-s5);
	padding-left: 1.6em;
}

.pto-content li + li {
	margin-top: var(--pto-s2);
}

.pto-content li > ul,
.pto-content li > ol {
	margin-top: var(--pto-s2);
	margin-bottom: 0;
}

/* Jar bullets: a small terracotta jar with a lid (inline data URI, list
   semantics kept). */
.pto-content ul:not([class]),
.pto-content ul.wp-block-list {
	list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='12' viewBox='0 0 11 12'%3E%3Crect x='2.5' width='6' height='2.6' rx='.8' fill='%23a98548'/%3E%3Crect y='3.2' width='11' height='8.8' rx='2' fill='%23d2714a'/%3E%3C/svg%3E");
}

.pto-content ul:not([class]) > li,
.pto-content ul.wp-block-list > li {
	padding-left: 0.3em;
}

/* Ordered lists carry the steps of a guide: bold numbers, room to breathe
   and a hairline between top-level steps. */
.pto-content ol {
	padding-left: 1.75em;
}

.pto-content ol > li {
	padding-left: 0.35em;
}

.pto-content ol > li::marker {
	color: var(--pto-accent);
	font-family: var(--pto-font-head);
	font-weight: 700;
}

.pto-content > ol > li + li {
	margin-top: var(--pto-s3);
	padding-top: var(--pto-s3);
	border-top: 1px dashed var(--pto-line);
}

.pto-content figure,
.pto-content .wp-block-image {
	margin-block: var(--pto-s6);
}

/* In-article images: a slimmer version of the white frame. */
.pto-content img {
	border: 5px solid var(--pto-surface);
	border-radius: var(--pto-radius-lg);
	box-shadow: 0 0 0 1px var(--pto-line);
	max-width: 100%;
	height: auto;
	background-color: var(--pto-surface);
}

.pto-content a {
	text-decoration: underline;
}

/* Tables — always scroll inside their own box, never the page.
   inc/toc.php wraps every table in .pto-table-wrap; the bare-table rules
   below cover the block editor and any table that escapes the wrapper. */
.pto-table-wrap,
.wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-block: var(--pto-s6);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	background: var(--pto-surface);
}

/* A block-editor table figure already scrolls: its inner wrapper stays plain. */
.wp-block-table .pto-table-wrap {
	overflow: visible;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.pto-content > table {
	display: block;
	overflow-x: auto;
	margin-block: var(--pto-s6);
}

.pto-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--pto-text-sm);
	line-height: var(--pto-leading-snug);
}

.pto-table-wrap table,
.wp-block-table table {
	min-width: 30rem;
	margin: 0;
}

.pto-content th,
.pto-content td,
.wp-block-table th,
.wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--pto-line);
	padding: var(--pto-s3) var(--pto-s4);
	text-align: left;
	vertical-align: top;
}

.pto-content tbody tr:last-child > *,
.wp-block-table tbody tr:last-child > * {
	border-bottom: 0;
}

.pto-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
	background: rgba(241, 236, 225, 0.6);
}

.pto-content thead th,
.wp-block-table thead th {
	background: var(--pto-teal);
	border-bottom: 0;
	color: var(--pto-surface);
	font-size: var(--pto-text-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* The first column reads like a row of shelf labels. */
.pto-content tbody th,
.pto-content tbody td:first-child,
.wp-block-table tbody td:first-child {
	font-weight: 700;
	box-shadow: inset 3px 0 0 var(--pto-oak);
}

.pto-content table caption {
	caption-side: bottom;
	padding: var(--pto-s3) var(--pto-s4);
	color: var(--pto-ink-muted);
	font-size: var(--pto-text-sm);
	text-align: left;
}

/* Callouts — used in article content and available in the block editor.
   Each one is a bin with a coloured left edge and a label for a title.
   Plain: cream with an oak edge. Tip: sage tint with a teal edge. "Good to
   know" (--warning): a calm terracotta note, not an alarm. */
.pto-callout {
	position: relative;
	background: var(--pto-linen-soft);
	border: 1px solid var(--pto-linen-deep);
	border-left: 6px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s5);
	margin-block: var(--pto-s6);
}

.pto-callout > :last-child {
	margin-bottom: 0;
}

/* The title is a white label stuck on the front of the bin. */
.pto-callout__title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 100%;
	padding: 0.25rem 0.7rem 0.25rem 0.55rem;
	background: var(--pto-surface);
	border: 1px solid var(--pto-oak);
	border-radius: var(--pto-radius-sm);
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-xs);
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: var(--pto-leading-snug);
	text-transform: uppercase;
	color: var(--pto-teal);
	margin: 0 0 var(--pto-s3);
}

/* Small shape before the title: a jar for tips and notes, a mustard dot
   for "good to know". */
.pto-callout__title::before {
	content: "";
	flex: 0 0 auto;
	width: 0.7rem;
	height: 0.85rem;
	clip-path: var(--pto-jar);
	background: currentColor;
}

.pto-callout--tip {
	background: var(--pto-sage-soft);
	border-color: #cfdfd2;
	border-left-color: var(--pto-teal);
}

.pto-callout--tip .pto-callout__title {
	border-color: var(--pto-sage);
	color: var(--pto-teal);
}

.pto-callout--warning {
	background: var(--pto-terracotta-soft);
	border-color: #efd3c5;
	border-left-color: var(--pto-terracotta);
}

.pto-callout--warning .pto-callout__title {
	border-color: var(--pto-terracotta);
	color: var(--pto-terracotta-deep);
}

.pto-callout--warning .pto-callout__title::before {
	width: 0.7rem;
	height: 0.7rem;
	clip-path: none;
	border-radius: 50%;
	background: var(--pto-mustard);
	box-shadow: 0 0 0 2px var(--pto-terracotta);
}

/* At-a-glance card (difficulty, time, best for, best time to do it and the
   "What you need" list): a labelled panel with a teal header strip. */
.pto-tutorial-facts {
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius-card);
	padding: 0 var(--pto-s5) var(--pto-s5);
	margin-bottom: var(--pto-s6);
	overflow: hidden;
}

.pto-tutorial-facts__title,
.pto-toc__title {
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-sm);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pto-ink-soft);
	margin: 0 0 var(--pto-s4);
}

.pto-tutorial-facts .pto-tutorial-facts__title {
	margin: 0 calc(-1 * var(--pto-s5)) var(--pto-s5);
	padding: var(--pto-s3) var(--pto-s5);
	background: var(--pto-teal);
	border-bottom: 4px solid var(--pto-oak);
	color: var(--pto-surface);
}

.pto-facts {
	display: grid;
	gap: var(--pto-s4);
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	margin: 0;
}

.pto-facts__item {
	display: flex;
	align-items: flex-start;
	gap: var(--pto-s3);
	min-width: 0;
}

/* Each icon sits in a small cream label with an oak base. */
.pto-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--pto-linen);
	border: 1px solid var(--pto-linen-deep);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	color: var(--pto-teal);
}

.pto-facts__icon .pto-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.pto-facts__label {
	display: block;
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: var(--pto-leading-snug);
	text-transform: uppercase;
	color: var(--pto-ink-muted);
	margin: 0;
}

.pto-facts__value {
	display: block;
	font-size: var(--pto-text-base);
	font-weight: 700;
	line-height: var(--pto-leading-snug);
	margin-top: 0.15rem;
}

.pto-materials {
	margin-top: var(--pto-s5);
	padding-top: var(--pto-s4);
	border-top: 1px dashed var(--pto-line-strong);
}

.pto-materials .pto-facts__label {
	margin-bottom: var(--pto-s3);
}

.pto-materials__list {
	list-style: none;
	display: grid;
	gap: var(--pto-s2) var(--pto-s5);
	grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	margin: 0;
	padding: 0;
	font-size: var(--pto-text-base);
}

.pto-materials__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--pto-s3);
	margin: 0;
}

.pto-materials__list li::before,
.pto-no-results__suggestions li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.7rem;
	height: 0.8rem;
	margin-top: 0.42em;
	background: var(--pto-terracotta);
	clip-path: var(--pto-jar);
}

/* Table of contents */
.pto-toc {
	background: var(--pto-linen-soft);
	border: 1px solid var(--pto-linen-deep);
	border-left: 6px solid var(--pto-oak);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s5);
	margin-bottom: var(--pto-s6);
}

/* The title is a white label on the front of the panel. */
.pto-toc .pto-toc__title {
	display: inline-block;
	margin: 0 0 var(--pto-s4);
	padding: 0.25rem 0.7rem;
	background: var(--pto-surface);
	border: 1px solid var(--pto-oak);
	border-radius: var(--pto-radius-sm);
	color: var(--pto-teal);
}

.pto-toc ol {
	counter-reset: pto-toc;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--pto-text-base);
}

.pto-toc > ol > li {
	counter-increment: pto-toc;
	margin: 0;
}

.pto-toc > ol > li + li {
	margin-top: var(--pto-s2);
}

.pto-toc > ol > li > a::before {
	content: counter(pto-toc, decimal-leading-zero) "\00a0\00a0";
	color: var(--pto-teal);
	font-family: var(--pto-font-head);
	font-weight: 700;
}

.pto-toc a {
	color: var(--pto-ink);
	text-decoration: none;
}

.pto-toc a:hover {
	color: var(--pto-accent);
	text-decoration: underline;
}

.pto-toc ol ol {
	margin: var(--pto-s2) 0 0 2.1rem;
	font-size: var(--pto-text-sm);
}

.pto-toc ol ol li + li {
	margin-top: var(--pto-s1);
}

.pto-toc ol ol a {
	color: var(--pto-ink-soft);
}

/* FAQ */
.pto-faq {
	margin-top: var(--pto-s8);
}

.pto-faq > h2 {
	padding-bottom: calc(var(--pto-s3) + 10px);
	margin-bottom: var(--pto-s5);
	background: var(--pto-shelf);
}

.pto-faq__item {
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-left: 5px solid var(--pto-sage);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	margin-bottom: var(--pto-s3);
	padding: var(--pto-s4) var(--pto-s5);
}

.pto-faq__question {
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-lg);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 var(--pto-s2);
}

.pto-faq__answer {
	color: var(--pto-ink-soft);
	max-width: var(--pto-measure);
}

.pto-faq__answer > :last-child {
	margin-bottom: 0;
}

/* Article footer */
.pto-article__footer {
	margin-top: var(--pto-s8);
	padding-top: var(--pto-s5);
	border-top: 1px dashed var(--pto-line-strong);
}

.pto-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pto-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-tags__label {
	font-size: var(--pto-text-sm);
	font-weight: 700;
	color: var(--pto-ink-soft);
}

/* Previous / next */
.pto-post-nav {
	margin-top: var(--pto-s7);
}

.pto-post-nav__links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s4);
}

@media (min-width: 48em) {
	.pto-post-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* When only "next" exists it moves to the right-hand column, where its
	   right-aligned text expects to sit. */
	.pto-post-nav__link--next:only-child {
		grid-column: 2;
	}
}

.pto-post-nav__link {
	display: block;
	background: var(--pto-bg-deep);
	border: 1px solid var(--pto-line);
	border-radius: var(--pto-radius);
	padding: var(--pto-s4) var(--pto-s5);
	text-decoration: none;
	height: 100%;
}

.pto-post-nav__link:hover {
	border-color: var(--pto-teal);
	background: var(--pto-surface);
}

.pto-post-nav__direction {
	display: block;
	font-size: var(--pto-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pto-ink-muted);
	margin-bottom: var(--pto-s2);
}

.pto-post-nav__title {
	display: block;
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-md);
	font-weight: 700;
	color: var(--pto-ink);
	line-height: var(--pto-leading-snug);
}

.pto-post-nav__link--prev {
	text-align: left;
}

.pto-post-nav__link--next {
	text-align: right;
}

/* --------------------------------------------------------------------------
   13. Sidebar and widgets
   -------------------------------------------------------------------------- */

.pto-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s5);
}

@media (min-width: 62em) {
	.pto-sidebar--sticky {
		position: sticky;
		top: calc(var(--pto-sticky-offset) + 1rem);
	}
}

.pto-widget {
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s5);
	font-size: var(--pto-text-base);
}

.pto-widget__title,
.pto-widget .widget-title {
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-sm);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pto-ink-soft);
	margin: 0 0 var(--pto-s4);
}

.pto-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-widget li + li {
	margin-top: var(--pto-s3);
	padding-top: var(--pto-s3);
	border-top: 1px dashed var(--pto-line);
}

.pto-widget a {
	color: var(--pto-ink);
	text-decoration: none;
}

.pto-widget a:hover {
	color: var(--pto-accent);
	text-decoration: underline;
}

.pto-widget .children,
.pto-widget .sub-menu {
	margin-top: var(--pto-s3);
	padding-left: var(--pto-s4);
}

/* --------------------------------------------------------------------------
   14. Archives, pagination, search, 404
   -------------------------------------------------------------------------- */

.pto-archive-header {
	margin-bottom: var(--pto-s7);
	padding-bottom: calc(var(--pto-s5) + 10px);
	background: var(--pto-shelf);
}

.pto-archive-header__title {
	margin-bottom: var(--pto-s3);
}

.pto-archive-header__description {
	color: var(--pto-ink-soft);
	font-size: var(--pto-text-lg);
	line-height: var(--pto-leading-relaxed);
	max-width: var(--pto-measure);
	margin-top: var(--pto-s4);
}

.pto-archive-header__description > :last-child {
	margin-bottom: 0;
}

.pto-archive-header__count {
	margin: var(--pto-s3) 0 0;
	color: var(--pto-ink-muted);
	font-size: var(--pto-text-sm);
	font-weight: 600;
}

.pto-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pto-s2);
	list-style: none;
	margin: var(--pto-s4) 0 0;
	padding: 0;
}

.pto-pagination {
	margin-top: var(--pto-s8);
}

.pto-pagination .nav-links {
	display: flex;
	justify-content: center;
}

.pto-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--pto-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pto-pagination li {
	margin: 0;
}

.pto-pagination a.page-numbers,
.pto-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: var(--pto-s4);
	background: var(--pto-surface);
	border: 1.5px solid var(--pto-line-strong);
	border-radius: var(--pto-radius-pill);
	color: var(--pto-ink);
	font-size: var(--pto-text-sm);
	font-weight: 700;
	text-decoration: none;
}

.pto-pagination a.page-numbers:hover {
	background: var(--pto-linen);
	border-color: var(--pto-teal);
	color: var(--pto-ink);
}

.pto-pagination span.page-numbers.current {
	background: var(--pto-teal);
	border-color: var(--pto-teal);
	color: var(--pto-surface);
}

.pto-pagination span.page-numbers.dots {
	border-color: transparent;
	background: none;
	min-width: 1.5rem;
	padding-inline: 0;
}

/* Search */
.pto-search-intro {
	margin-bottom: var(--pto-s6);
	padding-bottom: calc(var(--pto-s5) + 10px);
	background: var(--pto-shelf);
}

.pto-search-intro .pto-search-form {
	max-width: 32rem;
	margin-top: var(--pto-s4);
}

.pto-no-results {
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius-card);
	padding: var(--pto-s6) var(--pto-s5);
}

.pto-no-results .pto-search-form {
	max-width: 30rem;
	margin-top: var(--pto-s5);
}

.pto-no-results__suggestions {
	display: grid;
	gap: var(--pto-s2);
	list-style: none;
	margin: var(--pto-s4) 0 var(--pto-s5);
	padding: 0;
}

.pto-no-results__suggestions li {
	display: flex;
	align-items: flex-start;
	gap: var(--pto-s3);
}

/* Two ways forward on dead ends: the beginner guide and the full list. */
.pto-suggested {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pto-s3);
	margin: var(--pto-s5) 0;
}

.pto-error-404 .pto-suggested {
	justify-content: center;
}

/* 404: the number sits on a big cream label with an oak base. */
.pto-error-404 {
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
}

.pto-error-404__code {
	display: inline-block;
	font-family: var(--pto-font-head);
	font-size: clamp(3.25rem, 2rem + 7vw, 5.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--pto-teal);
	margin: 0 0 var(--pto-s6);
	padding: var(--pto-s5) var(--pto-s7);
	background: var(--pto-linen);
	border: 1px solid var(--pto-oak);
	border-bottom: 5px solid var(--pto-oak);
	border-radius: var(--pto-radius-lg);
}

.pto-error-404 .pto-search-form {
	max-width: 26rem;
	margin: var(--pto-s5) auto 0;
	text-align: left;
}

.pto-error-404 .pto-subcategories {
	justify-content: center;
	margin-top: var(--pto-s4);
}

.pto-error-404 .pto-section {
	margin-top: var(--pto-s8);
	text-align: left;
}

.pto-error-404__headline {
	margin-top: var(--pto-s7);
	font-size: var(--pto-text-xl);
}

/* --------------------------------------------------------------------------
   15. Pages and contact form
   -------------------------------------------------------------------------- */

.pto-page__header {
	margin-bottom: var(--pto-s6);
	padding-bottom: calc(var(--pto-s5) + 10px);
	background: var(--pto-shelf);
}

.pto-page__header .pto-page__title {
	margin-bottom: 0;
}

.pto-page__updated {
	margin: var(--pto-s3) 0 0;
	color: var(--pto-ink-muted);
	font-size: var(--pto-text-sm);
}

.pto-form-notice {
	border-radius: var(--pto-radius);
	padding: var(--pto-s4) var(--pto-s5);
	margin-bottom: var(--pto-s5);
	border: 1px solid;
	border-top-width: 5px;
}

.pto-form-notice > :last-child {
	margin-bottom: 0;
}

.pto-form-notice--success {
	background: #eef7ef;
	border-color: #9cc5a1;
	color: #1f5128;
}

.pto-form-notice--error {
	background: #fdeeec;
	border-color: #e3a79e;
	color: #7d2418;
}

.pto-form-notice__list {
	margin: var(--pto-s2) 0 0;
	padding-left: 1.2em;
}

.pto-form {
	max-width: 38rem;
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius-card);
	padding: var(--pto-s6) var(--pto-s5) var(--pto-s5);
}

.pto-form > :last-child {
	margin-bottom: 0;
}

.pto-form input[aria-invalid="true"],
.pto-form textarea[aria-invalid="true"] {
	border-color: #b3372a;
	border-width: 2px;
}

.pto-field__error {
	display: block;
	margin-top: var(--pto-s2);
	color: #8c2b20;
	font-size: var(--pto-text-sm);
	font-weight: 700;
}

.pto-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   16. Comments
   -------------------------------------------------------------------------- */

.pto-comments {
	margin-top: var(--pto-s9);
	padding-top: var(--pto-s6);
	border-top: 1px dashed var(--pto-line-strong);
}

.pto-comments__title {
	font-size: var(--pto-text-2xl);
}

.pto-comments .comment-list {
	list-style: none;
	margin: 0 0 var(--pto-s7);
	padding: 0;
}

.pto-comments .comment-list ol.children {
	list-style: none;
	margin: var(--pto-s4) 0 0 var(--pto-s5);
	padding: 0;
}

.pto-comments .comment-body {
	background: var(--pto-surface);
	border: 1px solid var(--pto-line);
	border-bottom: 3px solid var(--pto-oak);
	border-radius: var(--pto-radius);
	padding: var(--pto-s5);
	margin-bottom: var(--pto-s4);
}

.pto-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pto-s2) var(--pto-s3);
	font-size: var(--pto-text-sm);
	color: var(--pto-ink-muted);
	margin-bottom: var(--pto-s3);
}

.pto-comments .comment-author img {
	display: inline-block;
	border-radius: 50%;
	margin-right: var(--pto-s2);
	vertical-align: middle;
}

.pto-comments .reply {
	font-size: var(--pto-text-sm);
	font-weight: 700;
}

.comment-respond .comment-form-cookies-consent label,
.comment-respond .comment-notes {
	font-weight: 400;
	font-size: var(--pto-text-sm);
	color: var(--pto-ink-soft);
	display: inline;
}

.comment-form p {
	margin-bottom: var(--pto-s4);
}

/* --------------------------------------------------------------------------
   17. Ad slots (empty and disabled by default)
   -------------------------------------------------------------------------- */

.pto-ad-slot {
	margin-block: var(--pto-s6);
	text-align: center;
	overflow: hidden;
}

.pto-ad-slot__label {
	display: block;
	margin-bottom: var(--pto-s2);
	color: var(--pto-ink-muted);
	font-size: var(--pto-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pto-ad-slot--sidebar {
	margin-block: 0;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

/* Dark teal, with a row of jars, cans and a box standing on its top edge.
   They are an inline SVG silhouette drawn in the footer colour over the
   page. */
.pto-site-footer {
	margin-top: auto;
	padding: calc(34px + var(--pto-s8)) 0 var(--pto-s6);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 34' fill='%23163a43'%3E%3Crect x='14' y='6' width='12' height='5' rx='1.5'/%3E%3Crect x='11' y='10' width='18' height='24' rx='3'/%3E%3Crect x='38' y='16' width='15' height='18' rx='2'/%3E%3Crect x='58' y='16' width='15' height='18' rx='2'/%3E%3Crect x='86' y='2' width='10' height='5' rx='1.5'/%3E%3Crect x='83' y='6' width='16' height='28' rx='3'/%3E%3Crect x='110' y='12' width='30' height='22' rx='2'/%3E%3Crect x='152' y='18' width='14' height='16' rx='2'/%3E%3Crect x='154' y='14' width='10' height='5' rx='1.5'/%3E%3Crect x='174' y='9' width='14' height='25' rx='3'/%3E%3Crect x='177' y='5' width='8' height='5' rx='1.5'/%3E%3C/svg%3E") center top / 200px 34px repeat-x,
		linear-gradient(to bottom, transparent 33px, var(--pto-teal-deep) 33px);
	color: #d7e3e5;
}

.pto-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pto-s6);
	margin-bottom: var(--pto-s7);
}

@media (min-width: 48em) {
	.pto-footer__grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--pto-s8);
	}
}

.pto-footer__about p {
	color: #d7e3e5;
	font-size: var(--pto-text-base);
	max-width: 44ch;
	margin-bottom: 0;
}

/* General-information note under the site description. */
.pto-footer__about .pto-footer__disclaimer {
	margin-top: var(--pto-s3);
	font-size: var(--pto-text-sm);
	line-height: var(--pto-leading-snug);
}

.pto-footer__nav {
	min-width: 0;
}

.pto-footer__heading {
	font-family: var(--pto-font-body);
	font-size: var(--pto-text-sm);
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--pto-mustard);
	margin: 0 0 var(--pto-s3);
}

.pto-footer__about .pto-footer__heading {
	font-family: var(--pto-font-head);
	font-size: var(--pto-text-2xl);
	font-weight: 700;
	letter-spacing: -0.015em;
	text-transform: none;
	color: var(--pto-surface);
}

.pto-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--pto-text-base);
}

.pto-footer__menu li + li {
	margin-top: var(--pto-s1);
}

.pto-footer__menu a {
	display: inline-block;
	padding-block: var(--pto-s1);
	color: var(--pto-surface);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255,0.35);
}

.pto-footer__menu a:hover,
.pto-footer__menu a:focus {
	color: var(--pto-mustard);
	text-decoration-color: currentColor;
}

.pto-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pto-s3);
	padding-top: var(--pto-s5);
	border-top: 1px solid rgba(255, 255, 255,0.28);
	color: #d7e3e5;
	font-size: var(--pto-text-sm);
}

.pto-footer__bottom p {
	margin: 0;
}

.pto-site-footer a {
	color: var(--pto-surface);
}

/* --------------------------------------------------------------------------
   19. Utilities and editor alignments
   -------------------------------------------------------------------------- */

.pto-visually-balanced {
	max-width: var(--pto-measure);
}

.pto-text-center {
	text-align: center;
}

.pto-mt-0 {
	margin-top: 0;
}

.pto-mb-0 {
	margin-bottom: 0;
}

.alignleft {
	float: left;
	margin: 0 var(--pto-s5) var(--pto-s4) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--pto-s4) var(--pto-s5);
}

@media (max-width: 35.99em) {
	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 var(--pto-s4);
	}
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	margin-inline: auto;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
}

.wp-block-embed.wp-embed-aspect-16-9 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--pto-radius);
}

/* --------------------------------------------------------------------------
   20. Print — guides that read well on a printed page
   -------------------------------------------------------------------------- */

@media print {
	.pto-site-header,
	.pto-site-footer,
	.pto-ad-slot,
	.pto-post-nav,
	.pto-comments,
	.pto-sidebar,
	.pto-related,
	.pto-skip-link,
	.pto-breadcrumbs {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.pto-content > * {
		max-width: none;
	}

	.pto-table-wrap,
	.wp-block-table {
		overflow: visible;
	}

	.pto-table-wrap table,
	.wp-block-table table {
		min-width: 0;
	}

	.pto-window::after {
		display: none;
	}

	a {
		color: inherit;
		text-decoration: underline;
	}

	.pto-content h2,
	.pto-content h3 {
		break-after: avoid;
	}

	figure,
	.pto-callout,
	.pto-tutorial-facts,
	.pto-facts__item {
		break-inside: avoid;
	}
}
