/*
Theme Name: Weloob
Theme URI: https://weloob.com/
Author: Weloob
Description: A tablecloth-and-plates recipe theme for Weloob. Beet, pistachio and saffron palette, scalloped edges, round plate imagery, a tasting-menu style Popular Topics block and a header widget area printed right after the header.
Version: 1.0.0
Requires at least: 6.0
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: weloob
Tags: blog, food-and-drink, custom-logo, custom-menu, featured-images, threaded-comments, wide-blocks, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--paper: #F6F0E4;
	--paper-2: #FFFBF3;
	--ink: #2A1622;
	--ink-2: #5A4651;
	--beet: #7A1F3D;
	--beet-d: #5E1530;
	--pista: #B5C46F;
	--pista-l: #DDE5B6;
	--saffron: #F0A92E;
	--paprika: #C2452A;
	--line: rgba(42, 22, 34, .16);

	--f-display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
	--f-text: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-text);
	font-size: 17px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid var(--saffron);
	outline-offset: 3px;
	border-radius: 4px;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--saffron); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 999px;
	transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* Scalloped edges — the tablecloth hem used across the theme */
.hem-down::after, .masthead::after {
	content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--scallop);
	background: inherit;
	-webkit-mask: radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
	mask: radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
	pointer-events: none;
}
.pt--band::before, .foot::before, .pt--rail::before, .pt--rail::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--scallop);
	background: inherit;
	-webkit-mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
	mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
	pointer-events: none;
}

/* Gingham */
.cloth, .page-head::before {
	background-color: var(--paper-2);
	background-image:
		linear-gradient(90deg, rgba(181, 196, 111, .55) 50%, transparent 50%),
		linear-gradient(rgba(181, 196, 111, .55) 50%, transparent 50%);
	background-size: 30px 30px;
}

/* ---------- Header ---------- */
.masthead {
	position: relative; z-index: 20;
	background: var(--beet);
	color: var(--paper);
	margin-bottom: var(--scallop);
}
.mast-in {
	display: flex; align-items: center; gap: clamp(12px, 3vw, 32px);
	min-height: 76px; padding-block: 12px;
}
.brand { display: inline-flex; flex: 0 0 auto; line-height: 0; border-radius: 6px; }
.brand-img { width: auto; height: 40px; max-width: 200px; object-fit: contain; }
.mast-tag {
	margin: 0; font-size: .92rem; color: rgba(246, 240, 228, .78); max-width: 34ch;
	padding-left: clamp(12px, 3vw, 32px); border-left: 1px solid rgba(246, 240, 228, .25);
	display: none; line-height: 1.35;
}
.mast-search {
	margin-left: auto; position: relative; display: flex; align-items: center;
	background: var(--paper-2); border-radius: 999px; height: 46px;
	width: min(340px, 100%);
}
.mast-search input {
	flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink);
	font: 500 1rem var(--f-text); padding: 0 6px 0 20px; border-radius: 999px;
}
.mast-search input::placeholder { color: var(--ink-2); }
.mast-search input:focus { outline: none; }
.mast-search:focus-within { box-shadow: 0 0 0 3px var(--saffron); }
.mast-go {
	flex: 0 0 auto; width: 38px; height: 38px; margin-right: 4px; border-radius: 50%; border: 0;
	background: var(--saffron); color: var(--ink); display: grid; place-items: center; cursor: pointer;
	transition: transform .25s var(--ease);
}
.mast-go:hover { transform: rotate(-12deg) scale(1.06); }

@media (max-width: 719px) {
	.mast-in { min-height: 64px; }
	.brand-img { height: 32px; }
	.mast-search { width: 46px; background: transparent; transition: width .3s var(--ease), background .2s; }
	.mast-search input { width: 0; padding: 0; opacity: 0; }
	.mast-search .mast-go { width: 44px; height: 44px; margin: 0; }
	.mast-search.is-open {
		position: absolute; left: var(--gut); right: var(--gut); width: auto; background: var(--paper-2);
	}
	.mast-search.is-open input { width: auto; padding: 0 6px 0 18px; opacity: 1; }
	.mast-search.is-open .mast-go { width: 38px; height: 38px; margin-right: 4px; }
}
@media (min-width: 960px) {
	.mast-tag { display: block; }
	.brand-img { height: 46px; }
	.mast-in { min-height: 88px; }
}

/* Header widget area (printed right after </header>) */
.hw { max-width: var(--wrap); margin: 18px auto 0; padding-inline: var(--gut); text-align: center; overflow: hidden; }
.hw-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin: 0 0 6px; }
.hw img, .hw iframe { margin-inline: auto; }

/* ---------- Shared bits ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--beet);
}
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px var(--paper-2), 0 0 0 5px var(--ink); flex: 0 0 auto; }
.btn-plate {
	display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px;
	background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
	font: 700 1rem var(--f-text); text-decoration: none; cursor: pointer;
	transition: background .2s, transform .25s var(--ease);
}
.btn-plate:hover { background: var(--beet); transform: translateY(-2px); }
.btn-plate span { transition: transform .25s var(--ease); }
.btn-plate:hover span { transform: translateX(4px); }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); position: relative; display: inline-block; margin-bottom: 1.1em; }
.squiggle { display: block; width: 120px; height: 12px; color: var(--pista); margin-top: 8px; }
.sec-title .squiggle { color: #8EA043; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 80px); }
.hero-in { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.02; margin-bottom: .35em; text-wrap: balance; }
.hero-link { text-decoration: none; background: linear-gradient(var(--saffron), var(--saffron)) 0 92% / 0 .18em no-repeat; transition: background-size .45s var(--ease); }
.hero-link:hover { background-size: 100% .18em; }
.hero-excerpt { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 46ch; }
.hero-excerpt p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.hero-cat { font-weight: 700; color: var(--beet); text-decoration-color: var(--pista); }
.hero-art { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; }
.hero-art .cloth { position: absolute; inset: 6% 0 0 6%; border-radius: 28px; transform: rotate(-5deg); }
.hero-plate {
	position: absolute; inset: 9% 9% 3% 15%; border-radius: 50%; overflow: hidden; display: block;
	box-shadow: 0 0 0 14px var(--paper-2), 0 0 0 16px var(--ink);
	background: var(--paper-2);
}
.hero-plate img, .hero-plate .plate-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-art:hover .hero-plate img { transform: rotate(10deg) scale(1.05); }
.sticker {
	position: absolute; left: 0; top: 4%; width: clamp(92px, 18vw, 120px); aspect-ratio: 1; border-radius: 50%;
	background: var(--saffron); color: var(--ink); display: grid; place-content: center; text-align: center;
	font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1;
	transform: rotate(-12deg); box-shadow: 0 0 0 3px var(--ink);
}
.sticker b { font-family: var(--f-display); font-weight: 400; font-size: 2.2em; letter-spacing: 0; text-transform: none; }
@media (min-width: 860px) {
	.hero-in { grid-template-columns: 1.05fr 1fr; }
	.hero-art { margin-inline: 0 0; justify-self: end; width: min(100%, 560px); }
}

/* ---------- Page head (archives, search) ---------- */
.page-head { position: relative; padding: clamp(28px, 5vw, 56px) 0 clamp(30px, 5vw, 60px); overflow: hidden; }
.page-head::before {
	content: ""; position: absolute; right: -60px; top: -40px; width: clamp(160px, 28vw, 340px); aspect-ratio: 1;
	border-radius: 50%; opacity: .8; transform: rotate(12deg);
}
.page-head .wrap { position: relative; }
.page-title { font-size: clamp(2.2rem, 6vw, 4.2rem); max-width: 18ch; text-wrap: balance; }
.page-desc { max-width: 60ch; color: var(--ink-2); font-size: 1.08rem; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pista); margin: 0 10px; }
.crumb { text-decoration: none; font-weight: 600; color: var(--ink); }
.crumb:hover { color: var(--beet); text-decoration: underline; text-decoration-color: var(--saffron); }

/* ---------- Plates grid ---------- */
.feed { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 110px); }
.plates {
	display: grid; gap: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 48px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tile-plate {
	display: block; width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
	box-shadow: 0 0 0 10px var(--paper-2), 0 0 0 11px var(--line);
	margin: 11px 11px 26px; background: var(--paper-2);
}
.tile-plate img, .tile-plate .plate-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile-plate img { transform: rotate(14deg) scale(1.06); }
.tile:hover .tile-plate { box-shadow: 0 0 0 10px var(--paper-2), 0 0 0 12px var(--ink); }
.tile-body { max-width: 32ch; }
.tile-cat {
	display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--beet); text-decoration: none; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--pista-l);
}
.tile-cat:hover { background: var(--pista); }
.tile-title { font-size: clamp(1.25rem, 2vw, 1.45rem); margin: 0 0 6px; text-wrap: balance; }
.tile-link { text-decoration: none; }
.tile-link:hover { text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 3px; }
.tile-meta { font-size: .86rem; color: var(--ink-2); margin: 0; }
@media (min-width: 1000px) {
	.plates { grid-template-columns: repeat(6, 1fr); }
	.plates .tile { grid-column: span 2; }
	/* Centre an incomplete last row so no gap shows */
	.plates .tile:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
	.plates .tile:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	.plates .tile:last-child:nth-child(3n+2) { grid-column: 4 / span 2; }
	.plates .tile:nth-child(3n+2) { transform: translateY(46px); }
	.plates { padding-bottom: 46px; }
}
@media (max-width: 520px) {
	.plates { grid-template-columns: 1fr 1fr; gap: 34px 14px; }
	.tile-plate { margin: 6px 6px 16px; box-shadow: 0 0 0 6px var(--paper-2), 0 0 0 7px var(--line); }
	.tile-title { font-size: 1.05rem; }
	.tile-cat { font-size: .64rem; letter-spacing: .1em; padding: 2px 8px; }
	.tile-meta { font-size: .78rem; }
}
@media (max-width: 999px) {
	.plates .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.plates .tile:last-child:nth-child(odd) .tile-plate { width: min(50%, 300px); }
}

/* Plate fallback (no image anywhere): a drawn egg */
.plate-fallback { display: grid; place-items: center; background: var(--pista-l); }
.plate-fallback span { width: 56%; aspect-ratio: 1; border-radius: 47% 53% 44% 56% / 52% 45% 55% 48%; background: var(--paper-2); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--ink); }
.plate-fallback span::after { content: ""; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--saffron); }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.pager .page-numbers {
	min-width: 46px; height: 46px; padding: 0 14px; white-space: nowrap; display: inline-grid; place-items: center; border-radius: 999px;
	text-decoration: none; font-weight: 700; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line);
}
.pager a.page-numbers:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.pager .current { background: var(--ink); color: var(--paper); box-shadow: none; }
.pager .dots { box-shadow: none; }

/* ---------- Popular Topics (tasting menu) ---------- */
.pt { position: relative; background: var(--beet); color: var(--paper); }
.pt--band { margin-top: var(--scallop); padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); }
.pt--band .pt-inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.pt-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.pt-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); margin: 0 0 10px; }
.pt-title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0; color: var(--paper-2); }
.pt-title::after {
	content: ""; display: block; width: 74px; height: 8px; margin: 16px auto 0;
	background: radial-gradient(circle, var(--saffron) 3px, transparent 3.5px) 0 0 / 14px 8px repeat-x;
}
.pt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: clamp(28px, 5vw, 72px); }
.pt-item { border-top: 1px dashed rgba(246, 240, 228, .3); min-width: 0; }
.pt-link {
	display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px;
	padding: 14px 4px; text-decoration: none; color: var(--paper-2); border-radius: 12px;
	transition: background .2s, padding .3s var(--ease);
}
.pt-link:hover { background: var(--beet-d); padding-left: 12px; }
.pt-num { font-family: var(--f-display); font-size: 1.35rem; color: var(--saffron); width: 2ch; text-align: right; }
.pt-plate { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; box-shadow: 0 0 0 4px var(--paper-2); background: var(--paper-2); display: block; }
.pt-plate img, .pt-plate .plate-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pt-plate .plate-fallback span { box-shadow: 0 0 0 2px var(--ink); }
.pt-link:hover .pt-plate img { transform: rotate(20deg) scale(1.1); }
.pt-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-name { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pista); }
@media (min-width: 760px) {
	.pt--band .pt-list { grid-template-columns: 1fr 1fr; }
	.pt--band .pt-item:nth-last-child(-n+2) { border-bottom: 1px dashed rgba(246, 240, 228, .3); }
	.pt--band.pt--odd .pt-item:last-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 560px); }
}
@media (min-width: 1180px) {
	.pt--band .pt-plate { width: 76px; height: 76px; }
	.pt--band .pt-name { font-size: 1.24rem; }
}
.pt--band .pt-item:last-child { border-bottom: 1px dashed rgba(246, 240, 228, .3); }

/* Rail (beside the recipe) */
.pt--rail { margin-top: calc(var(--scallop) + 24px); margin-bottom: var(--scallop); padding: 30px 20px 26px; }
.pt--rail::after { bottom: auto; top: 100%; transform: scaleY(-1); }
.pt--rail .pt-head { margin-bottom: 18px; }
.pt--rail .pt-title { font-size: 1.8rem; }
.pt--rail .pt-link { gap: 12px; padding: 11px 4px; }
.pt--rail .pt-plate { width: 56px; height: 56px; }
.pt--rail .pt-name { font-size: 1.02rem; }
.pt--rail .pt-item:last-child { border-bottom: 1px dashed rgba(246, 240, 228, .3); }

/* ---------- Single ---------- */
.entry-head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(24px, 4vw, 40px); max-width: 980px; text-align: center; }
.entry-head .crumbs ol { justify-content: center; }
.entry-cat {
	display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	color: var(--ink); background: var(--saffron); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.entry-cat:hover { background: var(--pista); }
.entry-title { font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.04; text-wrap: balance; margin-bottom: .4em; }
.entry-meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; color: var(--ink-2); font-size: .94rem; }
.entry-meta li { display: inline-flex; align-items: center; }
.entry-meta li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--beet); margin: 0 12px; }
.meta-link { color: var(--ink-2); }
.entry-lede { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--ink-2); max-width: 60ch; margin-inline: auto; }
.entry-lede p { margin: 0; }
.jump-row { margin-top: 22px; }
.btn-jump {
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
	background: var(--beet); color: var(--paper-2); font-weight: 700; text-decoration: none;
}
.btn-jump:hover { background: var(--ink); }

.entry-hero { margin: 0 auto; max-width: calc(var(--wrap) + 0px); padding-inline: var(--gut); position: relative; }
.entry-hero img {
	width: 100%; max-height: 640px; object-fit: cover; border-radius: 28px 28px 0 0;
	-webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--scallop)) no-repeat, radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) bottom / calc(var(--scallop) * 2) var(--scallop) repeat-x;
	mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--scallop)) no-repeat, radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) bottom / calc(var(--scallop) * 2) var(--scallop) repeat-x;
}

.entry-grid { display: grid; gap: clamp(32px, 4vw, 64px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.entry-main { min-width: 0; }
.entry-solo { max-width: 820px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 1100px) {
	.entry-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
	.entry-side { position: sticky; top: 24px; }
	.pt--rail { margin-top: var(--scallop); }
}
@media (min-width: 640px) and (max-width: 1099px) {
	.pt--rail .pt-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
	.pt--rail .pt-item:nth-last-child(-n+2) { border-bottom: 1px dashed rgba(246, 240, 228, .3); }
	.pt--rail.pt--odd .pt-item:last-child { grid-column: 1 / -1; }
	.pt--rail { padding: 40px 28px 34px; }
}

/* Prose */
.prose { font-size: 1.1rem; line-height: 1.75; max-width: 72ch; margin-inline: auto; }
.prose > * + * { margin-top: 0; }
.prose a { color: var(--beet); text-decoration-color: var(--saffron); }
.prose a:hover { color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 1.8em 0 .6em; display: flex; align-items: baseline; gap: 14px; }
.prose h2::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 5px var(--paper-2), 0 0 0 6px var(--ink); transform: translateY(-3px); }
.prose h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.6em 0 .5em; color: var(--beet); }
.prose h4 { font-family: var(--f-text); font-weight: 800; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose img, .prose figure img { border-radius: 20px; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .88rem; color: var(--ink-2); text-align: center; margin-top: 10px; }
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.4em; }
.prose ul > li { position: relative; padding-left: 30px; margin-bottom: .45em; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 11px; height: 11px; border-radius: 50%; background: var(--pista); box-shadow: 0 0 0 2px var(--ink); }
.prose ol { list-style: none; padding-left: 0; margin: 0 0 1.4em; counter-reset: step; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: .9em; min-height: 36px; }
.prose ol > li::before {
	content: counter(step); position: absolute; left: 0; top: .05em; width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center; background: var(--beet); color: var(--paper-2); font-family: var(--f-display); font-size: 1rem; line-height: 1;
}
.prose blockquote { margin: 2em 0; padding: 0 0 0 26px; border-left: 4px solid var(--saffron); font-family: var(--f-display); font-size: 1.35rem; line-height: 1.45; }
.prose blockquote cite { display: block; font: 600 .9rem var(--f-text); color: var(--ink-2); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .98rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--pista-l); }
.prose hr { border: 0; height: 12px; margin: 2.4em auto; width: 120px; background: radial-gradient(circle, var(--beet) 3px, transparent 3.5px) 0 50% / 20px 12px repeat-x; }
.prose pre { background: var(--ink); color: var(--paper); padding: 18px; border-radius: 14px; overflow-x: auto; font-size: .9rem; }
.prose iframe, .prose embed, .prose video { max-width: 100%; }
.prose .alignwide { max-width: none; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose > p:first-of-type::first-letter {
	font-family: var(--f-display); float: left; font-size: 3.6em; line-height: .85; margin: .06em .12em 0 0; color: var(--beet);
}

/* Recipe card plugins: blend in */
.prose .wprm-recipe-container, .prose .tasty-recipes, .prose .mv-create-card {
	margin: 2.6em 0 !important; position: relative;
}
.prose .wprm-recipe, .prose .tasty-recipes {
	border: 0 !important; border-radius: 26px !important; background: var(--paper-2) !important;
	box-shadow: inset 0 0 0 2px var(--ink) !important; padding: clamp(20px, 3vw, 34px) !important;
}
.prose .wprm-recipe-name, .prose .tasty-recipes-title { font-family: var(--f-display) !important; font-weight: 400 !important; }
.prose .wprm-recipe ul > li::before, .prose .wprm-recipe ol > li::before,
.prose .tasty-recipes ul > li::before, .prose .tasty-recipes ol > li::before { content: none; }
.prose .wprm-recipe ul > li, .prose .wprm-recipe ol > li { padding-left: 0; }

/* Tags, after content, prev/next */
.tags { list-style: none; padding: 0; margin: 2.4em auto 0; max-width: 72ch; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 2px var(--line); }
.tag-link::before { content: "#"; color: var(--beet); margin-right: 2px; }
.tag-link:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.after-content { max-width: 72ch; margin: 2.4em auto 0; }
.pn { max-width: 72ch; margin: 3em auto 0; display: grid; gap: 14px; }
.pn-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; text-decoration: none; border-top: 2px solid var(--ink); }
.pn-dir { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--beet); }
.pn-t { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.25; }
.pn-link:hover .pn-t { text-decoration: underline; text-decoration-color: var(--saffron); }
@media (min-width: 640px) {
	.pn { grid-template-columns: 1fr 1fr; gap: 28px; }
	.pn-next { text-align: right; grid-column: 2; }
}

/* ---------- Comments ---------- */
.comments { max-width: 72ch; margin: 4em auto 0; }
.cmt-list, .cmt-list .children { list-style: none; margin: 0; padding: 0; }
.cmt-list .children { margin-left: clamp(14px, 4vw, 40px); padding-left: clamp(14px, 3vw, 24px); border-left: 2px dotted var(--pista); }
.cmt { padding: 20px 0; border-top: 1px solid var(--line); }
.cmt-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cmt-ava { border-radius: 50%; box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 4px var(--line); }
.cmt-author { margin: 0; font-weight: 700; }
.cmt-author a { text-decoration: none; }
.cmt-date { font-size: .84rem; color: var(--ink-2); text-decoration: none; }
.cmt-body p:last-child { margin-bottom: 0; }
.cmt-wait { font-size: .9rem; color: var(--paprika); }
.cmt-reply { margin: 10px 0 0; }
.comment-reply-link { font-size: .86rem; font-weight: 700; color: var(--beet); }
.comment-respond { margin-top: 2.6em; }
.comment-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .sform input {
	width: 100%; border: 2px solid var(--line); background: var(--paper-2); border-radius: 16px;
	padding: 12px 16px; font: 1rem var(--f-text); color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus, .sform input:focus { border-color: var(--ink); outline: none; }
.comment-form p { margin-bottom: 16px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Search form */
.sform { display: flex; gap: 8px; max-width: 520px; }
.sform input { border-radius: 999px; }
.sform button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 0 22px; min-height: 48px; background: var(--ink); color: var(--paper); font: 700 1rem var(--f-text); cursor: pointer; }
.sform button:hover { background: var(--beet); }
.empty { padding: 20px 0 40px; }

/* 404 */
.lost { text-align: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 110px); display: flex; flex-direction: column; align-items: center; }
.lost-plate { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--beet); margin-bottom: 20px; }
.lost-egg { width: .8em; aspect-ratio: 1; border-radius: 47% 53% 44% 56% / 52% 45% 55% 48%; background: var(--paper-2); box-shadow: 0 0 0 5px var(--ink); display: grid; place-items: center; }
.lost-egg::after { content: ""; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--saffron); }
.lost .sform { margin: 10px auto 28px; width: 100%; }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--ink); color: var(--paper); margin-top: var(--scallop); }
main:has(> .pt--band:last-child) + .foot { margin-top: 0; }
.foot-in { display: grid; gap: 32px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; }
.foot .brand-img { height: 44px; }
.foot-line { margin: 16px 0 0; color: rgba(246, 240, 228, .72); max-width: 36ch; }
.foot-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.foot-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--paper-2); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(246, 240, 228, .25); }
.foot-link:hover { background: var(--saffron); color: var(--ink); box-shadow: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 22px; padding-bottom: 28px; border-top: 1px dashed rgba(246, 240, 228, .22); font-size: .88rem; color: rgba(246, 240, 228, .66); }
.foot-base p { margin: 0; }
.to-top { color: var(--saffron); text-decoration: none; font-weight: 700; }
.to-top:hover { text-decoration: underline; }
@media (min-width: 860px) {
	.foot-in { grid-template-columns: 1fr 1.2fr; align-items: center; }
	.foot-pages { justify-content: flex-end; }
}

/* Block editor alignment helpers */
.has-text-align-center { text-align: center; }
.wp-block-image figcaption { text-align: center; }
.wp-block-button__link { border-radius: 999px; background: var(--ink); color: var(--paper); padding: 12px 24px; text-decoration: none; }

@media print {
	.masthead, .foot, .pt, .hw, .jump-row, .comments, .pn, .crumbs { display: none !important; }
	body { background: #fff; }
}
