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

   Look: a light painting studio — paper-white pages, deep ink text, one
   ultramarine accent for everything that can be clicked, and four pale paint
   tints (sky, rose, lemon, sap green) used only as decoration: blurred wash
   blobs, brush-stroke underlines, washy chips and wobbly "painted" dividers.
   The strokes and dividers are tiny inline SVG data URIs, so nothing is
   requested from the network.

   Contrast reference (WCAG AA, measured):
     ink         #262b36 on paper #fdfcf9 / white ..... 13.8:1 / 14.2:1
     ink-soft    #434a5a on paper / paper-deep ........ 8.7:1 / 7.9:1
     ink-muted   #5a6172 on paper / paper-deep ........ 6.0:1 / 5.5:1
     accent      #2c47a6 on paper / white ............. 8.0:1 / 8.2:1
     accent      #2c47a6 on sky / rose / lemon / sap .. 7.0 / 6.9 / 7.4 / 7.0:1
     accent-hover #1d2f78 on paper .................... 11.8:1
     white       #ffffff on accent #2c47a6 ............ 8.2:1
     sap-deep    #2f5527 on sap #e4f0da ............... 7.3:1
     rose-deep   #8a2a41 on rose #fae6e9 .............. 7.1:1
     sky-deep    #1f4f80 on sky #e3eef8 ............... 7.2:1
     field edge  #868c9b on paper / white ............. 3.3:1 / 3.4:1 (non-text)
   ========================================================================== */

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

:root {
	/* Colour — roles */
	--wcp-paper: #fdfcf9;
	--wcp-paper-deep: #f5f2ea;
	--wcp-surface: #ffffff;
	--wcp-ink: #262b36;
	--wcp-ink-soft: #434a5a;
	--wcp-ink-muted: #5a6172;
	--wcp-line: #e6e2d8;
	--wcp-line-strong: #868c9b;
	--wcp-accent: #2c47a6;
	--wcp-accent-hover: #1d2f78;
	--wcp-accent-soft: #e9eefb;
	--wcp-focus: #2c47a6;

	/* Colour — paint tints (decoration only, never the sole carrier of meaning) */
	--wcp-sky: #e3eef8;
	--wcp-sky-mid: #a9c8e6;
	--wcp-sky-deep: #1f4f80;
	--wcp-rose: #fae6e9;
	--wcp-rose-mid: #eaa9b6;
	--wcp-rose-deep: #8a2a41;
	--wcp-lemon: #fcf4d2;
	--wcp-lemon-mid: #f1d774;
	--wcp-sap: #e4f0da;
	--wcp-sap-mid: #a9c98f;
	--wcp-sap-deep: #2f5527;

	/* Paint marks — one brush stroke per tint and a wobbly hand-drawn rule */
	--wcp-stroke-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6.2C18 2.6 34 2 52 3.4c22 1.7 44-2 67 .9-20 3.4-43 2.6-64 4.3C36 10 17 9.6 1 6.2z' fill='%23a9c8e6'/%3E%3C/svg%3E");
	--wcp-stroke-rose: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6.2C18 2.6 34 2 52 3.4c22 1.7 44-2 67 .9-20 3.4-43 2.6-64 4.3C36 10 17 9.6 1 6.2z' fill='%23eaa9b6'/%3E%3C/svg%3E");
	--wcp-stroke-lemon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6.2C18 2.6 34 2 52 3.4c22 1.7 44-2 67 .9-20 3.4-43 2.6-64 4.3C36 10 17 9.6 1 6.2z' fill='%23f1d774'/%3E%3C/svg%3E");
	--wcp-stroke-sap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6.2C18 2.6 34 2 52 3.4c22 1.7 44-2 67 .9-20 3.4-43 2.6-64 4.3C36 10 17 9.6 1 6.2z' fill='%23a9c98f'/%3E%3C/svg%3E");
	--wcp-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='8' viewBox='0 0 96 8'%3E%3Cpath d='M0 4c8-3.4 16-3.4 24 0s16 3.4 24 0 16-3.4 24 0 16 3.4 24 0' fill='none' stroke='%23d3cec1' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

	/* Typography — system stacks, nothing to download */
	--wcp-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--wcp-font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--wcp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

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

	--wcp-leading-tight: 1.18;
	--wcp-leading-snug: 1.35;
	--wcp-leading-normal: 1.65;
	--wcp-leading-relaxed: 1.75;

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

	/* Shape and shadow */
	--wcp-radius-sm: 6px;
	--wcp-radius: 10px;
	--wcp-radius-lg: 18px;
	/* An uneven outline, like a puddle of paint. */
	--wcp-radius-blob: 58% 42% 55% 45% / 48% 56% 44% 52%;
	--wcp-shadow-sm: 0 1px 2px rgba(38, 43, 54, 0.05), 0 2px 8px rgba(38, 43, 54, 0.04);
	--wcp-shadow: 0 2px 4px rgba(38, 43, 54, 0.05), 0 10px 24px rgba(38, 43, 54, 0.08);
	--wcp-shadow-lg: 0 4px 8px rgba(38, 43, 54, 0.06), 0 18px 40px rgba(38, 43, 54, 0.12);

	/* Layout */
	--wcp-container: 1180px;
	--wcp-measure: 42rem;
	--wcp-gutter: var(--wcp-s4);

	color-scheme: light;
}

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

/* --------------------------------------------------------------------------
   2. Light reset
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 1.5rem;
}

@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;
	}

	.wcp-card:hover,
	.wcp-topic:hover {
		transform: none !important;
	}
}

body {
	margin: 0;
	background-color: var(--wcp-paper);
	color: var(--wcp-ink);
	font-family: var(--wcp-font-body);
	font-size: var(--wcp-text-md);
	line-height: var(--wcp-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;
}

/* A wobbly rule, as if drawn with the tip of a brush. */
hr {
	border: 0;
	height: 8px;
	background: var(--wcp-wave) center / 96px 8px repeat-x;
	margin: var(--wcp-s8) 0;
}

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

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

h1 {
	font-size: clamp(2rem, 1.45rem + 2.4vw, var(--wcp-text-4xl));
}

h2 {
	font-size: clamp(1.625rem, 1.3rem + 1.4vw, var(--wcp-text-3xl));
}

h3 {
	font-size: clamp(1.3125rem, 1.15rem + 0.7vw, var(--wcp-text-xl));
}

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

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

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

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

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

strong,
b {
	font-weight: 700;
}

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

mark {
	background: var(--wcp-lemon);
	color: var(--wcp-ink);
	padding: 0 0.15em;
}

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

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

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

blockquote {
	margin: var(--wcp-s6) 0;
	padding: var(--wcp-s2) 0 var(--wcp-s2) var(--wcp-s5);
	border-left: 4px solid var(--wcp-sky-mid);
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-lg);
	font-style: italic;
	color: var(--wcp-ink-soft);
}

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

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

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

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

/* The main landmark only receives focus from the skip link. */
.wcp-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(--wcp-ink);
	border-radius: var(--wcp-radius-sm);
	box-shadow: var(--wcp-shadow);
	clip-path: none;
	color: var(--wcp-paper);
	display: block;
	font-size: var(--wcp-text-base);
	font-weight: 700;
	height: auto;
	left: var(--wcp-s4);
	line-height: normal;
	margin: 0;
	outline: 3px solid var(--wcp-lemon-mid);
	outline-offset: 2px;
	padding: var(--wcp-s3) var(--wcp-s4);
	text-decoration: none;
	top: var(--wcp-s4);
	width: auto;
	z-index: 100000;
}

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

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

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

/* Reading pages: the text measure plus the gutters. */
.wcp-container--narrow {
	max-width: calc(var(--wcp-measure) + 2 * var(--wcp-gutter));
}

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

/* Used on the homepage, where the hero sits flush against the header. */
.wcp-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. */
.wcp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wcp-s7);
}

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

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

/* With no sidebar the article sits in a centered reading column instead of
   hugging the left edge of a wide page. */
.wcp-layout:not(.wcp-layout--with-sidebar) .wcp-article,
.wcp-layout:not(.wcp-layout--with-sidebar) .wcp-post-nav,
.wcp-layout:not(.wcp-layout--with-sidebar) .wcp-comments,
.single.wcp-no-sidebar .wcp-breadcrumbs {
	max-width: var(--wcp-measure);
	margin-inline: auto;
}

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

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

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

@media (min-width: 62em) {
	.wcp-section {
		margin-block: var(--wcp-s10);
	}
}

/* Title on the left, "View all" on the right, description on a row of its
   own underneath. */
.wcp-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--wcp-s2) var(--wcp-s4);
	margin-bottom: var(--wcp-s6);
}

/* isolation keeps the wash blob (z-index: -1) behind the title text but in
   front of the page background. */
.wcp-section__title {
	position: relative;
	isolation: isolate;
	min-width: 0;
	margin: 0;
	padding-bottom: var(--wcp-s3);
	font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2rem);
}

/* A soft puddle of paint behind the first letters of every section title. */
.wcp-section__title::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: -0.5rem;
	top: -0.35rem;
	width: 4.5rem;
	height: 2.75rem;
	border-radius: var(--wcp-radius-blob);
	background: var(--wcp-sky-mid);
	opacity: 0.45;
	filter: blur(9px);
}

/* A brush stroke under every section title. */
.wcp-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(7rem, 100%);
	height: 8px;
	background: var(--wcp-stroke-sky) left center / 100% 100% no-repeat;
}

/* The tint rotates from section to section: sky, rose, lemon, sap green. */
.wcp-section:nth-of-type(4n + 2) .wcp-section__title::before {
	background: var(--wcp-rose-mid);
}

.wcp-section:nth-of-type(4n + 2) .wcp-section__title::after {
	background-image: var(--wcp-stroke-rose);
}

.wcp-section:nth-of-type(4n + 3) .wcp-section__title::before {
	background: var(--wcp-lemon-mid);
}

.wcp-section:nth-of-type(4n + 3) .wcp-section__title::after {
	background-image: var(--wcp-stroke-lemon);
}

.wcp-section:nth-of-type(4n) .wcp-section__title::before {
	background: var(--wcp-sap-mid);
}

.wcp-section:nth-of-type(4n) .wcp-section__title::after {
	background-image: var(--wcp-stroke-sap);
}

/* Always on its own line under the title and the "View all" link. */
.wcp-section__description {
	grid-column: 1 / -1;
	margin: 0;
	max-width: 60ch;
	color: var(--wcp-ink-soft);
	font-size: var(--wcp-text-md);
}

.wcp-section__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	font-size: var(--wcp-text-sm);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--wcp-sky-mid);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.wcp-section__link:hover {
	text-decoration-color: currentColor;
}

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

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

.wcp-site-header {
	position: relative;
	z-index: 50;
	background: var(--wcp-surface);
	border-bottom: 1px solid var(--wcp-line);
}

/* A strip of four washes running into each other along the top edge. */
.wcp-site-header::before {
	content: "";
	display: block;
	height: 5px;
	background: linear-gradient(90deg, var(--wcp-sky-mid), var(--wcp-rose-mid) 34%, var(--wcp-lemon-mid) 67%, var(--wcp-sap-mid));
}

.wcp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wcp-s3);
	min-height: 4.5rem;
	min-width: 0;
	padding-block: var(--wcp-s3);
}

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

.wcp-branding__mark {
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
}

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

/* The site name is long: on small screens it wraps to two balanced lines. */
.wcp-branding__title {
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-md);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
	text-wrap: balance;
}

.wcp-branding__title a {
	display: inline-block;
	padding-block: 0.6rem;
	color: var(--wcp-ink);
	text-decoration: none;
}

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

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

/* On phones the tagline would crowd the menu button. */
@media (max-width: 35.99em) {
	.wcp-branding__tagline {
		display: none;
	}

	/* Two lines of title are already a tall enough tap target. */
	.wcp-branding__title a {
		padding-block: 0.2rem;
	}
}

@media (min-width: 30em) {
	.wcp-branding__title {
		font-size: var(--wcp-text-lg);
	}
}

@media (min-width: 48em) {
	.wcp-branding__title {
		font-size: var(--wcp-text-xl);
	}
}

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

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

.wcp-menu-toggle:hover,
.wcp-menu-toggle[aria-expanded="true"] {
	background: var(--wcp-accent-soft);
	border-color: var(--wcp-accent);
	color: var(--wcp-ink);
}

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

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

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

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

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

.wcp-header__panel.is-open {
	display: block;
}

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

.wcp-nav__list li {
	position: relative;
}

.wcp-nav__list a {
	display: flex;
	align-items: center;
	min-height: 3rem;
	padding: var(--wcp-s2) var(--wcp-s1);
	border-bottom: 1px solid var(--wcp-line);
	color: var(--wcp-ink);
	font-size: var(--wcp-text-md);
	font-weight: 600;
	text-decoration: none;
}

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

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

/* The current page is marked by weight and a brush stroke, not by colour
   alone (and by aria-current in the markup). */
.wcp-nav .current-menu-item > a,
.wcp-nav .current-menu-ancestor > a,
.wcp-nav .current_page_item > a {
	color: var(--wcp-accent-hover);
	font-weight: 700;
	background: var(--wcp-stroke-sky) left bottom 0.45rem / 3.5rem 7px no-repeat;
}

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

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

/* The breakpoint below must match the one in assets/js/navigation.js and in
   the <noscript> block of header.php. */
@media (min-width: 62em) {
	.wcp-menu-toggle {
		display: none;
	}

	/* Two rows: brand and search on the first, the full menu on the second.
	   The long site name keeps a row to itself, and the eight menu items fit
	   on one line from the breakpoint up; if a longer menu is assigned, the
	   list wraps instead of overflowing the page. */
	.wcp-site-header .wcp-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: var(--wcp-s5);
	}

	.wcp-header__inner {
		flex: 1 1 0;
		min-height: 5rem;
	}

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

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

	.wcp-nav {
		order: 3;
		flex: 1 0 100%;
		min-width: 0;
		border-top: 1px solid var(--wcp-line);
		padding-block: var(--wcp-s1);
	}

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

	.wcp-nav__list a {
		min-height: 2.75rem;
		border-bottom: 0;
		border-radius: var(--wcp-radius-sm);
		padding: var(--wcp-s2) var(--wcp-s3);
		font-size: var(--wcp-text-sm);
		white-space: nowrap;
	}

	.wcp-nav__list a:hover {
		background-color: var(--wcp-accent-soft);
		color: var(--wcp-accent-hover);
	}

	.wcp-nav .current-menu-item > a,
	.wcp-nav .current-menu-ancestor > a,
	.wcp-nav .current_page_item > a {
		background: var(--wcp-stroke-sky) center bottom 0.3rem / calc(100% - 1.5rem) 7px no-repeat;
	}

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

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

	.wcp-nav__list .sub-menu a {
		padding-left: var(--wcp-s3);
		white-space: normal;
	}
}

@media (min-width: 75em) {
	.wcp-nav__list a {
		font-size: var(--wcp-text-base);
		padding-inline: var(--wcp-s4);
	}

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

	.wcp-nav .current-menu-item > a,
	.wcp-nav .current-menu-ancestor > a,
	.wcp-nav .current_page_item > a {
		background-size: calc(100% - 2rem) 7px;
	}
}

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

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

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

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

.wcp-required {
	color: var(--wcp-rose-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(--wcp-surface);
	border: 1.5px solid var(--wcp-line-strong);
	border-radius: var(--wcp-radius);
	color: var(--wcp-ink);
	font: inherit;
	font-size: var(--wcp-text-base);
	min-height: 2.875rem;
	padding: var(--wcp-s3);
}

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

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

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

/* Search field */
.wcp-search-form {
	display: flex;
	gap: var(--wcp-s2);
}

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

.wcp-search-form input[type="search"] {
	min-height: 2.75rem;
	padding-block: var(--wcp-s2);
}

.wcp-search-form__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	background: var(--wcp-accent-soft);
	border: 1.5px solid var(--wcp-accent);
	border-radius: var(--wcp-radius);
	color: var(--wcp-accent-hover);
	cursor: pointer;
	padding: 0 var(--wcp-s3);
}

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

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

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

.wcp-button,
.wcp-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--wcp-s2);
	background: var(--wcp-accent);
	border: 1.5px solid var(--wcp-accent);
	border-radius: var(--wcp-radius);
	box-shadow: 0 2px 0 rgba(29, 47, 120, 0.18);
	color: var(--wcp-surface);
	cursor: pointer;
	font-family: var(--wcp-font-body);
	font-size: var(--wcp-text-base);
	font-weight: 700;
	line-height: 1.3;
	min-height: 3rem;
	padding: var(--wcp-s3) var(--wcp-s5);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.wcp-button--secondary {
	background: var(--wcp-surface);
	border-color: var(--wcp-accent);
	box-shadow: none;
	color: var(--wcp-accent-hover);
}

.wcp-button--secondary:hover,
.wcp-button--secondary:focus {
	background: var(--wcp-accent-soft);
	border-color: var(--wcp-accent-hover);
	color: var(--wcp-accent-hover);
}

.wcp-button--small {
	font-size: var(--wcp-text-sm);
	min-height: 2.75rem;
	padding: var(--wcp-s2) var(--wcp-s4);
}

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

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

/* Category link above a title. The negative margin keeps the 44px tap area
   from pushing the title away. */
.wcp-eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	margin-block: -0.7rem -0.55rem;
	font-size: var(--wcp-text-xs);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--wcp-accent);
	text-decoration: none;
}

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

/* A washy pill: a pale sky wash that pools slightly at one end. */
.wcp-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--wcp-s1);
	min-height: 2.75rem;
	background: linear-gradient(100deg, var(--wcp-sky), #eef2fb 55%, var(--wcp-rose));
	border: 1px solid #c9d8ea;
	border-radius: 999px;
	color: var(--wcp-accent-hover);
	font-size: var(--wcp-text-sm);
	font-weight: 600;
	padding: 0.4rem 1rem;
	text-decoration: none;
}

a.wcp-chip:hover {
	border-color: var(--wcp-accent);
	color: var(--wcp-accent-hover);
	text-decoration: underline;
}

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

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

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

.wcp-meta a {
	color: inherit;
}

.wcp-meta svg {
	flex: 0 0 auto;
	color: var(--wcp-accent);
}

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

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

.wcp-grid {
	display: grid;
	gap: var(--wcp-s6) var(--wcp-s5);
	grid-template-columns: minmax(0, 1fr);
	/* Room for the strip of tape that sticks out above each card. */
	padding-top: var(--wcp-s2);
}

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

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

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

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

/* A tutorial card is a sheet of watercolor paper taped to the board: white
   margin around the picture, a hairline edge, a soft shadow and one strip of
   masking tape at the top. */
.wcp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: 4px;
	box-shadow: var(--wcp-shadow-sm);
	padding: 0.625rem 0.625rem 0;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.wcp-card::before {
	content: "";
	position: absolute;
	top: -0.5rem;
	left: 50%;
	width: 3.75rem;
	height: 1.05rem;
	background: rgba(241, 215, 116, 0.55);
	box-shadow: 0 1px 1px rgba(38, 43, 54, 0.06);
	transform: translateX(-50%) rotate(-2deg);
	pointer-events: none;
}

.wcp-grid > .wcp-card:nth-child(even)::before {
	background: rgba(169, 200, 230, 0.6);
	transform: translateX(-50%) rotate(1.5deg);
}

.wcp-card:hover {
	border-color: #d6d1c4;
	box-shadow: var(--wcp-shadow);
	transform: translateY(-3px);
}

.wcp-card__media {
	display: block;
	background: var(--wcp-paper-deep);
	border-radius: 2px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

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

/* Posts without a featured image get three washes running into each other. */
.wcp-card__media--placeholder,
.wcp-card-row__media--placeholder {
	background:
		radial-gradient(60% 80% at 22% 30%, var(--wcp-sky-mid), transparent 70%),
		radial-gradient(55% 75% at 78% 35%, var(--wcp-rose-mid), transparent 70%),
		radial-gradient(60% 70% at 50% 90%, var(--wcp-lemon-mid), transparent 70%),
		var(--wcp-paper-deep);
}

.wcp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--wcp-s1);
	min-width: 0;
	padding: var(--wcp-s4) var(--wcp-s2) var(--wcp-s4);
}

.wcp-card__title {
	font-size: var(--wcp-text-xl);
	line-height: 1.25;
	margin: 0;
}

.wcp-grid--4 .wcp-card__title {
	font-size: var(--wcp-text-lg);
}

.wcp-card__title a,
.wcp-card-row__title a,
.wcp-steps__title a {
	display: block;
	padding-block: 0.5rem;
	color: var(--wcp-ink);
	text-decoration: none;
}

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

.wcp-card__excerpt {
	color: var(--wcp-ink-soft);
	font-size: var(--wcp-text-base);
	line-height: 1.6;
	margin: 0;
}

.wcp-grid--4 .wcp-card__excerpt {
	font-size: var(--wcp-text-sm);
}

.wcp-card__footer {
	margin-top: auto;
	padding-top: var(--wcp-s3);
}

.wcp-card__footer .wcp-meta {
	padding-top: var(--wcp-s3);
	border-top: 1px solid var(--wcp-line);
}

/* Horizontal card (lists and search results) */
.wcp-card-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wcp-s4);
	padding-bottom: var(--wcp-s6);
	background: var(--wcp-wave) left bottom / 96px 8px repeat-x;
}

.wcp-card-row:last-child {
	background: none;
	padding-bottom: 0;
}

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

.wcp-card-row__media {
	display: block;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: 4px;
	box-shadow: var(--wcp-shadow-sm);
	padding: 0.4rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

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

.wcp-card-row__title {
	font-size: var(--wcp-text-xl);
	line-height: 1.25;
	margin: var(--wcp-s1) 0 var(--wcp-s2);
}

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

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

/* Numbered path (Start Here): each lesson number sits on a puddle of paint. */
.wcp-steps {
	list-style: none;
	counter-reset: wcp-step;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wcp-s4);
	margin: 0;
	padding: 0;
}

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

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

.wcp-steps > li > * {
	min-width: 0;
}

.wcp-steps > li::before {
	content: counter(wcp-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	background: radial-gradient(circle at 35% 30%, var(--wcp-sky), var(--wcp-sky-mid));
	border-radius: var(--wcp-radius-blob);
	color: var(--wcp-ink);
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-xl);
	font-weight: 700;
}

.wcp-steps > li:nth-child(4n + 2)::before {
	background: radial-gradient(circle at 35% 30%, var(--wcp-rose), var(--wcp-rose-mid));
	border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%;
}

.wcp-steps > li:nth-child(4n + 3)::before {
	background: radial-gradient(circle at 35% 30%, var(--wcp-lemon), var(--wcp-lemon-mid));
	border-radius: 52% 48% 60% 40% / 44% 58% 42% 56%;
}

.wcp-steps > li:nth-child(4n)::before {
	background: radial-gradient(circle at 35% 30%, var(--wcp-sap), var(--wcp-sap-mid));
	border-radius: 44% 56% 50% 50% / 58% 46% 54% 42%;
}

.wcp-steps__title {
	font-size: var(--wcp-text-xl);
	line-height: 1.25;
	margin: 0 0 var(--wcp-s1);
}

.wcp-steps p {
	color: var(--wcp-ink-soft);
	font-size: var(--wcp-text-base);
	line-height: 1.6;
	margin: 0;
}

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

/* Clean paper with three large, soft washes bleeding in from the edges.
   overflow: hidden keeps the blobs from widening the page. */
.wcp-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--wcp-paper);
	padding-block: var(--wcp-s8) var(--wcp-s7);
}

.wcp-hero::before,
.wcp-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: var(--wcp-radius-blob);
	filter: blur(48px);
	pointer-events: none;
}

.wcp-hero::before {
	top: -6rem;
	left: -5rem;
	width: 20rem;
	height: 17rem;
	background: var(--wcp-sky-mid);
	opacity: 0.5;
}

.wcp-hero::after {
	right: -4rem;
	bottom: -7rem;
	width: 19rem;
	height: 17rem;
	background: radial-gradient(circle at 30% 40%, var(--wcp-rose-mid), var(--wcp-lemon-mid));
	opacity: 0.42;
}

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

.wcp-hero__inner > * {
	min-width: 0;
}

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

	.wcp-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: var(--wcp-s7);
	}
}

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

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

.wcp-hero__title {
	font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin-bottom: var(--wcp-s5);
	max-width: 18ch;
	text-wrap: balance;
}

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

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

/* Decorative inline SVG (no image request, no JS). */
.wcp-hero__figure {
	max-width: 19rem;
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 48em) {
	.wcp-hero__figure {
		max-width: 30rem;
	}
}

.wcp-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

/* The washes on the hero sheet darken where they overlap, as wet paint does. */
.wcp-hero__paint > * {
	mix-blend-mode: multiply;
}

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

.wcp-topics > li {
	min-width: 0;
}

.wcp-topic {
	display: flex;
	flex-direction: column;
	gap: var(--wcp-s2);
	min-width: 0;
	height: 100%;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s5);
	text-decoration: none;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.wcp-topic:hover {
	border-color: var(--wcp-accent);
	box-shadow: var(--wcp-shadow);
	transform: translateY(-2px);
}

/* The icon sits on a small puddle of paint; the tint rotates per tile. */
.wcp-topic__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: var(--wcp-s2);
	background: radial-gradient(circle at 35% 30%, var(--wcp-sky), var(--wcp-sky-mid));
	border-radius: var(--wcp-radius-blob);
	color: var(--wcp-ink);
}

.wcp-topic__icon .wcp-icon {
	width: 1.6rem;
	height: 1.6rem;
}

.wcp-topics > li:nth-child(4n + 2) .wcp-topic__icon {
	background: radial-gradient(circle at 35% 30%, var(--wcp-rose), var(--wcp-rose-mid));
	border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%;
}

.wcp-topics > li:nth-child(4n + 3) .wcp-topic__icon {
	background: radial-gradient(circle at 35% 30%, var(--wcp-lemon), var(--wcp-lemon-mid));
	border-radius: 52% 48% 60% 40% / 44% 58% 42% 56%;
}

.wcp-topics > li:nth-child(4n) .wcp-topic__icon {
	background: radial-gradient(circle at 35% 30%, var(--wcp-sap), var(--wcp-sap-mid));
	border-radius: 44% 56% 50% 50% / 58% 46% 54% 42%;
}

.wcp-topic__name {
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-xl);
	font-weight: 700;
	line-height: 1.2;
	color: var(--wcp-ink);
}

.wcp-topic:hover .wcp-topic__name {
	color: var(--wcp-accent);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.wcp-topic__desc {
	color: var(--wcp-ink-soft);
	font-size: var(--wcp-text-base);
	line-height: 1.55;
}

.wcp-topic__count {
	margin-top: auto;
	padding-top: var(--wcp-s2);
	color: var(--wcp-ink-muted);
	font-size: var(--wcp-text-sm);
}

/* Closing call to action: a light panel with two washes pooling in its
   corners. The text stays on the white of the paper. */
.wcp-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wcp-s5);
	align-items: center;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius-lg);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s7) var(--wcp-s5);
}

.wcp-cta > * {
	min-width: 0;
}

.wcp-cta::before,
.wcp-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: var(--wcp-radius-blob);
	filter: blur(36px);
	pointer-events: none;
}

.wcp-cta::before {
	top: -5rem;
	right: -3rem;
	width: 15rem;
	height: 12rem;
	background: var(--wcp-sky-mid);
	opacity: 0.45;
}

.wcp-cta::after {
	bottom: -6rem;
	left: -4rem;
	width: 14rem;
	height: 12rem;
	background: var(--wcp-sap-mid);
	opacity: 0.35;
}

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

.wcp-cta__title {
	margin-bottom: var(--wcp-s3);
}

.wcp-cta__text {
	color: var(--wcp-ink-soft);
	font-size: var(--wcp-text-lg);
	margin: 0;
	max-width: 54ch;
}

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

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

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

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

.wcp-breadcrumbs li + li::before {
	content: "\203A";
	color: var(--wcp-ink-muted);
	font-weight: 700;
}

.wcp-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--wcp-ink-soft);
	text-decoration: underline;
	text-decoration-color: var(--wcp-sky-mid);
	text-decoration-thickness: 2px;
}

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

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

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

.wcp-article__title {
	margin-bottom: var(--wcp-s4);
	text-wrap: balance;
}

.wcp-article__summary {
	color: var(--wcp-ink-soft);
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-xl);
	line-height: 1.5;
	max-width: var(--wcp-measure);
	margin-bottom: var(--wcp-s5);
}

.wcp-article__meta {
	padding-top: var(--wcp-s5);
	background: var(--wcp-wave) left top / 96px 8px repeat-x;
}

/* The featured image is a painting on its sheet: a white margin all round. */
.wcp-article__figure {
	margin-bottom: var(--wcp-s6);
}

.wcp-article__figure img {
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: 4px;
	box-shadow: var(--wcp-shadow-sm);
	padding: 0.5rem;
	width: 100%;
}

/* Figures and captions */
.wcp-article__figure figcaption,
.wcp-content figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	margin-top: var(--wcp-s3);
	color: var(--wcp-ink-muted);
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-base);
	font-style: italic;
	line-height: var(--wcp-leading-snug);
	text-align: center;
}

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

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

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

.wcp-content p,
.wcp-content ul,
.wcp-content ol {
	margin-bottom: var(--wcp-s5);
}

.wcp-content h2 {
	margin-top: var(--wcp-s9);
	margin-bottom: var(--wcp-s5);
	padding-bottom: var(--wcp-s4);
	background: var(--wcp-stroke-sky) left bottom / 6rem 8px no-repeat;
}

.wcp-content h3 {
	margin-top: var(--wcp-s7);
}

.wcp-content h4 {
	margin-top: var(--wcp-s6);
}

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

.wcp-content ul,
.wcp-content ol {
	margin-top: 0;
	padding-left: 1.5em;
}

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

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

.wcp-content li > p:last-child {
	margin-bottom: 0;
}

.wcp-content ul:not([class]) > li::marker {
	color: var(--wcp-accent);
}

/* Ordered lists are the painting steps: serif numerals in the accent colour
   and room to breathe between top-level steps. */
.wcp-content ol {
	padding-left: 1.9em;
}

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

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

.wcp-content > ol > li + li {
	margin-top: var(--wcp-s4);
}

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

.wcp-content img {
	border: 1px solid var(--wcp-line);
	border-radius: 4px;
	background-color: var(--wcp-surface);
	box-shadow: var(--wcp-shadow-sm);
	padding: 0.4rem;
}

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

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

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

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

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

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

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

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

.wcp-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
	background: rgba(245, 242, 234, 0.6);
}

.wcp-content thead th,
.wp-block-table thead th {
	background: var(--wcp-sky);
	border-bottom: 2px solid var(--wcp-sky-mid);
	color: var(--wcp-ink);
	font-size: var(--wcp-text-sm);
	font-weight: 700;
}

.wcp-content tbody th {
	font-weight: 700;
}

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

/* Callouts — used in article content and available in the block editor.
   A soft tinted wash; the kind of callout is carried by its title text and
   by the shape before it, never by the tint alone. */
.wcp-callout {
	position: relative;
	background: linear-gradient(135deg, var(--wcp-sky), #f0f5fb);
	border: 1px solid #c9dcee;
	border-radius: var(--wcp-radius-lg) var(--wcp-radius) var(--wcp-radius-lg) var(--wcp-radius);
	padding: var(--wcp-s5);
	margin-block: var(--wcp-s6);
}

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

.wcp-callout__title {
	display: flex;
	align-items: center;
	gap: var(--wcp-s2);
	font-family: var(--wcp-font-body);
	font-size: var(--wcp-text-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wcp-sky-deep);
	margin-bottom: var(--wcp-s2);
}

.wcp-content .wcp-callout__title {
	margin-bottom: var(--wcp-s2);
}

/* Small shape before the title: a paint drop for tips, a triangle for
   common mistakes. */
.wcp-callout__title::before {
	content: "";
	flex: 0 0 auto;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 0 50% 50% 50%;
	background: currentColor;
	transform: rotate(45deg);
}

.wcp-callout--tip {
	background: linear-gradient(135deg, var(--wcp-sap), #f1f7ea);
	border-color: #c8ddb7;
}

.wcp-callout--tip .wcp-callout__title {
	color: var(--wcp-sap-deep);
}

.wcp-callout--warning {
	background: linear-gradient(135deg, var(--wcp-rose), #fdf1f3);
	border-color: #efc6cf;
}

.wcp-callout--warning .wcp-callout__title {
	color: var(--wcp-rose-deep);
}

.wcp-callout--warning .wcp-callout__title::before {
	width: 0;
	height: 0;
	border-radius: 0;
	background: none;
	border-left: 0.42rem solid transparent;
	border-right: 0.42rem solid transparent;
	border-bottom: 0.72rem solid currentColor;
	transform: none;
}

/* Tutorial facts (difficulty, time, paper, painting size, colors and tools):
   a white sheet with a strip of four test swatches along its top edge. */
.wcp-tutorial-facts {
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s5);
	margin-bottom: var(--wcp-s6);
	overflow: hidden;
}

.wcp-tutorial-facts::before {
	content: "";
	display: block;
	height: 6px;
	margin: calc(-1 * var(--wcp-s5)) calc(-1 * var(--wcp-s5)) var(--wcp-s5);
	background: linear-gradient(90deg, var(--wcp-sky-mid) 0 25%, var(--wcp-rose-mid) 25% 50%, var(--wcp-lemon-mid) 50% 75%, var(--wcp-sap-mid) 75%);
}

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

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

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

.wcp-facts__item > span:last-child {
	min-width: 0;
}

.wcp-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--wcp-sky);
	border-radius: var(--wcp-radius-blob);
	color: var(--wcp-accent-hover);
}

.wcp-facts__item:nth-child(4n + 2) .wcp-facts__icon {
	background: var(--wcp-rose);
}

.wcp-facts__item:nth-child(4n + 3) .wcp-facts__icon {
	background: var(--wcp-lemon);
}

.wcp-facts__item:nth-child(4n) .wcp-facts__icon {
	background: var(--wcp-sap);
}

.wcp-facts__icon .wcp-icon {
	width: 1.35rem;
	height: 1.35rem;
}

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

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

.wcp-materials {
	margin-top: var(--wcp-s5);
	padding-top: var(--wcp-s5);
	background: var(--wcp-wave) left top / 96px 8px repeat-x;
}

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

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

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

/* A small dab of paint before every item. */
.wcp-materials__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.7rem;
	height: 0.7rem;
	margin-top: 0.5em;
	background: var(--wcp-sky-mid);
	border-radius: var(--wcp-radius-blob);
}

.wcp-materials__list li:nth-child(4n + 2)::before {
	background: var(--wcp-rose-mid);
}

.wcp-materials__list li:nth-child(4n + 3)::before {
	background: var(--wcp-lemon-mid);
}

.wcp-materials__list li:nth-child(4n)::before {
	background: var(--wcp-sap-mid);
}

/* Table of contents */
.wcp-toc {
	background: var(--wcp-paper-deep);
	border-radius: var(--wcp-radius);
	padding: var(--wcp-s5);
	margin-bottom: var(--wcp-s7);
}

.wcp-toc__title {
	margin-bottom: var(--wcp-s2);
}

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

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

.wcp-toc > ol > li > a::before {
	content: counter(wcp-toc) ". ";
	color: var(--wcp-accent);
	font-family: var(--wcp-font-head);
	font-weight: 700;
}

.wcp-toc a {
	display: inline-block;
	padding-block: 0.6rem;
	color: var(--wcp-ink);
	text-decoration: underline;
	text-decoration-color: var(--wcp-line-strong);
}

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

.wcp-toc ol ol {
	margin: 0 0 var(--wcp-s2) var(--wcp-s5);
	font-size: var(--wcp-text-base);
}

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

/* FAQ */
.wcp-faq {
	margin-top: var(--wcp-s9);
}

.wcp-faq > h2 {
	padding-bottom: var(--wcp-s4);
	margin-bottom: var(--wcp-s5);
	background: var(--wcp-stroke-rose) left bottom / 6rem 8px no-repeat;
}

.wcp-faq__item {
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius);
	box-shadow: var(--wcp-shadow-sm);
	margin-bottom: var(--wcp-s4);
	padding: var(--wcp-s5);
}

.wcp-faq__question {
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-xl);
	font-weight: 700;
	margin: 0 0 var(--wcp-s2);
}

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

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

/* Article footer */
.wcp-article__footer {
	margin-top: var(--wcp-s8);
	padding-top: var(--wcp-s6);
	background: var(--wcp-wave) left top / 96px 8px repeat-x;
}

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

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

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

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

@media (min-width: 48em) {
	.wcp-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. */
	.wcp-post-nav__link--next:only-child {
		grid-column: 2;
	}
}

.wcp-post-nav__link {
	display: block;
	min-width: 0;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s4) var(--wcp-s5);
	text-decoration: none;
	height: 100%;
}

.wcp-post-nav__link:hover {
	border-color: var(--wcp-accent);
	background: var(--wcp-accent-soft);
}

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

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

.wcp-post-nav__link:hover .wcp-post-nav__title {
	text-decoration: underline;
}

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

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

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

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

@media (min-width: 62em) {
	.wcp-sidebar--sticky {
		position: sticky;
		top: var(--wcp-s5);
	}
}

.wcp-widget {
	min-width: 0;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s5);
	font-size: var(--wcp-text-base);
}

.wcp-widget__title,
.wcp-widget .widget-title {
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-lg);
	font-weight: 700;
	color: var(--wcp-ink);
	margin: 0 0 var(--wcp-s3);
	padding-bottom: var(--wcp-s3);
	background: var(--wcp-stroke-lemon) left bottom / 4rem 7px no-repeat;
}

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

.wcp-widget li + li {
	border-top: 1px solid var(--wcp-line);
}

.wcp-widget a {
	display: inline-block;
	padding-block: 0.6rem;
	color: var(--wcp-ink);
	text-decoration: none;
}

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

.wcp-widget .children,
.wcp-widget .sub-menu {
	padding-left: var(--wcp-s4);
}

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

.wcp-archive-header {
	position: relative;
	isolation: isolate;
	margin-bottom: var(--wcp-s8);
}

/* A wash behind the archive title, like the first stroke on a new sheet. */
.wcp-archive-header::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -1rem;
	left: -0.5rem;
	width: min(16rem, 70%);
	height: 5.5rem;
	border-radius: var(--wcp-radius-blob);
	background: linear-gradient(100deg, var(--wcp-sky-mid), var(--wcp-rose-mid));
	opacity: 0.32;
	filter: blur(22px);
	pointer-events: none;
}

.wcp-archive-header__title {
	margin-bottom: var(--wcp-s3);
	padding-bottom: var(--wcp-s4);
	background: var(--wcp-stroke-sky) left bottom / 7rem 9px no-repeat;
}

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

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

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

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

.wcp-pagination {
	margin-top: var(--wcp-s8);
	padding-top: var(--wcp-s6);
	background: var(--wcp-wave) left top / 96px 8px repeat-x;
}

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

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

.wcp-pagination li {
	margin: 0;
}

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

.wcp-pagination a.page-numbers:hover {
	background: var(--wcp-accent-soft);
	border-color: var(--wcp-accent);
	color: var(--wcp-accent-hover);
}

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

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

/* Search */
.wcp-search-intro {
	margin-bottom: var(--wcp-s7);
}

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

.wcp-no-results {
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius-lg);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s6) var(--wcp-s5);
}

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

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

.wcp-no-results__suggestions li {
	padding-left: 1.4em;
	position: relative;
}

.wcp-no-results__suggestions li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.7rem;
	height: 0.7rem;
	background: var(--wcp-rose-mid);
	border-radius: var(--wcp-radius-blob);
}

/* 404 */
.wcp-error-404 {
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
}

/* The number is painted in a pale wash: it is decoration (aria-hidden), the
   message is the H1 below it. */
.wcp-error-404__code {
	display: inline-block;
	font-family: var(--wcp-font-head);
	font-size: clamp(4rem, 2rem + 10vw, 7rem);
	font-weight: 700;
	line-height: 1;
	color: var(--wcp-sky-mid);
	margin: 0 0 var(--wcp-s5);
	padding-bottom: var(--wcp-s4);
	background: var(--wcp-stroke-rose) center bottom / 100% 10px no-repeat;
}

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

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

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

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

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

.wcp-page__header {
	margin-bottom: var(--wcp-s7);
}

.wcp-page__header .wcp-page__title {
	margin-bottom: 0;
	padding-bottom: var(--wcp-s4);
	background: var(--wcp-stroke-sky) left bottom / 7rem 9px no-repeat;
	text-wrap: balance;
}

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

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

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

.wcp-form-notice--success {
	background: var(--wcp-sap);
	border-color: #8fb573;
	color: #23451c;
}

.wcp-form-notice--error {
	background: var(--wcp-rose);
	border-color: #d98a9b;
	color: #74203a;
}

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

.wcp-form {
	max-width: 38rem;
	background: var(--wcp-surface);
	border: 1px solid var(--wcp-line);
	border-radius: var(--wcp-radius-lg);
	box-shadow: var(--wcp-shadow-sm);
	padding: var(--wcp-s5);
}

@media (min-width: 48em) {
	.wcp-form {
		padding: var(--wcp-s6);
	}
}

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

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

.wcp-field__error {
	display: block;
	margin-top: var(--wcp-s2);
	color: var(--wcp-rose-deep);
	font-size: var(--wcp-text-sm);
	font-weight: 700;
}

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

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

.wcp-comments {
	margin-top: var(--wcp-s9);
	padding-top: var(--wcp-s7);
	background: var(--wcp-wave) left top / 96px 8px repeat-x;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wcp-site-footer {
	background: var(--wcp-paper-deep);
	margin-top: auto;
	padding-bottom: var(--wcp-s6);
}

/* The same strip of washes that opens the page closes it. */
.wcp-site-footer::before {
	content: "";
	display: block;
	height: 5px;
	margin-bottom: var(--wcp-s8);
	background: linear-gradient(90deg, var(--wcp-sap-mid), var(--wcp-lemon-mid) 33%, var(--wcp-rose-mid) 66%, var(--wcp-sky-mid));
}

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

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

	.wcp-footer__about {
		grid-column: 1 / -1;
	}
}

@media (min-width: 62em) {
	.wcp-footer__grid {
		/* The description takes a wider first column; each menu that exists
		   adds one equal column after it. */
		grid-template-columns: minmax(0, 1.6fr);
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: var(--wcp-s8);
	}

	.wcp-footer__about {
		grid-column: auto;
	}
}

.wcp-footer__about p {
	color: var(--wcp-ink-soft);
	font-size: var(--wcp-text-md);
	max-width: 44ch;
	margin-bottom: 0;
}

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

.wcp-footer__heading {
	font-family: var(--wcp-font-body);
	font-size: var(--wcp-text-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wcp-ink-soft);
	margin: 0 0 var(--wcp-s2);
}

.wcp-footer__about .wcp-footer__heading {
	font-family: var(--wcp-font-head);
	font-size: var(--wcp-text-xl);
	letter-spacing: 0;
	text-transform: none;
	color: var(--wcp-ink);
	margin-bottom: var(--wcp-s3);
	padding-bottom: var(--wcp-s3);
	background: var(--wcp-stroke-sky) left bottom / 5rem 7px no-repeat;
}

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

/* Each link is a full 44px tap target. */
.wcp-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--wcp-ink);
	text-decoration: underline;
	text-decoration-color: var(--wcp-line-strong);
}

.wcp-footer__menu a:hover {
	color: var(--wcp-accent-hover);
	text-decoration-color: currentColor;
}

.wcp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wcp-s3);
	padding-top: var(--wcp-s6);
	background: var(--wcp-wave) left top / 96px 8px repeat-x;
	color: var(--wcp-ink-muted);
	font-size: var(--wcp-text-sm);
}

.wcp-footer__bottom p {
	margin: 0;
}

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

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

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

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

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

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

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

@media (max-width: 35.99em) {
	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 var(--wcp-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(--wcp-radius);
}

/* --------------------------------------------------------------------------
   20. Print — tutorials that read well on paper
   -------------------------------------------------------------------------- */

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

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

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

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

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

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

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

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