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

   Look: a calm, tidy bedroom. Linen page, warm-white surfaces, dusk blue
   for everything interactive, pale blue wash panels and a little clay, oat
   and sage. Three recurring motifs, all plain CSS:
     1. Soft frame  — images sit in a warm-white frame with evenly rounded
        corners and a quiet shadow.
     2. Rule        — headings and card groups rest on an oat hairline with
        a short clay tab at its start.
     3. Drawer      — list bullets and step numbers are small rounded
        squares, like drawer fronts.

   Contrast reference (WCAG 2.1, calculated from relative luminance):
     charcoal   #2b3440 on linen #f6f1e9 / band #efe8db ..... 11.2:1 / 10.3:1
     charcoal   #2b3440 on warm white #fbf9f4 / wash #e8eef4  12.0:1 / 10.8:1
     ink-soft   #434e5c on linen / band / warm white / wash . 7.5 / 6.9 / 8.0 / 7.2:1
     ink-muted  #5d6875 on linen / band / warm white / wash . 5.0 / 4.7 / 5.4 / 4.9:1
     dusk       #3d566e on linen / band / warm white ........ 6.8 / 6.3 / 7.3:1
     dusk       #3d566e on wash #e8eef4 / deep wash #dbe5ee . 6.5 / 5.9:1
     warm white #fbf9f4 on dusk #3d566e / deep dusk #2e4257 . 7.3 / 9.8:1
     footer text #dde5ec on deep dusk #2e4257 ............... 8.1:1
     soft blue  #a9bfd3 on deep dusk (headings, focus ring) . 5.5:1
     blush      #e9c9b9 on deep dusk (footer link hover) .... 6.7:1
     clay text  #96573f on linen / warm white / clay tint ... 5.0 / 5.4 / 4.9:1
     deep dusk  #2e4257 on sage tint #e9efe7 ................ 8.8:1
     form border #6f7a87 on warm white / linen (non-text) ... 4.1 / 3.9:1
   Clay #c98a72, oat #e6dcc9, deep oat #cdbfa5, sage #a8b9a5 and soft blue
   #a9bfd3 (on light surfaces) are decoration only — borders, bullets,
   rules — and never carry text. Clay #a5644c is 4.4:1 on warm white, so
   clay-coloured text uses the slightly deeper #96573f.
   Focus ring: 3px charcoal on light surfaces (11:1), 3px soft blue on the
   deep dusk footer (5.5:1), always with a 2px offset.
   ========================================================================== */

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

:root {
	/* Colour — raw palette */
	--bdo-dusk: #3d566e;
	--bdo-dusk-deep: #2e4257;
	--bdo-blue-soft: #a9bfd3;
	--bdo-wash: #e8eef4;
	--bdo-wash-deep: #dbe5ee;
	--bdo-charcoal: #2b3440;
	--bdo-linen: #f6f1e9;
	--bdo-linen-deep: #efe8db;
	--bdo-white: #fbf9f4;
	--bdo-clay: #c98a72;
	--bdo-clay-deep: #96573f;
	--bdo-clay-soft: #f9eee8;
	--bdo-blush: #e9c9b9;
	--bdo-oat: #e6dcc9;
	--bdo-oat-deep: #cdbfa5;
	--bdo-sage: #a8b9a5;
	--bdo-sage-soft: #e9efe7;

	/* Colour — roles */
	--bdo-bg: var(--bdo-linen);
	--bdo-bg-deep: var(--bdo-linen-deep);
	--bdo-surface: var(--bdo-white);
	--bdo-ink: var(--bdo-charcoal);
	--bdo-ink-soft: #434e5c;
	--bdo-ink-muted: #5d6875;
	--bdo-line: var(--bdo-oat);
	--bdo-line-strong: #6f7a87;
	--bdo-accent: var(--bdo-dusk);
	--bdo-accent-hover: var(--bdo-dusk-deep);
	--bdo-accent-soft: var(--bdo-wash);
	--bdo-focus: var(--bdo-charcoal);

	/* Motif — rule: an oat hairline with a short clay tab at its start.
	   Used as a background on anything that needs bottom padding of 1.25rem
	   or more. */
	--bdo-rule:
		linear-gradient(var(--bdo-clay), var(--bdo-clay)) left bottom 6px / 3rem 3px no-repeat,
		linear-gradient(var(--bdo-oat), var(--bdo-oat)) left bottom 7px / 100% 1px no-repeat;

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

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

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

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

	/* Shape: soft, evenly rounded corners and quiet shadows. */
	--bdo-radius-sm: 6px;
	--bdo-radius: 10px;
	--bdo-radius-lg: 14px;
	--bdo-radius-xl: 1.25rem;
	--bdo-radius-pill: 999px;
	--bdo-shadow-sm: 0 1px 2px rgba(43, 52, 64, 0.04), 0 4px 14px rgba(43, 52, 64, 0.05);
	--bdo-shadow: 0 2px 4px rgba(43, 52, 64, 0.04), 0 12px 28px rgba(43, 52, 64, 0.09);

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

	color-scheme: light;
}

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

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

/* --------------------------------------------------------------------------
   2. Light 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(--bdo-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(--bdo-bg);
	color: var(--bdo-ink);
	font-family: var(--bdo-font-body);
	font-size: var(--bdo-text-md);
	line-height: var(--bdo-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(--bdo-s7) 0;
	background: var(--bdo-rule);
}

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

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

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

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

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

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

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

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

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

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

strong,
b {
	font-weight: 700;
}

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

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

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

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

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

/* A quote sits in a pale blue wash panel with a clay stripe. */
blockquote {
	margin: var(--bdo-s6) 0;
	padding: var(--bdo-s5);
	background: var(--bdo-wash);
	border: 1px solid var(--bdo-wash-deep);
	border-left: 5px solid var(--bdo-clay);
	border-radius: var(--bdo-radius-lg);
	font-family: var(--bdo-font-head);
	font-size: var(--bdo-text-lg);
	color: var(--bdo-ink);
}

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

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

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

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

/* On the deep dusk footer the ring switches to soft blue. */
.bdo-site-footer :focus-visible {
	outline-color: var(--bdo-blue-soft);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.bdo-section__title {
	margin: 0;
	font-size: var(--bdo-text-2xl);
}

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

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

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

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

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

/* A light header that stays in view. On wide screens the brand row scrolls
   away and only the linen navigation band stays pinned (negative top). */
.bdo-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bdo-surface);
	border-bottom: 1px solid var(--bdo-line);
}

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

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

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

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

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

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

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

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

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

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

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

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

.bdo-menu-toggle:hover {
	background: var(--bdo-wash-deep);
	border-color: var(--bdo-dusk);
	color: var(--bdo-ink);
}

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

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

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

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

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

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

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

.bdo-nav__list li {
	position: relative;
}

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

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

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

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

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

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

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

	/* Brand row scrolls away; the navigation band stays pinned. */
	.bdo-site-header {
		top: calc(-1 * var(--bdo-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. */
	.bdo-site-header .bdo-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: var(--bdo-s5);
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.bdo-required {
	color: var(--bdo-clay-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(--bdo-surface);
	border: 1.5px solid var(--bdo-line-strong);
	border-radius: var(--bdo-radius-lg);
	color: var(--bdo-ink);
	font: inherit;
	font-size: var(--bdo-text-base);
	padding: var(--bdo-s3) var(--bdo-s4);
}

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

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

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

/* Search field: one pill, input and button joined. */
.bdo-search-form {
	display: flex;
	gap: 0;
}

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

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

.bdo-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(--bdo-accent);
	border: 1.5px solid var(--bdo-accent);
	border-radius: 0 var(--bdo-radius-pill) var(--bdo-radius-pill) 0;
	box-shadow: none;
	color: var(--bdo-surface);
	cursor: pointer;
	padding: 0 var(--bdo-s4) 0 var(--bdo-s3);
}

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

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

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

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

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

.bdo-button--secondary {
	background: var(--bdo-surface);
	border-color: var(--bdo-dusk);
	color: var(--bdo-dusk);
}

.bdo-button--secondary:hover,
.bdo-button--secondary:focus {
	background: var(--bdo-wash-deep);
	border-color: var(--bdo-dusk-deep);
	color: var(--bdo-dusk-deep);
}

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

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

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

/* Category label above a title: clay text after a short clay dash. */
.bdo-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: var(--bdo-text-xs);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--bdo-clay-deep);
	text-decoration: none;
	margin-bottom: var(--bdo-s2);
}

.bdo-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 1.1rem;
	height: 3px;
	border-radius: 2px;
	background: var(--bdo-clay);
}

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

/* Chip: a soft pill in pale blue wash. */
.bdo-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--bdo-s1);
	background: var(--bdo-wash);
	border: 1px solid var(--bdo-blue-soft);
	border-radius: var(--bdo-radius-pill);
	color: var(--bdo-dusk);
	font-size: var(--bdo-text-sm);
	font-weight: 700;
	padding: 0.35rem 0.75rem;
	text-decoration: none;
}

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

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

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

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

.bdo-meta a {
	color: inherit;
}

.bdo-meta svg {
	flex: 0 0 auto;
	color: var(--bdo-dusk);
}

.bdo-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. */
.bdo-lead {
	font-size: var(--bdo-text-lg);
	line-height: var(--bdo-leading-relaxed);
	color: var(--bdo-ink-soft);
}

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

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

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

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

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

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

/* Soft card: thin oat border, rounded corners and a quiet shadow. */
.bdo-card {
	display: flex;
	flex-direction: column;
	background: var(--bdo-surface);
	border: 1px solid var(--bdo-line);
	box-shadow: var(--bdo-shadow-sm);
	border-radius: var(--bdo-radius-xl);
	height: 100%;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bdo-card:hover {
	border-color: var(--bdo-blue-soft);
	box-shadow: var(--bdo-shadow);
}

/* Soft frame: the card's warm-white edge is the frame around the image. */
.bdo-card__media,
.bdo-card-row__media,
.bdo-window {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--bdo-wash);
}

.bdo-card__media {
	margin: 10px 10px 0;
	border-radius: calc(var(--bdo-radius-xl) - 8px);
	box-shadow: 0 0 0 1px var(--bdo-line);
	aspect-ratio: 16 / 9;
}

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

/* Posts without a featured image get a pale blue wash with a small bed
   glyph (an inline data URI: no image file, no request). */
.bdo-card__media--placeholder,
.bdo-card-row__media--placeholder {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='8' y='13' width='32' height='18' rx='4' fill='%233d566e'/%3E%3Crect x='12' y='20' width='10' height='8' rx='3' fill='%23fbf9f4'/%3E%3Crect x='26' y='20' width='10' height='8' rx='3' fill='%23fbf9f4'/%3E%3Crect x='5' y='27' width='38' height='11' rx='3' fill='%23a9bfd3'/%3E%3Cpath d='M8 38h3v4H8zM37 38h3v4h-3z' fill='%233d566e'/%3E%3C/svg%3E") center / 4rem 4rem no-repeat,
		linear-gradient(180deg, var(--bdo-wash), var(--bdo-wash-deep));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* A soft linen-to-wash band; the art sits in a rounded warm-white frame. */
.bdo-hero {
	background-color: var(--bdo-bg-deep);
	background-image: linear-gradient(160deg, var(--bdo-linen-deep) 0%, var(--bdo-wash) 100%);
	border-bottom: 1px solid var(--bdo-line);
	padding-block: var(--bdo-s7) var(--bdo-s8);
}

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

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

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

.bdo-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(--bdo-s5);
	max-width: 17ch;
}

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

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

/* Decorative inline SVG (no image request, no JS) in a soft frame: thick
   warm-white border, rounded corners, quiet shadow. */
.bdo-hero__figure {
	width: 100%;
	max-width: 21rem;
	margin-inline: auto;
	background: var(--bdo-surface);
	border: 10px solid var(--bdo-surface);
	border-radius: 2rem;
	box-shadow: 0 0 0 1px var(--bdo-line), var(--bdo-shadow);
	overflow: hidden;
}

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

.bdo-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1.25rem;
}

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

.bdo-topic {
	display: flex;
	flex-direction: column;
	gap: var(--bdo-s2);
	background: var(--bdo-wash);
	border: 1px solid var(--bdo-blue-soft);
	box-shadow: var(--bdo-shadow-sm);
	border-radius: var(--bdo-radius-xl);
	padding: var(--bdo-s5) var(--bdo-s4) var(--bdo-s4);
	text-decoration: none;
	height: 100%;
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bdo-topic:hover {
	background: var(--bdo-surface);
	border-color: var(--bdo-blue-soft);
	box-shadow: var(--bdo-shadow);
}

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

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

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

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

/* Closing call to action: a wide pale blue wash panel in a warm-white frame. */
.bdo-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--bdo-s5);
	align-items: center;
	background-color: var(--bdo-wash);
	border: 10px solid var(--bdo-surface);
	border-radius: 2rem;
	box-shadow: 0 0 0 1px var(--bdo-line), var(--bdo-shadow-sm);
	color: var(--bdo-ink);
	padding: var(--bdo-s6) var(--bdo-s5);
}

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

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

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

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

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

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

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

.bdo-breadcrumbs li + li::before {
	content: "/";
	color: var(--bdo-oat-deep);
	font-weight: 700;
}

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

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

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

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

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

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

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

/* Featured image in a soft frame: thick warm-white border, rounded corners
   and a quiet shadow. */
.bdo-article__figure {
	margin-bottom: var(--bdo-s7);
}

.bdo-window {
	border: 10px solid var(--bdo-surface);
	border-radius: var(--bdo-radius-xl);
	box-shadow: 0 0 0 1px var(--bdo-line), var(--bdo-shadow-sm);
}

@media (min-width: 48em) {
	.bdo-window {
		border-width: 14px;
		border-radius: 1.75rem;
	}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Drawer bullets: a small rounded clay square (inline data URI, list
   semantics kept). */
.bdo-content ul:not([class]),
.bdo-content ul.wp-block-list {
	list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Crect width='10' height='10' rx='3' fill='%23c98a72'/%3E%3C/svg%3E");
}

.bdo-content ul:not([class]) > li,
.bdo-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. */
.bdo-content ol {
	padding-left: 1.75em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.bdo-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
	background: rgba(232, 238, 244, 0.55);
}

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

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

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

/* Callouts — used in article content and available in the block editor.
   Plain: warm white under a clay stripe. Tip: sage tint. "Good to know"
   (--warning): a calm clay note, not an alarm. */
.bdo-callout {
	position: relative;
	background: var(--bdo-surface);
	border: 1px solid var(--bdo-line);
	border-top: 5px solid var(--bdo-clay);
	border-radius: var(--bdo-radius);
	padding: var(--bdo-s5);
	margin-block: var(--bdo-s6);
}

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

.bdo-callout__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--bdo-font-body);
	font-size: var(--bdo-text-sm);
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: var(--bdo-leading-snug);
	text-transform: uppercase;
	color: var(--bdo-dusk);
	margin: 0 0 var(--bdo-s2);
}

/* Small shape before the title: a drawer front for tips and notes, a ring
   for "good to know". */
.bdo-callout__title::before {
	content: "";
	flex: 0 0 auto;
	width: 0.95rem;
	height: 0.8rem;
	border-radius: 3px;
	background: currentColor;
}

.bdo-callout--tip {
	background: var(--bdo-sage-soft);
	border-color: #cfd9cc;
	border-top-color: var(--bdo-sage);
}

.bdo-callout--tip .bdo-callout__title {
	color: var(--bdo-dusk);
}

.bdo-callout--warning {
	background: var(--bdo-clay-soft);
	border-color: #ecd5c9;
	border-top-color: var(--bdo-clay-deep);
}

.bdo-callout--warning .bdo-callout__title {
	color: var(--bdo-clay-deep);
}

.bdo-callout--warning .bdo-callout__title::before {
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 50%;
	background: var(--bdo-clay-soft);
	box-shadow: 0 0 0 2px var(--bdo-clay-deep);
}

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

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

.bdo-tutorial-facts .bdo-tutorial-facts__title {
	margin: 0 calc(-1 * var(--bdo-s5)) var(--bdo-s5);
	padding: var(--bdo-s3) var(--bdo-s5);
	background: var(--bdo-dusk);
	color: var(--bdo-surface);
}

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

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

/* Each icon sits on a small rounded sage tile. */
.bdo-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.75rem;
	background: var(--bdo-sage-soft);
	border: 1px solid var(--bdo-sage);
	border-radius: var(--bdo-radius);
	color: var(--bdo-dusk-deep);
}

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

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

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

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

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

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

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

.bdo-materials__list li::before,
.bdo-no-results__suggestions li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.6rem;
	height: 0.6rem;
	margin-top: 0.55em;
	background: var(--bdo-clay);
	border-radius: 3px;
}

/* Table of contents */
.bdo-toc {
	background: var(--bdo-wash);
	border: 1px solid var(--bdo-blue-soft);
	border-left: 6px solid var(--bdo-blue-soft);
	border-radius: var(--bdo-radius);
	padding: var(--bdo-s5);
	margin-bottom: var(--bdo-s6);
}

.bdo-toc .bdo-toc__title {
	margin: 0 0 var(--bdo-s3);
	padding: 0;
	background: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.bdo-pagination li {
	margin: 0;
}

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

.bdo-pagination a.page-numbers:hover {
	background: var(--bdo-wash-deep);
	border-color: var(--bdo-dusk);
	color: var(--bdo-ink);
}

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

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

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

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

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

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

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

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

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

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

/* 404: the number sits in a soft pale blue panel. */
.bdo-error-404 {
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
}

.bdo-error-404__code {
	display: inline-block;
	font-family: var(--bdo-font-head);
	font-size: clamp(3.25rem, 2rem + 7vw, 5.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--bdo-dusk);
	margin: 0 0 var(--bdo-s6);
	padding: var(--bdo-s5) var(--bdo-s7);
	background: var(--bdo-wash);
	border: 10px solid var(--bdo-surface);
	border-radius: 2rem;
	box-shadow: 0 0 0 1px var(--bdo-line), var(--bdo-shadow-sm);
}

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

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

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

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

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

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

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

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

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

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

.bdo-form-notice--success {
	background: var(--bdo-sage-soft);
	border-color: var(--bdo-sage);
	color: #2f4a33;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Deep dusk blue, with a thin soft-blue line along its top edge. */
.bdo-site-footer {
	margin-top: auto;
	padding: var(--bdo-s8) 0 var(--bdo-s6);
	background: var(--bdo-dusk-deep);
	border-top: 4px solid var(--bdo-blue-soft);
	color: #dde5ec;
}

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

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

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

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

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

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

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

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

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

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

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

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

.bdo-footer__bottom p {
	margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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