/* ==========================================================================
   Heather McClure child theme: Warm Teal and Sun Gold
   Loads after Blocksy. Tokens match the design system artifact.
   ========================================================================== */
/* ---------- Fonts: @font-face rules are printed by inc/setup.php from uploads/hm-fonts (Appearance, Site Setup downloads them) ---------- */
/* ---------- Tokens ---------- */
:root:root {
	--hm-ivory: #ffffff; /* white page, as in the store page mockup Heather chose */
	--hm-mint: #e8f5f0;
	--hm-surface: #ffffff;
	--hm-heading: #20212d;
	--hm-body: #33343f;
	--hm-body-muted: #565761;
	--hm-teal: #17706b;
	--hm-teal-deep: #0f5551;
	--hm-gold: #f8c978;
	--hm-sand: #f5e4cf;
	--hm-control-border: #857563;
	--hm-focus: #20212d;
	--hm-fill-pink: #f6a4b9;
	--hm-fill-teal: #8fd1c8;
	--hm-fill-lilac: #c9b6e8;
	--hm-fill-gold: #f8c978;
	--hm-fill-green: #aad59b;
	--hm-fill-coral: #f4a08f;
	--hm-success: #2f6b47;
	--hm-warning: #7a5a0e;
	--hm-error: #a12a1f;
	--hm-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--hm-font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
	--hm-scale: 1;
	--hm-leading: 1.61;
	--hm-measure: 68ch;
	--hm-space-1: 4px;
	--hm-space-2: 8px;
	--hm-space-3: 12px;
	--hm-space-4: 16px;
	--hm-space-5: 24px;
	--hm-space-6: 32px;
	--hm-space-7: 48px;
	--hm-space-8: 64px;
	--hm-space-9: 96px;
	--hm-radius-sm: 4px;
	--hm-radius-md: 8px;
	--hm-radius-lg: 16px;
	--hm-shadow-paper: 0 1px 2px rgba(32, 33, 45, 0.08), 0 4px 12px rgba(32, 33, 45, 0.05);
	--hm-ease: 180ms ease-out;
	/* Blocksy palette and element variables, so Blocksy's own parts follow the system */
	--theme-palette-color-1: var(--hm-teal);
	--theme-palette-color-2: var(--hm-teal-deep);
	--theme-palette-color-3: var(--hm-body);
	--theme-palette-color-4: var(--hm-heading);
	--theme-palette-color-5: var(--hm-sand);
	--theme-palette-color-6: var(--hm-mint);
	--theme-palette-color-7: var(--hm-ivory);
	--theme-palette-color-8: var(--hm-surface);
	--theme-text-color: var(--hm-body);
	--theme-headings-color: var(--hm-heading);
	--theme-link-initial-color: var(--hm-teal);
	--theme-link-hover-color: var(--hm-heading);
	--theme-border-color: var(--hm-sand);
	--theme-selection-text-color: var(--hm-heading);
	--theme-selection-background-color: var(--hm-gold);
	--theme-button-text-initial-color: #ffffff;
	--theme-button-text-hover-color: var(--hm-heading);
	--theme-button-background-initial-color: var(--hm-teal);
	--theme-button-background-hover-color: var(--hm-gold);
	--theme-button-min-height: 44px;
	--theme-button-border-radius: var(--hm-radius-md);
	--theme-normal-container-max-width: 1200px;
	--theme-narrow-container-max-width: 760px;
}
html.hm-size-115 { --hm-scale: 1.15; }
html.hm-size-130 { --hm-scale: 1.3; }
html.hm-spacing-relaxed { --hm-leading: 1.9; }
html.hm-font-hyperlegible { --hm-font-display: var(--hm-font-sans); }
/* ---------- Base ---------- */
body {
	background-color: var(--hm-ivory);
	color: var(--hm-body);
	font-family: var(--hm-font-sans);
	--theme-font-family: var(--hm-font-sans);
	font-size: calc(18px * var(--hm-scale));
	--theme-font-size: calc(18px * var(--hm-scale));
	line-height: var(--hm-leading);
	--theme-line-height: var(--hm-leading);
	-webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3, body .hm-display {
	font-family: var(--hm-font-display);
	--theme-font-family: var(--hm-font-display);
	color: var(--hm-heading);
	letter-spacing: 0;
	text-wrap: balance;
}
body h4, body h5, body h6 {
	font-family: var(--hm-font-sans);
	--theme-font-family: var(--hm-font-sans);
	color: var(--hm-heading);
	font-weight: 700;
}
body .hm-display { font-size: calc(56px * var(--hm-scale)); line-height: 1.1; font-weight: 500; }
body h1 { font-size: calc(44px * var(--hm-scale)); --theme-font-size: calc(44px * var(--hm-scale)); line-height: 1.18; font-weight: 500; }
body h2 { font-size: calc(32px * var(--hm-scale)); --theme-font-size: calc(32px * var(--hm-scale)); line-height: 1.25; font-weight: 600; }
body h3 { font-size: calc(24px * var(--hm-scale)); --theme-font-size: calc(24px * var(--hm-scale)); line-height: 1.33; font-weight: 600; }
body h4 { font-size: calc(20px * var(--hm-scale)); --theme-font-size: calc(20px * var(--hm-scale)); line-height: 1.4; }
@media (max-width: 689px) {
	body .hm-display { font-size: calc(40px * var(--hm-scale)); }
	body h1 { font-size: calc(34px * var(--hm-scale)); --theme-font-size: calc(34px * var(--hm-scale)); }
	body h2 { font-size: calc(27px * var(--hm-scale)); --theme-font-size: calc(27px * var(--hm-scale)); }
	body h3 { font-size: calc(22px * var(--hm-scale)); --theme-font-size: calc(22px * var(--hm-scale)); }
}
.hm-lead { font-size: calc(20px * var(--hm-scale)); line-height: 1.6; }
.hm-small, .hm-optin__privacy { font-size: calc(16px * var(--hm-scale)); line-height: 1.5; }
.hm-meta, .ct-breadcrumbs, .wp-element-caption, figcaption { font-size: calc(15px * var(--hm-scale)); line-height: 1.47; color: var(--hm-body-muted); font-weight: 500; }
.hm-eyebrow { font-size: calc(15px * var(--hm-scale)); line-height: 1.33; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hm-teal); margin-bottom: var(--hm-space-3); }
.entry-content > p, .entry-content > ul, .entry-content > ol, .hm-measure { max-width: var(--hm-measure); }
::selection { background: var(--hm-gold); color: var(--hm-heading); }
/* ---------- Links ---------- */
.entry-content a:not(.wp-element-button):not(.hm-row-link), .hm-link {
	color: var(--hm-teal);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: background-color var(--hm-ease), color var(--hm-ease), text-decoration-thickness var(--hm-ease);
}
.entry-content a:not(.wp-element-button):not(.hm-row-link):hover, .hm-link:hover {
	color: var(--hm-heading);
	background-color: var(--hm-gold);
	text-decoration-thickness: 2px;
}
/* On pastel or gold panels, links switch to heading color (teal fails there) */
.hm-panel a:not(.wp-element-button), .hm-on-pastel a:not(.wp-element-button) { color: var(--hm-heading); }
/* ---------- Focus ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--hm-focus);
	outline-offset: 2px;
	border-radius: 2px;
}
/* ---------- Buttons ---------- */
body .wp-element-button, body .wp-block-button__link, body .hm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border: 1.5px solid var(--hm-teal);
	border-radius: var(--hm-radius-md);
	background-color: var(--hm-teal);
	color: #ffffff;
	font-family: var(--hm-font-sans);
	font-size: calc(17px * var(--hm-scale));
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--hm-ease), color var(--hm-ease), border-color var(--hm-ease);
}
body .wp-element-button:hover, body .wp-block-button__link:hover, body .hm-button:hover {
	background-color: var(--hm-gold);
	border-color: var(--hm-heading);
	color: var(--hm-heading);
}
body .wp-element-button:active, body .wp-block-button__link:active, body .hm-button:active {
	background-color: var(--hm-teal-deep);
	border-color: var(--hm-teal-deep);
	color: #ffffff;
}
body .is-style-outline > .wp-block-button__link, body .hm-button--secondary {
	background-color: var(--hm-surface);
	border-color: var(--hm-control-border);
	color: var(--hm-heading);
}
body .is-style-outline > .wp-block-button__link:hover, body .hm-button--secondary:hover {
	background-color: var(--hm-gold);
	border-color: var(--hm-heading);
}
/* ---------- Layout helpers ---------- */
.hm-section { padding-block: var(--hm-space-9); }
.hm-section--tight { padding-block: var(--hm-space-7); }
.hm-mint { background-color: var(--hm-mint); }
.hm-white { background-color: var(--hm-surface); }
@media (max-width: 689px) { .hm-section { padding-block: var(--hm-space-8); } }
/* Asymmetric splits: use a Columns block with class hm-split-7-5 or hm-split-4-8 */
.wp-block-columns.hm-split-7-5, .wp-block-columns.hm-split-4-8 { gap: var(--hm-space-7); align-items: start; }
@media (min-width: 782px) {
	.wp-block-columns.hm-split-7-5 > .wp-block-column:first-child { flex-basis: 58.33%; }
	.wp-block-columns.hm-split-7-5 > .wp-block-column:last-child { flex-basis: 41.67%; }
	.wp-block-columns.hm-split-4-8 > .wp-block-column:first-child { flex-basis: 33.33%; }
	.wp-block-columns.hm-split-4-8 > .wp-block-column:last-child { flex-basis: 66.67%; }
}
.wp-block-columns.hm-divided > .wp-block-column + .wp-block-column { border-left: 1px solid var(--hm-sand); padding-left: var(--hm-space-6); }
@media (max-width: 781px) { .wp-block-columns.hm-divided > .wp-block-column + .wp-block-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--hm-sand); padding-top: var(--hm-space-6); } }
/* ---------- Rows: lists of links divided by fine rules ---------- */
.hm-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hm-sand); }
.hm-rows > li { margin: 0; padding: 0; border-bottom: 1px solid var(--hm-sand); }
.hm-rows > li > a, .hm-rows > li > strong > a {
	display: block;
	padding: var(--hm-space-4) var(--hm-space-6) var(--hm-space-4) 0;
	color: var(--hm-heading);
	text-decoration: none;
	font-weight: 700;
	position: relative;
	transition: background-color var(--hm-ease);
}
.hm-rows > li > a::after { content: "\2192"; position: absolute; right: var(--hm-space-2); top: var(--hm-space-4); color: var(--hm-teal); font-weight: 400; }
.hm-rows > li > a:hover { background-color: var(--hm-mint); text-decoration: underline; text-underline-offset: 0.18em; }
.hm-rows .hm-row-note { display: block; font-weight: 400; color: var(--hm-body); font-size: calc(16px * var(--hm-scale)); }
/* Audience pathway rows on the homepage */
.hm-pathways > li > a { padding-block: var(--hm-space-5); font-family: var(--hm-font-display); font-size: calc(24px * var(--hm-scale)); font-weight: 600; }
.hm-pathways > li > a .hm-row-note { font-family: var(--hm-font-sans); margin-top: var(--hm-space-1); }
/* ---------- Labels ---------- */
.hm-label {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--hm-mint);
	color: var(--hm-heading);
	font-size: calc(15px * var(--hm-scale));
	font-weight: 700;
	line-height: 1.6;
}
.hm-stage-marker::before { content: "\25CF"; color: var(--hm-teal); margin-right: 6px; }
/* ---------- Resource previews and cards ---------- */
.hm-preview img, .wp-block-image.hm-preview img {
	background: var(--hm-surface);
	border: 1px solid var(--hm-sand);
	border-radius: var(--hm-radius-sm);
	box-shadow: var(--hm-shadow-paper);
}
.hm-preview-stack .hm-preview + .hm-preview { margin-top: calc(var(--hm-space-7) * -1); margin-left: var(--hm-space-8); position: relative; }
.hm-card {
	background: var(--hm-surface);
	border: 1px solid var(--hm-sand);
	border-radius: var(--hm-radius-md);
	padding: var(--hm-space-5);
}
.hm-card .hm-preview-backdrop { margin: calc(var(--hm-space-5) * -1) calc(var(--hm-space-5) * -1) var(--hm-space-4); padding: var(--hm-space-5); border-radius: var(--hm-radius-md) var(--hm-radius-md) 0 0; }
.hm-card h3 { font-size: calc(20px * var(--hm-scale)); margin-top: var(--hm-space-2); }
/* ---------- Pastel panels (dark text only) ---------- */
.hm-panel { border-radius: var(--hm-radius-lg); padding: var(--hm-space-6); color: var(--hm-heading); }
.hm-panel--pink { background: var(--hm-fill-pink); }
.hm-panel--teal { background: var(--hm-fill-teal); }
.hm-panel--lilac { background: var(--hm-fill-lilac); }
.hm-panel--gold { background: var(--hm-fill-gold); }
.hm-panel--green { background: var(--hm-fill-green); }
.hm-panel--coral { background: var(--hm-fill-coral); }
.hm-panel--mint { background: var(--hm-mint); }
.hm-panel h2, .hm-panel h3, .hm-panel p, .hm-panel li { color: var(--hm-heading); }
/* Hand-cut paper edge: add hm-cut to a panel (one per region at most) */
.hm-cut { clip-path: polygon(0 3%, 6% 0, 14% 2%, 23% 0, 33% 2.5%, 44% 0.5%, 55% 2%, 66% 0, 77% 2.5%, 88% 0.5%, 100% 2%, 100% 97%, 93% 100%, 82% 98%, 71% 100%, 60% 97.5%, 49% 100%, 38% 98%, 27% 100%, 16% 97.5%, 7% 100%, 0 98%); }
/* Paper tape on a preview */
.hm-tape { position: relative; }
.hm-tape::before { content: ""; position: absolute; top: -10px; left: 50%; width: 96px; height: 22px; margin-left: -48px; background: rgba(248, 201, 120, 0.75); transform: rotate(-2deg); z-index: 1; }
/* Dot texture: add hm-dots to a group (one per screen at most) */
.hm-dots { background-image: radial-gradient(circle, var(--hm-fill-teal) 3px, transparent 3.5px); background-size: 32px 32px; background-position: 0 0; }
.hm-dots-corner { position: relative; }
.hm-dots-corner::after { content: ""; position: absolute; right: 0; top: 0; width: 160px; height: 128px; background-image: radial-gradient(circle, var(--hm-fill-teal) 3px, transparent 3.5px); background-size: 32px 32px; pointer-events: none; z-index: -1; }
/* ---------- Framework stages ---------- */
.hm-stages { list-style: none; counter-reset: hm-stage; margin: 0; padding: 0; border-top: 1px solid var(--hm-sand); }
.hm-stages > li { counter-increment: hm-stage; display: grid; grid-template-columns: 48px 1fr; gap: var(--hm-space-4); padding: var(--hm-space-4) 0; border-bottom: 1px solid var(--hm-sand); margin: 0; }
.hm-stages > li::before { content: counter(hm-stage); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--hm-fill-teal); color: var(--hm-heading); font-weight: 700; }
.hm-stages strong { color: var(--hm-heading); }
/* ---------- Guide parts ---------- */
.hm-quick-answer { border-left: 0; background: var(--hm-mint); border-radius: var(--hm-radius-md); padding: var(--hm-space-5); max-width: var(--hm-measure); }
.hm-quick-answer .hm-eyebrow { margin-bottom: var(--hm-space-2); }
.hm-toc { font-size: calc(16px * var(--hm-scale)); }
.hm-toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--hm-sand); }
.hm-toc li { margin: 0; padding: 4px 0 4px var(--hm-space-4); }
.hm-limits { border-top: 1px solid var(--hm-sand); border-bottom: 1px solid var(--hm-sand); padding-block: var(--hm-space-5); max-width: var(--hm-measure); }
.hm-limits .hm-eyebrow { color: var(--hm-warning); }
.hm-sources { font-size: calc(16px * var(--hm-scale)); color: var(--hm-body); max-width: var(--hm-measure); }
.wp-block-details { border-bottom: 1px solid var(--hm-sand); padding-block: var(--hm-space-4); }
.wp-block-details summary { font-weight: 700; color: var(--hm-heading); cursor: pointer; }
/* ---------- Forms and opt-in ---------- */
.hm-optin { max-width: 520px; }
.hm-field { margin-bottom: var(--hm-space-4); }
.hm-field label { display: block; font-weight: 700; color: var(--hm-heading); margin-bottom: var(--hm-space-2); font-size: calc(16px * var(--hm-scale)); }
.hm-required, .hm-optional { font-weight: 400; color: var(--hm-body-muted); }
.hm-field input, .hm-optin input[type="email"], .hm-optin input[type="text"] {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1.5px solid var(--hm-control-border);
	border-radius: var(--hm-radius-sm);
	background: var(--hm-surface);
	color: var(--hm-heading);
	font: inherit;
	font-size: calc(18px * var(--hm-scale));
}
.hm-field--error input { border-color: var(--hm-error); border-width: 2px; }
.hm-field__error { color: var(--hm-error); font-size: calc(16px * var(--hm-scale)); margin: 0 0 var(--hm-space-2); }
.hm-field__error::before, .hm-optin__error-summary p:first-child::before { content: "\26A0\FE0E"; margin-right: 6px; }
.hm-optin__error-summary { border: 2px solid var(--hm-error); border-radius: var(--hm-radius-md); background: var(--hm-surface); padding: var(--hm-space-4); margin-bottom: var(--hm-space-5); color: var(--hm-error); }
.hm-optin__error-summary a { color: var(--hm-heading); }
.hm-optin__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-optin__privacy { margin-top: var(--hm-space-3); color: var(--hm-body); }
.hm-optin-block { align-items: center; }
/* ---------- Display settings panel ---------- */
.hm-display-launcher { position: fixed; left: var(--hm-space-4); bottom: var(--hm-space-4); z-index: 9990; }
.hm-display-toggle {
	display: inline-flex; align-items: center; gap: var(--hm-space-2);
	min-height: 44px; padding: 8px 16px;
	border: 1.5px solid var(--hm-control-border); border-radius: 999px;
	background: var(--hm-surface); color: var(--hm-heading);
	font-family: var(--hm-font-sans); font-size: 16px; font-weight: 700; cursor: pointer;
	box-shadow: var(--hm-shadow-paper);
}
.hm-display-toggle:hover, .hm-display-toggle[aria-expanded="true"] { background: var(--hm-gold); border-color: var(--hm-heading); }
.hm-display-toggle--header { box-shadow: none; }
.hm-display-panel {
	position: fixed; left: var(--hm-space-4); bottom: 76px; z-index: 9991;
	width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow-y: auto;
	padding: var(--hm-space-5); background: var(--hm-surface); color: var(--hm-heading);
	border: 1px solid var(--hm-control-border); border-radius: var(--hm-radius-lg); box-shadow: var(--hm-shadow-paper);
	font-family: var(--hm-font-sans); font-size: 16px; line-height: 1.5;
}
.hm-display-panel[hidden] { display: none; }
.hm-display-panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--hm-space-4); }
body .hm-display-panel__title { font-family: var(--hm-font-sans); font-size: 20px; font-weight: 700; margin: 0; }
.hm-display-panel__note { color: var(--hm-body-muted); margin: var(--hm-space-2) 0 var(--hm-space-4); font-size: 15px; }
.hm-display-group { border: 0; border-top: 1px solid var(--hm-sand); margin: 0; padding: var(--hm-space-3) 0; }
.hm-display-group legend { font-weight: 700; padding: 0; margin-bottom: var(--hm-space-2); float: left; width: 100%; }
.hm-display-option { display: flex; align-items: center; gap: var(--hm-space-2); min-height: 36px; cursor: pointer; clear: both; }
.hm-display-option input { width: 20px; height: 20px; accent-color: var(--hm-teal); }
.hm-display-close, .hm-display-reset, .hm-read-start, .hm-read-stop {
	min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--hm-control-border); border-radius: var(--hm-radius-md);
	background: var(--hm-surface); color: var(--hm-heading); font: inherit; font-weight: 700; cursor: pointer;
}
.hm-display-close:hover, .hm-display-reset:hover, .hm-read-start:hover, .hm-read-stop:hover { background: var(--hm-gold); border-color: var(--hm-heading); }
.hm-read-stop:disabled, .hm-read-start:disabled { opacity: 0.55; cursor: not-allowed; }
.hm-display-read__buttons { display: flex; gap: var(--hm-space-2); clear: both; }
.hm-display-reset { margin-top: var(--hm-space-3); }
@media print { .hm-display-launcher, .hm-display-panel { display: none; } }
/* ---------- High contrast mode ---------- */
html.hm-contrast-high body, html.hm-contrast-high .hm-mint, html.hm-contrast-high .hm-white, html.hm-contrast-high .hm-panel, html.hm-contrast-high .hm-quick-answer, html.hm-contrast-high .hm-card { background: #ffffff; color: #000000; }
html.hm-contrast-high { --hm-body: #000000; --hm-heading: #000000; --hm-body-muted: #222222; --hm-teal: #0b3f3c; --hm-sand: #000000; --hm-control-border: #000000; }
html.hm-contrast-high a { text-decoration: underline; }
html.hm-contrast-high .hm-panel, html.hm-contrast-high .hm-card, html.hm-contrast-high .hm-quick-answer { border: 2px solid #000000; }
html.hm-contrast-high .hm-dots, html.hm-contrast-high .hm-dots-corner::after, html.hm-contrast-high .hm-tape::before { background-image: none; display: none; }
html.hm-contrast-high .hm-cut { clip-path: none; }
/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0ms; animation-duration: 0ms; animation-iteration-count: 1; scroll-behavior: auto; }
}
html.hm-motion-reduce *, html.hm-motion-reduce *::before, html.hm-motion-reduce *::after { transition-duration: 0ms; animation-duration: 0ms; animation-iteration-count: 1; scroll-behavior: auto; }
/* ---------- Search results ---------- */
.search .entries article { border-bottom: 1px solid var(--hm-sand); padding-block: var(--hm-space-5); }
.search .entries .entry-title a { color: var(--hm-heading); text-decoration: none; }
.search .entries .entry-title a:hover { text-decoration: underline; background: var(--hm-gold); }
/* ---------- Child pages loop (option B: rows) ---------- */
.hm-child-pages-auto { max-width: 1200px; margin: var(--hm-space-8) auto 0; padding-top: var(--hm-space-7); border-top: 1px solid var(--hm-sand); }
.hm-child-pages .hm-child-rows { list-style: none; margin: var(--hm-space-5) 0 0; padding: 0; border-top: 1px solid var(--hm-sand); }
.hm-child-pages .hm-child-rows > li { margin: 0; border-bottom: 1px solid var(--hm-sand); position: relative; }
.hm-child-row { gap: var(--hm-space-5); padding: var(--hm-space-5) var(--hm-space-7) var(--hm-space-5) 0; transition: background-color var(--hm-ease); }
.hm-child-rows > li:hover .hm-child-row { background-color: var(--hm-mint); }
.hm-child-row::after { content: "\2192"; position: absolute; right: var(--hm-space-3); top: 50%; transform: translateY(-50%); color: var(--hm-teal); font-size: 22px; }
.hm-child-row__thumb { flex: 0 0 56px; margin: 0; }
.hm-child-row__thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 999px; background: var(--hm-mint); }
.hm-child-row__text { flex: 1 1 auto; min-width: 0; }
.hm-child-pages .wp-block-post-title { margin: 0 0 var(--hm-space-1); font-family: var(--hm-font-display); font-weight: 700; font-size: calc(23px * var(--hm-scale)); line-height: 1.3; }
.hm-child-pages .wp-block-post-title a { color: var(--hm-heading); text-decoration: none; }
.hm-child-pages .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; }
.hm-child-pages .wp-block-post-title a:hover, .hm-child-pages .wp-block-post-title a:focus-visible { text-decoration: underline; text-underline-offset: 0.18em; }
.hm-child-pages .wp-block-post-excerpt { margin: 0; font-size: calc(16px * var(--hm-scale)); }
.hm-child-pages .wp-block-post-excerpt p { margin: 0; }
.hm-child-pages .wp-block-post-excerpt__more-text { display: none; }
@media (max-width: 599px) { .hm-child-row { gap: var(--hm-space-4); padding-right: var(--hm-space-6); } .hm-child-row__thumb { flex-basis: 48px; } .hm-child-row__thumb img { width: 48px; height: 48px; } }
/* ---------- Resource type tag in child page rows ---------- */
.hm-child-row .wp-block-post-title { display: inline; }
.hm-type-label { display: inline-block; margin: 0 0 var(--hm-space-1) var(--hm-space-3); padding: 2px 12px; border-radius: 999px; background: var(--hm-mint); color: var(--hm-heading); font-family: var(--hm-font-sans); font-size: calc(14px * var(--hm-scale)); font-weight: 700; line-height: 1.6; vertical-align: 0.2em; white-space: nowrap; }
.hm-type-label--printable { background: var(--hm-surface); border: 1.5px solid var(--hm-control-border); }
.hm-child-row .wp-block-post-excerpt { margin-top: var(--hm-space-1); }
@media (min-width: 782px) {
	.hm-child-row { padding-right: 180px; }
	.hm-type-label { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); margin: 0; }
}
/* ---------- First-offer box with personal code ---------- */
.hm-offer { max-width: var(--hm-measure); }
.hm-offer__code { display: inline-block; padding: 2px 10px; border: 1.5px dashed var(--hm-heading); border-radius: var(--hm-radius-sm); background: var(--hm-surface); color: var(--hm-heading); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.06em; }
.hm-offer__deadline { font-weight: 700; color: var(--hm-heading); }
.hm-copy-status { font-size: calc(15px * var(--hm-scale)); color: var(--hm-heading); margin-left: var(--hm-space-2); }
.hm-downloads > li > a { padding-right: var(--hm-space-6); }
.hm-downloads > li > a::after { content: "\2193"; }
/* ---------- Riso offset icons ---------- */
.hm-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; overflow: visible; }
.hm-rows > li > a { display: flex; align-items: center; gap: var(--hm-space-3); }
.hm-rows > li > a .hm-row-note { flex-basis: 100%; }
.hm-rows > li > a:has(.hm-row-note) { flex-wrap: wrap; }
.hm-rows > li > a:has(.hm-row-note) .hm-icon { align-self: flex-start; }
h2 .hm-icon, h3 .hm-icon { margin-right: var(--hm-space-2); vertical-align: -0.15em; }
.hm-type-label .hm-icon { margin-right: 6px; vertical-align: -6px; }
.hm-display-toggle .hm-icon { width: 24px; height: 24px; }
/* Framework stage list with stage icons instead of numbers */
.hm-stages--icons > li { grid-template-columns: 40px 1fr; align-items: center; }
.hm-stages--icons > li::before { content: none; display: none; }
/* ---------- About page (single reading column) ---------- */
.hm-reading { max-width: 760px; margin-inline: auto; }
.hm-about-head { align-items: center; gap: var(--hm-space-6); }
@media (min-width: 782px) { .hm-about-head > .wp-block-column:first-child { flex: 0 0 160px; } }
.hm-photo-round img { width: 160px; height: 160px; object-fit: cover; border-radius: 999px; border: 1px solid var(--hm-sand); }
.hm-facts > li { display: flex; gap: var(--hm-space-5); padding: var(--hm-space-3) 0; }
.hm-facts > li > strong { flex: 0 0 96px; color: var(--hm-heading); }
.hm-quote { font-family: var(--hm-font-display); font-size: calc(24px * var(--hm-scale)); line-height: 1.4; margin: 0; }
.hm-cta { margin-top: var(--hm-space-7); }
.hm-cta h2 { margin-top: 0; }
/* ---------- Printables library [hm_library] ---------- */
.hm-library { margin-block: 32px; }
.hm-lib-filters { border-bottom: 1.5px solid #20212d; padding-bottom: 18px; margin-bottom: 32px; }
.hm-lib-filters__row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.hm-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px; border: 1.5px solid #857563; border-radius: 999px; background: #ffffff; color: #20212d; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.hm-chip--small { min-height: 40px; font-size: 14px; padding: 4px 14px 4px 8px; }
.hm-chip:hover { background: #f8c978; color: #20212d; }
.hm-chip[aria-pressed="true"] { background: #20212d; border-color: #20212d; color: #ffffff; }
.hm-chip[aria-pressed="true"] .hm-icon { background: #ffffff; border-radius: 999px; }
.hm-chip:focus-visible { outline: 3px solid #20212d; outline-offset: 2px; }
.hm-lib-count { margin: 4px 0 0; font-size: 14px; color: #565761; }
.hm-lib-none, .hm-lib-empty { padding: 24px; border: 2px dashed #c8bfb2; border-radius: 6px; color: #33343f; }
.hm-library [hidden] { display: none !important; }
/* Covers */
.hm-cover { --hm-cover-w: 150px; position: relative; display: block; width: var(--hm-cover-w); height: calc(var(--hm-cover-w) * 1.29); flex: 0 0 auto; }
.hm-cover::before { content: ""; position: absolute; inset: 0; transform: translate(6px, 6px); background: var(--hm-plate, #e8f5f0); }
.hm-cover__page, .hm-cover--image img { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; border: 1.5px solid #20212d; background: #fffbf3; overflow: hidden; object-fit: cover; }
.hm-cover__page::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 11%; background: #17706b; }
.hm-cover__no { position: absolute; left: 17%; top: 7%; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #17706b; }
.hm-cover__title { position: absolute; left: 17%; right: 7%; top: 18%; font-family: var(--hm-font-display, 'Playfair Display', Georgia, serif); font-weight: 700; font-size: calc(var(--hm-cover-w) * .13); line-height: 1.05; color: #20212d; }
.hm-cover__icon { position: absolute; right: 8%; bottom: 8%; width: 32%; }
.hm-cover__icon .hm-icon { width: 100%; height: auto; }
/* Shelves */
.hm-shelf { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 36px 0; border-bottom: 1px solid #f5e4cf; }
.hm-shelf__label { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; align-self: start; }
.hm-shelf__kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #565761; }
.hm-shelf__name { margin: 0; font-family: var(--hm-font-display, 'Playfair Display', Georgia, serif); font-size: 30px; font-weight: 600; line-height: 1.1; color: #20212d; }
.hm-shelf__line { flex-basis: 100%; margin: 0; font-size: 16px; }
.hm-shelf__books { list-style: none; margin: 0; padding: 0 0 14px; display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: flex-start; position: relative; background: linear-gradient(#20212d, #20212d) left calc(1.29 * 150px + 4px) / 100% 2px no-repeat; }
.hm-book { width: 170px; }
.hm-book > a { display: flex; flex-direction: column; gap: 14px; color: #20212d; text-decoration: none; }
.hm-book:nth-child(odd) .hm-cover { transform: rotate(-1deg); }
.hm-book:nth-child(even) .hm-cover { transform: rotate(1deg); }
.hm-book > a:hover .hm-book__title { background: #f8c978; }
.hm-book__title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.hm-book__meta { margin-top: -10px; font-size: 14px; color: #565761; }
.hm-book--empty span { display: flex; align-items: center; justify-content: center; width: 150px; height: calc(150px * 1.29); box-sizing: border-box; padding: 12px; border: 2px dashed #c8bfb2; border-radius: 4px; text-align: center; font-size: 14px; color: #565761; }
/* Card catalog */
.hm-catalog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.hm-card { position: relative; padding: 18px 20px 30px; background: #ffffff repeating-linear-gradient(#ffffff 0 33px, #e8f5f0 33px 34px); background-position: 0 58px; border: 1.5px solid #20212d; border-radius: 4px; }
.hm-card:focus-within, .hm-card:hover { box-shadow: 0 10px 24px rgba(32, 33, 45, .14); }
.hm-card__call { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid #f6a4b9; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #565761; }
.hm-card__stamp { position: absolute; right: 18px; top: 16px; transform: rotate(-8deg); padding: 2px 8px; border: 2px solid #17706b; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #17706b; background: #ffffff; }
.hm-card__head { display: flex; gap: 14px; align-items: flex-start; }
.hm-card__title { margin: 0; font-size: 23px; line-height: 1.15; }
.hm-card__title a { color: #20212d; text-decoration: none; }
.hm-card__title a::after { content: ""; position: absolute; inset: 0; }
.hm-card__text { margin: 4px 0 0; font-size: 15px; }
.hm-card__more { margin: 14px 0 0; font-weight: 700; color: #17706b; text-decoration: underline; }
.hm-card__hole { position: absolute; left: 50%; bottom: 9px; width: 12px; height: 12px; margin-left: -6px; border-radius: 999px; background: #fffbf3; border: 1.5px solid #857563; }
.hm-lib-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 14px 0 0; font-size: 14px; }
.hm-lib-meta dt { color: #565761; }
.hm-lib-meta dd { margin: 0; font-weight: 700; color: #20212d; }
/* Numbered index */
.hm-index { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid #20212d; }
.hm-index__item { display: grid; grid-template-columns: 96px 130px 1fr; gap: 28px; align-items: start; padding: 28px 24px; border-bottom: 1px solid #f5e4cf; position: relative; }
.hm-index__item:hover, .hm-index__item:focus-within { background: #ffffff; }
.hm-index__num { font-family: var(--hm-font-display, 'Playfair Display', Georgia, serif); font-size: 64px; line-height: .9; color: #20212d; }
.hm-index__item .hm-cover { --hm-plate: #e8f5f0 !important; }
.hm-index__title { margin: 0; font-size: 30px; line-height: 1.15; }
.hm-index__title a { color: #20212d; text-decoration: none; }
.hm-index__title a::after { content: ""; position: absolute; inset: 0; }
.hm-index__title a:hover { background: #f8c978; }
.hm-index__body p { margin: 6px 0 0; max-width: 56ch; }
.hm-index__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px 2px 4px; border: 1px solid #c8bfb2; border-radius: 999px; font-size: 14px; font-weight: 700; color: #20212d; }
/* Margin note */
.hm-note { position: relative; max-width: 300px; margin: 18px 0; padding: 22px 22px 18px; background: #ffffff; border: 1px solid #f5e4cf; box-shadow: 0 6px 14px rgba(32, 33, 45, .10); transform: rotate(2deg); }
.hm-note::before { content: ""; position: absolute; left: 50%; top: -12px; width: 84px; height: 22px; margin-left: -42px; background: rgba(248, 201, 120, .85); transform: rotate(-3deg); }
.hm-note p { margin: 0; font-family: var(--hm-font-display, 'Playfair Display', Georgia, serif); font-style: italic; font-size: 19px; line-height: 1.4; color: #20212d; }
.hm-note p.hm-note__label { margin-bottom: 6px; font-family: inherit; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 781px) {
	.hm-shelf { grid-template-columns: 1fr; gap: 20px; }
	.hm-shelf__books { background: none; }
	.hm-index__item { grid-template-columns: 56px 1fr; }
	.hm-index__item .hm-cover { display: none; }
	.hm-index__num { font-size: 40px; }
	.hm-note { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hm-book .hm-cover, .hm-note { transform: none; }
}
/* ---------- Store ---------- */
.hm-store-notice { margin: 0 0 24px; padding: 14px 18px; background: #e8f5f0; border-left: 4px solid #17706b; border-radius: 4px; color: #20212d; }
.hm-store-notice p { margin: 0; }
.hm-store-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding-bottom: 18px; border-bottom: 1.5px solid #20212d; }
.hm-store-cats .hm-chip { text-decoration: none; }
.hm-store-cats .hm-chip[aria-current="page"] { background: #20212d; border-color: #20212d; color: #ffffff; }
.hm-store { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 32px; }
.hm-store__item { display: flex; flex-direction: column; }
.hm-store__cover { position: relative; display: flex; justify-content: center; padding: 28px 0 34px; background: #e8f5f0; border-radius: 6px; }
.hm-store__item:nth-child(odd) .hm-cover { transform: rotate(-1.5deg); }
.hm-store__item:nth-child(even) .hm-cover { transform: rotate(1.5deg); }
.hm-store__badge { position: absolute; left: 14px; top: 14px; padding: 2px 12px; background: #ffffff; border: 1.5px solid #20212d; border-radius: 999px; font-size: 13px; font-weight: 700; color: #20212d; }
.hm-store__body { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; flex: 1; }
.hm-store__title { margin: 0; font-size: 23px; line-height: 1.2; }
.hm-store__title a { color: #20212d; text-decoration: none; }
.hm-store__title a:hover { background: #f8c978; }
.hm-store__text { margin: 0; font-size: 16px; }
.hm-store__meta { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0 10px; font-size: 15px; color: #565761; }
.hm-store__meta strong { color: #20212d; font-size: 18px; }
.hm-store__body .hm-add, .hm-store__body > .hm-button { margin-top: auto; }
.hm-add { margin: 0; }
.hm-add .hm-button, .hm-store__body > .hm-button { width: 100%; justify-content: center; }
/* Product page buy box */
.hm-buybox { margin: 0 0 40px; padding: 26px 28px; background: #ffffff; border: 1.5px solid #20212d; border-radius: 6px; }
.hm-buybox__price { margin: 0 0 16px; font-family: var(--hm-font-display, 'Playfair Display', Georgia, serif); font-size: 40px; font-weight: 600; line-height: 1; color: #20212d; }
.hm-buybox__price span { font-family: var(--hm-font-body, inherit); font-size: 16px; font-weight: 400; color: #565761; margin-left: 10px; }
.hm-buybox__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hm-buybox__facts { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid #f5e4cf; display: grid; gap: 10px; font-size: 16px; }
.hm-buybox__facts li { display: flex; align-items: center; gap: 10px; }
/* Cart */
.hm-cart { max-width: 760px; }
.hm-cart__list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1.5px solid #20212d; }
.hm-cart__item { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid #f5e4cf; }
.hm-cart__item .hm-cover { --hm-cover-w: 52px; }
.hm-cart__item .hm-cover__title { font-size: 7px; }
.hm-cart__name { font-weight: 700; color: #20212d; }
.hm-cart__name a { color: #20212d; }
.hm-cart__note { display: block; font-weight: 400; font-size: 14px; color: #565761; }
.hm-cart__price { font-weight: 700; color: #20212d; }
.hm-cart__item form { margin: 0; }
.hm-linkbutton { background: none; border: none; padding: 8px 4px; color: #17706b; font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.hm-linkbutton:hover { background: #f8c978; color: #20212d; }
.hm-cart__total { display: flex; justify-content: space-between; margin: 0; font-size: 20px; color: #20212d; }
.hm-cart__tax { margin: 6px 0 20px; font-size: 15px; color: #565761; }
.hm-button--wide { width: 100%; justify-content: center; min-height: 56px; font-size: 18px; }
.hm-cart-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #20212d; text-decoration: none; }
.hm-cart-link__count { color: #17706b; }
/* Downloads and resend */
.hm-downloads-box { padding: 24px 28px; background: #ffffff; border: 1.5px solid #20212d; border-radius: 6px; }
.hm-downloads-box__title { margin: 18px 0 8px; font-size: 22px; }
.hm-downloads-box__title:first-child { margin-top: 0; }
.hm-downloads a { display: flex; align-items: center; gap: 12px; }
.hm-resend { margin-top: 48px; padding-top: 28px; border-top: 1px solid #f5e4cf; max-width: 640px; }
.hm-resend__title { margin: 0 0 12px; font-size: 26px; }
.hm-field-label { display: block; font-weight: 700; color: #20212d; margin-bottom: 6px; font-size: 16px; }
.hm-resend__row { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-input { flex: 1 1 260px; min-height: 48px; padding: 10px 14px; border: 1.5px solid #857563; border-radius: 4px; background: #ffffff; font: inherit; }
.hm-input:focus-visible { outline: 3px solid #20212d; outline-offset: 2px; }
@media (max-width: 600px) {
	.hm-cart__item { grid-template-columns: 52px 1fr; }
	.hm-cart__price, .hm-cart__item form { grid-column: 2; }
}
/* ---------- v1.8.0 audit fixes ---------- */
/* Links always dark teal, never gold text (finding 29) */
.entry-content a:not(.wp-element-button):not(.hm-button):not(.hm-chip) { color: var(--hm-teal-deep); }
/* Nothing meaningful under 14px (finding 33) */
.hm-shelf__kicker, .hm-card__call, .hm-store__badge, .hm-note p.hm-note__label { font-size: 14px; }
.hm-card__stamp { font-size: 13px; }
/* Notes with sentences stay nearly straight (finding 8) */
.hm-note { transform: rotate(1deg); }
.hm-card__stamp { transform: rotate(-4deg); }
/* Limits line (finding 14) */
.hm-limits-line { margin: var(--hm-space-6) 0 0; padding-top: var(--hm-space-4); border-top: 1px dotted var(--hm-control-border); font-size: calc(16px * var(--hm-scale)); color: var(--hm-body); }
.hm-site-limits { max-width: 1200px; margin: 0 auto; padding: 0 var(--hm-space-5) var(--hm-space-4); }
.hm-site-limits .hm-limits-line { margin-top: var(--hm-space-5); }
/* Activity picker (findings 7 and 30) */
.hm-picker__group { border: 0; padding: 0; margin: 0 0 var(--hm-space-5); }
.hm-picker__group legend { font-weight: 700; color: var(--hm-heading); margin-bottom: var(--hm-space-3); }
.hm-picker__options { display: flex; flex-wrap: wrap; gap: var(--hm-space-2); }
.hm-picker__option { display: inline-flex; align-items: center; gap: var(--hm-space-2); min-height: 48px; padding: 6px 18px; border: 1.5px solid var(--hm-control-border); border-radius: 999px; background: var(--hm-surface); font-weight: 700; color: var(--hm-heading); cursor: pointer; }
.hm-picker__option input { width: 20px; height: 20px; accent-color: var(--hm-teal); margin: 0; }
.hm-picker__option:has(input:checked) { background: var(--hm-gold); border-color: var(--hm-heading); }
.hm-picker__option:has(input:focus-visible) { outline: 3px solid var(--hm-focus); outline-offset: 2px; }
.hm-picker__results { margin-top: var(--hm-space-6); padding-top: var(--hm-space-5); border-top: 1.5px solid var(--hm-heading); }
.hm-picker__count { font-weight: 700; color: var(--hm-heading); }
/* One-tap audience question (finding 23) */
.hm-who fieldset { border: 1px solid var(--hm-sand); border-radius: var(--hm-radius-md); padding: var(--hm-space-4); margin: var(--hm-space-5) 0; }
.hm-who legend { font-weight: 700; color: var(--hm-heading); padding: 0 var(--hm-space-2); }
.hm-who__buttons { display: flex; flex-wrap: wrap; gap: var(--hm-space-3); }
.hm-who--done { font-weight: 700; color: var(--hm-success); }
/* Next pack and Look Inside (findings 9, 21, 31) */
.hm-next-pack { margin-top: var(--hm-space-6); padding: var(--hm-space-5); border-radius: var(--hm-radius-lg); }
.hm-look-inside .wp-block-image img { border: 1px solid var(--hm-sand); box-shadow: var(--hm-shadow-paper); background: #ffffff; }
.hm-look-inside figcaption { font-size: calc(16px * var(--hm-scale)); color: var(--hm-body); }
/* Two doors and the teacher line (findings 2 and 5) */
.hm-doors { list-style: none; margin: var(--hm-space-5) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--hm-space-4); }
.hm-doors > li > a { display: block; min-height: 100%; padding: var(--hm-space-5); border: 1.5px solid var(--hm-heading); border-radius: var(--hm-radius-lg); background: var(--hm-surface); color: var(--hm-heading); text-decoration: none; box-shadow: 6px 6px 0 var(--hm-gold); }
.hm-doors > li:nth-child(2) > a { box-shadow: 6px 6px 0 var(--hm-fill-teal); }
.hm-doors > li > a:hover, .hm-doors > li > a:focus-visible { text-decoration: underline; text-underline-offset: 0.18em; }
.hm-doors strong { display: block; font-family: var(--hm-font-display); font-size: calc(24px * var(--hm-scale)); line-height: 1.2; }
.hm-doors span { display: block; margin-top: var(--hm-space-1); }
.hm-teacher-line { margin-top: var(--hm-space-4); font-size: calc(17px * var(--hm-scale)); }
@media (max-width: 782px) { .hm-doors { grid-template-columns: 1fr; } }
/* Display settings on phones (finding 26) */
.hm-display-launcher--menu { position: static; margin: var(--hm-space-5) 0 0; }
html.hm-phone-display .hm-display-panel { left: 8px; right: 8px; width: auto; bottom: 8px; z-index: 1000000; }
/* Weekly free activity and printing help (findings 10 and 27) */
.hm-weekly { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: var(--hm-space-7); align-items: center; }
@media (max-width: 782px) { .hm-weekly { grid-template-columns: 1fr; } }
.hm-print-help { border-left: 4px solid var(--hm-teal); padding: var(--hm-space-3) var(--hm-space-5); background: var(--hm-mint); border-radius: 0; }
/* Blog page */
.hm-blog-cats { list-style: none; padding: 0; margin: 0 0 var(--hm-space-6); display: flex; flex-wrap: wrap; gap: 8px; }
.hm-blog-cats li a { display: inline-block; padding: 8px 16px; border: 1px solid var(--hm-sand); border-radius: 999px; text-decoration: none; min-height: 44px; line-height: 26px; }
.hm-blog-cats li a:hover, .hm-blog-cats li a:focus-visible { background: var(--hm-mint); }
.hm-blog-list .wp-block-post-template { gap: var(--hm-space-6); }
.hm-blog-list .wp-block-post-featured-image img { border-radius: 12px; }
.hm-blog-list .hm-blog-title { font-size: calc(22px * var(--hm-scale)); margin: 4px 0 8px; }
.hm-blog-list .hm-blog-title a { text-decoration: none; }
.hm-blog-list .wp-block-query-pagination { margin-top: var(--hm-space-7); }
/* About page */
.hm-about-questions { font-size: calc(19px * var(--hm-scale)); margin: 0; }
.hm-stages li { margin-bottom: 10px; }
.hm-note { font-size: 15px; color: var(--hm-ink-soft, inherit); border-left: 3px solid var(--hm-sand); padding-left: 12px; }
/* Listen version player */
.hm-listen { background: var(--hm-mint); border-radius: 14px; padding: var(--hm-space-4) var(--hm-space-5); margin: 0 0 var(--hm-space-6); }
.hm-listen__label { font-weight: 700; margin: 0 0 8px; color: var(--hm-heading); }
.hm-listen__audio { width: 100%; min-height: 44px; display: block; }
.hm-listen__note { font-size: 15px; margin: 8px 0 0; }
@media print { .hm-listen { display: none; } }
/* Pages with their own heading: hide Blocksy's page title */
.hm-own-title .hero-section { display: none; }
.hm-own-title .entry-content > .wp-block-group:first-child { margin-top: 0; }
/* ==========================================================================
   Mockup header and footer (inc/header.php). Blocksy's own are hidden.
   ========================================================================== */
.hm-own-header #header, .hm-own-header header.ct-header, .hm-own-header #footer, .hm-own-header footer.ct-footer, .hm-own-header #offcanvas { display: none !important; }
.hm-header { background: #ffffff; border-bottom: 1px solid var(--hm-sand); position: relative; z-index: 50; }
.hm-header__wrap, .hm-footer__wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.hm-header__wrap { display: flex; align-items: center; gap: 26px; min-height: 84px; padding-top: 14px; padding-bottom: 14px; }
.hm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--hm-heading); }
.hm-brand img { height: 52px; width: auto; display: block; }
.hm-brand__name { font-family: var(--hm-font-display); font-size: 22px; font-weight: 600; line-height: 1.1; color: var(--hm-heading); white-space: nowrap; }
.hm-nav--desk { display: flex; align-items: center; gap: 24px; }
.hm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.hm-nav__list > li { margin: 0; position: relative; }
.hm-nav a, .hm-nav summary, .hm-search summary { color: var(--hm-heading); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.hm-nav__list > li > a:hover, .hm-nav__list > li > a[aria-current], .hm-nav summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-nav summary, .hm-search summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; }
.hm-nav summary::-webkit-details-marker, .hm-search summary::-webkit-details-marker, .hm-mnav summary::-webkit-details-marker { display: none; }
.hm-nav__drop > summary::after { content: "\25BE"; font-size: 14px; }
.hm-nav__sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: calc(100% + 8px); left: -12px; min-width: 250px; background: #ffffff; border: 1px solid var(--hm-sand); border-radius: 8px; box-shadow: var(--hm-shadow-paper); z-index: 60; }
.hm-nav__sub li { margin: 0; }
.hm-nav__sub a { display: block; padding: 10px 18px; font-size: 16px; font-weight: 700; }
.hm-nav__sub a:hover, .hm-nav__sub a:focus-visible { background: var(--hm-mint); }
.hm-search { position: relative; }
.hm-search__form { position: absolute; right: 0; top: calc(100% + 8px); display: flex; gap: 8px; padding: 12px; background: #ffffff; border: 1px solid var(--hm-sand); border-radius: 8px; box-shadow: var(--hm-shadow-paper); z-index: 60; }
.hm-search__form input { min-width: 240px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--hm-control-border); border-radius: 8px; font: inherit; font-size: 16px; }
.hm-search__form button { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--hm-teal); border-radius: 8px; background: var(--hm-teal); color: #ffffff; font: inherit; font-weight: 700; cursor: pointer; }
.hm-header__cta, .hm-header__cta:visited { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--hm-teal); border-radius: 8px; background: var(--hm-teal); color: #ffffff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; white-space: nowrap; }
.hm-header__cta:hover { background: var(--hm-teal-deep); border-color: var(--hm-teal-deep); }
.hm-header__phone { display: none; align-items: center; gap: 10px; }
.hm-header__cart, .hm-mnav > summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--hm-heading); text-decoration: none; cursor: pointer; list-style: none; }
.hm-header__cart { border: 1.5px solid var(--hm-control-border); }
.hm-mnav > summary { border: 1.5px solid var(--hm-heading); }
.hm-mnav[open] > summary { background: var(--hm-heading); color: #ffffff; }
.hm-mnav__panel { position: absolute; left: 0; right: 0; top: 100%; background: #ffffff; border-bottom: 1px solid var(--hm-sand); box-shadow: var(--hm-shadow-paper); padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 4px; z-index: 60; }
.hm-mnav__panel .hm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.hm-mnav__panel .hm-nav__list > li { border-bottom: 1px solid var(--hm-sand); }
.hm-mnav__panel a, .hm-mnav__panel summary { display: flex; align-items: center; min-height: 48px; color: var(--hm-heading); font-weight: 700; font-size: 17px; text-decoration: none; }
.hm-mnav__panel .hm-nav__sub { position: static; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
.hm-mnav__panel .hm-search__form { position: static; box-shadow: none; padding: 8px 0; border: 0; }
.hm-mnav__panel .hm-search__form input { min-width: 0; flex: 1; }
.hm-mnav__start { border: 1.5px solid var(--hm-control-border); border-radius: 8px; padding: 0 14px; margin-bottom: 8px; justify-content: center; }
.hm-mnav__panel .hm-header__cta { justify-content: center; margin-top: 12px; }
.hm-mnav__display { margin-top: 12px; }
.hm-mnav__display .hm-display-toggle, .hm-footer .hm-display-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 10px; border: 1.5px solid var(--hm-control-border); border-radius: 999px; background: #ffffff; color: var(--hm-heading); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
@media (max-width: 1080px) {
	.hm-nav--desk { display: none; }
	.hm-header__phone { display: flex; }
	.hm-header__wrap { padding-left: 20px; padding-right: 20px; min-height: 68px; gap: 10px; }
	.hm-brand img { height: 34px; }
	.hm-brand__name { font-size: 17px; }
}
.hm-footer { border-top: 1px solid var(--hm-sand); background: #ffffff; padding: 56px 0 28px; font-size: 16px; margin-top: 0; }
.hm-footer__wrap { display: flex; gap: 48px; flex-wrap: wrap; }
.hm-footer__brand { flex: 1 1 260px; }
.hm-footer__brand img { height: 56px; width: auto; display: block; }
.hm-footer__brand p { margin: 12px 0 16px; max-width: 30ch; }
.hm-footer__col { flex: 0 0 180px; }
.hm-footer__heading { margin: 0 0 8px; font-weight: 700; color: var(--hm-heading); }
.hm-footer__col ul, .hm-footer__menu, .hm-footer__menu ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.hm-footer__menu { display: flex; gap: 48px; flex-wrap: wrap; }
.hm-footer__menu > li > a { font-weight: 700; color: var(--hm-heading); text-decoration: none; }
.hm-footer a { color: var(--hm-teal-deep); }
.hm-footer__copy { max-width: 1200px; margin: 32px auto 0; padding: 0 40px; box-sizing: border-box; font-size: 14px; color: var(--hm-body-muted); }
@media (max-width: 782px) { .hm-footer__wrap, .hm-footer__copy { padding-left: 20px; padding-right: 20px; } .hm-footer__wrap { gap: 28px; } }
@media print { .hm-header, .hm-footer { display: none; } }
/* Tools page mockup: breadcrumb, intro, and "In this section" beside the rows */
.hm-crumbs { margin: 0 0 8px; font-size: 15px; color: var(--hm-body-muted); }
.hm-crumbs a { color: var(--hm-body-muted); text-decoration: none; }
.hm-crumbs a:hover { text-decoration: underline; }
.hm-hub-intro h1 { margin: 0; font-family: var(--hm-font-display); font-weight: 500; font-size: calc(44px * var(--hm-scale)); line-height: 1.18; color: var(--hm-heading); }
.hm-hub-intro .hm-lead { margin: 12px 0 0; font-size: calc(20px * var(--hm-scale)); max-width: 680px; }
.hm-child-row__dot { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 999px; display: block; border: 1px solid var(--hm-sand); box-sizing: border-box; }
@media (min-width: 900px) {
	.hm-child-pages-auto { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; margin-top: 44px; padding-top: 36px; }
	.hm-child-pages-auto .hm-child-pages__title { margin: 0; font-size: calc(32px * var(--hm-scale)); font-weight: 600; }
	.hm-child-pages-auto .hm-child-rows { margin-top: 0; }
}
@media (max-width: 599px) { .hm-child-row__dot { flex-basis: 48px; width: 48px; height: 48px; } }
.hm-hub-intro.hm-section { padding-top: var(--hm-space-5); }
.hm-hub-intro > .hm-lead, .hm-hub-intro > .hm-crumbs, .hm-hub-intro > h1 { margin-left: 0 !important; margin-right: auto !important; }
.hm-hub-intro > .hm-child-pages-auto { max-width: none; margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
.hm-child-pages .hm-child-row .wp-block-post-title a, .hm-child-pages .hm-child-row .wp-block-post-title a:visited { color: var(--hm-heading); text-decoration: none; }
.hm-child-pages .hm-child-row .wp-block-post-title a:hover { text-decoration: underline; }
