/*
Theme Name: FrySoFast
Theme URI: https://frysofast.com
Author: FrySoFast
Author URI: https://frysofast.com
Description: Fast, warm and mobile-first recipe blog theme for FrySoFast (air fryer and quick meals). Includes a recipe card with Recipe schema.org markup, a homepage built from your categories, and a Customizer for the hero, social links and newsletter form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
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: frysofast
*/

/* ---------- Tokens ---------- */
:root {
	--fsf-orange: #f26b1d;
	--fsf-orange-dark: #d4530a;
	--fsf-cream: #fbf1d6;
	--fsf-cream-soft: #fff8e8;
	--fsf-dark: #2b2d31;
	--fsf-ink: #1f2024;
	--fsf-muted: #62656c;
	--fsf-teal: #0d6b6b;
	--fsf-teal-soft: #e4f2ef;
	--fsf-line: #eadfc4;
	--fsf-white: #ffffff;
	--fsf-radius: 14px;
	--fsf-radius-sm: 8px;
	--fsf-shadow: 0 2px 4px rgba(43, 45, 49, .06), 0 8px 24px rgba(43, 45, 49, .07);
	--fsf-shadow-lg: 0 4px 8px rgba(43, 45, 49, .08), 0 18px 40px rgba(43, 45, 49, .12);
	--fsf-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--fsf-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--fsf-wrap: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--fsf-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--fsf-ink);
	background: var(--fsf-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fsf-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fsf-orange-dark); }
h1, h2, h3, h4 { font-family: var(--fsf-font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--fsf-ink); }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--fsf-orange); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; left: 8px; top: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 6px; }
.fsf-wrap { width: 100%; max-width: var(--fsf-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.fsf-btn {
	display: inline-flex; align-items: center; gap: .5em;
	background: var(--fsf-orange); color: #fff; border: 0; cursor: pointer;
	padding: .8em 1.4em; border-radius: var(--fsf-radius-sm);
	font-family: var(--fsf-font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase;
	text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s;
	box-shadow: 0 6px 16px rgba(242, 107, 29, .28);
}
.fsf-btn:hover { background: var(--fsf-orange-dark); color: #fff; transform: translateY(-1px); }
.fsf-btn--ghost { background: transparent; color: var(--fsf-ink); box-shadow: inset 0 0 0 2px var(--fsf-ink); }
.fsf-btn--ghost:hover { background: var(--fsf-ink); color: #fff; }
.fsf-btn--sm { padding: .55em 1.1em; font-size: .82rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #f0e8d2; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fsf-ink); flex-shrink: 0; }
.site-brand img { width: 44px; height: 44px; object-fit: contain; }
.site-brand__name { font-family: var(--fsf-font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.site-brand__name b { color: var(--fsf-orange); font-weight: 800; }
.main-nav { margin-left: 8px; flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; padding: 8px 14px; color: var(--fsf-ink); text-decoration: none;
	font-family: var(--fsf-font-head); font-weight: 600; font-size: .95rem; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover { color: var(--fsf-orange-dark); background: var(--fsf-cream-soft); }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-cat > a { color: var(--fsf-orange-dark); box-shadow: inset 0 -3px 0 var(--fsf-orange); border-radius: 0; }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; display: none; flex-direction: column; gap: 0;
	background: #fff; border: 1px solid var(--fsf-line); border-radius: 10px; box-shadow: var(--fsf-shadow-lg); padding: 8px; z-index: 5;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .menu-item-has-children > a::after { content: "\25BE"; margin-left: 6px; font-size: .75em; }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search { position: relative; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--fsf-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* search forms */
.mobile-search { display: none; }
.search-form { display: flex; align-items: center; background: #f5f2ea; border-radius: 10px; padding: 0 4px 0 14px; }
.search-form input[type="search"] { border: 0; background: transparent; padding: 10px 0; width: 150px; outline: none; font-size: .92rem; flex: 1; min-width: 0; }
.search-form button { border: 0; background: transparent; cursor: pointer; padding: 8px 10px; color: var(--fsf-ink); display: flex; }
.page-search .search-form { background: #fff; max-width: 420px; box-shadow: var(--fsf-shadow); }
.page-search .search-form input[type="search"] { width: 100%; }
.mobile-search .search-form input[type="search"] { width: 100%; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(115deg, #fff 0%, #fff8e8 55%, #fbf1d6 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; min-height: 480px; padding-top: 40px; padding-bottom: 40px; }
.hero__eyebrow { display: inline-block; font-family: var(--fsf-font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fsf-teal); background: var(--fsf-teal-soft); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--fsf-orange); }
.hero p.lead { font-size: 1.2rem; color: #3b3d44; max-width: 30ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; }
.hero__art .plate { position: relative; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #fff 45%, #f3e9cf 100%); box-shadow: 0 30px 60px rgba(43, 45, 49, .18), inset 0 0 0 14px #fff, inset 0 0 0 16px #efe4c8; display: grid; place-items: center; }
.hero__art .plate img.mark { width: 78%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .18)); }
.hero__art .plate img.photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero__art .badge {
	position: absolute; right: 2%; bottom: 8%; background: var(--fsf-orange); color: #fff; font-family: var(--fsf-font-head); font-weight: 800; text-align: center;
	width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; line-height: 1.05; transform: rotate(8deg); box-shadow: var(--fsf-shadow-lg);
}
.hero__art .badge strong { font-size: 2rem; display: block; }
.hero__art .badge span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__caption { position: absolute; right: 0; bottom: -4px; background: #fff; font-size: .78rem; padding: 6px 10px; border-radius: 6px; box-shadow: var(--fsf-shadow); color: var(--fsf-muted); }

/* ---------- Perks strip ---------- */
.perks { background: #fff; border-bottom: 1px solid #f3ecd8; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.perk { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.perk + .perk { border-left: 1px solid #f3ecd8; }
.perk svg { flex: 0 0 auto; width: 38px; height: 38px; color: var(--fsf-orange); }
.perk strong { display: block; font-family: var(--fsf-font-head); font-size: .98rem; line-height: 1.2; }
.perk span { font-size: .85rem; color: var(--fsf-muted); line-height: 1.35; display: block; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--cream { background: var(--fsf-cream); }
.section--soft { background: var(--fsf-cream-soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.section__sub { color: var(--fsf-muted); margin: 6px 0 0; max-width: 56ch; }
.section__more { font-family: var(--fsf-font-head); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }

/* ---------- Recipe cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.recipe-card { background: #fff; border-radius: var(--fsf-radius); box-shadow: var(--fsf-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; position: relative; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--fsf-shadow-lg); }
.recipe-card__media { display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #ffe3cc, #ffc79f); overflow: hidden; position: relative; }
.recipe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.recipe-card:hover .recipe-card__media img { transform: scale(1.05); }
.recipe-card__media--empty { display: grid; place-items: center; }
.recipe-card__media--empty img { width: 46%; height: auto; object-fit: contain; opacity: .92; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }
.recipe-card__time { position: absolute; left: 10px; top: 10px; background: rgba(43, 45, 49, .88); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; font-family: var(--fsf-font-head); }
.recipe-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.recipe-card__title { font-size: 1.08rem; font-weight: 700; margin: 0; line-height: 1.25; }
.recipe-card__title a { color: var(--fsf-ink); text-decoration: none; }
.recipe-card__title a::after { content: ""; position: absolute; inset: 0; }
.recipe-card:hover .recipe-card__title a { color: var(--fsf-orange-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tag { font-size: .72rem; font-weight: 600; background: var(--fsf-teal-soft); color: #0b5555; padding: 3px 9px; border-radius: 6px; line-height: 1.5; }
.tag--orange { background: #ffe6d3; color: #a34309; }
.recipe-card__link { margin-top: auto; font-family: var(--fsf-font-head); font-weight: 700; font-size: .85rem; color: var(--fsf-teal); }

/* ---------- Tools ---------- */
.tool { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: #fff; border-radius: 20px; box-shadow: var(--fsf-shadow); padding: 34px; }
.tool h2 { font-size: 1.7rem; font-weight: 800; text-transform: uppercase; }
.tool__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool__form label { font-size: .8rem; font-weight: 700; display: block; margin-bottom: 4px; font-family: var(--fsf-font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--fsf-muted); }
.tool__form input, .tool__form select { width: 100%; padding: 12px 14px; border: 2px solid #efe6cd; border-radius: 10px; background: #fffdf6; }
.tool__result { grid-column: 1 / -1; background: var(--fsf-dark); color: #fff; border-radius: 12px; padding: 18px 20px; font-family: var(--fsf-font-head); }
.tool__result strong { color: #ffb37f; font-size: 1.6rem; display: block; }
.tool__result small { color: #cfcfd4; font-family: var(--fsf-font-body); }

/* ---------- About Noah ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--fsf-shadow-lg); }
.about__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--fsf-orange); border-radius: 22px; z-index: -1; }
.about h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; text-transform: uppercase; }
.about h2 em { font-style: normal; color: var(--fsf-orange); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--fsf-orange); color: #fff; }
.newsletter__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.newsletter h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; margin: 0 0 6px; }
.newsletter p { margin: 0; color: #fff3ea; }
.signup { display: flex; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.signup input[type="email"] { flex: 1; min-width: 0; border: 0; padding: 12px 14px; background: transparent; outline: none; color: var(--fsf-ink); }
.signup button { border: 0; background: var(--fsf-dark); color: #fff; padding: 0 20px; border-radius: 8px; cursor: pointer; font-family: var(--fsf-font-head); font-weight: 700; }
.signup button:hover { background: #000; }
.signup button[disabled], .signup input[disabled] { opacity: .6; cursor: not-allowed; }
.signup-note { font-size: .8rem; margin-top: 8px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fsf-dark); color: #d9dade; padding: 52px 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb37f; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 2fr 1fr 1.3fr; gap: 36px; padding-bottom: 36px; }
.footer__brand img { width: 160px; margin-bottom: 12px; }
.footer__brand p { font-size: .92rem; color: #b8bac1; max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer-menu li { margin-bottom: 8px; break-inside: avoid; }
.footer-menu .current-menu-item a { color: var(--fsf-orange); }
.social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #3a3d43; transition: background .15s; }
.social a:hover { background: var(--fsf-orange); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid #40434a; padding: 18px 0; font-size: .85rem; color: #9a9da5; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.site-footer .signup { padding: 4px; }
.site-footer .signup button { background: var(--fsf-orange); }

/* ---------- Page / archive headers ---------- */
.page-hero { background: var(--fsf-cream); padding: 44px 0 36px; border-bottom: 1px solid var(--fsf-line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; text-transform: uppercase; margin: 0 0 8px; }
.page-hero p { color: var(--fsf-muted); max-width: 64ch; margin: 0; }
.breadcrumbs { font-size: .85rem; color: var(--fsf-muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--fsf-muted); }
.archive-wrap { padding: 44px 0 64px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; border-radius: 8px; background: var(--fsf-cream-soft); color: var(--fsf-ink); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--fsf-orange); color: #fff; }

/* ---------- Single recipe / post ---------- */
.single-hero { background: var(--fsf-cream); padding: 40px 0 0; }
.single-hero__inner { max-width: 860px; margin: 0 auto; padding: 0 20px; text-align: center; }
.single-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.meta-line { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; color: var(--fsf-muted); font-size: .9rem; margin-bottom: 26px; }
.meta-line a { color: var(--fsf-teal); font-weight: 600; }
.single-thumb { max-width: 980px; margin: 0 auto; padding: 0 20px; transform: translateY(1px); }
.single-thumb img { width: 100%; border-radius: 18px 18px 0 0; max-height: 520px; object-fit: cover; }
.single-body { max-width: 780px; margin: 0 auto; padding: 40px 20px 20px; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.5em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 5px solid var(--fsf-orange); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; background: var(--fsf-cream-soft); border-radius: 0 10px 10px 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.wp-caption, figure { margin: 1.4em 0; }
figcaption, .wp-caption-text { font-size: .85rem; color: var(--fsf-muted); text-align: center; margin-top: 6px; }

.jump-btn { text-align: center; margin: 0 0 28px; }

/* recipe card block */
.fsf-recipe { background: #fff; border: 2px solid var(--fsf-orange); border-radius: 18px; padding: 28px; margin: 40px 0; box-shadow: var(--fsf-shadow); }
.fsf-recipe__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.fsf-recipe__title { font-size: 1.7rem; font-weight: 800; margin: 0; }
.fsf-recipe__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0 0 24px; }
.fsf-stat { background: var(--fsf-cream-soft); border-radius: 12px; padding: 12px 14px; text-align: center; }
.fsf-stat dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fsf-muted); font-weight: 700; font-family: var(--fsf-font-head); }
.fsf-stat dd { margin: 2px 0 0; font-weight: 800; font-family: var(--fsf-font-head); font-size: 1.05rem; }
.fsf-stat--hot { background: #ffe6d3; }
.fsf-recipe h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 3px solid var(--fsf-orange); padding-bottom: 6px; display: inline-block; }
.fsf-ingredients { list-style: none; padding: 0 !important; margin: 0 0 24px; }
.fsf-ingredients li { padding: 9px 0 9px 34px; position: relative; border-bottom: 1px dashed #eadfc4; }
.fsf-ingredients li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 16px; height: 16px; border: 2px solid var(--fsf-orange); border-radius: 4px; }
.fsf-ingredients li.is-done { color: #999; text-decoration: line-through; }
.fsf-ingredients li.is-done::before { background: var(--fsf-orange); }
.fsf-steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 0 0 20px; }
.fsf-steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.fsf-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--fsf-orange); color: #fff; display: grid; place-items: center; font-family: var(--fsf-font-head); font-weight: 800; }
.fsf-notes { background: var(--fsf-teal-soft); border-radius: 12px; padding: 14px 18px; font-size: .95rem; }
.fsf-notes strong { color: #0b5555; }
.fsf-recipe__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--fsf-cream-soft); border-radius: 16px; padding: 20px; margin: 40px 0; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-box p { margin: 0; font-size: .95rem; }
.author-box strong { font-family: var(--fsf-font-head); font-size: 1.05rem; }
.related { background: var(--fsf-cream); padding: 48px 0 56px; }

/* comments */
.comments-area { max-width: 780px; margin: 0 auto; padding: 0 20px 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--fsf-cream-soft); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 2px solid #efe6cd; border-radius: 10px; background: #fffdf6; }
.comment-form input[type="submit"] { background: var(--fsf-orange); color: #fff; border: 0; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* forms + lead box + tiles */
.fsf-form label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .92rem; }
.fsf-form input[type="text"], .fsf-form input[type="email"], .fsf-form select, .fsf-form textarea { width: 100%; padding: 12px 14px; border: 2px solid #efe6cd; border-radius: 10px; background: #fffdf6; }
.fsf-form input:focus, .fsf-form select:focus, .fsf-form textarea:focus { border-color: var(--fsf-orange); outline: none; }
.fsf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fsf-form__note { font-size: .85rem; color: var(--fsf-muted); }
.fsf-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.fsf-alert { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.fsf-alert--ok { background: #e4f6e8; color: #17692e; }
.fsf-alert--error { background: #fde8e4; color: #a12b12; }
.lead-box { background: var(--fsf-cream); border-radius: 16px; padding: 22px; margin: 8px 0 24px; }
.lead-box .signup-note { color: var(--fsf-muted); }
.lead-box .signup-note a { color: var(--fsf-teal); }
.cat-tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; padding: 0; margin: 0 0 38px; }
.cat-tiles a { display: block; background: var(--fsf-cream); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--fsf-ink); transition: transform .15s, box-shadow .15s; }
.cat-tiles a:hover { transform: translateY(-3px); box-shadow: var(--fsf-shadow); }
.cat-tiles strong { display: block; font-family: var(--fsf-font-head); font-size: 1.05rem; }
.cat-tiles span { color: var(--fsf-muted); font-size: .88rem; }
.pagination ul, .archive-wrap ul.page-numbers { display: flex; gap: 8px; list-style: none; padding: 0; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.archive-wrap ul.page-numbers .page-numbers { padding: 9px 15px; border-radius: 8px; background: var(--fsf-cream-soft); color: var(--fsf-ink); text-decoration: none; font-weight: 600; }
.archive-wrap ul.page-numbers .current { background: var(--fsf-orange); color: #fff; }
@media (max-width: 560px) { .fsf-form__row { grid-template-columns: 1fr; } }

/* 404 + search */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state img { width: 150px; margin: 0 auto 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
	.header-search .search-form input[type="search"] { width: 90px; }
	.main-nav a { padding: 8px 10px; }
}
@media (max-width: 1020px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.tool { grid-template-columns: 1fr; }
	.perks__grid { grid-template-columns: 1fr 1fr; }
	.perk:nth-child(3) { border-left: 0; }
	.perk:nth-child(n+3) { border-top: 1px solid #f3ecd8; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; margin-left: auto; }
	.header-tools { margin-left: 0; }
	.header-tools .header-search { display: none; }
	.main-nav { position: fixed; inset: 68px 0 auto 0; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--fsf-line); box-shadow: var(--fsf-shadow-lg); display: none; margin: 0; max-height: calc(100vh - 68px); overflow: auto; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 12px 8px; }
	.main-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.main-nav .mobile-search { display: block; margin-top: 12px; }
	.hero__inner { grid-template-columns: 1fr; text-align: left; min-height: 0; padding-top: 28px; }
	.hero__art { min-height: 0; order: -1; }
	.hero__art .plate { width: min(78%, 340px); }
	.hero__art .badge { width: 92px; height: 92px; }
	.hero__art .badge strong { font-size: 1.5rem; }
	.about { grid-template-columns: 1fr; gap: 30px; }
	.about__photo { max-width: 300px; margin: 0 auto 10px; }
	.newsletter__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.section { padding: 40px 0; }
	.card-grid, .card-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.recipe-card__body { padding: 12px; }
	.recipe-card__title { font-size: .95rem; }
	.tags .tag:nth-child(n+3) { display: none; }
	.footer__grid { grid-template-columns: 1fr; }
	.perks__grid { grid-template-columns: 1fr; }
	.perk + .perk { border-left: 0; border-top: 1px solid #f3ecd8; }
	.site-brand__name { font-size: 1.25rem; }
	.header-tools .fsf-btn { display: none; }
	.tool { padding: 22px; }
	.tool__form { grid-template-columns: 1fr; }
	.fsf-recipe { padding: 18px; }
	.author-box { flex-direction: column; text-align: center; }
}

@media print {
	.site-header, .site-footer, .newsletter, .related, .comments-area, .fsf-recipe__actions, .single-hero, .single-thumb, .jump-btn { display: none !important; }
	.single-body { max-width: 100%; padding: 0; }
	.fsf-recipe { border: 0; box-shadow: none; padding: 0; }
	.entry-content > *:not(.fsf-recipe) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
