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

   Look: a kitchen garden on a bright morning — warm cream paper, white
   surfaces, deep green ink, herb green as the working colour, soft sage
   panels and borders, and a little terracotta kept for hover states and
   warnings. Headings are set in a bookish system serif, like a garden
   almanac; body text is the system sans. Herb forms carry the identity: a
   sprig of paired leaves as divider and watermark, small leaf markers, and a
   thin green rule under section titles. The decorative shapes are inline SVG
   data URIs, so nothing is requested from the network.

   Contrast reference (WCAG AA, calculated):
     ink         #1f3d26 on cream #fbf8f0 ........... 11.3:1
     ink-soft    #3b5540 on cream ................... 7.7:1
     ink-muted   #4f6653 on cream / sage #e1ecd8 .... 5.9:1 / 5.1:1
     herb-deep   #2f6a2c on cream / white / sage .... 6.2:1 / 6.5:1 / 5.3:1
     white       #ffffff on herb-deep #2f6a2c ....... 6.5:1
     white       #ffffff on terracotta-deep #a4512f . 5.5:1
     terracotta-deep #a4512f on cream / clay-soft ... 5.2:1 / 4.9:1
     sage        #e1ecd8 on ink #1f3d26 ............. 9.8:1
     herb-light  #9cc98a on ink ..................... 6.3:1
   Herb #3f7d3a, herb-mid #5d9b4c, clay #f0b79c and terracotta #c9714f are
   used for shapes, rules and accents only, never for body text on cream.
   ========================================================================== */

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

:root {
	/* Colour */
	--hbg-cream: #fbf8f0;
	--hbg-cream-deep: #f6f1e3;
	--hbg-surface: #ffffff;
	--hbg-ink: #1f3d26;
	--hbg-ink-soft: #3b5540;
	--hbg-ink-muted: #4f6653;
	--hbg-herb: #3f7d3a;
	--hbg-herb-mid: #5d9b4c;
	--hbg-herb-deep: #2f6a2c;
	--hbg-herb-dark: #245322;
	--hbg-herb-light: #9cc98a;
	--hbg-sage: #e1ecd8;
	--hbg-sage-soft: #f0f5e9;
	--hbg-sage-line: #c5d9b8;
	--hbg-clay: #f0b79c;
	--hbg-clay-soft: #fbeee6;
	--hbg-clay-line: #efcdb9;
	--hbg-terracotta: #c9714f;
	--hbg-terracotta-deep: #a4512f;
	--hbg-line: #e6dfcc;
	--hbg-line-strong: #7d9379;
	--hbg-focus: #a4512f;

	/* Shapes drawn once and reused as backgrounds: a short sprig used as a
	   divider, a tall sprig used as a watermark, and a leaf list marker. */
	--hbg-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M2 6H42' fill='none' stroke='%235d9b4c' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath fill='%233f7d3a' d='M9 6C10 2 14 1 17 2C16 5 13 7 9 6ZM21 6C22 2 26 1 29 2C28 5 25 7 21 6ZM33 6C34 3 37 2 40 3C39 5 37 7 33 6Z'/%3E%3Cpath fill='%235d9b4c' d='M9 6C10 10 14 11 17 10C16 7 13 5 9 6ZM21 6C22 10 26 11 29 10C28 7 25 5 21 6Z'/%3E%3C/svg%3E");
	--hbg-leafmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-110 -110 220 220'%3E%3Cdefs%3E%3Cpath id='a' d='M0 0C14-24 46-30 64-20C54 2 26 12 0 0Z'/%3E%3C/defs%3E%3Cpath d='M0 104V-70' fill='none' stroke='%23d3e3c5' stroke-width='5' stroke-linecap='round'/%3E%3Cg fill='%23dbe8cf'%3E%3Cuse href='%23a' transform='translate(0 72)'/%3E%3Cuse href='%23a' transform='translate(0 72) scale(-1 1)'/%3E%3Cuse href='%23a' transform='translate(0 30) scale(.9)'/%3E%3Cuse href='%23a' transform='translate(0 30) scale(-.9 .9)'/%3E%3Cuse href='%23a' transform='translate(0 -10) scale(.78)'/%3E%3Cuse href='%23a' transform='translate(0 -10) scale(-.78 .78)'/%3E%3Cuse href='%23a' transform='translate(0 -46) scale(.62)'/%3E%3Cuse href='%23a' transform='translate(0 -46) scale(-.62 .62)'/%3E%3C/g%3E%3Cpath fill='%23e4eeda' d='M0-64C-12-78-10-96 0-106C10-96 12-78 0-64Z'/%3E%3C/svg%3E");
	--hbg-leaf-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath fill='%235d9b4c' d='M1 10C1 4 4 1 10 1C10 7 7 10 1 10Z'/%3E%3C/svg%3E");

	/* Typography — system stacks, nothing to download.
	   Headings: a bookish serif. Body and interface: the system sans. */
	--hbg-font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
	--hbg-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--hbg-font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--hbg-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--hbg-text-xs: 0.8125rem;
	--hbg-text-sm: 0.875rem;
	--hbg-text-base: 1rem;
	--hbg-text-md: 1.125rem;
	--hbg-text-lg: 1.25rem;
	--hbg-text-xl: 1.4375rem;
	--hbg-text-2xl: 1.75rem;
	--hbg-text-3xl: 2.125rem;
	--hbg-text-4xl: 2.75rem;

	--hbg-leading-tight: 1.15;
	--hbg-leading-snug: 1.35;
	--hbg-leading-normal: 1.6;
	--hbg-leading-relaxed: 1.72;

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

	/* Shape and shadow. Panels are evenly rounded, like a seed tray; the
	   "leaf" tokens keep their names because the components refer to them. */
	--hbg-radius-sm: 0.5rem;
	--hbg-radius: 0.75rem;
	--hbg-pill: 999px;
	--hbg-leaf-sm: 0.625rem;
	--hbg-leaf: 0.875rem;
	--hbg-leaf-lg: 1.375rem;
	--hbg-shadow-sm: 0 1px 2px rgba(31, 61, 38, 0.05);
	--hbg-shadow: 0 10px 26px -14px rgba(31, 61, 38, 0.24);
	--hbg-shadow-lg: 0 20px 40px -18px rgba(31, 61, 38, 0.28);

	/* Layout */
	--hbg-container: 1180px;
	--hbg-container-wide: 1320px;
	--hbg-container-narrow: 780px;
	--hbg-reading: 46rem;
	--hbg-measure: 43rem;
	--hbg-gutter: var(--hbg-s4);

	color-scheme: light;
}

@media (min-width: 48em) {
	:root {
		--hbg-gutter: var(--hbg-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;
	}

	.hbg-card:hover,
	.hbg-topic:hover,
	.hbg-steps > li:hover {
		transform: none !important;
	}
}

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

/* Sprig divider: a hairline with a small sprig of leaves at its centre. */
hr {
	height: 0.75rem;
	margin: var(--hbg-s7) 0;
	border: 0;
	background:
		var(--hbg-sprig) center / 2.75rem 0.75rem no-repeat,
		linear-gradient(90deg, var(--hbg-line) calc(50% - 2.25rem), transparent calc(50% - 2.25rem), transparent calc(50% + 2.25rem), var(--hbg-line) calc(50% + 2.25rem)) center / 100% 1px no-repeat;
}

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

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

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

h2 {
	font-size: clamp(1.5rem, 1.25rem + 1.2vw, var(--hbg-text-3xl));
}

h3 {
	font-size: clamp(1.25rem, 1.12rem + 0.6vw, var(--hbg-text-xl));
	letter-spacing: -0.005em;
}

h4 {
	font-size: var(--hbg-text-lg);
	letter-spacing: 0;
}

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

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

a {
	color: var(--hbg-herb-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: var(--hbg-terracotta-deep);
}

strong,
b {
	font-weight: 700;
}

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

mark {
	background: var(--hbg-sage);
	color: var(--hbg-ink);
	border-radius: 0.2em;
	padding: 0 0.2em;
}

code,
kbd,
samp {
	font-family: var(--hbg-font-mono);
	font-size: 0.85em;
	background: var(--hbg-cream-deep);
	border-radius: 0.35em;
	padding: 0.12em 0.4em;
}

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

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

blockquote {
	margin: var(--hbg-s6) 0;
	padding: var(--hbg-s5) var(--hbg-s5) var(--hbg-s5) var(--hbg-s6);
	background: var(--hbg-sage-soft);
	border-radius: var(--hbg-leaf);
	font-size: var(--hbg-text-lg);
	font-style: italic;
	color: var(--hbg-ink-soft);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hbg-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hbg-s2) var(--hbg-s4);
	margin-bottom: var(--hbg-s5);
}

/* Every section title sits on a short, thin herb-green rule. */
.hbg-section__title {
	margin: 0;
	padding-bottom: 0.5rem;
	font-size: var(--hbg-text-2xl);
	background: linear-gradient(var(--hbg-herb-mid), var(--hbg-herb-mid)) left bottom / 2.75rem 3px no-repeat;
}

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

.hbg-section__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.25rem 1rem;
	border: 1.5px solid var(--hbg-sage-line);
	border-radius: var(--hbg-pill);
	background: var(--hbg-surface);
	color: var(--hbg-herb-deep);
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.hbg-section__link:hover,
.hbg-section__link:focus {
	background: var(--hbg-surface);
	border-color: var(--hbg-terracotta);
	color: var(--hbg-terracotta-deep);
}

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

/* --------------------------------------------------------------------------
   6. Header and navigation
   One line on large screens: mark and name, the menu, a compact search.
   Below 66em the menu and the search fold into a panel behind a button.
   -------------------------------------------------------------------------- */

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

.hbg-site-header .hbg-container {
	max-width: var(--hbg-container-wide);
}

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

.hbg-branding {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
}

.hbg-branding__mark {
	flex: 0 0 auto;
	width: 2.5rem;
	height: 2.5rem;
}

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

.hbg-branding__title {
	font-family: var(--hbg-font-head);
	font-size: 1.3125rem;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

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

.hbg-branding__title a:hover {
	color: var(--hbg-herb-deep);
}

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

/* The tagline shows beside the mark on tablets only: on the narrowest phones
   it would wrap under the menu button, and on large screens the header is a
   single line shared with the menu (the footer carries the tagline there). */
@media (max-width: 35.99em), (min-width: 66em) {
	.hbg-branding__tagline {
		display: none;
	}
}

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

/* Menu button (small screens) */
.hbg-menu-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: var(--hbg-surface);
	border: 1.5px solid var(--hbg-sage-line);
	border-radius: var(--hbg-pill);
	color: var(--hbg-ink);
	cursor: pointer;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 600;
	min-height: 2.75rem;
	padding: var(--hbg-s2) var(--hbg-s4);
}

.hbg-menu-toggle:hover,
.hbg-menu-toggle:focus {
	background: var(--hbg-sage);
	border-color: var(--hbg-herb);
	color: var(--hbg-ink);
}

.hbg-menu-toggle[aria-expanded="true"] {
	background: var(--hbg-ink);
	border-color: var(--hbg-ink);
	color: var(--hbg-surface);
}

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

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

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

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

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

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

.hbg-nav {
	font-family: var(--hbg-font-ui);
}

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

/* Small screens: the menu is a soft cream card of full-width rows. */
.hbg-nav__list {
	background: var(--hbg-cream);
	border: 1px solid var(--hbg-sage-line);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s2);
}

.hbg-nav__list li {
	position: relative;
}

.hbg-nav__list a {
	display: block;
	padding: 0.7rem var(--hbg-s4);
	border-radius: var(--hbg-pill);
	color: var(--hbg-ink);
	font-size: var(--hbg-text-base);
	font-weight: 600;
	text-decoration: none;
}

.hbg-nav__list a:hover,
.hbg-nav__list a:focus {
	background: var(--hbg-sage-soft);
	color: var(--hbg-ink);
}

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

.hbg-nav .current-menu-item > a,
.hbg-nav .current-menu-ancestor > a,
.hbg-nav .current_page_item > a {
	background: var(--hbg-sage);
	color: var(--hbg-ink);
}

.hbg-header__search {
	margin-top: var(--hbg-s3);
}

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

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

	.hbg-site-header .hbg-container {
		display: flex;
		align-items: center;
		column-gap: var(--hbg-s5);
	}

	.hbg-header__inner {
		flex: 0 0 auto;
		min-height: 4.75rem;
	}

	/* The panel wrapper dissolves so that its two children (menu and search)
	   sit directly in the header's flex row. */
	.hbg-header__panel,
	.hbg-header__panel.is-open {
		display: contents;
	}

	.hbg-nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	/* Eight items fit on one line; a longer menu wraps onto a second line
	   instead of overflowing the page. */
	.hbg-nav__list {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		gap: 0.125rem;
		background: none;
		border: 0;
		border-radius: 0;
		padding: var(--hbg-s2) 0;
	}

	.hbg-nav__list a {
		padding: 0.45rem 0.6rem;
		font-size: var(--hbg-text-xs);
		white-space: nowrap;
	}

	.hbg-nav__list a:hover,
	.hbg-nav__list a:focus {
		background: var(--hbg-sage);
	}

	/* Between 66em and 80em the line belongs to the menu: the search field
	   returns as soon as there is room for it. */
	.hbg-header__search {
		display: none;
		flex: 0 0 9.5rem;
		margin-top: 0;
	}

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

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

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

@media (min-width: 80em) {
	.hbg-nav__list a {
		padding-inline: 0.7rem;
		font-size: var(--hbg-text-sm);
	}

	.hbg-header__search {
		display: block;
		flex-basis: 11.5rem;
	}
}

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

label {
	display: block;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 600;
	margin-bottom: var(--hbg-s2);
}

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

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	background: var(--hbg-surface);
	border: 1.5px solid var(--hbg-line-strong);
	border-radius: var(--hbg-radius);
	color: var(--hbg-ink);
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-base);
	line-height: 1.4;
	padding: 0.7rem var(--hbg-s4);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--hbg-herb-deep);
}

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

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

/* Search field: one pill holding the input and a round button. */
.hbg-search-form {
	display: flex;
	align-items: center;
	gap: 0;
	background: var(--hbg-surface);
	border: 1.5px solid var(--hbg-line-strong);
	border-radius: var(--hbg-pill);
	padding: 0.1875rem;
}

.hbg-search-form:focus-within {
	border-color: var(--hbg-herb-deep);
}

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

.hbg-search-form input[type="search"] {
	min-height: 2.375rem;
	background: transparent;
	border: 0;
	border-radius: var(--hbg-pill);
	padding: var(--hbg-s1) var(--hbg-s2) var(--hbg-s1) var(--hbg-s4);
	-webkit-appearance: none;
	appearance: none;
}

.hbg-search-form__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.375rem;
	min-width: 2.375rem;
	height: 2.375rem;
	min-height: 2.375rem;
	background: var(--hbg-herb-deep);
	border: 0;
	border-radius: 50%;
	color: var(--hbg-surface);
	cursor: pointer;
	padding: 0;
}

.hbg-search-form__submit:hover,
.hbg-search-form__submit:focus {
	background: var(--hbg-herb-dark);
	color: var(--hbg-surface);
}

.hbg-search-form__submit .hbg-icon {
	width: 1.0625rem;
	height: 1.0625rem;
}

.hbg-header__search input[type="search"] {
	font-size: var(--hbg-text-sm);
}

/* --------------------------------------------------------------------------
   8. Buttons — herb green, softly rounded; terracotta on hover
   -------------------------------------------------------------------------- */

.hbg-button,
.hbg-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--hbg-s2);
	background: var(--hbg-herb-deep);
	border: 1.5px solid var(--hbg-herb-deep);
	border-radius: 0.625rem;
	color: var(--hbg-surface);
	cursor: pointer;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-base);
	font-weight: 600;
	line-height: 1.3;
	min-height: 3.125rem;
	padding: 0.8rem 1.9rem;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.hbg-button--secondary {
	background: var(--hbg-surface);
	border-color: var(--hbg-sage-line);
	color: var(--hbg-ink);
}

.hbg-button--secondary:hover,
.hbg-button--secondary:focus {
	background: var(--hbg-sage-soft);
	border-color: var(--hbg-herb-mid);
	color: var(--hbg-ink);
}

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

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

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

.hbg-eyebrow {
	display: inline-block;
	font-family: var(--hbg-font-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--hbg-herb-deep);
	text-decoration: none;
	margin-bottom: var(--hbg-s2);
}

a.hbg-eyebrow:hover,
a.hbg-eyebrow:focus {
	color: var(--hbg-terracotta-deep);
	text-decoration: underline;
}

.hbg-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--hbg-s1);
	background: var(--hbg-surface);
	border: 1.5px solid var(--hbg-sage-line);
	border-radius: var(--hbg-pill);
	color: var(--hbg-ink);
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 600;
	padding: 0.4rem 1rem;
	text-decoration: none;
}

a.hbg-chip:hover,
a.hbg-chip:focus {
	background: var(--hbg-sage);
	border-color: var(--hbg-herb);
	color: var(--hbg-ink);
}

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

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

.hbg-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.hbg-meta a {
	color: inherit;
}

.hbg-meta svg {
	flex: 0 0 auto;
	color: var(--hbg-herb);
}

.hbg-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
   -------------------------------------------------------------------------- */

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

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

@media (min-width: 62em) {
	.hbg-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

/* A card is a white seed-packet: the picture is inset inside a sage border. */
.hbg-card {
	display: flex;
	flex-direction: column;
	background: var(--hbg-surface);
	border: 1px solid var(--hbg-sage-line);
	border-radius: var(--hbg-leaf);
	padding: 0.625rem;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hbg-card:hover {
	border-color: var(--hbg-herb-mid);
	box-shadow: var(--hbg-shadow);
	transform: translateY(-3px);
}

.hbg-card__media {
	display: block;
	background: var(--hbg-sage-soft);
	border-radius: 0.5rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

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

/* Posts without a featured image get a quiet sprig on sage. */
.hbg-card__media--placeholder,
.hbg-card-row__media--placeholder {
	background: var(--hbg-leafmark) center / auto 120% no-repeat, var(--hbg-sage-soft);
}

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

.hbg-card__body .hbg-eyebrow {
	margin-bottom: 0;
}

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

.hbg-grid--4 .hbg-card__title {
	font-size: 1.125rem;
}

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

.hbg-card__title a:hover,
.hbg-card-row__title a:hover,
.hbg-steps__title a:hover,
.hbg-card__title a:focus,
.hbg-card-row__title a:focus,
.hbg-steps__title a:focus {
	color: var(--hbg-herb-deep);
	text-decoration: underline;
}

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

.hbg-grid--4 .hbg-card__excerpt {
	font-size: 0.9375rem;
}

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

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

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

.hbg-card-row__media {
	display: block;
	background: var(--hbg-sage-soft);
	border-radius: 0.5rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

/* min-width: 0 keeps long titles from blowing out the grid column. */
.hbg-card-row__body {
	min-width: 0;
	padding: var(--hbg-s2) var(--hbg-s3) var(--hbg-s3);
}

@media (min-width: 36em) {
	.hbg-card-row__body {
		padding: var(--hbg-s3) var(--hbg-s4) var(--hbg-s3) 0;
	}
}

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

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

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

/* Numbered path (Start Here): four panels in a row, each led by its number. */
.hbg-steps {
	list-style: none;
	counter-reset: hbg-step;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--hbg-s4);
	margin: 0;
	padding: 0;
}

@media (min-width: 40em) {
	.hbg-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 66em) {
	.hbg-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.hbg-steps > li {
	counter-increment: hbg-step;
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	gap: var(--hbg-s4);
	align-items: start;
	align-content: start;
	background: var(--hbg-surface);
	border: 1px solid var(--hbg-sage-line);
	border-top: 3px solid var(--hbg-herb-mid);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s5);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.hbg-steps > li:hover {
	background: var(--hbg-sage-soft);
	transform: translateY(-2px);
}

@media (min-width: 66em) {
	.hbg-steps > li {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--hbg-s3);
	}
}

.hbg-steps > li::before {
	content: counter(hbg-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--hbg-herb-deep);
	border-radius: 50%;
	color: var(--hbg-surface);
	font-family: var(--hbg-font-head);
	font-size: var(--hbg-text-lg);
	font-weight: 700;
}

.hbg-steps__title {
	font-size: 1.1875rem;
	line-height: 1.25;
	margin: 0 0 var(--hbg-s2);
}

.hbg-steps p {
	color: var(--hbg-ink-soft);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0;
}

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

/* Centred copy over a pale sage wash, two faint sprigs in the corners and a
   raised bed of culinary herbs along the bottom edge. */
.hbg-hero {
	background:
		var(--hbg-leafmark) right -4rem top -3rem / 15rem no-repeat,
		var(--hbg-leafmark) left -5rem bottom -2rem / 13rem no-repeat,
		linear-gradient(180deg, var(--hbg-sage-soft) 0%, var(--hbg-sage-soft) 55%, var(--hbg-cream) 100%);
	padding-block: var(--hbg-s8) 0;
	overflow: hidden;
}

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

.hbg-hero__copy {
	max-width: 46rem;
	text-align: center;
}

@media (min-width: 62em) {
	.hbg-hero {
		background:
			var(--hbg-leafmark) right -5rem top -3rem / 24rem no-repeat,
			var(--hbg-leafmark) left -6rem bottom -3rem / 21rem no-repeat,
			linear-gradient(180deg, var(--hbg-sage-soft) 0%, var(--hbg-sage-soft) 55%, var(--hbg-cream) 100%);
		padding-top: var(--hbg-s10);
	}

	.hbg-hero__inner {
		gap: var(--hbg-s7);
	}
}

.hbg-hero__title {
	font-size: clamp(2.125rem, 1.35rem + 3.6vw, 3.75rem);
	letter-spacing: -0.015em;
	line-height: 1.08;
	margin: 0 auto var(--hbg-s5);
	max-width: 18ch;
}

.hbg-hero__text {
	color: var(--hbg-ink-soft);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
	line-height: var(--hbg-leading-normal);
	max-width: 36rem;
	margin: 0 auto var(--hbg-s6);
}

.hbg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--hbg-s3);
}

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

.hbg-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
}

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

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

.hbg-topic:hover {
	border-color: var(--hbg-herb-mid);
	box-shadow: var(--hbg-shadow);
	transform: translateY(-2px);
}

.hbg-topic__name {
	font-family: var(--hbg-font-head);
	font-size: var(--hbg-text-lg);
	font-weight: 700;
	letter-spacing: -0.005em;
	line-height: 1.2;
	color: var(--hbg-ink);
}

.hbg-topic:hover .hbg-topic__name {
	color: var(--hbg-herb-deep);
}

.hbg-topic__desc {
	color: var(--hbg-ink-soft);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.hbg-topic__count {
	margin-top: auto;
	padding-top: var(--hbg-s2);
	color: var(--hbg-ink-muted);
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-xs);
	font-weight: 600;
}

/* Closing call to action: a sage panel with a sprig growing in its corner. */
.hbg-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--hbg-s5);
	align-items: center;
	background: var(--hbg-leafmark) right -2rem bottom -3rem / 13rem no-repeat, var(--hbg-sage);
	border: 1px solid var(--hbg-sage-line);
	border-radius: var(--hbg-leaf-lg);
	color: var(--hbg-ink);
	padding: var(--hbg-s7) var(--hbg-s5);
}

/* The sprig token is tinted for cream; on the sage panel it reads as a
   faint watermark, which is the intent. */
@media (min-width: 48em) {
	.hbg-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--hbg-s7);
		padding: var(--hbg-s8) var(--hbg-s9);
	}
}

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

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

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

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

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

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

/* The separator is a tiny leaf. */
.hbg-breadcrumbs li + li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.4rem;
	height: 0.4rem;
	background: var(--hbg-herb-light);
	border-radius: 0 75% 0 75%;
}

.hbg-breadcrumbs a {
	color: var(--hbg-ink-soft);
	text-decoration: none;
}

.hbg-breadcrumbs a:hover,
.hbg-breadcrumbs a:focus {
	color: var(--hbg-terracotta-deep);
	text-decoration: underline;
}

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

/* Without a sidebar the article sits in a centred reading column; related
   guides below it keep the full width. */
.hbg-no-sidebar.single .hbg-breadcrumbs,
.hbg-no-sidebar.single .hbg-article,
.hbg-no-sidebar.single .hbg-post-nav,
.hbg-no-sidebar.single .hbg-comments {
	max-width: var(--hbg-reading);
	margin-inline: auto;
}

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

.hbg-article__title {
	margin-bottom: var(--hbg-s4);
}

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

.hbg-article__meta {
	padding-top: var(--hbg-s4);
	border-top: 1px solid var(--hbg-line);
}

.hbg-article__figure {
	margin-bottom: var(--hbg-s6);
}

.hbg-article__figure img {
	border-radius: var(--hbg-leaf-lg);
	width: 100%;
}

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

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

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

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

.hbg-content h2 {
	margin-top: var(--hbg-s8);
}

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

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

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

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

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

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

/* Plain bullet lists use a small leaf as their marker (with a coloured disc
   as the fallback when the image marker is not supported). */
.hbg-content ul:not([class]) {
	list-style-image: var(--hbg-leaf-bullet);
}

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

/* Ordered lists are usually the steps of a guide: herb-green numerals in
   the heading face, with room to breathe. */
.hbg-content ol {
	padding-left: 1.7em;
}

.hbg-content ol > li {
	padding-left: 0.3em;
}

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

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

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

.hbg-content img {
	border-radius: var(--hbg-leaf);
	background-color: var(--hbg-surface);
}

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

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

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

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

.hbg-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--hbg-font-ui);
	font-size: 0.9375rem;
	line-height: var(--hbg-leading-snug);
}

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

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

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

.hbg-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
	background: rgba(240, 245, 233, 0.6);
}

.hbg-content thead th,
.wp-block-table thead th {
	background: var(--hbg-herb-deep);
	border-bottom: 0;
	color: var(--hbg-surface);
	font-size: var(--hbg-text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

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

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

/* Callouts — used in article content and available in the block editor.
   A tinted panel with a dashed border, like a plant label, and a small
   shape in front of the title. */
.hbg-callout {
	position: relative;
	background: var(--hbg-surface);
	border: 1.5px dashed var(--hbg-sage-line);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s5);
	margin-block: var(--hbg-s6);
}

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

.hbg-callout__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--hbg-ink-soft);
	margin-bottom: var(--hbg-s2);
}

/* A leaf for tips, a round bead for "good to know" notes. */
.hbg-callout__title::before {
	content: "";
	flex: 0 0 auto;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 0 75% 0 75%;
	background: currentColor;
}

.hbg-callout--tip {
	background: var(--hbg-sage-soft);
	border-color: var(--hbg-sage-line);
}

.hbg-callout--tip .hbg-callout__title {
	color: var(--hbg-herb-deep);
}

.hbg-callout--warning {
	background: var(--hbg-clay-soft);
	border-color: var(--hbg-terracotta);
}

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

.hbg-callout--warning .hbg-callout__title::before {
	border-radius: 50%;
	background: var(--hbg-terracotta);
	box-shadow: 0 0 0 3px var(--hbg-clay-line);
}

/* "Tutorial at a glance" card (difficulty, time, best time, works for, what
   you need): a white panel under a herb-green top rule. */
.hbg-tutorial-facts {
	background: var(--hbg-surface);
	border: 1px solid var(--hbg-sage-line);
	border-top: 4px solid var(--hbg-herb-mid);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s5);
	margin-bottom: var(--hbg-s6);
}

.hbg-tutorial-facts__title,
.hbg-toc__title {
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--hbg-herb-deep);
	margin: 0 0 var(--hbg-s4);
}

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

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

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

.hbg-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--hbg-sage);
	border-radius: 50%;
	color: var(--hbg-herb-deep);
}

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

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

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

.hbg-materials {
	margin-top: var(--hbg-s5);
	padding-top: var(--hbg-s4);
	border-top: 1px solid var(--hbg-sage-line);
}

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

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

.hbg-materials__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
	min-width: 0;
}

.hbg-materials__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: 0.48em;
	background: var(--hbg-herb);
	border-radius: 0 75% 0 75%;
}

/* Table of contents */
.hbg-toc {
	background: var(--hbg-sage-soft);
	border: 1px solid var(--hbg-sage-line);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s5);
	margin-bottom: var(--hbg-s6);
}

.hbg-toc__title {
	margin-bottom: var(--hbg-s3);
}

.hbg-toc ol {
	counter-reset: hbg-toc;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-base);
	line-height: 1.45;
}

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

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

.hbg-toc > ol > li > a::before {
	content: counter(hbg-toc) ". ";
	color: var(--hbg-herb-deep);
	font-weight: 700;
}

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

.hbg-toc a:hover,
.hbg-toc a:focus {
	color: var(--hbg-terracotta-deep);
	text-decoration: underline;
}

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

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

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

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

.hbg-faq > h2 {
	margin-bottom: var(--hbg-s5);
}

/* Questions are ruled rows, each led by a small leaf. */
.hbg-faq__item {
	border-top: 1px solid var(--hbg-sage-line);
	padding: var(--hbg-s4) 0;
}

.hbg-faq__item:last-child {
	border-bottom: 1px solid var(--hbg-sage-line);
}

.hbg-faq__question {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	font-size: 1.1875rem;
	line-height: 1.3;
	letter-spacing: 0;
	margin: 0 0 var(--hbg-s2);
}

.hbg-faq__question::before {
	content: "";
	flex: 0 0 auto;
	width: 0.6rem;
	height: 0.6rem;
	background: var(--hbg-herb-mid);
	border-radius: 0 75% 0 75%;
}

.hbg-faq__answer {
	color: var(--hbg-ink-soft);
	font-size: var(--hbg-text-base);
	line-height: 1.65;
}

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

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

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

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

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

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

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

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

.hbg-post-nav__link--next {
	border-radius: var(--hbg-leaf);
}

.hbg-post-nav__link:hover,
.hbg-post-nav__link:focus {
	border-color: var(--hbg-herb-mid);
	background: var(--hbg-sage-soft);
}

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

.hbg-post-nav__title {
	display: block;
	font-family: var(--hbg-font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--hbg-ink);
	line-height: 1.3;
}

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

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

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

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

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

.hbg-widget {
	background: var(--hbg-surface);
	border: 1px solid var(--hbg-line);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s5);
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-base);
}

.hbg-widget__title,
.hbg-widget .widget-title {
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--hbg-herb-deep);
	margin: 0 0 var(--hbg-s4);
}

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

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

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

.hbg-widget a:hover,
.hbg-widget a:focus {
	color: var(--hbg-herb-deep);
	text-decoration: underline;
}

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

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

/* Archive and page titles end in the sprig mark. */
.hbg-archive-header {
	margin-bottom: var(--hbg-s7);
}

.hbg-archive-header__title {
	margin-bottom: var(--hbg-s4);
	padding-bottom: 1.6rem;
	background: var(--hbg-sprig) left bottom / 2.75rem 0.75rem no-repeat;
}

.hbg-archive-header__description {
	color: var(--hbg-ink-soft);
	font-size: var(--hbg-text-lg);
	line-height: var(--hbg-leading-normal);
	max-width: var(--hbg-measure);
}

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

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

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

.hbg-pagination {
	margin-top: var(--hbg-s8);
	font-family: var(--hbg-font-ui);
}

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

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

.hbg-pagination li {
	margin: 0;
}

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

.hbg-pagination a.page-numbers:hover,
.hbg-pagination a.page-numbers:focus {
	background: var(--hbg-sage);
	border-color: var(--hbg-herb);
	color: var(--hbg-ink);
}

.hbg-pagination span.page-numbers.current {
	background: var(--hbg-herb-deep);
	border-color: var(--hbg-herb-deep);
	color: var(--hbg-surface);
}

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

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

.hbg-search-intro .hbg-archive-header__title {
	margin-bottom: var(--hbg-s3);
}

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

.hbg-no-results {
	background: var(--hbg-surface);
	border: 1px solid var(--hbg-line);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s6) var(--hbg-s5);
}

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

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

.hbg-no-results__suggestions li {
	padding-left: 1.3em;
	position: relative;
}

.hbg-no-results__suggestions li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--hbg-herb);
	border-radius: 0 75% 0 75%;
}

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

/* The number sits in front of a pale sprig. */
.hbg-error-404__code {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 11rem;
	height: 11rem;
	margin: 0 auto var(--hbg-s5);
	background: var(--hbg-leafmark) center / contain no-repeat;
	color: var(--hbg-herb-deep);
	font-family: var(--hbg-font-head);
	font-size: 2.75rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
}

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

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

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

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

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

.hbg-page__header {
	margin-bottom: var(--hbg-s6);
}

.hbg-page__header .hbg-page__title {
	margin-bottom: 0;
	padding-bottom: 1.6rem;
	background: var(--hbg-sprig) left bottom / 2.75rem 0.75rem no-repeat;
}

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

.hbg-form-notice {
	border-radius: var(--hbg-leaf-sm);
	padding: var(--hbg-s4) var(--hbg-s5);
	margin-bottom: var(--hbg-s5);
	border: 1px solid;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-base);
}

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

.hbg-form-notice--success {
	background: var(--hbg-sage-soft);
	border-color: var(--hbg-sage-line);
	color: var(--hbg-ink);
}

.hbg-form-notice--error {
	background: var(--hbg-clay-soft);
	border-color: var(--hbg-clay);
	color: #7a2f1a;
}

.hbg-form-notice--error a {
	color: inherit;
}

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

.hbg-form {
	max-width: 38rem;
	background: var(--hbg-surface);
	border: 1px solid var(--hbg-line);
	border-radius: var(--hbg-leaf);
	padding: var(--hbg-s5);
}

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

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

.hbg-form input[aria-invalid="true"],
.hbg-form textarea[aria-invalid="true"] {
	border-color: var(--hbg-terracotta-deep);
	border-width: 2px;
}

.hbg-field__error {
	display: block;
	margin-top: var(--hbg-s2);
	color: #8a3a20;
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 600;
}

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

/* Cookie notice. The markup and a neutral inline style come from the Site
   Setup plugin; these rules (one step more specific) bring it into the
   palette. */
body .hbg-cookie-notice {
	background: var(--hbg-ink);
	color: var(--hbg-sage);
	font-family: var(--hbg-font-ui);
}

body .hbg-cookie-notice a {
	color: var(--hbg-clay);
}

body .hbg-cookie-notice__button {
	min-height: 0;
	background: var(--hbg-surface);
	border: 1.5px solid var(--hbg-surface);
	border-radius: var(--hbg-pill);
	color: var(--hbg-ink);
	font-weight: 600;
	padding: 0.5rem 1.4rem;
}

body .hbg-cookie-notice__button:hover,
body .hbg-cookie-notice__button:focus {
	background: var(--hbg-sage);
	border-color: var(--hbg-sage);
	color: var(--hbg-ink);
}

body .hbg-cookie-notice__button:focus-visible {
	outline: 3px solid var(--hbg-clay);
	outline-offset: 2px;
}

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

.hbg-comments {
	margin-top: var(--hbg-s9);
	padding-top: var(--hbg-s6);
	border-top: 1px solid var(--hbg-line);
}

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

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

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

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

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

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

.hbg-comments .reply {
	font-family: var(--hbg-font-ui);
	font-size: var(--hbg-text-sm);
	font-weight: 600;
}

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

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

/* --------------------------------------------------------------------------
   17. Ad slots (empty and disabled by default; nothing renders without code)
   -------------------------------------------------------------------------- */

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

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

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

/* --------------------------------------------------------------------------
   18. Footer — deep garden green under a herb-green top rule
   -------------------------------------------------------------------------- */

.hbg-site-footer {
	background: var(--hbg-ink);
	border-top: 4px solid var(--hbg-herb-mid);
	color: #c3d4bd;
	margin-top: auto;
	padding-block: var(--hbg-s8) var(--hbg-s6);
	font-family: var(--hbg-font-ui);
}

@media (min-width: 48em) {
	.hbg-site-footer {
		padding-top: var(--hbg-s9);
	}
}

.hbg-site-footer :focus-visible {
	outline-color: var(--hbg-clay);
}

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

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

.hbg-footer__about p {
	color: #c3d4bd;
	font-size: 0.9375rem;
	line-height: 1.55;
	max-width: 40ch;
	margin-bottom: 0;
}

.hbg-footer__about .hbg-footer__tagline {
	color: var(--hbg-sage);
	font-size: var(--hbg-text-base);
	margin-bottom: var(--hbg-s3);
}

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

.hbg-footer__heading {
	font-family: var(--hbg-font-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hbg-herb-light);
	margin: 0 0 var(--hbg-s3);
}

.hbg-footer__about .hbg-footer__heading {
	font-family: var(--hbg-font-head);
	font-size: var(--hbg-text-2xl);
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--hbg-surface);
	margin-bottom: var(--hbg-s2);
}

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

.hbg-footer__menu li + li {
	margin-top: 0.125rem;
}

.hbg-footer__menu a {
	display: inline-block;
	padding-block: 0.3rem;
	color: var(--hbg-sage);
	text-decoration: none;
}

.hbg-footer__menu a:hover,
.hbg-footer__menu a:focus {
	color: var(--hbg-clay);
	text-decoration: underline;
}

.hbg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hbg-s3);
	padding-top: var(--hbg-s5);
	border-top: 1px solid rgba(225, 236, 216, 0.18);
	color: #c3d4bd;
	font-size: var(--hbg-text-sm);
}

.hbg-footer__bottom p {
	margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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