/*
Theme Name: Stacey Kearley
Theme URI: https://staceykearley.com
Author: ThatWorx Web Services
Description: A sunny, welcoming kitchen theme for Stacey Kearley. Use it with the Stacey Kearley Recipes plugin.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: stacey-kearley
*/

:root {
	--cream: #fff8ec;
	--cream-deep: #f8e7c4;
	--paper: #fffdf8;
	--sun: #f5b82e;
	--sun-deep: #e8901a;
	--gold: #e8a31a;
	--ink: #4a3424;
	--soft: #6b4e32;
	--tomato: #9a3412;
	--wood: #6a3b2a;
	--wood-deep: #4a261c;
	--line: #ead7b0;
	--focus: #1f4e79;
	--shadow: 0 12px 28px rgba(74, 38, 28, 0.1);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background:
		radial-gradient(circle at 12px 12px, rgba(245, 197, 24, 0.28) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
		var(--cream);
	color: var(--ink);
	font-family: Nunito, "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--tomato); }
a:hover { color: var(--wood); }

h1, h2, h3 {
	font-family: Pacifico, cursive;
	font-weight: 400;
	line-height: 1.2;
	color: var(--ink);
}

p { margin: 0 0 0.8rem; }

.skip-link {
	position: absolute;
	left: 0.5rem;
	top: -4rem;
	background: #fff;
	color: var(--ink);
	padding: 0.5rem 0.8rem;
	z-index: 20;
}
.skip-link:focus { top: 0.5rem; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

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

.site-header { padding: 0.85rem 1rem 0.35rem; text-align: center; background: var(--cream); }

.wordmark {
	font-family: Pacifico, cursive;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	line-height: 1;
	text-decoration: none;
	background: linear-gradient(180deg, #f6c453 0%, #e8901a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: #e8901a;
	-webkit-text-fill-color: transparent;
}

.tagline-ribbon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	margin: 0.15rem 0 0.55rem;
	color: var(--soft);
	font-style: italic;
}
.tagline-ribbon::before,
.tagline-ribbon::after {
	content: "";
	width: min(18vw, 7rem);
	height: 1px;
	background: linear-gradient(90deg, transparent, #c4a574, transparent);
}
.tagline-ribbon span {
	background: linear-gradient(#fffdf8, #f6ead0);
	border: 1px solid #ead7b0;
	border-radius: 999px;
	padding: 0.15rem 0.9rem;
	box-shadow: inset 0 1px 0 #fff;
}

.nav-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.8rem;
	background: linear-gradient(180deg, #f7c44a 0%, #e8a01c 100%);
	color: var(--ink);
	border-radius: 0;
	padding: 0.35rem 0.8rem;
	margin: 0 0 0;
	max-width: none;
	min-height: 58px;
}
.nav-tools {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
}

.nav-toggle {
	width: 48px;
	height: 48px;
	border: 2px solid var(--ink);
	border-radius: 12px;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink);
	position: relative;
	content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0.2rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.primary-menu li { display: flex; align-items: center; }

.primary-menu a,
.kitchen-link,
.favorites-link {
	color: var(--ink);
	text-decoration: none;
	font-weight: 800;
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
}

.primary-menu a:hover,
.kitchen-link:hover,
.favorites-link:hover { background: rgba(255, 255, 255, 0.45); }

.favorites-link { margin-left: 0; }
.favorites-link svg { width: 22px; height: 22px; }
.header-search { width: auto; }
.fav-count {
	background: var(--tomato);
	color: #fff;
	border-radius: 999px;
	min-width: 1.3rem;
	padding: 0 0.35rem;
	font-size: 0.8rem;
}

.header-search { width: 100%; }
.search-form { display: flex; gap: 0.4rem; }
.search-form input[type="search"] {
	flex: 1;
	min-height: 48px;
	border-radius: 999px;
	border: 2px solid var(--ink);
	padding: 0.5rem 0.9rem;
	font: inherit;
	background: #fff;
	color: var(--ink);
}
.search-form button {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid var(--ink);
	background: #fff;
	color: var(--ink);
}
.search-form svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.home-hero {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.hero {
	background:
		linear-gradient(90deg, rgba(42, 22, 16, 0.18) 0%, rgba(42, 22, 16, 0.28) 48%, rgba(42, 22, 16, 0.42) 100%),
		url("assets/images/hero-background.png") center 42% / cover no-repeat,
		linear-gradient(180deg, var(--wood), var(--wood-deep));
	color: var(--cream);
	margin: 0;
	border-radius: 0;
	padding: 1.5rem 1rem 1.6rem;
	box-shadow: none;
	text-align: center;
}

.hero h1, .hero .kicker, .hero-sub { color: #fff; text-shadow: 0 1px 6px rgba(42, 22, 16, 0.4); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 0.15rem 0; color: #fff; text-shadow: 0 2px 10px rgba(42, 22, 16, 0.45); }
.kicker { letter-spacing: 0.04em; margin: 0; }
.hero-sub { font-size: 1.15rem; margin: 0; }

/* Phone: portrait is its own band, sitting on the top edge of the photo. */
.hero-portrait {
	order: -1;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin: 0;
	padding: 0.85rem 0 0;
	line-height: 0;
	background:
		linear-gradient(90deg, rgba(245, 197, 24, 0.34) 50%, transparent 50%),
		linear-gradient(rgba(245, 197, 24, 0.34) 50%, transparent 50%),
		#fff6d8;
	background-size: 18px 18px;
	border-radius: 0;
}
.hero-portrait picture,
.hero-portrait img {
	display: block;
	width: min(68vw, 280px);
	height: auto;
	margin: 0;
	padding: 0;
}

.portrait-missing {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 40% 46% 42% 48%;
	background:
		linear-gradient(90deg, rgba(245, 197, 24, 0.35) 50%, transparent 50%),
		linear-gradient(rgba(245, 197, 24, 0.35) 50%, transparent 50%),
		#fff6df;
	background-size: 18px 18px;
	color: var(--tomato);
	font-family: Pacifico, cursive;
	font-size: 4rem;
	border: 4px solid rgba(255, 248, 236, 0.7);
}
.portrait-avatar .portrait-missing,
.portrait-wrap .portrait-avatar.portrait-missing { width: 72px; height: 72px; font-size: 2rem; }
.portrait-missing-note {
	display: block;
	font-family: Nunito, sans-serif;
	font-size: 0.8rem;
	color: var(--soft);
	margin-top: 0.3rem;
}
.hero .portrait-missing-note { color: var(--cream); }

.category-pills {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	margin: 1.25rem auto 0;
	padding: 0 1rem;
	max-width: 1100px;
}
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; width: 100%; }
.pill-row-main { flex-direction: column; align-items: center; }
.pill-main { width: min(100%, 440px); max-width: 440px; }
.pill {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.7rem;
	background: linear-gradient(180deg, #f6c14a 0%, #e8901a 100%);
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	border-radius: 999px;
	padding: 0.45rem 1.2rem 0.45rem 0.45rem;
	min-height: 58px;
	border: 2px solid #c97810;
	box-shadow: 0 6px 14px rgba(180, 100, 10, 0.22);
	text-shadow: 0 1px 0 rgba(120, 60, 0, 0.25);
}
.pill-main { flex: 1 1 220px; max-width: 340px; font-size: 1.05rem; }
.pill-small {
	min-height: 42px;
	padding: 0.35rem 0.9rem;
	font-size: 0.92rem;
	background: linear-gradient(180deg, #f8d078, #e8a22a);
	color: #4a3424;
	text-shadow: none;
}
.pill-thumb {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff6df;
	display: grid;
	place-items: center;
	flex: none;
	border: 2px solid #fff;
}
.pill-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill-thumb svg { width: 22px; height: 22px; fill: none; stroke: #8a5a2b; stroke-width: 1.8; }
.pill:hover { color: #fff; }

.section { max-width: 1100px; margin: 0 auto; padding: 1.6rem 1rem 0.5rem; }
.section h1, .section h2, .page-wrap h1 { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); }

.sk-divider {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	justify-content: center;
	margin-bottom: 0.2rem;
}
.sk-divider span {
	height: 2px;
	width: 4.5rem;
	background: repeating-linear-gradient(90deg, var(--tomato) 0 8px, transparent 8px 14px);
}
.sk-divider svg { width: 22px; height: 22px; }
.sk-divider .heart-outline { fill: none; stroke: var(--tomato); stroke-width: 1.7; }
.sk-divider .heart-fill { fill: var(--sun); }

.recipe-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

.recipe-card {
	background: #fff;
	border: 0;
	border-radius: 6px;
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	filter: drop-shadow(0 8px 10px rgba(74, 38, 28, 0.08));
}
.card-media {
	display: block;
	border-radius: 6px 6px 0 0;
	overflow: hidden;
	background: var(--cream-deep);
	aspect-ratio: 4 / 3;
	position: relative;
}
.card-body { position: relative; }
.card-body::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -11px;
	height: 12px;
	background: radial-gradient(circle at 10px 0, transparent 7px, #fff 8px);
	background-size: 20px 12px;
	background-repeat: repeat-x;
	pointer-events: none;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background:
		linear-gradient(90deg, rgba(245, 197, 24, 0.25) 50%, transparent 50%),
		linear-gradient(rgba(245, 197, 24, 0.25) 50%, transparent 50%),
		#fff4d4;
	background-size: 16px 16px;
}
.card-placeholder svg { width: 36px; height: 36px; fill: var(--tomato); }
.card-body { padding: 0.9rem 1rem 1rem; }
.card-cat { margin: 0; color: var(--soft); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.card-body h3 { margin: 0.15rem 0 0.3rem; font-size: 1.55rem; }
.card-body h3 { font-size: 1.35rem; color: var(--ink); }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-meta { color: var(--soft); font-weight: 700; }

.card-actions, .recipe-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
}

.view-recipe, .jump, .print-link, .heart-btn, .sk-share summary {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 44px;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 2px solid #c56a08;
	background: linear-gradient(180deg, #f5b82e, #e07a12);
	color: #fff;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}
.view-recipe:hover, .jump:hover { color: #fff; }
.heart-btn, .sk-share summary, .print-link { background: #fff; border-color: var(--line); color: var(--ink); }

.heart-btn svg, .sk-share svg, .print-link svg, .favorites-link svg {
	width: 20px;
	height: 20px;
}
.heart-svg .heart-outline { fill: none; stroke: var(--tomato); stroke-width: 1.8; }
.heart-svg .heart-fill { fill: transparent; }
.heart-btn.is-saved { background: #fde8e4; border-color: var(--tomato); color: var(--tomato); }
.heart-btn.is-saved .heart-fill { fill: var(--tomato); }
.heart-btn.just-saved .heart-svg { animation: heart-pop 0.45s ease; }
@keyframes heart-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.35); }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.heart-btn.just-saved .heart-svg { animation: none; }
}

.sk-share { position: relative; }
.sk-share summary { list-style: none; }
.sk-share summary::-webkit-details-marker { display: none; }
.sk-share svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.sk-share-menu {
	position: absolute;
	z-index: 5;
	right: 0;
	top: calc(100% + 0.35rem);
	background: #fff;
	border: 2px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow);
	padding: 0.5rem;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.sk-share-menu a,
.sk-share-menu button {
	text-align: left;
	background: transparent;
	border: 0;
	font: inherit;
	font-weight: 700;
	color: var(--ink);
	padding: 0.55rem 0.6rem;
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
}
.sk-share-menu a:hover,
.sk-share-menu button:hover { background: var(--cream); }
.sk-copy-field { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; padding: 0.3rem 0.6rem; }
.sk-copy-field input {
	width: 100%;
	font: inherit;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0.35rem 0.45rem;
}

.recipe-page { max-width: 760px; margin: 0 auto; padding: 0 1rem 2.5rem; }
.recipe-hero-photo img { width: 100%; border-radius: 24px; display: block; }
.recipe-story { font-size: 1.1rem; }
.cook-note {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	background: #fff;
	border: 2px dashed var(--line);
	border-radius: 18px;
	padding: 0.7rem 0.9rem;
	margin: 1rem 0;
}
.cook-note .portrait-wrap, .cook-note picture { width: 72px; flex: none; }
.cook-kicker { margin: 0; font-family: Pacifico, cursive; color: var(--tomato); font-size: 1.3rem; }
.cook-name { margin: 0; font-weight: 800; }
.sheet-photo { display: none; }

.recipe-sheet {
	background: #fff;
	border: 2px solid var(--line);
	border-top: 8px solid var(--sun);
	border-radius: 22px;
	padding: 1rem 1rem 1.2rem;
	margin-top: 1rem;
}
.sheet-brand { display: flex; gap: 0.7rem; align-items: center; }
.sheet-brand picture, .sheet-brand .portrait-wrap { width: 64px; }
.sheet-site { margin: 0; font-weight: 800; }
.sheet-kicker { margin: 0; color: var(--tomato); font-family: Pacifico, cursive; }
.sheet-title { margin: 0.6rem 0; font-size: 2rem; }
.sheet-facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin: 0 0 1rem; }
.sheet-facts div { background: #fff6d2; border-radius: 12px; padding: 0.35rem 0.7rem; }
.sheet-facts dt { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.sheet-facts dd { margin: 0; font-weight: 800; }
.recipe-sheet h3 { font-family: Nunito, sans-serif; color: var(--ink); font-size: 1.15rem; margin-bottom: 0.3rem; }
.recipe-sheet h4 { margin: 0.6rem 0 0.2rem; }
.recipe-sheet li { margin: 0.25rem 0; }
.sheet-notes { background: var(--cream); border-radius: 14px; padding: 0.6rem 0.8rem; }
.sheet-url { color: var(--soft); font-size: 0.9rem; word-break: break-all; }

.newsletter {
	position: relative;
	margin: 2rem 0 0;
	padding: 1.4rem 1rem 1rem;
	background: linear-gradient(180deg, #f7c44a 0%, #e8901a 100%);
	overflow: hidden;
}
.newsletter-card {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	color: #4a3424;
}
.newsletter h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; text-shadow: 0 1px 0 rgba(120, 60, 0, 0.25); }
.newsletter-card > p { color: #fffaf0; font-weight: 700; }
.newsletter-form { display: grid; gap: 0.6rem; }
.newsletter-form input, .newsletter-form button {
	min-height: 48px;
	border-radius: 8px;
	border: 2px solid #c97810;
	font: inherit;
	padding: 0.55rem 0.8rem;
}
.newsletter-form button {
	background: #fff8ec;
	border-color: #fff;
	font-weight: 800;
	color: #8a4b08;
	cursor: pointer;
}
.newsletter-deco { position: absolute; z-index: 0; display: flex; gap: 0.4rem; align-items: flex-end; opacity: 0.95; }
.newsletter-deco-left { left: 0.4rem; bottom: 2.2rem; }
.newsletter-deco-right { right: 0.4rem; bottom: 2.2rem; }
.deco-lemon { width: 64px; height: 64px; }
.deco-jar { width: 48px; height: 64px; }
.deco-whisk { width: 48px; height: 72px; }
.newsletter-love {
	position: relative;
	z-index: 1;
	margin: 0.9rem 0 0;
	text-align: center;
	font-family: Pacifico, cursive;
	font-size: 1.7rem;
	color: #fff;
	display: flex;
	gap: 0.4rem;
	align-items: center;
	justify-content: center;
}
.newsletter-love svg { width: 28px; height: 28px; }
.newsletter-love .heart-fill { fill: #fff; }
.newsletter-love .heart-outline { stroke: #fff; }
.ribbon-title {
	display: flex;
	justify-content: center;
	margin: 0 auto 1rem;
}
.ribbon-title h2 {
	margin: 0;
	background: linear-gradient(#fffdf8, #f8ecd4);
	border: 2px solid #ead7b0;
	border-radius: 8px 8px 16px 16px;
	padding: 0.45rem 1.8rem;
	box-shadow: 0 6px 0 #f3e2c0;
	position: relative;
}
.ribbon-title h2::before,
.ribbon-title h2::after {
	content: "";
	position: absolute;
	top: 12px;
	width: 18px;
	height: 18px;
	background: #f3e2c0;
	transform: rotate(45deg);
}
.ribbon-title h2::before { left: -8px; }
.ribbon-title h2::after { right: -8px; }
.featured-grid { align-items: stretch; }

.site-footer {
	margin-top: 2rem;
	padding: 1.5rem 1rem 2rem;
	text-align: center;
}
.footer-brand { display: flex; gap: 0.7rem; align-items: center; justify-content: center; }
.footer-brand picture, .footer-brand .portrait-wrap { width: 72px; }
.footer-love { font-family: Pacifico, cursive; color: var(--tomato); font-size: 1.4rem; margin: 0; }
.footer-copy a { color: var(--ink); font-weight: 800; }

.empty-note { color: var(--soft); text-align: center; }
.about-portrait { max-width: 280px; margin: 0 auto 1rem; }
.page-content { max-width: 42rem; margin: 0 auto; }
.pagination, .nav-links { display: flex; gap: 0.6rem; justify-content: center; margin: 1rem 0; }

.sk-hp { position: absolute; left: -9999px; }

@media (min-width: 800px) {
	.pill-row-main { flex-direction: row; }
	.pill-main { width: auto; flex: 1 1 220px; max-width: none; }
}

@media (min-width: 720px) {
	.nav-bar { position: relative; display: flex; align-items: center; min-height: 58px; }
	.nav-toggle { display: none; }
	.site-nav {
		display: flex;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: auto;
		justify-content: center;
	}
	.primary-menu { flex-direction: row; align-items: center; padding: 0; gap: 0; }
	.primary-menu li + li::before {
		content: "";
		width: 1px;
		height: 1.1rem;
		background: rgba(74, 52, 36, 0.35);
		margin: 0 0.15rem;
	}
	.nav-tools { margin-left: auto; }
	.header-search .search-form input[type="search"] {
		width: 0;
		min-width: 0;
		opacity: 0;
		padding: 0;
		border-width: 0;
		min-height: 0;
	}
	.header-search .search-form.is-open input[type="search"],
	.header-search .search-form:focus-within input[type="search"] {
		width: 11rem;
		opacity: 1;
		padding: 0.45rem 0.8rem;
		border-width: 2px;
		min-height: 42px;
	}
	.home-hero {
		position: relative;
		border-radius: 0;
		overflow: hidden;
	}
	.hero {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		min-height: clamp(420px, 42vw, 540px);
		border-radius: 0;
		padding: 1.75rem 4vw 1.5rem 48%;
		text-align: left;
	}
	.hero-copy { max-width: 34rem; position: relative; z-index: 2; }
	.hero-portrait {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
		order: 0;
		width: 46%;
		height: auto;
		max-width: none;
		margin: 0;
		padding: 0;
		background: none;
		border-radius: 0;
		display: block;
	}
	.hero-portrait picture {
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
	}
	.hero-portrait img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		max-height: none;
		margin: 0;
		padding: 0;
		object-fit: contain;
		object-position: left bottom;
	}
	.recipe-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
	.featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter-form { grid-template-columns: 1fr 1fr auto; align-items: center; }
}
@media (min-width: 1040px) {
	.featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
	.site-header {
		padding: 0.65rem 0 0;
	}
	.brand {
		padding: 0 0.75rem 0.35rem;
	}
	.tagline-ribbon {
		margin-bottom: 0.35rem;
		gap: 0.4rem;
	}
	.tagline-ribbon span {
		border-radius: 6px;
		padding: 0.1rem 0.55rem;
	}
	.nav-bar {
		width: 100%;
		margin: 0;
		border-radius: 0;
		padding: 0.3rem 0.5rem;
		gap: 0.35rem;
		flex-wrap: nowrap;
		min-height: 52px;
	}
	.nav-toggle {
		width: 40px;
		height: 40px;
		border-radius: 8px;
		flex: none;
	}
	.nav-tools {
		flex: 1;
		min-width: 0;
		gap: 0.3rem;
	}
	.favorites-link {
		padding: 0.3rem 0.4rem;
		border-radius: 8px;
		min-height: 40px;
	}
	.header-search { width: auto; flex: 1; min-width: 0; }
	.search-form { gap: 0.3rem; }
	.search-form input[type="search"],
	.search-form button,
	.primary-menu a,
	.kitchen-link {
		border-radius: 8px;
		min-height: 40px;
	}
	.search-form button {
		width: 40px;
		height: 40px;
	}
	.home-hero,
	.hero,
	.hero-portrait,
	.newsletter {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}
	.hero { padding: 1.1rem 0.85rem 1.15rem; }
	.hero-portrait { padding-top: 0.55rem; }
	.hero-portrait picture,
	.hero-portrait img { width: min(62vw, 240px); }
	.category-pills {
		margin: 0.65rem 0 0;
		padding: 0 0.75rem;
		gap: 0.4rem;
		max-width: none;
	}
	.pill-row { gap: 0.4rem; }
	.pill,
	.pill-main,
	.pill-small {
		border-radius: 8px;
		width: 100%;
		max-width: none;
		min-height: 48px;
		box-shadow: none;
		padding: 0.3rem 0.7rem 0.3rem 0.35rem;
	}
	.pill-row-more .pill-small {
		width: auto;
		flex: 1 1 calc(50% - 0.4rem);
	}
	.section { padding: 0.9rem 0.75rem 0.2rem; }
	.recipe-grid { gap: 0.65rem; }
	.recipe-card,
	.card-media,
	.view-recipe,
	.jump,
	.print-link,
	.heart-btn,
	.sk-share summary,
	.sk-share-menu,
	.ribbon-title h2,
	.recipe-hero-photo img,
	.cook-note,
	.recipe-sheet,
	.sheet-facts div,
	.sheet-notes {
		border-radius: 8px;
	}
	.ribbon-title { margin-bottom: 0.65rem; }
	.ribbon-title h2 {
		box-shadow: none;
		padding: 0.3rem 1rem;
	}
	.ribbon-title h2::before,
	.ribbon-title h2::after { display: none; }
	.card-actions { gap: 0.35rem; }
	.newsletter {
		margin-top: 1rem;
		padding: 0.9rem 0.75rem 0.55rem;
	}
	.newsletter-deco { display: none; }
	.newsletter-form { gap: 0.4rem; }
	.newsletter-love { font-size: 1.35rem; margin-top: 0.45rem; }
	.recipe-page { padding: 0 0.75rem 1.5rem; }
	.site-footer { margin-top: 0; padding: 1rem 0.75rem 1.25rem; }
}

@media print {
	body { background: #fff; }
	.site-header, .site-footer, .newsletter, .recipe-toolbar, .recipe-hero-photo, .cook-note, .category-pills, .skip-link, .heart-btn, .sk-share { display: none !important; }
	.sheet-photo { display: block !important; }
	.sheet-photo img { max-height: 180px; width: auto; object-fit: contain; }
	.recipe-sheet { border: 0; border-top: 6px solid #f5c518; }
	a { color: #000; text-decoration: none; }
}
