/*
Theme Name: Hungry Stomach
Theme URI: https://hungrystomach.com/
Author: Hungry Stomach
Description: The cook's notebook design for Hungry Stomach. The recipe comes first, every way to cook it gets its own tab, and little handwritten notes are written in red pen. Made to work with the Hungry Stomach Recipes plugin.
Version: 1.0.15
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hungrystomach
*/

/* ---------- Tokens ---------- */
:root {
	--hst-ink: #161616;
	--hst-text: #333333;
	--hst-gray: #555555;
	--hst-rule: #d9d9d9;
	--hst-soft: #f3f3f3;
	--hst-hl: #ffe44d;
	--hst-red: #e3121f;
	--hst-link-hover: #2141b5;
	--hst-sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hst-mono: "Courier Prime", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--hst-hand: "Nanum Pen Script", "Segoe Print", "Bradley Hand", cursive;
	--hst-wrap: 1200px;
	--hst-pad: 40px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: #fff;
	color: var(--hst-ink);
	font-family: var(--hst-sans);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video { max-width: 100%; }

img { height: auto; display: block; }

a { color: var(--hst-ink); text-underline-offset: 3px; }
a:hover { color: var(--hst-link-hover); }

h1, h2, h3, h4 { color: var(--hst-ink); }

:focus-visible { outline: 3px solid var(--hst-ink); outline-offset: 2px; }

button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
	max-width: var(--hst-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--hst-pad);
	padding-right: var(--hst-pad);
}

.wrap--narrow { max-width: 840px; }

@media (max-width: 700px) {
	:root { --hst-pad: 20px; }
	body { font-size: 16px; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	clip: auto;
	clip-path: none;
	background: #fff;
	border: 2px solid var(--hst-ink);
	z-index: 1000;
}

/* ---------- Small parts ---------- */
.meta {
	font-family: var(--hst-mono);
	font-size: 14px;
	color: var(--hst-gray);
}

.kicker {
	margin: 0;
	font-family: var(--hst-mono);
	font-size: 15px;
}

.lede {
	margin: 0;
	font-size: 19px;
	line-height: 1.55;
	color: var(--hst-text);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1.5px solid var(--hst-ink);
	background: #fff;
	color: var(--hst-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.btn:hover { color: var(--hst-ink); background: var(--hst-soft); }

.btn--dark { background: var(--hst-ink); color: #fff; border-color: var(--hst-ink); font-weight: 800; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }

.cta-link {
	font-weight: 800;
	font-size: 18px;
	text-underline-offset: 4px;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	border-bottom: 2px solid var(--hst-ink);
	padding-bottom: 10px;
}

.section-head h2 {
	margin: 0;
	font-size: 36px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
}

@media (max-width: 700px) {
	.section-head h2 { font-size: 30px; }
}

.crumbs {
	margin: 0;
	font-family: var(--hst-mono);
	font-size: 14px;
	color: var(--hst-gray);
}

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; padding: 0 0.5em; }
.crumbs a { color: var(--hst-gray); }

/* ---------- Handwritten notes ---------- */
.note {
	font-family: var(--hst-hand);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.25;
	color: var(--hst-ink);
	letter-spacing: 0;
}

/* Every handwritten note is in red pen. */
.hl,
.note--red { color: var(--hst-red); }

.note s { text-decoration-thickness: 2px; }

.pen {
	color: var(--hst-red);
	flex: none;
	overflow: visible;
	filter: drop-shadow(0 0 4px rgba(255, 40, 40, 0.85));
}

.red-pen {
	color: var(--hst-red);
	flex: none;
	max-width: none;
	overflow: visible;
	filter: drop-shadow(0 0 4px rgba(255, 40, 40, 0.85));
}

/* ---------- Header ---------- */
.site-header { background: #fff; }

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 32px;
}

.tagline {
	grid-column: 1;
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tagline__hand {
	font-family: var(--hst-hand);
	font-size: 40px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	padding: 0 3px;
	color: var(--hst-red);
}

.site-logo { display: block; grid-column: 2; justify-self: center; }
.site-logo img { height: 104px; width: auto; }

.site-title-text {
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.header-search {
	grid-column: 3;
	justify-self: end;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 320px;
	height: 52px;
	border: 1.5px solid var(--hst-ink);
	background: #fff;
}

.header-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	font-size: 15px;
	padding: 0 14px;
	height: 100%;
	background: transparent;
	color: var(--hst-ink);
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}

.header-search input:focus-visible { outline: 3px solid var(--hst-ink); outline-offset: 0; }

.header-search button {
	width: 48px;
	height: 100%;
	border: 0;
	border-left: 1.5px solid var(--hst-ink);
	background: #fff;
	color: var(--hst-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.header-btn {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--hst-ink);
	padding: 0;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.header-btn > span { display: flex; }
.header-btn .header-btn__close,
.header-btn[aria-expanded="true"] .header-btn__open { display: none; }
.header-btn[aria-expanded="true"] .header-btn__close { display: flex; }

/* The main links, white on the black bar under the logo */
.main-band { background: var(--hst-ink); }

.main-band ul {
	list-style: none;
	margin: 0;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 34px;
}

.main-band a {
	display: flex;
	align-items: center;
	min-height: 54px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.main-band a:hover,
.main-band .current-menu-item > a,
.main-band .current-menu-ancestor > a,
.main-band .current_page_item > a {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}

.main-band a:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

.cat-strip {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 22px;
	padding: 18px 0;
	border-bottom: 1.5px solid var(--hst-ink);
}

.cat-strip__all {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding-right: 26px;
	border-right: 1.5px solid var(--hst-ink);
	font-size: 17px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.cat-strip__note { font-size: 30px; line-height: 1; }

.cat-strip__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
}

.cat-strip__list a,
.chips a {
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

/* Category buttons: the phone menu and the home page. */
.chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chips a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--hst-ink);
	font-size: 13px;
}

.chips a:hover { background: var(--hst-soft); color: var(--hst-ink); }
.chips .is-all { background: var(--hst-ink); color: #fff; }
.chips .is-all:hover { background: #000; color: #fff; }

.menu-panel { display: none; }

.menu-panel__nav ul { list-style: none; margin: 0; padding: 0; }

.menu-panel__nav a {
	display: flex;
	align-items: center;
	min-height: 52px;
	border-bottom: 1px solid var(--hst-rule);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.menu-panel__note { margin: 22px 0 12px; font-size: 30px; line-height: 1.1; }
.menu-panel .chips { margin-top: 18px; }
.menu-panel__note + .chips { margin-top: 0; }

@media (max-width: 1100px) {
	.site-header__inner { gap: 24px; }
	.site-logo img { height: 88px; }
	.tagline { font-size: 14px; }
	.tagline__hand { font-size: 34px; }
}

@media (max-width: 1000px) {
	.main-band ul { gap: 0 24px; padding: 0 16px; }
	.main-band a { font-size: 13px; letter-spacing: 0.1em; }
}

@media (max-width: 900px) {
	.site-header__inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 0 12px;
		padding-top: 14px;
		padding-bottom: 0;
	}

	.header-btn { display: flex; }
	.header-btn--menu { grid-column: 1; grid-row: 1; }
	.site-logo { grid-column: 2; grid-row: 1; }
	.site-logo img { height: 58px; }
	.header-btn--search { grid-column: 3; grid-row: 1; }

	.tagline {
		grid-column: 1 / -1;
		grid-row: 2;
		margin: 6px 0 14px;
		text-align: center;
		font-size: 13px;
	}

	.tagline__hand { font-size: 32px; }

	.header-search {
		display: none;
		grid-column: 1 / -1;
		grid-row: 3;
		justify-self: stretch;
		max-width: none;
		margin: 0 0 16px;
	}

	.header-search.is-open { display: flex; }

	.main-band { height: 6px; overflow: hidden; }
	.cat-strip { display: none; }

	.menu-panel.is-open {
		display: block;
		padding: 6px 0 28px;
		border-bottom: 1.5px solid var(--hst-ink);
	}

	/* Without the script, show the links and the search box instead of the buttons. */
	.no-js .header-btn { display: none; }
	.no-js .main-band { height: auto; }
	.no-js .header-search { display: flex; }
	.no-js .site-logo { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--hst-ink); margin-top: 0; }

.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 64px;
	padding-top: 36px;
	padding-bottom: 28px;
	font-size: 15px;
}

.site-footer__about { flex: 2 1 260px; display: flex; flex-direction: column; gap: 12px; }
.site-footer__about img { height: 40px; width: auto; align-self: flex-start; }
.site-footer__about p { margin: 0; color: var(--hst-text); max-width: 320px; }

.site-footer__nav { flex: 3 1 420px; display: flex; flex-wrap: wrap; gap: 24px 56px; }
.site-footer__col h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

.site-footer__bottom {
	border-top: 1px solid var(--hst-rule);
	padding-top: 14px;
	padding-bottom: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 13px;
	color: var(--hst-gray);
}

.site-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a { color: var(--hst-gray); }

/* ---------- Ads ---------- */
.ad-slot { margin-bottom: 48px; }
.ad-slot__label {
	display: block;
	margin-bottom: 6px;
	text-align: center;
	font-family: var(--hst-mono);
	font-size: 12px;
	color: var(--hst-gray);
}
.ad-slot__unit { display: flex; justify-content: center; min-height: 90px; }
.ad-slot__unit > * { max-width: 100%; }

/* ---------- Home ---------- */
.home-intro { padding-top: 56px; padding-bottom: 56px; max-width: 900px; }
.home-intro h2 { margin: 0 0 16px; font-size: 60px; line-height: 1; font-weight: 900; letter-spacing: -0.025em; }

@media (max-width: 700px) {
	.home-intro h2 { font-size: 42px; }
}

.latest { padding-top: 56px; padding-bottom: 72px; }

.latest__head {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-bottom: 44px;
}

.latest__title {
	position: relative;
	margin: 0;
	font-size: 64px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

.red-pen--underline {
	position: absolute;
	left: -6px;
	bottom: -20px;
	width: calc(100% + 12px);
	height: 26px;
}

.latest__rule { flex: 1; min-width: 24px; height: 1.5px; background: var(--hst-ink); }
.latest__note { font-size: 36px; line-height: 1.1; white-space: nowrap; transform: rotate(-3deg); }

.label {
	display: block;
	font-family: var(--hst-mono);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hst-ink);
}

/* The big recipe */
.feature { position: relative; }
.feature__link { display: block; position: relative; text-decoration: none; color: var(--hst-ink); }
.feature__link:hover { color: var(--hst-ink); }
.feature__link:hover .feature__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.feature__photo { display: block; }
.feature__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: var(--hst-soft); }

.feature__box {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 48px;
	margin: 0 auto;
	width: 560px;
	max-width: 84%;
	padding: 34px 40px 36px;
	background: #fff;
	text-align: center;
}

.feature--text .feature__box {
	position: static;
	width: auto;
	max-width: none;
	padding: 40px;
	border: 2px solid var(--hst-ink);
}

.feature__title {
	margin: 14px 0 10px;
	font-size: 48px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.feature__meta {
	display: block;
	font-family: var(--hst-mono);
	font-size: 16px;
	line-height: 2.3;
	color: var(--hst-gray);
}

/* Room on every side so the red ring never runs over the words next to it. */
.ringed { position: relative; display: inline-block; white-space: nowrap; margin: 0 14px 0 12px; line-height: 1.5; }

.red-pen--ring {
	position: absolute;
	left: -20px;
	top: -12px;
	width: calc(100% + 40px);
	height: 46px;
}

.feature__note {
	position: absolute;
	right: 36px;
	bottom: 150px;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	gap: 6px;
	max-width: 330px;
	margin: 0;
	font-size: 38px;
	line-height: 1.1;
	transform: rotate(-4deg);
	pointer-events: none;
}

.feature__note > span {
	padding: 2px 8px 4px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.feature--text .feature__note { position: static; margin: 16px 0 0; transform: none; max-width: none; text-align: left; }
.feature--text .feature__note > span { background: none; padding: 0; }
.feature--text .feature__note .red-pen { display: none; }

/* Four in a row */
.latest__grid {
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.card__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: var(--hst-ink);
}

.card__link:hover { color: var(--hst-ink); }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card__photo { display: block; aspect-ratio: 4 / 5; background: var(--hst-soft); }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card .label { font-size: 13px; margin-top: 6px; }
.card__title { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.15; }
.card__meta { font-family: var(--hst-mono); font-size: 14px; color: var(--hst-gray); }

.grid-note {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	margin: 14px 0 0;
	padding-left: 24px;
	font-size: 36px;
	line-height: 1.1;
}

.grid-note > span { display: inline-block; transform: rotate(-2deg); }

/* The arrow sits under the quickest card; under the last one the note turns to the left. */
.grid-note--c1 { padding-left: calc(25% + 32px); }
.grid-note--c2 { padding-left: calc(50% + 40px); }
.grid-note--c3 { flex-direction: row-reverse; padding-left: 0; padding-right: 24px; text-align: right; }

.latest__all { margin: 28px 0 0; }

.latest__all a {
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--hst-ink);
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
}

/* Category buttons: phones only, the header has them on wider screens */
.home-cats { display: none; }
.home-cats__note { margin: 0 0 14px; font-size: 30px; line-height: 1.1; }

/* What's in your fridge? A yellow search box under the latest recipes */
.fridge { padding-top: 8px; padding-bottom: 72px; }
.fridge__box { padding: 40px 48px 34px; }
.fridge__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 20px; }
.fridge__title { margin: 0; font-size: 44px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; color: var(--box-ink); }
.fridge__note { margin: 0; font-size: 32px; line-height: 1.1; transform: rotate(-2deg); }
.fridge__form { display: flex; gap: 12px; max-width: 760px; }
.fridge__input {
	flex: 1;
	min-width: 0;
	min-height: 56px;
	padding: 0 18px;
	border: 2px solid var(--box-ink);
	border-radius: 0;
	background: #fff;
	color: var(--hst-ink);
	font-size: 18px;
}
.fridge__input:focus { outline: 3px solid var(--box-ink); outline-offset: 2px; }
.fridge__button { min-height: 56px; padding: 0 26px; font-size: 17px; }
.fridge__hint { margin: 10px 0 20px; font-size: 15px; color: var(--box-ink); }
.fridge__chips a { border-color: var(--box-ink); background: rgba(255, 255, 255, 0.55); color: var(--box-ink); }
.fridge__chips a:hover { background: #fff; color: var(--box-ink); }

/* Pick your pot */
.home-pots { padding-top: 24px; padding-bottom: 80px; }
.home-pots__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}
.home-pots__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	height: 100%;
	padding: 20px 18px 18px;
	border: 2px solid var(--hst-ink);
	color: var(--hst-ink);
	text-decoration: none;
	transition: background 0.15s ease;
}
.home-pots__link:hover { background: #ffd24c; color: var(--hst-ink); }
.home-pots__link .pots__icon { width: 40px; height: 40px; margin-bottom: 10px; }
.home-pots__name { font-size: 20px; font-weight: 900; line-height: 1.15; }
.home-pots__count { font-family: var(--hst-mono); font-size: 14px; color: var(--hst-gray); }

/* Rows of four recipe cards: Dinner in 30 minutes, Learn the basics */
.home-row { padding-top: 24px; padding-bottom: 80px; }
.home-row__grid { margin-top: 0; }
.home-basics__more { margin-top: 40px; }
.home-basics__label {
	margin: 0 0 12px;
	font-family: var(--hst-mono);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.home-pots__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.home-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.fridge { padding-bottom: 48px; }
	.fridge__box { padding: 30px 22px 24px; }
	.fridge__title { font-size: 32px; }
	.fridge__note { font-size: 26px; }
	.fridge__form { flex-direction: column; }
	.fridge__button { width: 100%; }
	.home-pots { padding-bottom: 56px; }
	.home-pots__list { gap: 10px; }
	.home-pots__link { padding: 14px 12px; }
	.home-pots__link .pots__icon { width: 32px; height: 32px; margin-bottom: 6px; }
	.home-pots__name { font-size: 16px; }
	.home-pots__count { font-size: 12px; }
	.home-row { padding-bottom: 56px; }
	.latest__head .home-head__title { font-size: 34px; white-space: normal; }
	.home-pots .latest__note,
	.home-row .latest__note { white-space: normal; font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.home-pots__link { transition: none; }
}

/* Browse by category: a photo tile for each of the biggest categories */
.cat-tiles { padding-top: 64px; padding-bottom: 96px; }
.cat-tiles::before {
	content: "";
	display: block;
	height: 8px;
	margin-bottom: 56px;
	background: var(--hst-ink);
}
.cat-tiles__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 32px;
}
.cat-tile__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-decoration: none;
	color: var(--hst-ink);
}
.cat-tile__link:hover { color: var(--hst-ink); }
.cat-tile__link:hover .cat-tile__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cat-tile__photo { display: block; aspect-ratio: 1 / 1; margin-bottom: 10px; overflow: hidden; background: var(--hst-soft); }
.cat-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cat-tile__link:hover .cat-tile__img { transform: scale(1.04); }
.cat-tile__name { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.15; }
.cat-tile__count { font-family: var(--hst-mono); font-size: 14px; color: var(--hst-gray); }

@media (max-width: 900px) {
	.cat-tiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
}

@media (max-width: 700px) {
	.cat-tiles { padding-top: 40px; padding-bottom: 64px; }
	.cat-tiles::before { height: 6px; margin-bottom: 36px; }
	.cat-tiles__title { font-size: 44px; white-space: normal; }
	.cat-tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.cat-tile__name { font-size: 20px; }
	.cat-tile__count { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.cat-tile__img { transition: none; }
	.cat-tile__link:hover .cat-tile__img { transform: none; }
}

/* Meet April (no longer on the home page; kept for child themes) */
.about-home {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 56px;
	align-items: center;
	margin-top: 24px;
	margin-bottom: 96px;
}

.about-home::before {
	content: "";
	grid-column: 1 / -1;
	height: 8px;
	background: var(--hst-ink);
	margin-bottom: 0;
}

.about-home--text { grid-template-columns: minmax(0, 1fr); }
.about-home--text .about-home__text { max-width: 760px; }

.about-home__photo { margin: 0; }
.about-home__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.about-home__kicker {
	margin: 0 0 12px;
	font-family: var(--hst-mono);
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.about-home h2 {
	margin: 0 0 12px;
	font-size: 56px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
}

.about-home__note {
	display: inline-block;
	margin: 0 0 22px;
	font-size: 36px;
	line-height: 1.1;
	transform: rotate(-2deg);
	transform-origin: left;
}

.about-home__para { margin: 0 0 16px; font-size: 19px; line-height: 1.6; color: var(--hst-text); }
.about-home__para:last-of-type { margin-bottom: 28px; }

@media (max-width: 1100px) {
	.latest__title { font-size: 56px; }
	.feature__img { aspect-ratio: 3 / 2; }
	.feature__note { bottom: auto; top: 28px; font-size: 32px; }
	.feature__note .red-pen { display: none; }
}

@media (max-width: 900px) {
	.latest { padding-top: 30px; padding-bottom: 40px; }
	.latest__head { flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
	.latest__title { font-size: 44px; }
	.latest__note { flex-basis: 100%; margin-top: 6px; text-align: right; font-size: 30px; transform: rotate(-2deg); }

	.feature { margin: 0 calc(-1 * var(--hst-pad)); }
	.feature__img { aspect-ratio: 4 / 5; max-height: 560px; }
	.feature__box { left: 30px; right: 30px; bottom: 32px; width: auto; max-width: none; padding: 22px 20px 24px; }
	.feature--text { margin: 0; }
	.feature--text .feature__box { padding: 28px 20px; }
	.feature .label { font-size: 13px; }
	.feature__title { margin: 10px 0 8px; font-size: 34px; }
	.feature__meta { font-size: 14px; }
	.feature__note { top: 22px; right: 18px; font-size: 31px; max-width: 220px; text-align: right; transform: rotate(4deg); }

	.latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 28px; }
	.card__link { gap: 7px; }
	.card .label { font-size: 11px; letter-spacing: 0.1em; margin-top: 4px; }
	.card__title { font-size: 18px; line-height: 1.2; }
	.card__meta { font-size: 13px; }

	.grid-note { font-size: 30px; margin-top: 12px; }
	.grid-note--c0,
	.grid-note--c2 { flex-direction: row; padding-left: 20px; padding-right: 0; text-align: left; }
	.grid-note--c1,
	.grid-note--c3 { flex-direction: row-reverse; padding-left: 0; padding-right: 20px; text-align: right; }
	.latest__all { margin-top: 22px; }

	.home-cats { display: block; padding-top: 8px; padding-bottom: 48px; }

	.about-home { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; margin-bottom: 64px; }
	.about-home::before { height: 6px; margin-bottom: 36px; }
	.about-home__photo { margin-bottom: 24px; }
	.about-home__photo img { aspect-ratio: 4 / 3; }
	.about-home__kicker { font-size: 13px; margin-bottom: 10px; }
	.about-home h2 { font-size: 36px; line-height: 1.05; margin-bottom: 8px; }
	.about-home__note { font-size: 26px; margin-bottom: 16px; }
	.about-home__para { font-size: 17px; line-height: 1.55; margin-bottom: 14px; }
	.about-home__para:last-of-type { margin-bottom: 24px; }
}

/* ---------- Comparison tables ---------- */
.compare { position: relative; }

.compare__table,
.pick-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--hst-mono);
	font-size: 15px;
	line-height: 1.35;
}

.compare__table caption,
.pick-table caption {
	text-align: left;
	font-family: var(--hst-sans);
	font-weight: 800;
	font-size: 16px;
	padding-bottom: 6px;
}

.compare__table thead tr,
.pick-table thead tr { border-bottom: 1.5px solid var(--hst-ink); }

.compare__table th,
.compare__table td,
.pick-table th,
.pick-table td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px 10px 0;
}

.compare__table thead th,
.pick-table thead th { font-weight: 700; padding-top: 6px; padding-bottom: 6px; }

.compare__table tbody th,
.pick-table tbody th { font-weight: 400; white-space: nowrap; }

.compare__table tbody tr,
.pick-table tbody tr { border-bottom: 1px solid var(--hst-rule); }

.compare__table tbody tr:last-child,
.pick-table tbody tr:last-child { border-bottom: 0; }

.compare__table td:nth-child(2) { white-space: nowrap; }
.compare__table td:last-child,
.pick-table td:last-child { padding-right: 0; }

.compare__table tr.is-circled th,
.compare__table tr.is-circled td { font-weight: 700; }

.compare__circle {
	position: absolute;
	left: -14px;
	width: calc(100% + 26px);
	height: 66px;
	pointer-events: none;
	mix-blend-mode: multiply;
	display: none;
}

.compare__circle.is-placed { display: block; }

.note--right { margin: 2px 0 0; align-self: flex-end; font-size: 30px; line-height: 1.2; }

/* ---------- Way-to-cook icons ---------- */
.pots__icon { width: 30px; height: 30px; color: var(--hst-ink); }

/* ---------- Home: newsletter ---------- */
.newsletter-wrap { padding-bottom: 64px; }

.newsletter {
	border: 2px solid var(--hst-ink);
	padding: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	align-items: flex-end;
}

.newsletter__text { flex: 1 1 380px; min-width: 0; }
.newsletter__text h2 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 900; letter-spacing: -0.015em; }
.newsletter__text p { margin: 8px 0 0; }

.newsletter__form { flex: 1 1 380px; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.newsletter__field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.newsletter__field label { font-size: 14px; font-weight: 700; }
.newsletter__field input {
	height: 48px;
	border: 1.5px solid var(--hst-ink);
	padding: 0 12px;
	font-size: 16px;
	background: #fff;
	color: var(--hst-ink);
	border-radius: 0;
}

@media (max-width: 700px) {
	.newsletter { padding: 22px; }
}

/* ---------- Recipe page ---------- */
.recipe-top {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	align-items: flex-start;
	padding-top: 28px;
}

.recipe-top__main { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.recipe-title {
	margin: 0;
	font-size: 52px;
	line-height: 1.02;
	font-weight: 900;
	letter-spacing: -0.025em;
}

@media (max-width: 700px) {
	.recipe-title { font-size: 36px; }
}

.recipe-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.recipe-tools { display: flex; gap: 8px; margin-left: auto; }

/* Phones: Print and Share sit beside the title, one above the other. */
@media (max-width: 700px) {
	.recipe-top__main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "crumbs crumbs" "title tools" "info tools";
		column-gap: 14px;
		row-gap: 14px;
	}

	.recipe-top__main > * { grid-column: 1 / -1; }
	.recipe-top__main > .crumbs { grid-area: crumbs; }
	.recipe-top__main > .recipe-title { grid-area: title; align-self: center; }
	.recipe-bar { display: contents; }
	.recipe-bar__info { grid-area: info; }

	.recipe-tools {
		grid-area: tools;
		align-self: start;
		flex-direction: column;
		gap: 6px;
		margin-left: 0;
	}

	.recipe-tools .btn { min-width: 76px; padding: 0 12px; }
}
.recipe-facts { margin: 0; font-family: var(--hst-mono); font-size: 15px; }
.nowrap { white-space: nowrap; }

/* Filled boxes with a dashed line just inside the edge: What to expect in red, What you'll need in yellow. */
.box-note {
	position: relative;
	border: 0;
	border-radius: 12px;
	padding: 20px 24px 16px;
	background: var(--box-fill);
	color: var(--box-ink);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
}
.box-note::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 2px dashed var(--box-line);
	border-radius: 6px;
	pointer-events: none;
}
.box-note--yellow { --box-fill: #ffd24c; --box-line: #c4a138; --box-ink: #2b2202; }
.box-note--red { --box-fill: #ffd0d0; --box-line: #e3121f; --box-ink: #2e0507; }

/* What to expect: heat, texture and when to eat, above the steps. */
.expect { margin: 0 0 28px; }
.expect__title { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.expect__list { margin: 0; }
.expect__row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.expect__row:first-child { border-top: 0; padding-top: 0; }
.expect__row dt { font-weight: 700; font-size: 15px; }
.expect__row dd { margin: 0; font-family: var(--hst-mono); font-size: 15px; line-height: 1.45; }
@media (max-width: 480px) {
	.box-note { padding: 19px 20px 14px; }
	.expect__row { grid-template-columns: 72px 1fr; gap: 8px; }
}

.method-picker { margin-top: 6px; }
.no-js .method-picker { display: none; }
.method-picker__q { margin: 0 0 8px; font-weight: 800; font-size: 16px; }
.method-picker__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.method-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

.method-tab {
	min-height: 52px;
	padding: 6px 16px;
	border: 1.5px solid var(--hst-ink);
	background: #fff;
	color: var(--hst-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	border-radius: 0;
}

.method-tab span { font-family: var(--hst-mono); font-size: 13px; font-weight: 400; color: var(--hst-gray); }
.method-tab:hover { background: var(--hst-soft); }
.method-tab.is-active,
.method-tab[aria-selected="true"] { border: 2px solid var(--hst-ink); background: var(--hst-ink); color: #fff; font-weight: 800; }
.method-tab.is-active span,
.method-tab[aria-selected="true"] span { color: #fff; }

.method-picker__note { align-self: center; margin-left: 4px; font-size: 27px; line-height: 1.2; }

.recipe-top__photo { margin: 0; flex: 5 1 340px; min-width: 0; }
.recipe-top__photo img { width: 100%; height: 330px; object-fit: cover; background: var(--hst-soft); }
.photo-credit { display: block; margin-top: 6px; font-size: 12px; }

@media (max-width: 700px) {
	.recipe-top__photo { order: -1; flex-basis: 100%; }
	.recipe-top__photo img { height: auto; aspect-ratio: 16 / 9; }
	.recipe-top { padding-top: 0; }
	.recipe-top__photo { margin-left: calc(-1 * var(--hst-pad)); margin-right: calc(-1 * var(--hst-pad)); }
	.recipe-top__photo .photo-credit { padding: 0 var(--hst-pad); }
}

.recipe-body {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 48px;
	align-items: flex-start;
	padding-top: 28px;
	padding-bottom: 48px;
}

.ingredients-card {
	flex: 4 1 300px;
	min-width: 0;
	border: 2px solid var(--hst-ink);
	padding: 22px 22px 18px;
}

.card-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	border-bottom: 1.5px solid var(--hst-ink);
	padding-bottom: 8px;
}

.card-head h2 { margin: 0; font-size: 24px; font-weight: 900; }
.card-head--steps { border-bottom-width: 2px; }

.ingredients {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--hst-mono);
	font-size: 15px;
	line-height: 1.4;
}

.ingredients li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--hst-rule); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--hst-ink); }
.ingredients input:checked + label { text-decoration: line-through; color: var(--hst-gray); }
.ingredients label { cursor: pointer; }
.ingredients li.ingredients__group { display: block; font-family: var(--hst-sans); font-weight: 800; font-size: 15px; padding-top: 16px; border-bottom: 1.5px solid var(--hst-ink); }

.hl-box { margin: 12px 0 0; padding: 10px 12px; background: var(--hst-hl); font-size: 15px; line-height: 1.4; }

.steps-col { flex: 8 1 480px; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; }

.step {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding: 16px 0;
	border-bottom: 1px solid var(--hst-rule);
	align-items: flex-start;
	scroll-margin-top: 20px;
}

.step__n { font-family: var(--hst-mono); font-size: 22px; font-weight: 700; width: 28px; flex: none; line-height: 1.2; }
.step__body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.step__body p { margin: 0; font-size: 18px; line-height: 1.5; }
.step__note { margin: 0; flex: 0 1 220px; font-size: 27px; line-height: 1.3; }

@media (max-width: 600px) {
	.step__note { flex-basis: 100%; padding-left: 46px; }
	.step__body { flex-basis: 0; flex-grow: 1; }
}

.method-panel + .method-panel { margin-top: 36px; }
.js .method-only:not(.is-active) { display: none; }
.ingredients-way__name { margin: 14px 0 4px; font-size: 15px; font-weight: 800; }
.ingredients-way:first-of-type .ingredients-way__name { margin-top: 0; }
.js .ingredients-way__name { display: none; }
.ingredients-way__for { font-family: var(--hst-mono); font-size: 13px; font-weight: 400; color: var(--hst-gray); }
html:not(.js) .card-head .meta.method-only { display: none; }
.js .method-panel + .method-panel { margin-top: 0; }

.recipe-after { margin: 16px 0 0; font-size: 16px; color: var(--hst-text); }
.recipe-after a { font-weight: 700; }
.recipe-after__label { color: var(--hst-ink); font-weight: 800; }

.steps-ready { margin: 18px 0 0 46px; font-size: 30px; line-height: 1.25; }

@media (max-width: 600px) {
	.steps-ready { margin-left: 0; font-size: 27px; }
}

/* What you'll need for the way you picked, under the title */
.tools { margin: 10px 0 8px; max-width: 560px; }
.tools__title { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tools__way { font-weight: 700; opacity: 0.7; }
.card-head__yield { text-align: right; }
.tools__list { margin: 0; padding: 0 0 0 18px; columns: 2 220px; column-gap: 28px; font-size: 15px; line-height: 1.5; }
.tools__list li { break-inside: avoid; padding: 2px 0; }

/* A short name above each step */
.step__title { margin: 0 0 4px; font-size: 18px; font-weight: 800; line-height: 1.25; }

/* ---------- Star ratings (from the Hungry Stomach Recipes plugin) ---------- */
:root { --hsr-star: var(--hst-hl); --hsr-ink: var(--hst-ink); }

.recipe-bar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }

.rating-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	color: var(--hst-ink);
	text-decoration: none;
	min-height: 32px;
}

.rating-link__value { font-weight: 800; }
.rating-link__count { font-family: var(--hst-mono); font-size: 14px; color: var(--hst-gray); }
.rating-link:hover .rating-link__count { color: var(--hst-ink); text-decoration: underline; }
.rating-link--none .rating-link__count { text-decoration: underline; }

.comment-form .hsr-rate__legend { font-size: 14px; font-weight: 700; }
.comment-form .hsr-rate__optional,
.comment-form .hsr-rate__hint { color: var(--hst-gray); }

.recipe-more {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 56px;
	align-items: flex-start;
	padding-top: 56px;
	padding-bottom: 48px;
	scroll-margin-top: 20px;
}

.recipe-more__main { flex: 7 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.recipe-more__main h2 { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; }

.tips { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; color: var(--hst-text); }
.pick-table { margin-top: 8px; }

.recipe-more__side { flex: 5 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.side-block h2 { margin: 0 0 10px; font-size: 22px; font-weight: 900; }

.nutrition {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
	margin: 0;
	font-family: var(--hst-mono);
	font-size: 15px;
}

.nutrition div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--hst-rule); }
.nutrition dt { color: var(--hst-gray); }
.nutrition dd { margin: 0; font-weight: 700; }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.link-list li { padding: 10px 0; border-bottom: 1px solid var(--hst-rule); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { font-weight: 700; text-decoration: none; }

.recipe-story { padding-bottom: 48px; }

/* ---------- Post text ---------- */
.entry-content { font-size: 18px; line-height: 1.65; color: var(--hst-text); max-width: 760px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { margin-top: 1.6em; font-size: 30px; line-height: 1.15; font-weight: 900; letter-spacing: -0.015em; }
.entry-content h3 { margin-top: 1.4em; font-size: 22px; line-height: 1.25; font-weight: 800; }
.entry-content a { color: var(--hst-ink); font-weight: 600; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption,
.wp-caption-text { font-family: var(--hst-mono); font-size: 13px; color: var(--hst-gray); margin-top: 6px; }
.entry-content blockquote { margin-left: 0; padding-left: 18px; border-left: 2px solid var(--hst-ink); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 16px; }
.entry-content th,
.entry-content td { text-align: left; border-bottom: 1px solid var(--hst-rule); padding: 8px 12px 8px 0; }
.entry-content .wp-block-image img { height: auto; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* ---------- Comments ---------- */
.comments { padding-bottom: 64px; scroll-margin-top: 20px; }
.comments__inner { border-top: 2px solid var(--hst-ink); padding-top: 24px; max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.comments__title { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -0.015em; }

.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 0; padding-left: 24px; border-left: 2px solid var(--hst-rule); }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--hst-rule); }
.comment-meta { font-family: var(--hst-mono); font-size: 14px; color: var(--hst-gray); }
.comment-meta a { color: var(--hst-gray); text-decoration: none; }
.comment-author .fn { font-family: var(--hst-sans); font-style: normal; font-weight: 800; color: var(--hst-ink); }
.comment-author .says { display: none; }
.comment-content p { margin: 6px 0; }
.reply a { font-size: 14px; font-weight: 700; }

.comment-respond { margin-top: 8px; }
.comment-reply-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.comment-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	max-width: 360px;
	height: 46px;
	border: 1.5px solid var(--hst-ink);
	padding: 0 12px;
	font-size: 16px;
	border-radius: 0;
}

.comment-form textarea {
	width: 100%;
	border: 1.5px solid var(--hst-ink);
	padding: 10px 12px;
	font-size: 16px;
	resize: vertical;
	border-radius: 0;
}

.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-notes,
.logged-in-as { font-size: 14px; color: var(--hst-gray); }

.comment-form .submit {
	min-height: 48px;
	padding: 0 24px;
	background: var(--hst-ink);
	color: #fff;
	border: 0;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	border-radius: 0;
}

/* ---------- Lists of recipes ---------- */
.listing { padding-top: 24px; padding-bottom: 8px; }

.listing__title {
	margin: 10px 0 0;
	font-size: 54px;
	line-height: 1.02;
	font-weight: 900;
	letter-spacing: -0.025em;
}

@media (max-width: 700px) {
	.listing__title { font-size: 38px; }
}

.listing__lede { margin: 12px 0 0; font-size: 19px; color: var(--hst-text); max-width: 760px; }
.listing__lede p { margin: 0 0 8px; }

.finder {
	margin-top: 26px;
	border: 2px solid var(--hst-ink);
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.finder__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.finder__head h2 { margin: 0; font-size: 24px; font-weight: 900; }
.finder__head .note { font-size: 27px; line-height: 1.2; }

.finder__form { margin: 0; display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label,
.field__label { font-size: 15px; font-weight: 700; }

.finder__row { display: flex; flex-wrap: wrap; gap: 10px; }

.finder__row input {
	flex: 1 1 280px;
	max-width: 520px;
	height: 48px;
	border: 1.5px solid var(--hst-ink);
	padding: 0 12px;
	font-size: 16px;
	background: #fff;
	color: var(--hst-ink);
	border-radius: 0;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
	min-height: 44px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--hst-ink);
	background: #fff;
	color: var(--hst-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.chip:hover { background: var(--hst-soft); color: var(--hst-ink); }
.chip[aria-current] { border-width: 2px; background: var(--hst-ink); color: #fff; font-weight: 800; }

.finder__filters { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-start; }

.finder select {
	height: 44px;
	min-width: 220px;
	max-width: 100%;
	border: 1.5px solid var(--hst-ink);
	padding: 0 10px;
	font-size: 15px;
	background: #fff;
	color: var(--hst-ink);
	border-radius: 0;
}

@media (max-width: 700px) {
	.finder { padding: 18px 16px 20px; }
	.finder .chips { gap: 6px; }
	.finder .chip { flex: none; min-height: 40px; padding: 0 12px; font-size: 14px; }
	.finder__filters { gap: 18px; flex-direction: column; align-items: stretch; }
	.finder .field,
	.finder__filters > * { min-width: 0; max-width: 100%; }
	.finder select { width: 100%; min-width: 0; }
	.finder__row input { flex-basis: 100%; max-width: none; }
}

.results-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 24px;
	margin-top: 36px;
	border-bottom: 2px solid var(--hst-ink);
	padding-bottom: 10px;
}

.results-head h2 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -0.015em; }

.rows { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--hst-rule); }

.row__link {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 16px 0;
	align-items: center;
	text-decoration: none;
	color: var(--hst-ink);
}

.row__link:hover .row__title { text-decoration: underline; text-decoration-thickness: 2px; }
.row__img { width: 132px; height: 100px; object-fit: cover; flex: none; background: var(--hst-soft); }
.row__text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row__title { font-size: 21px; font-weight: 800; line-height: 1.2; }
.row__meta { color: var(--hst-ink); }
.row__tags { font-size: 15px; color: var(--hst-gray); }
.row__desc { font-size: 16px; color: var(--hst-text); }
.row__note { flex: none; font-size: 27px; line-height: 1.2; }
.row__chev { flex: none; }

@media (max-width: 600px) {
	.row__link { align-items: flex-start; gap: 10px 14px; }
	.row__img { width: 96px; height: 76px; }
	.row__text { flex: 1 1 160px; }
	.row__title { font-size: 19px; }
	.row__chev { display: none; }
	.row__note { flex: 1 1 100%; min-width: 0; padding-left: 110px; font-size: 25px; }
}

.rows__empty { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--hst-rule); font-size: 18px; }

.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination__label { font-size: 15px; font-weight: 700; margin-right: 6px; }

.pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--hst-ink);
	font-family: var(--hst-mono);
	font-size: 15px;
	text-decoration: none;
	color: var(--hst-ink);
}

.pagination .page-numbers.current { background: var(--hst-ink); color: #fff; }
.pagination .page-numbers.dots { border: 0; min-width: 0; padding: 0 4px; }
.pagination .page-numbers.next,
.pagination .page-numbers.prev { font-family: var(--hst-sans); font-weight: 700; padding: 0 16px; }

.more-links {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 2px solid var(--hst-ink);
	display: flex;
	flex-wrap: wrap;
	gap: 28px 64px;
}

.more-links > div { flex: 1 1 320px; min-width: 0; }
.more-links h2 { margin: 0 0 10px; font-size: 22px; font-weight: 900; }

.inline-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

.safety {
	margin-top: 36px;
	border: 2px solid var(--hst-ink);
	padding: 18px 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: baseline;
}

.safety strong { font-size: 17px; }
.safety span { font-size: 16px; color: var(--hst-text); }

.listing + .ad-slot { margin-top: 36px; margin-bottom: 0; }
.listing-end { height: 56px; }

/* ---------- Articles and pages ---------- */
.article { padding-top: 28px; padding-bottom: 24px; }
.article__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.article__title,
.page-title {
	margin: 0;
	font-size: 52px;
	line-height: 1.02;
	font-weight: 900;
	letter-spacing: -0.025em;
}

@media (max-width: 700px) {
	.article__title,
	.page-title { font-size: 36px; }
}

.article__photo { margin: 0 0 28px; }
.article__photo img { width: 100%; height: auto; }

.related { margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--hst-ink); }
.related h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }

.page-head { padding-top: 32px; margin-bottom: 24px; }
.page-body { padding-bottom: 64px; }

/* ---------- Hub pages ---------- */
.hub-grid {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0 28px;
}

.hub-card { border-top: 1.5px solid var(--hst-ink); padding: 16px 0 20px; display: flex; flex-direction: column; gap: 6px; }
.hub-card__name { font-size: 21px; font-weight: 800; text-decoration: none; }
.hub-card__tag { color: var(--hst-text); }
.hub-section { margin-top: 40px; }
.hub-section:first-child { margin-top: 8px; }
.hub-section h2 { margin: 0 0 14px; font-size: 30px; font-weight: 900; letter-spacing: -0.015em; }

/* ---------- Search form and 404 ---------- */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.search-form input[type="search"] {
	flex: 1 1 260px;
	max-width: 520px;
	height: 48px;
	border: 1.5px solid var(--hst-ink);
	padding: 0 12px;
	font-size: 16px;
	border-radius: 0;
}

.notfound { padding-top: 56px; padding-bottom: 72px; }

/* ---------- Print ---------- */
@media print {
	.site-header,
	.site-footer,
	.ad-slot,
	.comments,
	.recipe-tools,
	.method-picker,
	.recipe-more__side,
	.recipe-story,
	.recipe-after a,
	.rating-link--none,
	.skip-link,
	.pen,
	.red-pen,
	.related { display: none !important; }

	body { font-size: 12pt; }
	.wrap { max-width: none; padding: 0; }
	.recipe-top__photo img { height: 200px; }
	.recipe-body { display: block; padding-top: 12pt; }
	.ingredients-card { border: 1px solid #000; margin-bottom: 16pt; }
	.box-note { background: none; box-shadow: none; border: 1px solid #000; }
	.box-note::before { display: none; }
	.ingredients input { display: none; }
	.hl-box { background: none; border: 1px solid #000; }
	.recipe-more { padding-top: 12pt; display: block; }
	a { text-decoration: none; }
}
