/*
Theme Name: Lifee Larder
Theme URI: https://verylifee.com/
Author: Very Lifee
Description: A warm "kitchen notebook" theme made for Very Lifee: arched food photography, recipe-card listings, a randomised Popular Topics grid under every post, and a Header widget area for Analytics / AdSense code printed right after the site header.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
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: lifee-larder
Tags: blog, food-and-drink, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* ---------- Fonts (bundled) ---------- */
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url(assets/fonts/karla.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url(assets/fonts/karla-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--paper: #f5efe3;
	--paper-2: #ece2cf;
	--card: #fffcf6;
	--ink: #1e261f;
	--ink-2: #4b5349;
	--ink-3: #6c7268;
	--line: #d8ccb5;
	--paprika: #b23f27;
	--paprika-deep: #8a2d1a;
	--saffron: #e4a33a;
	--sage: #6e8a63;
	--sage-soft: #d9e2cf;
	--forest: #23301f;
	--forest-2: #2e3d29;
	--cream-on-dark: #f1e9d8;

	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 10px;
	--r-md: 18px;
	--r-lg: 28px;
	--arch: 999px 999px var(--r-md) var(--r-md);

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--paprika); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "SOFT" 60, "WONK" 0; }
p { margin: 0 0 1.1em; }
button, input, textarea, select { font: inherit; color: inherit; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

.kicker {
	font: 700 .78rem/1.2 var(--sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--paprika);
	margin: 0 0 14px;
	display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.chip {
	display: inline-flex; align-items: center;
	font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
	color: var(--forest); background: var(--sage-soft);
	padding: 7px 11px; border-radius: 999px; text-decoration: none;
	transition: background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { background: var(--forest); color: var(--cream-on-dark); }

.btn, .search-submit, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
	background: var(--paprika); color: #fff; font-weight: 700; letter-spacing: .02em;
	cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover, .search-submit:hover, input[type="submit"]:hover { background: var(--paprika-deep); }
.btn:active, .search-submit:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.ribbon { background: var(--forest); color: var(--cream-on-dark); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.ribbon__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.ribbon__note { opacity: .8; text-align: right; }

.site-header { position: relative; z-index: 20; background: var(--paper); }
.site-header::after { /* ledger double rule */
	content: ""; display: block; height: 5px;
	border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
	max-width: var(--wrap); margin-inline: auto; width: calc(100% - var(--gutter) * 2);
}
.bar { display: flex; align-items: center; gap: 28px; min-height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; }
.brand-mark .mark-bowl, .brand-mark .mark-rim { fill: var(--paprika); }
.brand-mark .mark-leaf { fill: var(--sage); }
.brand-mark .mark-leaf2 { fill: var(--saffron); }
.brand-mark .mark-stem { stroke: var(--sage); }
.brand-word { font-family: var(--serif); font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; display: inline-flex; gap: .12em; }
.brand-very { font-weight: 750; }
.brand-lifee { font-style: italic; font-weight: 500; color: var(--paprika); }
.brand--image img { max-height: 64px; width: auto; }

.primary-nav { margin-left: auto; display: flex; align-items: center; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; gap: 4px; }
.primary-menu > li { position: relative; }
.primary-menu a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .98rem; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--paper-2); color: var(--ink); }
.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
	box-shadow: 6px 6px 0 var(--ink); opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .2s var(--ease);
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav__search { display: none; }

.bar__actions { display: flex; gap: 8px; margin-left: auto; }
.primary-nav + .bar__actions { margin-left: 0; }
.icon-btn {
	width: 46px; height: 46px; display: grid; place-items: center;
	border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }

.search-panel { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 20px; }
.search-form { display: flex; gap: 10px; max-width: 720px; }
.search-panel .search-form { margin-inline: auto; }
.search-field {
	flex: 1; min-width: 0; min-height: 50px; padding: 0 20px;
	background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px;
}
.search-field::placeholder { color: var(--ink-3); }

/* ---------- Home feature ---------- */
.listing { padding-top: clamp(28px, 5vw, 56px); }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.feature__media { position: relative; }
.feature__media > a { display: block; border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper-2); }
.feature__media img, .feature__media .media-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature__media > a:hover img { transform: scale(1.03); }
.feature__stamp {
	position: absolute; right: -10px; bottom: 34px; width: 118px; height: 118px; border-radius: 50%;
	display: grid; place-items: center; text-align: center;
	background: var(--saffron); color: var(--forest);
	font: italic 600 1.05rem/1.05 var(--serif); transform: rotate(-12deg);
	box-shadow: 0 0 0 6px var(--paper);
}
.feature__title { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; margin-bottom: 18px; }
.feature__title a { text-decoration: none; }
.feature__excerpt { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.feature__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.feature__foot > a, .card__foot > a:last-child {
	font-weight: 700; text-decoration: none; color: var(--paprika);
	border-bottom: 2px solid currentColor; padding-bottom: 2px;
}

.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink-3); }
.meta-item + .meta-item::before { content: "✻"; margin-right: 18px; color: var(--saffron); }
.meta-link { font-weight: 700; color: var(--ink); text-decoration: none; }

.section-head { display: flex; align-items: center; gap: 20px; margin: 0 0 28px; }
.section-head__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic; font-weight: 500; margin: 0; }
.section-head__rule { flex: 1; height: 1px; background: var(--ink); }

.listing__head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.listing__head .kicker { justify-content: center; }
.listing__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.listing__desc { color: var(--ink-2); font-size: 1.1rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card {
	display: flex; flex-direction: column; background: var(--card);
	border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); border-color: var(--ink); }
.card > a { display: block; margin: 10px 10px 0; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--paper-2); }
.card__media img, .card__media .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card__no { font: 600 italic .95rem/1 var(--serif); color: var(--paprika); }
.card__title { font-size: 1.36rem; margin-bottom: 10px; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card { position: relative; }
.card .chip, .card__foot a { position: relative; z-index: 1; }
.card__excerpt { color: var(--ink-2); font-size: .98rem; margin-bottom: 16px; }
.card__foot {
	margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
	border-top: 2px dashed var(--line); font-size: .9rem;
}
.card__time { color: var(--ink-3); }

.media-fallback { position: relative; display: grid; place-items: center; overflow: hidden; color: var(--forest); }
.media-fallback.tone-1 { background: var(--sage-soft); }
.media-fallback.tone-2 { background: #f3d9b6; }
.media-fallback.tone-3 { background: #efcfc3; }
.media-fallback.tone-4 { background: #e3dcc6; }
.media-fallback__glyph { font: italic 600 clamp(3rem, 8vw, 6rem)/1 var(--serif); position: relative; z-index: 1; }
.media-fallback__mark { position: absolute; right: -8%; bottom: -12%; width: 60%; height: auto; opacity: .18; }
.media-fallback__mark path, .media-fallback__mark rect { fill: currentColor; stroke: currentColor; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(36px, 5vw, 60px) 0; }
.page-numbers {
	min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center;
	border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700;
}
.page-numbers.current { background: var(--ink); color: var(--paper); }
.page-numbers.dots { border-color: transparent; }
a.page-numbers:hover { background: var(--saffron); color: var(--forest); border-color: var(--saffron); }

/* ---------- Popular Topics ---------- */
.popular {
	margin: clamp(48px, 7vw, 96px) 0;
	padding: clamp(26px, 4vw, 52px);
	background: var(--paper-2); border-radius: clamp(24px, 4vw, 44px);
	position: relative;
}
.popular__head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3vw, 36px); }
.popular__mark { width: 40px; height: 40px; }
.popular__mark .mark-bowl, .popular__mark .mark-rim { fill: var(--paprika); }
.popular__mark .mark-leaf { fill: var(--sage); }
.popular__mark .mark-leaf2 { fill: var(--saffron); }
.popular__mark .mark-stem { stroke: var(--sage); }
.popular__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-style: italic; font-weight: 500; margin: 0; }
.popular__rule { flex: 1; height: 0; border-top: 2px dashed var(--ink-3); opacity: .5; }
.popular__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.pop-card a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; height: 100%; }
.pop-card__media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--arch); overflow: hidden; background: var(--card); }
.pop-card__media img, .pop-card__media .media-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pop-card a:hover img { transform: scale(1.06); }
.pop-card__no {
	position: absolute; left: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; background: var(--saffron); color: var(--forest);
	font: italic 600 .95rem/1 var(--serif);
}
.pop-card__title {
	font: 600 1.06rem/1.25 var(--serif); color: var(--ink);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pop-card a:hover .pop-card__title { color: var(--paprika); text-decoration: underline; text-decoration-thickness: 1.5px; }

.popular--band { background: var(--forest); color: var(--cream-on-dark); }
.popular--band .popular__rule { border-color: var(--cream-on-dark); }
.popular--band .pop-card__title { color: var(--cream-on-dark); }
.popular--band .pop-card a:hover .pop-card__title { color: var(--saffron); }
.popular--band .pop-card__media { background: var(--forest-2); }
.popular--band .popular__mark .mark-bowl, .popular--band .popular__mark .mark-rim { fill: var(--saffron); }
.popular--band .popular__mark .mark-leaf2 { fill: var(--cream-on-dark); }

/* ---------- Single ---------- */
.entry-head { padding-top: clamp(32px, 5vw, 64px); text-align: center; }
.entry-head__text { max-width: 880px; margin-inline: auto; }
.entry-kicker { margin-bottom: 18px; }
.entry-title { font-size: clamp(2.2rem, 5.4vw, 4.3rem); font-weight: 720; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; margin-bottom: 18px; text-wrap: balance; }
.entry-dek { font-size: 1.22rem; color: var(--ink-2); max-width: 60ch; margin: 0 auto 18px; }
.entry-head .entry-meta { justify-content: center; }
.entry-hero { margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1100px; position: relative; }
.entry-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 320px 320px var(--r-lg) var(--r-lg) / 220px 220px var(--r-lg) var(--r-lg); }
.entry-hero::after {
	content: ""; position: absolute; inset: auto -14px -14px auto; width: 38%; height: 46%; z-index: -1;
	background: var(--sage-soft); border-radius: var(--r-lg);
}
.entry-layout { max-width: calc(760px + var(--gutter) * 2); padding-top: clamp(32px, 5vw, 56px); }

.prose { font-size: 1.125rem; line-height: 1.78; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.9em 0 .5em; }
.prose h3 { font-size: 1.4rem; margin: 1.6em 0 .4em; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose a { color: var(--paprika); font-weight: 600; }
.prose a:hover { color: var(--paprika-deep); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--paprika); }
.prose ol li::marker { font-family: var(--serif); font-style: italic; color: var(--paprika); font-weight: 600; }
.prose img { border-radius: var(--r-md); }
.prose figure { margin-inline: 0; }
.prose figcaption, .wp-element-caption { font-size: .88rem; color: var(--ink-3); text-align: center; margin-top: 10px; }
.prose blockquote {
	margin-inline: 0; padding: 22px 26px; border-left: 5px solid var(--saffron);
	background: var(--card); border-radius: 0 var(--r-md) var(--r-md) 0;
	font: italic 500 1.3rem/1.5 var(--serif);
}
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--card); border-radius: var(--r-md); overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--forest); color: var(--cream-on-dark); font-weight: 700; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2.4em 0; }
.prose pre, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--paper-2); border-radius: 6px; }
.prose code { padding: .1em .35em; }
.prose pre { padding: 18px; overflow-x: auto; }
.prose .alignwide { margin-inline: calc(min(0px, (760px - min(1100px, 100vw - var(--gutter) * 2)) / 2)); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.prose .alignfull img { border-radius: 0; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }

/* Recipe-card plugins (WP Recipe Maker, Tasty, etc.) */
.prose .wprm-recipe-container, .prose .tasty-recipes { border-radius: var(--r-lg); overflow: hidden; }
.prose .wprm-recipe, .prose .tasty-recipes { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px) !important; }
.prose .wprm-recipe-name, .prose .tasty-recipes-title { font-family: var(--serif) !important; }

.entry-foot { margin-top: 44px; }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; border-top: 1px solid var(--ink); }
.entry-tags__label { font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.tag-chip { padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; }
.tag-chip:hover { border-color: var(--ink); color: var(--ink); background: var(--card); }
.after-content { margin-top: 32px; }
.after-content .widget + .widget { margin-top: 24px; }
.widget-title { font-size: 1.3rem; }

/* Post navigation */
.post-navigation { margin: 0 0 56px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 18px 22px; border: 1.5px solid var(--ink); border-radius: var(--r-md); text-decoration: none; transition: background .2s var(--ease); }
.post-navigation a:hover { background: var(--card); color: var(--ink); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.nav-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--paprika); margin-bottom: 4px; }
.nav-title { font: 600 1.08rem/1.3 var(--serif); }

/* ---------- Comments ---------- */
.comments { margin-bottom: 80px; }
.comments__title, .comment-reply-title { font-size: 1.8rem; font-style: italic; font-weight: 500; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: clamp(16px, 4vw, 44px); }
.comment-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 16px; }
.comment-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.comment-avatar { border-radius: 50%; }
.comment-card__author { display: block; }
.comment-card__author a { text-decoration: none; }
.comment-time { font-size: .85rem; color: var(--ink-3); text-decoration: none; }
.comment-card__reply a { font-weight: 700; font-size: .9rem; color: var(--paprika); text-decoration: none; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-sm);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(228, 163, 58, .45); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Empty / 404 ---------- */
.empty-state { text-align: center; max-width: 640px; margin: clamp(40px, 8vw, 100px) auto; }
.empty-state .kicker { justify-content: center; }
.empty-state .search-form { margin: 24px auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream-on-dark); margin-top: clamp(40px, 6vw, 80px); border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: clamp(40px, 6vw, 72px) 32px; }
.site-footer .brand { color: var(--cream-on-dark); }
.site-footer .brand-lifee { color: var(--saffron); }
.site-footer .brand-mark .mark-bowl, .site-footer .brand-mark .mark-rim { fill: var(--saffron); }
.site-footer .brand-mark .mark-leaf2 { fill: var(--cream-on-dark); }
.site-footer__note { max-width: 40ch; margin-top: 16px; opacity: .8; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: center; }
.footer-menu a { text-decoration: none; opacity: .85; }
.footer-menu a:hover { opacity: 1; color: var(--saffron); text-decoration: underline; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; border-top: 1px solid rgba(241, 233, 216, .18); font-size: .88rem; opacity: .85; }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--saffron); }

/* ---------- WordPress core ---------- */
.sticky .card__no::after { content: " ★"; color: var(--saffron); }
.bypostauthor > .comment-card { border-color: var(--sage); }
.gallery-caption, .wp-caption-text { font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.popular__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.menu-toggle { display: grid; }
	.bar { gap: 12px; min-height: 72px; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%; margin: 0; z-index: 30;
		display: none; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--ink);
	}
	.nav-open .primary-nav { display: flex; }
	.primary-menu { flex-direction: column; }
	.primary-menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px dashed var(--line); font-size: 1.1rem; }
	.primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: none; }
	.primary-nav__search { display: block; }
	.search-toggle { display: none; }
	.bar__actions, .primary-nav + .bar__actions { margin-left: auto; }
	.feature { grid-template-columns: 1fr; }
	.feature__media > a { aspect-ratio: 4 / 3.4; }
	.popular__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.ribbon__note { display: none; }
	.brand-word { font-size: 1.55rem; }
	.brand-mark { width: 38px; height: 38px; }
	.card-grid { grid-template-columns: 1fr; }
	.feature__stamp { width: 92px; height: 92px; font-size: .9rem; right: 6px; bottom: 16px; }
	.popular { margin-inline: calc(var(--gutter) * -0.5); }
	.popular__grid { gap: 14px; }
	.pop-card__title { font-size: .98rem; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: auto; }
	.search-form { flex-direction: column; }
	.site-footer__base { flex-direction: column; }
	.prose { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
