/*
 * Healthy Food House v1.3.1 — independently authored Kadence/Gutenberg adapter.
 * Inspired by the observed structure of Sweet Peas and Saffron, using the
 * approved Healthy Food House palette, original assets and native blocks.
 */
@font-face {
	font-family: "HFH Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins-latin-600.woff2") format("woff2");
}
@font-face {
	font-family: "HFH Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-latin-700.woff2") format("woff2");
}
@font-face {
	font-family: "HFH Source Sans3";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-variable.woff2") format("woff2");
}

body.hfh-reference-page,
.hfh-home {
	--hfh-content-width: 1100px;
	--hfh-heading-font: "HFH Poppins", Arial, sans-serif;
	--hfh-body-font: "HFH Source Sans3", Arial, sans-serif;
}
.hfh-home {
	--wp--style--global--content-size: var(--hfh-content-width);
	--wp--style--global--wide-size: var(--hfh-content-width);
	margin-block: 0;
	color: var(--hfh-black);
	background: var(--hfh-white);
	font: 400 18px/1.5 var(--hfh-body-font);
	-webkit-font-smoothing: antialiased;
}
.hfh-home *, .hfh-home *::before, .hfh-home *::after { box-sizing: border-box; }
.hfh-home.hfh-home :where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: var(--hfh-black);
	font-family: var(--hfh-heading-font);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
}
.hfh-home h1 { font-size: 32px; }
.hfh-home h2 { font-size: 30px; }
.hfh-home :is(h3, h4) { font-size: 20px; }
.hfh-home :is(h5, h6) { font-size: 18px; }
.hfh-home p { margin: 0 0 16px; }
.hfh-home p:last-child { margin-bottom: 0; }
.hfh-home :is(figure, .wp-block-image) { margin: 0; }
.hfh-home img { display: block; max-width: 100%; height: auto; }
.hfh-home a { color: var(--hfh-forest); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hfh-home a:hover { color: var(--hfh-green); }
.hfh-home strong { font-weight: 700; }
.hfh-home :is(a, button, input, summary, select, textarea):focus-visible {
	outline: 3px solid var(--hfh-forest);
	outline-offset: 4px;
}
.hfh-home .hfh-section-title { font-size: 30px; line-height: 1.2; }
.hfh-home .hfh-eyebrow {
	margin: 0 0 10px;
	color: var(--hfh-forest);
	font: 700 15px/1.3 var(--hfh-heading-font);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hfh-home .hfh-section-description { max-width: 760px; margin: 12px 0 24px; }
.hfh-home .hfh-section-actions { justify-content: center; margin-top: 28px; }
.hfh-home .hfh-about-subtitle { margin-top: 12px; font-size: 20px; font-weight: 600; }
.hfh-home :is(.hfh-demo-note, .hfh-preview-label, .hfh-ref-preview-label) { font-size: 14px; line-height: 1.45; }
.hfh-home.hfh-home :is(.hfh-sr-only, .hfh-ref-sr-only) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Width belongs to the outer section or its single classic Group wrapper. */
.hfh-home :is(.hfh-categories, .hfh-featured, .hfh-latest, .hfh-collection, .hfh-ref-collection, .hfh-intro, .hfh-shortcuts, .hfh-about, .hfh-demo-note) {
	width: calc(100% - 40px);
	max-width: var(--hfh-content-width);
	margin-inline: auto;
}
.hfh-home :is(.hfh-featured, .hfh-latest, .hfh-collection, .hfh-ref-collection, .hfh-shortcuts, .hfh-about) { margin-block: 40px; }
.hfh-home :is(.hfh-section-head, .hfh-ref-section-head, .hfh-category-grid, .hfh-shortcut-grid, .hfh-home-nav, .hfh-signup-fields, .hfh-ref-signup-fields, .hfh-category-links, .hfh-ref-filter) > .wp-block-group__inner-container { display: contents; }

/* The hero image is an editable native Image block behind the copy. */
.hfh-home .hfh-hero {
	position: relative;
	isolation: isolate;
	min-height: 270px;
	max-width: none;
	margin: 0;
	padding: 36px 24px 48px;
	overflow: hidden;
	background: var(--hfh-cream);
}
.hfh-home .hfh-hero > .wp-block-group__inner-container { position: static; }
.hfh-home .hfh-hero .wp-block-image { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hfh-home .hfh-hero .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hfh-home .hfh-hero-copy {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	margin-inline: auto;
	text-align: center;
}
.hfh-home .hfh-hero-copy h1 { max-width: 420px; margin-inline: auto; font-size: 32px; line-height: 1.1; }
.hfh-home .hfh-hero-copy p { margin: 14px 0 20px; font-size: 20px; line-height: 1.4; }
.hfh-home .hfh-hero-copy .wp-block-buttons { justify-content: center; }

/* Illustrated category navigation. Images remain individually editable. */
.hfh-home .hfh-categories { margin-block: 28px 40px; }
.hfh-home .hfh-category-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 20px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hfh-home .hfh-category-card { min-width: 0; margin: 0; text-align: center; }
.hfh-home .hfh-category-card .wp-block-image { margin: 0 auto; }
.hfh-home .hfh-category-card img { width: 64px; height: 64px; margin-inline: auto; object-fit: contain; }
.hfh-home .hfh-category-card :is(p, h3, h4) { margin: 12px 0 0; font: 600 16px/1.3 var(--hfh-body-font); }
.hfh-home .hfh-category-card a { display: inline-block; color: var(--hfh-black); text-decoration: none; }
.hfh-home .hfh-category-card a:hover { color: var(--hfh-forest); text-decoration: underline; }
.hfh-home .hfh-intro { margin-block: 40px 28px; text-align: center; }
.hfh-home .hfh-intro :is(h1, h2) { max-width: 840px; margin-inline: auto; font-size: 32px; }
.hfh-home .hfh-intro p { margin: 12px 0 0; font-size: 20px; }
.hfh-home .hfh-shortcut-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.hfh-home .hfh-shortcut-card { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; background: var(--hfh-white); text-align: center; }
.hfh-home .hfh-shortcut-card :is(h3, h4) { font-size: 20px; }
.hfh-home .hfh-shortcut-card p { margin: 12px 0 0; }
.hfh-home .hfh-shortcut-card a { color: var(--hfh-black); text-decoration: none; }
.hfh-home .hfh-shortcut-card a:hover { text-decoration: underline; }
.hfh-home .hfh-shortcut-card .wp-block-image { margin-bottom: 16px; }
.hfh-home .hfh-shortcut-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Reference-like recipe rows, with a separate horizontal Latest layout. */
.hfh-home .hfh-recipe-grid.wp-block-columns,
.hfh-home :is(.hfh-latest, .hfh-collection, .hfh-ref-collection) .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch !important;
	gap: 24px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.hfh-home .hfh-recipe-grid + .hfh-recipe-grid { margin-top: 24px; }
.hfh-home .hfh-recipe-grid > .wp-block-column,
.hfh-home .wp-block-post-template > .wp-block-post { width: auto; min-width: 0; margin: 0; }
.hfh-home .hfh-recipe-card,
.hfh-home :is(.hfh-latest, .hfh-collection, .hfh-ref-collection) .wp-block-post { padding: 0; border: 0; border-radius: 0; background: var(--hfh-white); box-shadow: none; }
.hfh-home .hfh-recipe-card :is(.wp-block-image, .wp-block-post-featured-image),
.hfh-home .wp-block-post-featured-image { margin: 0; }
.hfh-home .hfh-recipe-card :is(.wp-block-image, .wp-block-post-featured-image) a,
.hfh-home .wp-block-post-featured-image a { display: block; }
.hfh-home .hfh-recipe-card :is(.wp-block-image, .wp-block-post-featured-image) img,
.hfh-home .wp-block-post-featured-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.hfh-home .hfh-recipe-card :is(h2, h3, h4, .wp-block-post-title),
.hfh-home :is(.hfh-latest, .hfh-collection, .hfh-ref-collection) .wp-block-post-title { margin: 12px 0 0; padding: 0; font: 700 18px/1.3 var(--hfh-heading-font); text-align: left; }
.hfh-home .hfh-recipe-card :is(h2, h3, h4, .wp-block-post-title) a,
.hfh-home .wp-block-post-title a { color: var(--hfh-black); text-decoration: none; }
.hfh-home .hfh-recipe-card :is(h2, h3, h4, .wp-block-post-title) a:hover,
.hfh-home .wp-block-post-title a:hover { color: var(--hfh-forest); text-decoration: underline; }
.hfh-home .hfh-recipe-card p,
.hfh-home :is(.wp-block-post-date, .wp-block-post-excerpt) { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
.hfh-home .hfh-latest .hfh-recipe-grid.wp-block-columns,
.hfh-home .hfh-recipe-grid.hfh-grid-three,
.hfh-home .hfh-latest .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 6px 20px; }
.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) > .wp-block-group__inner-container { display: contents; }
.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) :is(.wp-block-image, .wp-block-post-featured-image) { grid-column: 1; grid-row: 1; }
.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) :is(h2, h3, h4, .wp-block-post-title) { grid-column: 2; grid-row: 1; margin: 0; font-size: 20px; line-height: 1.1; }
.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) p { grid-column: 2; }
.hfh-home .hfh-latest .hfh-recipe-card .wp-block-image img,
.hfh-home .hfh-latest .wp-block-post-featured-image img { border-radius: 50%; }
.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; margin: 0 0 12px; }
.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) :is(h2, p) { margin: 0; }
.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) p { flex-shrink: 0; font-weight: 700; }
.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) a { text-decoration: none; border-bottom: 3px solid var(--hfh-orange); }
.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) a:hover { border-color: var(--hfh-forest); }

/* Editable image-and-copy sections retain classic Group wrapper support. */
.hfh-home :is(.hfh-about, .hfh-about > .wp-block-group__inner-container) > .wp-block-columns { display: grid; grid-template-columns: 570fr 530fr; gap: 0; margin: 0 auto; background: var(--hfh-white); }
.hfh-home :is(.hfh-about, .hfh-feature, .hfh-ref-feature, .hfh-signup, .hfh-ref-signup) .wp-block-columns > .wp-block-column { min-width: 0; margin: 0; align-self: center; }
.hfh-home .hfh-about .wp-block-image img { width: 100%; aspect-ratio: 855 / 659; object-fit: cover; }
.hfh-home :is(.hfh-about, .hfh-feature, .hfh-ref-feature) :is(h2, h3) + p { margin-top: 16px; }
.hfh-home .hfh-about { width: 100%; max-width: none; padding: 40px 0; background: var(--hfh-cream); }
.hfh-home .hfh-about > :is(.wp-block-group__inner-container, .wp-block-columns) { width: calc(100% - 40px); max-width: var(--hfh-content-width); margin-inline: auto; }
.hfh-home :is(.hfh-about, .hfh-about > .wp-block-group__inner-container) > .wp-block-columns > .wp-block-column:nth-child(2) { padding: 38px 50px 38px 26px; }
.hfh-home .hfh-ref-roundel { display: none; }
.hfh-home :is(.hfh-feature, .hfh-ref-feature, .hfh-signup, .hfh-ref-signup, .hfh-mission, .hfh-browse, .hfh-ref-category-band, .hfh-footer, .hfh-ref-footer) { max-width: none; margin-block: 40px; padding: 40px 0; background: var(--hfh-cream); color: var(--hfh-black); }
.hfh-home :is(.hfh-feature, .hfh-ref-feature, .hfh-signup, .hfh-ref-signup, .hfh-mission, .hfh-browse, .hfh-ref-category-band, .hfh-footer, .hfh-ref-footer) > :where(:not(.alignfull)) { width: calc(100% - 40px); max-width: var(--hfh-content-width); margin-inline: auto; }
.hfh-home :is(.hfh-feature, .hfh-ref-feature) .wp-block-columns { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; margin-block: 0; }
.hfh-home :is(.hfh-feature, .hfh-ref-feature) .wp-block-image img { width: 100%; max-height: 400px; aspect-ratio: 4 / 3; object-fit: cover; }
.hfh-home :is(.hfh-strip, .hfh-ref-strip, .hfh-values) { margin: 40px 0; padding: 24px 20px; background: var(--hfh-forest); color: var(--hfh-white); text-align: center; font: 600 16px/1.5 var(--hfh-heading-font); letter-spacing: 0.04em; }
.hfh-home :is(.hfh-strip, .hfh-ref-strip, .hfh-values) :is(h2, h3, p, a) { color: inherit; }

/* Buttons use black on yellow/orange or white on forest for clear contrast. */
.hfh-home .wp-block-button__link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 8px 16px; border: 0; border-radius: 4px; background: var(--hfh-orange); color: var(--hfh-black); font: 700 20px/1.25 var(--hfh-heading-font); letter-spacing: 0; text-transform: none; text-decoration: none; }
.hfh-home .wp-block-button__link:hover { background: var(--hfh-yellow); color: var(--hfh-black); text-decoration: none; }
.hfh-home .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) { border: 2px solid var(--hfh-forest); background: transparent; color: var(--hfh-forest); }
.hfh-home .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover { background: var(--hfh-forest); color: var(--hfh-white); }
.hfh-home .hfh-button-green .wp-block-button__link { background: var(--hfh-forest); color: var(--hfh-white); }
.hfh-home .hfh-button-green .wp-block-button__link:hover { background: var(--hfh-green); }
.hfh-home :is(.hfh-signup, .hfh-ref-signup, .hfh-mission) { background: var(--hfh-forest); color: var(--hfh-white); }
.hfh-home :is(.hfh-signup, .hfh-ref-signup, .hfh-mission) :is(h1, h2, h3, h4, h5, h6, p, a) { color: inherit; }
.hfh-home :is(.hfh-signup, .hfh-ref-signup, .hfh-mission) .hfh-eyebrow { color: var(--hfh-yellow); }
.hfh-home :is(.hfh-signup, .hfh-ref-signup) .wp-block-columns { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-block: 0; }
.hfh-home :is(.hfh-signup-fields, .hfh-ref-signup-fields) { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 0; }
.hfh-home :is(.hfh-signup-fields, .hfh-ref-signup-fields) :is(input, button, .hfh-ref-preview-field) { min-width: 0; width: 100%; min-height: 48px; margin: 0; padding: 11px 14px; border: 1px solid var(--hfh-green); border-radius: 0; background: var(--hfh-white); color: var(--hfh-black); font: 400 18px/24px var(--hfh-body-font); opacity: 1; }
.hfh-home :is(.hfh-signup-fields, .hfh-ref-signup-fields) :is(button, .hfh-ref-preview-button) { grid-column: 1 / -1; background: var(--hfh-yellow); border-color: var(--hfh-yellow); color: var(--hfh-black); font-family: var(--hfh-heading-font); font-size: 16px; font-weight: 700; }
.hfh-home :is(.hfh-signup-fields, .hfh-ref-signup-fields) :disabled { cursor: not-allowed; -webkit-text-fill-color: var(--hfh-black); }
.hfh-home :is(.hfh-signup-fields, .hfh-ref-signup-fields) :is(.hfh-preview-label, .hfh-ref-preview-label) { grid-column: 1 / -1; margin: 0; }
.hfh-home .hfh-signup { text-align: center; }
.hfh-home .hfh-signup h2 { max-width: 780px; margin: 0 auto 16px; }
.hfh-home .hfh-signup .hfh-signup-fields { max-width: 680px; margin: 24px auto 0; }
.hfh-home :is(.hfh-signup, .hfh-ref-signup, .hfh-mission) :is(a, button, input):focus-visible { outline-color: var(--hfh-yellow); }
.hfh-home :is(.hfh-signup, .hfh-ref-signup, .hfh-mission) .wp-block-button__link { color: var(--hfh-black); }

/* Retained native block aliases make previously saved sections safe to edit. */
.hfh-home .hfh-ref-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.hfh-home .hfh-ref-filter details { margin: 0; padding: 12px 16px; border: 1px solid var(--hfh-forest); background: var(--hfh-white); }
.hfh-home .hfh-ref-filter summary { cursor: pointer; font-weight: 700; }
.hfh-home .hfh-ref-filter a { display: inline-block; padding-block: 5px; }
.hfh-home .hfh-category-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.hfh-home .hfh-category-links .wp-block-button__link { display: flex; background: var(--hfh-white); color: var(--hfh-forest); border: 1px solid var(--hfh-forest); }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) { margin-bottom: 0; background: var(--hfh-cream); border-top: 3px solid var(--hfh-green); }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) .wp-block-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-block: 0; }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) .wp-block-column { min-width: 0; margin: 0; }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) :is(h2, h3) { margin-bottom: 16px; font-size: 18px; }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) :is(p, li) { margin-bottom: 8px; font-size: 16px; line-height: 1.5; }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) a { display: inline-block; padding-block: 3px; text-decoration: none; }
.hfh-home :is(.hfh-footer, .hfh-ref-footer) a:hover { text-decoration: underline; }
.hfh-home .hfh-home-nav { margin: 0; padding: 0 max(20px, calc((100% - var(--hfh-content-width)) / 2)); border-bottom: 1px solid var(--hfh-green); background: var(--hfh-cream); }
.hfh-home .hfh-home-nav p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; margin: 0; }
.hfh-home .hfh-home-nav a { display: inline-flex; min-height: 46px; align-items: center; font-weight: 600; text-decoration: none; }

/* Native search blocks and Kadence header, limited to the static front page. */
.hfh-home .hfh-recipe-search { max-width: 680px; margin: 24px auto; }
.hfh-home .hfh-recipe-search .wp-block-search__inside-wrapper { display: flex; gap: 8px; padding: 0; border: 0; }
.hfh-home .hfh-recipe-search .wp-block-search__input { min-width: 0; padding: 10px 14px; border: 1px solid var(--hfh-forest); border-radius: 0; background: var(--hfh-white); color: var(--hfh-black); font: inherit; }
.hfh-home .hfh-recipe-search.wp-block-search .wp-block-search__button { margin: 0; padding: 10px 18px; border: 0; border-radius: 0; background: var(--hfh-orange); color: var(--hfh-black); font: 700 16px/1.3 var(--hfh-heading-font); }
body.hfh-reference-page .hfh-ref-topbar { min-height: 38px; background: var(--hfh-white); color: var(--hfh-black); font: 600 14px/22px var(--hfh-body-font); }
body.hfh-reference-page .hfh-ref-topbar-inner { display: flex; width: calc(100% - 40px); max-width: var(--hfh-content-width); min-height: 38px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 12px; }
body.hfh-reference-page .hfh-ref-topbar nav { display: flex; gap: 20px; }
body.hfh-reference-page .hfh-ref-topbar-inner > span { display: inline-block; padding: 2px 12px; border-radius: 20px; background: var(--hfh-yellow); color: var(--hfh-black); }
body.hfh-reference-page .hfh-ref-topbar a { display: inline-flex; min-height: 34px; align-items: center; color: var(--hfh-black); text-decoration: none; }
body.hfh-reference-page .hfh-ref-topbar a:hover { text-decoration: underline; }
body.hfh-reference-page .hfh-ref-topbar a:focus-visible { outline: 2px solid var(--hfh-forest); outline-offset: 3px; }
body.hfh-reference-page #masthead { background: var(--hfh-white); box-shadow: none; }
body.hfh-reference-page #masthead .site-main-header-wrap .site-header-row-container-inner { background: var(--hfh-white); }
body.hfh-reference-page #masthead .site-main-header-wrap .site-container { width: calc(100% - 40px); max-width: var(--hfh-content-width); padding-inline: 0; }
body.hfh-reference-page #masthead .site-main-header-inner-wrap { min-height: 100px; }
body.hfh-reference-page #masthead .site-branding { padding: 8px 0 12px; }
body.hfh-reference-page #masthead .site-branding a.brand img { width: 240px; height: 75px; max-width: 240px; max-height: 75px; object-fit: contain; }
body.hfh-reference-page #masthead .header-navigation .header-menu-container > ul > li > a { padding: 12px 10px; color: var(--hfh-black); font: 600 15px/24px var(--hfh-heading-font); }
body.hfh-reference-page #masthead .header-navigation .header-menu-container > ul > li > a:hover { color: var(--hfh-forest); text-decoration: underline; text-underline-offset: 5px; }
body.hfh-reference-page #masthead #primary-menu .hfh-ref-menu-search { align-self: center; margin-left: 8px; }
body.hfh-reference-page :is(#masthead, #mobile-drawer) .hfh-ref-menu-search form { display: flex; align-items: center; width: 180px; min-height: 40px; box-sizing: border-box; margin: 0; padding: 0; border: 1px solid var(--hfh-forest); border-radius: 0; background: var(--hfh-white); }
body.hfh-reference-page :is(#masthead, #mobile-drawer) .hfh-ref-menu-search input[type="search"] { width: 140px; min-width: 0; height: 38px; margin: 0; padding: 7px 0 7px 12px; border: 0; border-radius: 0; background: transparent; color: var(--hfh-black); font: 400 16px/24px var(--hfh-body-font); box-shadow: none; }
body.hfh-reference-page :is(#masthead, #mobile-drawer) .hfh-ref-menu-search button { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--hfh-yellow); color: var(--hfh-forest); box-shadow: none; }
body.hfh-reference-page :is(#masthead, #mobile-drawer) .hfh-ref-menu-search :is(input, button):focus-visible { outline: 2px solid var(--hfh-forest); outline-offset: -3px; }
body.hfh-reference-page #mobile-drawer .hfh-ref-menu-search { margin-top: 20px; padding: 8px 0; }
body.hfh-reference-page #mobile-drawer .hfh-ref-menu-search form { width: 100%; max-width: 360px; }
body.hfh-reference-page #mobile-drawer .hfh-ref-menu-search input[type="search"] { flex: 1; width: auto; }
body.hfh-reference-page #mobile-drawer .hfh-ref-menu-search button { flex: 0 0 42px; }
/* Keep the front-page drawer readable, including Kadence's slice animation. */
body.hfh-reference-page #mobile-drawer .drawer-inner,
body.hfh-reference-page #mobile-drawer.popup-drawer-layout-fullwidth.popup-drawer-animation-slice .drawer-inner,
body.hfh-reference-page #mobile-drawer.popup-drawer-layout-fullwidth.popup-drawer-animation-slice .pop-portion-bg,
body.hfh-reference-page #mobile-drawer.popup-drawer-layout-fullwidth.popup-drawer-animation-slice.pop-animated.show-drawer .drawer-inner { background: var(--hfh-white); color: var(--hfh-black); }
body.hfh-reference-page #mobile-drawer .mobile-navigation ul li a,
body.hfh-reference-page #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap { background: transparent; color: var(--hfh-black); }
body.hfh-reference-page #mobile-drawer .mobile-navigation ul li a:hover,
body.hfh-reference-page #mobile-drawer .mobile-navigation ul li a:active,
body.hfh-reference-page #mobile-drawer .mobile-navigation ul li:is(.current-menu-item, .current_page_item) > a,
body.hfh-reference-page #mobile-drawer .mobile-navigation ul li:is(.current-menu-item, .current_page_item) > .drawer-nav-drop-wrap > a { color: var(--hfh-forest); text-decoration: underline; text-underline-offset: 4px; }
body.hfh-reference-page #mobile-drawer .mobile-navigation ul li > a,
body.hfh-reference-page #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap,
body.hfh-reference-page #mobile-drawer .mobile-navigation .drawer-sub-toggle { border-color: rgba(9, 74, 61, 0.16); }
body.hfh-reference-page #mobile-drawer .drawer-header .drawer-toggle,
body.hfh-reference-page #mobile-drawer .drawer-header .drawer-toggle:focus,
body.hfh-reference-page #mobile-drawer .drawer-header .drawer-toggle:hover,
body.hfh-reference-page #mobile-drawer .drawer-header .drawer-toggle:focus:hover,
body.hfh-reference-page #mobile-drawer .mobile-navigation .drawer-sub-toggle { background: transparent; color: var(--hfh-forest); }
body.hfh-reference-page #mobile-drawer .mobile-navigation a:focus-visible,
body.hfh-reference-page #mobile-drawer .drawer-header .drawer-toggle:focus-visible,
body.hfh-reference-page #mobile-drawer .mobile-navigation .drawer-sub-toggle:focus-visible { outline: 3px solid var(--hfh-forest); outline-offset: 2px; }
body.hfh-reference-page #colophon .site-bottom-footer-wrap .site-footer-row-container-inner { background: var(--hfh-forest); color: var(--hfh-white); }
body.hfh-reference-page #colophon .footer-html :is(p, a) { color: var(--hfh-white); font-family: var(--hfh-body-font); font-size: 16px; }

@media (min-width: 1024px) and (max-width: 1079px) {
	body.hfh-reference-page, .hfh-home { --hfh-content-width: 1000px; }
}
@media (min-width: 1080px) and (max-width: 1199px) {
	body.hfh-reference-page, .hfh-home { --hfh-content-width: 1020px; }
}
@media (max-width: 1023px) {
	.hfh-home :is(.hfh-featured, .hfh-latest, .hfh-collection, .hfh-ref-collection, .hfh-shortcuts, .hfh-about) { margin-block: 30px; }
	.hfh-home .hfh-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hfh-home .hfh-shortcut-grid { gap: 16px; }
	.hfh-home .hfh-latest .hfh-recipe-grid.wp-block-columns,
	.hfh-home .hfh-recipe-grid.hfh-grid-three,
	.hfh-home .hfh-latest .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) { grid-template-columns: 124px minmax(0, 1fr); gap: 6px 16px; }
	.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) :is(h2, h3, h4, .wp-block-post-title) { font-size: 16px; }
	.hfh-home .hfh-latest .hfh-recipe-card .wp-block-image img,
	.hfh-home .hfh-latest .wp-block-post-featured-image img { border-radius: 0; }
	.hfh-home :is(.hfh-about, .hfh-about > .wp-block-group__inner-container) > .wp-block-columns { grid-template-columns: 40fr 60fr; }
}
@media (max-width: 767px) {
	.hfh-home :is(.hfh-categories, .hfh-featured, .hfh-latest, .hfh-collection, .hfh-ref-collection, .hfh-intro, .hfh-shortcuts, .hfh-about, .hfh-demo-note),
	.hfh-home :is(.hfh-feature, .hfh-ref-feature, .hfh-signup, .hfh-ref-signup, .hfh-mission, .hfh-browse, .hfh-ref-category-band, .hfh-footer, .hfh-ref-footer) > :where(:not(.alignfull)) { width: calc(100% - 20px); }
	.hfh-home :is(.hfh-featured, .hfh-latest, .hfh-collection, .hfh-ref-collection, .hfh-shortcuts, .hfh-about) { margin-block: 20px; }
	.hfh-home h1, .hfh-home .hfh-section-title, .hfh-home .hfh-intro :is(h1, h2) { font-size: 26px; }
	.hfh-home h2 { font-size: 26px; }
	.hfh-home .hfh-hero { min-height: 260px; padding: 24px 20px 36px; }
	.hfh-home .hfh-hero .wp-block-image { opacity: 0.3; }
	.hfh-home .hfh-hero .wp-block-image img { object-position: 42% top; }
	.hfh-home .hfh-hero-copy { max-width: 400px; }
	.hfh-home .hfh-hero-copy h1 { font-size: 26px; line-height: 1.25; }
	.hfh-home .hfh-hero-copy p { font-size: 18px; }
	.hfh-home .hfh-categories { margin-block: 24px; }
	.hfh-home .hfh-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 8px; }
	.hfh-home .hfh-category-card :is(p, h3, h4) { font-size: 15px; }
	.hfh-home .hfh-intro { margin-block: 28px 20px; }
	.hfh-home .hfh-intro p { font-size: 18px; }
	.hfh-home .hfh-shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hfh-home .hfh-shortcut-card :is(h3, h4) { font-size: 17px; }
	.hfh-home .hfh-recipe-grid.wp-block-columns,
	.hfh-home :is(.hfh-collection, .hfh-ref-collection) .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.hfh-home .hfh-recipe-card :is(h2, h3, h4, .wp-block-post-title) { font-size: 16px; }
	.hfh-home .hfh-latest .hfh-recipe-grid.wp-block-columns,
	.hfh-home .hfh-latest .wp-block-post-template { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.hfh-home .hfh-latest :is(.hfh-recipe-card, .wp-block-post) :is(h2, h3, h4, .wp-block-post-title) { font-size: 20px; }
	.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) { flex-wrap: wrap; gap: 8px 16px; }
	.hfh-home :is(.hfh-section-head, .hfh-ref-section-head) p { font-size: 16px; }
	.hfh-home :is(.hfh-about, .hfh-about > .wp-block-group__inner-container) > .wp-block-columns,
	.hfh-home :is(.hfh-feature, .hfh-ref-feature, .hfh-signup, .hfh-ref-signup) .wp-block-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.hfh-home .hfh-about { width: 100%; padding-block: 20px; }
	.hfh-home .hfh-about > :is(.wp-block-group__inner-container, .wp-block-columns) { width: calc(100% - 20px); }
	.hfh-home :is(.hfh-about, .hfh-about > .wp-block-group__inner-container) > .wp-block-columns { gap: 0; }
	.hfh-home :is(.hfh-about, .hfh-about > .wp-block-group__inner-container) > .wp-block-columns > .wp-block-column:nth-child(2) { padding: 24px 20px; }
	.hfh-home :is(.hfh-feature, .hfh-ref-feature, .hfh-signup, .hfh-ref-signup, .hfh-mission, .hfh-browse, .hfh-ref-category-band, .hfh-footer, .hfh-ref-footer) { margin-block: 28px; padding-block: 28px; }
	.hfh-home :is(.hfh-footer, .hfh-ref-footer) { margin-bottom: 0; }
	.hfh-home :is(.hfh-footer, .hfh-ref-footer) .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.hfh-home .hfh-category-links, .hfh-home .hfh-ref-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hfh-home .hfh-home-nav p { justify-content: center; gap: 0 16px; font-size: 14px; }
	body.hfh-reference-page .hfh-ref-topbar-inner { width: calc(100% - 20px); gap: 8px; }
	body.hfh-reference-page .hfh-ref-topbar { font-size: 13px; line-height: 1.3; }
	body.hfh-reference-page .hfh-ref-topbar nav { gap: 12px; }
	body.hfh-reference-page .hfh-ref-topbar nav a:first-child { display: none; }
	body.hfh-reference-page #masthead .site-branding a.brand img { width: 200px; height: 63px; max-width: 200px; max-height: 63px; }
	body.hfh-reference-page #masthead .site-branding { padding: 6px 0; }
}
@media (max-width: 479px) {
	.hfh-home .hfh-category-card img { width: 52px; height: 52px; }
	.hfh-home .hfh-category-card :is(p, h3, h4) { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
	.hfh-home .hfh-category-card a, .hfh-home .wp-block-button__link { transition: color 0.15s ease, background-color 0.15s ease; }
}
