/*
Theme Name: Duodiyet
Theme URI: https://duodiyet.com/
Author: duodiyet
Description: A responsive recipe theme built around round plates, menu lines and a scalloped tablecloth edge. Popular Topics shows 8 rotating recipes beside or under every piece of content, without SQL RAND(). Header menu never lists categories or legal pages; footer lists the site pages. Header widget prints right after the closing header tag.
Version: 1.0.0
Requires at least: 6.2
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: duodiyet
Tags: blog, food-and-drink, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
	font-family: "Young Serif";
	src: url("assets/fonts/youngserif-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Young Serif";
	src: url("assets/fonts/youngserif-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("assets/fonts/schibsted-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("assets/fonts/schibsted-latin-ext.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
	--paper: #f6f1e7;
	--paper-2: #ece3cf;
	--ink: #231915;
	--ink-soft: #5c4b42;
	--persimmon: #e4572e;
	--persimmon-text: #b03a17;
	--lime: #c9d62f;
	--lime-soft: #e3e98f;
	--fig: #5b2a4a;
	--rule: rgba(35, 25, 21, 0.16);

	--serif: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Schibsted Grotesk", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--masthead-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--masthead-h) + 16px);
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
p {
	margin: 0 0 1.1em;
}
::selection {
	background: var(--lime);
	color: var(--ink);
}
:focus-visible {
	outline: 3px solid var(--persimmon);
	outline-offset: 3px;
	border-radius: 4px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	background: var(--ink);
	color: var(--paper);
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus {
	top: 12px;
}
.kicker {
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--persimmon-text);
	margin: 0 0 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.6em;
}
.kicker::before {
	content: "";
	width: 0.7em;
	height: 0.7em;
	border-radius: 50%;
	background: var(--persimmon);
	box-shadow: 0.45em 0 0 -0.05em var(--ink);
	margin-right: 0.45em;
}
.ico {
	vertical-align: -0.2em;
	transition: transform 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.35em;
	border-radius: 999px;
	border: 2px solid var(--ink);
	font: 700 0.95rem/1 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.btn--ink {
	background: var(--ink);
	color: var(--paper);
}
.btn--ink:hover {
	background: var(--persimmon);
	border-color: var(--persimmon);
	color: var(--ink);
}
.btn--persimmon {
	background: var(--persimmon);
	border-color: var(--persimmon);
	color: var(--ink);
}
.btn--persimmon:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}
.btn:hover .ico {
	transform: translateX(4px);
}

/* ---------- Masthead ---------- */
.masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 2px solid var(--ink);
}
.admin-bar .masthead {
	top: var(--wp-admin--admin-bar--height, 32px);
}
.masthead__row {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	min-height: var(--masthead-h);
	display: flex;
	align-items: center;
	gap: 28px;
}
.brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
}
.brand__img {
	display: block;
	height: 42px;
	width: auto;
}
.nav {
	margin-left: auto;
}
.nav__list,
.nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px;
	align-items: center;
}
.nav li {
	position: relative;
}
.nav a {
	display: inline-block;
	padding: 0.5em 0.85em;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 999px;
	background-image: linear-gradient(var(--lime), var(--lime));
	background-repeat: no-repeat;
	background-position: 50% 100%;
	background-size: 0 100%;
	transition: background-size 0.35s var(--ease);
}
.nav a:hover,
.nav .current-menu-item > a {
	background-size: 100% 100%;
}
.nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	display: none;
	flex-direction: column;
	align-items: stretch;
	background: var(--ink);
	padding: 10px;
	border-radius: 0 0 22px 22px;
}
.nav .sub-menu a {
	color: var(--paper);
}
.nav .sub-menu a:hover {
	color: var(--ink);
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
	display: flex;
}
.masthead__tools {
	display: flex;
	gap: 8px;
	align-items: center;
}
.tool {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid var(--ink);
	background: transparent;
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.tool:hover,
.tool[aria-expanded="true"] {
	background: var(--ink);
	color: var(--paper);
}
.tool--menu {
	display: none;
}
.tool__bars {
	display: grid;
	gap: 5px;
	width: 18px;
}
.tool__bars span {
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.3s var(--ease);
}
.tool[aria-expanded="true"] .tool__bars span:first-child {
	transform: translateY(3.5px) rotate(45deg);
}
.tool[aria-expanded="true"] .tool__bars span:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}
.masthead__search {
	border-top: 2px solid var(--ink);
	background: var(--lime);
	padding: 22px var(--gutter);
}
.masthead__search .seek {
	max-width: 760px;
	margin: 0 auto;
}
.hw-title {
	display: none;
}

/* ---------- Search form ---------- */
.seek {
	display: flex;
	gap: 0;
	border-bottom: 3px solid var(--ink);
	align-items: center;
}
.seek__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: 400 clamp(1.15rem, 3vw, 1.6rem) / 1.2 var(--serif);
	color: var(--ink);
	padding: 0.55em 0;
}
.seek__input::placeholder {
	color: var(--ink-soft);
	opacity: 0.75;
}
.seek__input:focus {
	outline: none;
}
.seek__go {
	border: 0;
	background: var(--ink);
	color: var(--paper);
	font: 700 0.9rem/1 var(--sans);
	padding: 0.85em 1.2em;
	border-radius: 999px;
	cursor: pointer;
}
.seek__go:hover {
	background: var(--persimmon);
	color: var(--ink);
}

/* ---------- Layout ---------- */
.site-main {
	display: block;
	min-height: 50vh;
}
.wrap,
.hero,
.listing,
.page-head,
.dish__head,
.dish__layout,
.lost,
.none {
	max-width: var(--wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* ---------- Plates (round images with rim) ---------- */
.plate {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--paper-2);
	box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--ink);
	overflow: hidden;
	transition: transform 0.6s var(--ease);
}
.plate__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}
.plate--blank {
	display: grid;
	place-items: center;
}
.plate--blank::before {
	content: "";
	position: absolute;
	inset: 16%;
	border-radius: 50%;
	border: 2px dashed currentColor;
	opacity: 0.35;
}
.plate__letter {
	font-family: var(--serif);
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1;
	text-transform: uppercase;
}
.plate--tone-0 { background: var(--persimmon); color: var(--ink); }
.plate--tone-1 { background: var(--fig); color: var(--paper); }
.plate--tone-2 { background: var(--paper-2); color: var(--persimmon-text); }
.plate--tone-3 { background: var(--ink); color: var(--lime); }

/* ---------- Hero ---------- */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
	padding-top: clamp(40px, 7vw, 96px);
	padding-bottom: clamp(48px, 7vw, 96px);
}
.hero__title {
	font-size: clamp(2.5rem, 6.2vw, 5.1rem);
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: 0.35em;
}
.hero__text {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: var(--ink-soft);
	max-width: 34ch;
	margin-bottom: 1.8em;
}
.hero__dish {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 28px;
}
.hero__plate {
	position: relative;
	display: block;
	width: min(100%, 470px);
	aspect-ratio: 1;
	padding: 9%;
	text-decoration: none;
}
.hero__plate .plate {
	box-shadow: 0 0 0 10px var(--paper), 0 0 0 12px var(--ink);
}
.hero__plate:hover .plate {
	transform: rotate(-6deg) scale(1.02);
}
.hero__sun {
	position: absolute;
	width: 46%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--persimmon);
	left: -4%;
	bottom: 2%;
}
.hero__plate::after {
	content: "";
	position: absolute;
	width: 18%;
	aspect-ratio: 1;
	border-radius: 50% 0;
	background: var(--lime);
	right: 6%;
	top: 4%;
	transform: rotate(-18deg);
}
.hero__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	animation: spin 48s linear infinite;
}
.hero__ring text {
	font: 700 10.5px var(--sans);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	fill: var(--ink);
}
@keyframes spin {
	to { transform: rotate(360deg); }
}
.hero__caption {
	text-align: center;
	max-width: 30ch;
}
.hero__dish-title {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	margin: 0.25em 0 0.3em;
}
.hero__dish-title a,
.row__title a,
.pt__link,
.pairing__link {
	text-decoration: none;
}
.hero__dish-title a:hover,
.row__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--persimmon);
	text-decoration-thickness: 3px;
}

/* ---------- Tagline (category links in content only) ---------- */
.tagline {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0.6rem;
}
.tagline__link {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--persimmon-text);
	position: relative;
	padding-left: 14px;
}
.tagline__link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	border: 2px solid currentColor;
}
.tagline__link:hover {
	color: var(--ink);
}

/* ---------- Meta ---------- */
.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: inherit;
	gap: 6px 12px;
	font-size: 0.9rem;
	color: var(--ink-soft);
	margin: 0;
}
.hero__caption .meta {
	justify-content: center;
}
.meta__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--persimmon);
}

/* ---------- Listing: menu lines ---------- */
.listing {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(24px, 5vw, 72px);
	padding-top: 24px;
	padding-bottom: clamp(56px, 8vw, 110px);
	align-items: start;
}
.listing--archive {
	display: block;
	max-width: 1000px;
}
.listing__head {
	position: sticky;
	top: calc(var(--masthead-h) + 32px);
}
.listing__title {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	line-height: 0.95;
}
.listing__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 14px;
	margin-top: 22px;
	background: radial-gradient(circle at 7px 7px, var(--ink) 4px, transparent 4.5px) 0 0 / 16px 14px repeat-x;
}
.menu-list {
	border-top: 2px solid var(--ink);
}
.row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 128px;
	gap: 22px;
	align-items: center;
	padding: 26px 0;
	border-bottom: 1px solid var(--rule);
}
.row__num {
	font-family: var(--serif);
	font-size: 2.1rem;
	line-height: 1;
	color: var(--persimmon);
	align-self: start;
	padding-top: 0.15em;
}
.row__line {
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.row__title {
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
	margin: 0;
	flex: 0 1 auto;
}
.row__lead {
	flex: 1 1 24px;
	min-width: 24px;
	border-bottom: 3px dotted var(--ink-soft);
	transform: translateY(-0.3em);
	opacity: 0.6;
}
.row__time {
	flex: 0 0 auto;
	font-weight: 800;
	font-size: 0.9rem;
	white-space: nowrap;
}
.row__excerpt {
	margin: 0.55em 0 0;
	color: var(--ink-soft);
	max-width: 60ch;
	font-size: 0.98rem;
}
.row__plate,
.hero__plate,
.pt__link {
	text-decoration: none;
}
.row__plate {
	display: block;
	padding: 8px;
}
.row:hover .plate {
	transform: rotate(-8deg);
}

/* ---------- Pager ---------- */
.pager ul {
	list-style: none;
	padding: 0;
	margin: 40px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pager .page-numbers {
	display: grid;
	place-items: center;
	min-width: 48px;
	height: 48px;
	padding: 0 10px;
	border-radius: 999px;
	font-family: var(--serif);
	font-size: 1.15rem;
	text-decoration: none;
	border: 2px solid transparent;
}
.pager a.page-numbers:hover {
	border-color: var(--ink);
}
.pager .current {
	background: var(--ink);
	color: var(--paper);
}

/* ---------- Page heads ---------- */
.page-head {
	padding-top: clamp(40px, 7vw, 90px);
	padding-bottom: clamp(24px, 4vw, 48px);
}
.page-head__title {
	font-size: clamp(2.3rem, 5.5vw, 4.4rem);
	line-height: 1;
	max-width: 18ch;
}
.page-head__desc {
	color: var(--ink-soft);
	max-width: 60ch;
	font-size: 1.1rem;
}
.page-head__search {
	max-width: 640px;
	margin-top: 24px;
}
.page-head--sheet {
	max-width: 820px;
}

/* ---------- Single ---------- */
.dish__head {
	padding-top: clamp(36px, 6vw, 80px);
	padding-bottom: clamp(24px, 3vw, 40px);
	max-width: 1040px;
	text-align: center;
	display: grid;
	justify-items: center;
}
.dish__title {
	font-size: clamp(2.3rem, 6vw, 4.8rem);
	line-height: 1;
	letter-spacing: -0.02em;
	max-width: 17ch;
	margin: 0.15em 0 0.35em;
}
.dish__lede {
	font-size: clamp(1.1rem, 1.8vw, 1.3rem);
	color: var(--ink-soft);
	max-width: 52ch;
}
.dish__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 22px;
	margin-top: 6px;
}
.dish__hero {
	margin: 0 auto clamp(32px, 5vw, 64px);
	max-width: calc(var(--wrap) - 2 * var(--gutter));
	padding: 0 var(--gutter);
	box-sizing: content-box;
}
.dish__img {
	display: block;
	width: 100%;
	max-height: 640px;
	object-fit: cover;
	border-radius: 0 0 50% 50% / 0 0 26% 26%;
}
.dish__layout {
	display: grid;
	grid-template-columns: minmax(0, 720px) 320px;
	justify-content: space-between;
	gap: clamp(40px, 6vw, 88px);
	padding-bottom: clamp(56px, 8vw, 110px);
	align-items: start;
}
.dish__body {
	grid-column: 1;
	grid-row: 1;
}
.dish__talk {
	grid-column: 1;
	grid-row: 2;
}
.dish__aside {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: stretch;
}
@media (min-height: 1120px) {
	.dish__aside .pt--rail {
		position: sticky;
		top: calc(var(--masthead-h) + 28px);
	}
}

/* ---------- Entry content ---------- */
.entry-content {
	font-size: 1.125rem;
	line-height: 1.75;
}
.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}
.entry-content h2 {
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	margin-top: 1.8em;
	display: flex;
	gap: 0.45em;
	align-items: baseline;
}
.entry-content h2::before {
	content: "";
	flex: 0 0 auto;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--persimmon);
	box-shadow: 0.28em 0 0 -0.06em var(--lime);
	transform: translateY(-0.08em);
}
.entry-content h3 {
	font-size: 1.45rem;
	margin-top: 1.6em;
}
.entry-content a {
	color: var(--persimmon-text);
	text-decoration-thickness: 2px;
}
.entry-content a:hover {
	color: var(--ink);
	background: var(--lime-soft);
}
.entry-content img {
	border-radius: 6px;
}
.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}
.entry-content figcaption {
	font-size: 0.88rem;
	color: var(--ink-soft);
	margin-top: 0.6em;
}
.entry-content ul {
	list-style: none;
	padding-left: 1.6em;
}
.entry-content ul > li {
	position: relative;
	margin-bottom: 0.45em;
}
.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: -1.25em;
	top: 0.62em;
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	border: 2px solid var(--persimmon);
}
.entry-content ol {
	list-style: none;
	counter-reset: step;
	padding-left: 3em;
}
.entry-content ol > li {
	counter-increment: step;
	position: relative;
	margin-bottom: 0.9em;
}
.entry-content ol > li::before {
	content: counter(step);
	position: absolute;
	left: -2.6em;
	top: -0.05em;
	width: 1.9em;
	height: 1.9em;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font: 400 0.95rem/1 var(--serif);
}
.entry-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 0 0 0 1.6em;
	font-family: var(--serif);
	font-size: 1.45rem;
	line-height: 1.35;
	position: relative;
}
.entry-content blockquote::before {
	content: "\201C";
	position: absolute;
	left: -0.1em;
	top: -0.25em;
	font-size: 3.4em;
	line-height: 1;
	color: var(--persimmon);
}
.entry-content hr {
	border: 0;
	height: 14px;
	background: radial-gradient(circle at 7px 7px, var(--ink) 3px, transparent 3.5px) 50% 0 / 22px 14px repeat-x;
	max-width: 120px;
	margin: 2.4em auto;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}
.entry-content th,
.entry-content td {
	text-align: left;
	padding: 0.6em 0.8em;
	border-bottom: 1px solid var(--rule);
}
.entry-content th {
	border-bottom: 2px solid var(--ink);
}
.entry-content pre,
.entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
}
.entry-content .alignwide {
	margin-left: calc(-1 * clamp(0px, 4vw, 60px));
	margin-right: calc(-1 * clamp(0px, 4vw, 60px));
}
.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}
.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.4em 1em 0;
}
.entry-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.4em;
}
.page-links {
	clear: both;
	display: flex;
	gap: 10px;
	font-weight: 700;
}

/* Recipe cards from plugins: styled as a recipe notebook page */
.entry-content .wprm-recipe-container,
.entry-content .tasty-recipes,
.entry-content .mv-create-card,
.entry-content .wp-block-recipe-card {
	scroll-margin-top: calc(var(--masthead-h) + 20px);
}
.entry-content .wprm-recipe,
.entry-content .tasty-recipes,
.entry-content .mv-create-card {
	background: var(--paper-2) !important;
	border: 0 !important;
	border-radius: 0 0 46px 46px !important;
	border-top: 6px solid var(--ink) !important;
	padding: clamp(20px, 4vw, 40px) !important;
	font-family: var(--sans) !important;
	color: var(--ink) !important;
}
.entry-content .wprm-recipe-name,
.entry-content .tasty-recipes-title,
.entry-content .mv-create-title {
	font-family: var(--serif) !important;
	font-weight: 400 !important;
}
.entry-content .wprm-recipe a.wprm-recipe-link,
.entry-content .tasty-recipes-buttons a {
	border-radius: 999px !important;
	background: var(--ink) !important;
	color: var(--paper) !important;
	border-color: var(--ink) !important;
}

/* Tags */
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	align-items: center;
	padding: 24px 0;
	margin-top: 32px;
	border-top: 2px solid var(--ink);
}
.entry-tags__label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-right: 4px;
}
.entry-tags__link {
	text-decoration: none;
	font-size: 0.92rem;
	padding: 0.3em 0.8em;
	border-radius: 999px;
	border: 1.5px solid var(--ink);
}
.entry-tags__link:hover {
	background: var(--lime);
}

/* Prev / next */
.pairing {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 28px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin-bottom: 48px;
}
.pairing__link {
	display: grid;
	gap: 4px;
}
.pairing__link--next {
	text-align: right;
	grid-column: 2;
}
.pairing__label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--persimmon-text);
}
.pairing__title {
	font-family: var(--serif);
	font-size: 1.25rem;
	line-height: 1.2;
}
.pairing__link:hover .pairing__title {
	text-decoration: underline;
	text-decoration-color: var(--persimmon);
	text-decoration-thickness: 3px;
}

/* ---------- Pages ---------- */
.sheet__body {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 var(--gutter) clamp(56px, 8vw, 100px);
}
.sheet .dish__img {
	max-height: 460px;
}

/* ---------- Popular Topics ---------- */
.pt {
	--pt-gap-x: clamp(18px, 3vw, 40px);
	--pt-cols: 4;
	position: relative;
}
.pt__head {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 6px 24px;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.pt__kicker {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.pt__title {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 0.95;
}
.pt__title em {
	font-style: normal;
	position: relative;
	z-index: 0;
}
.pt__title em::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -0.08em;
	right: -0.08em;
	bottom: 0.06em;
	height: 0.32em;
	border-radius: 999px;
	background: var(--persimmon);
}
.pt__all {
	font-weight: 800;
	font-size: 0.95rem;
	text-decoration: none;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding-bottom: 4px;
	border-bottom: 2px solid currentColor;
	white-space: nowrap;
}
.pt__all:hover .ico {
	transform: translateX(4px);
}
.pt__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(36px, 4vw, 56px) var(--pt-gap-x);
}
.pt__item {
	/* grows to fill the row: no empty slots even with an odd count */
	flex: 1 1 calc((100% - (var(--pt-cols) - 1) * var(--pt-gap-x)) / var(--pt-cols));
	min-width: 0;
}
.pt__link {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 6px;
	position: relative;
}
.pt__link .plate {
	width: min(100%, 200px);
	margin-bottom: 16px;
	box-shadow: 0 0 0 6px var(--lime), 0 0 0 8px var(--ink);
}
.pt__link:hover .plate {
	transform: rotate(-10deg) scale(1.03);
}
.pt__num {
	position: absolute;
	top: 0;
	left: calc(50% - min(50%, 100px) - 4px);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--ink);
	color: var(--lime);
	font: 400 0.95rem/1 var(--serif);
	z-index: 1;
}
.pt__name {
	font-family: var(--serif);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.2;
	max-width: 22ch;
}
.pt__link:hover .pt__name {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}
.pt__meta {
	font-size: 0.82rem;
	font-weight: 700;
	opacity: 0.75;
}

/* Band variant: full-bleed lime tablecloth with scalloped edges */
.pt--band {
	background: var(--lime);
	padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px);
	margin-top: 24px;
}
.pt--band::before,
.pt--band::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 16px;
	background-repeat: repeat-x;
	background-size: 32px 16px;
}
.pt--band::before {
	top: -15px;
	background-image: radial-gradient(circle at 16px 16px, var(--lime) 15.5px, transparent 16px);
}
.pt--band::after {
	bottom: -15px;
	background-image: radial-gradient(circle at 16px 0, var(--lime) 15.5px, transparent 16px);
	z-index: 1;
}
.pt--band .pt__head,
.pt--band .pt__list {
	max-width: calc(var(--wrap) - 2 * var(--gutter));
	margin-left: auto;
	margin-right: auto;
}
.pt--band .pt__head {
	margin-bottom: clamp(36px, 5vw, 64px);
}

/* Rail variant: beside the recipe on wide screens */
.pt--rail {
	--pt-cols: 1;
}
.pt--rail .pt__head {
	grid-template-columns: 1fr;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 2px solid var(--ink);
}
.pt--rail .pt__kicker {
	color: var(--persimmon-text);
}
.pt--rail .pt__title {
	font-size: 2.3rem;
}
.pt--rail .pt__all {
	justify-self: start;
	margin-top: 10px;
	font-size: 0.88rem;
}
.pt--rail .pt__list {
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
}
.pt--rail .pt__item {
	flex: 0 0 auto;
	border-bottom: 1px dashed var(--rule);
}
.pt--rail .pt__link {
	grid-template-columns: 76px minmax(0, 1fr);
	grid-template-rows: auto auto;
	justify-items: start;
	text-align: left;
	column-gap: 18px;
	row-gap: 2px;
	padding: 16px 0 16px 6px;
	align-items: center;
}
.pt--rail .pt__link .plate {
	grid-row: 1 / 3;
	width: 70px;
	margin: 0;
	box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--ink);
}
.pt--rail .plate__letter {
	font-size: 1.6rem;
}
.pt--rail .pt__num {
	top: 10px;
	left: 0;
	width: 26px;
	height: 26px;
	font-size: 0.72rem;
	background: var(--persimmon);
	color: var(--ink);
}
.pt--rail .pt__name {
	font-size: 1.08rem;
	align-self: end;
}
.pt--rail .pt__meta {
	align-self: start;
	color: var(--ink-soft);
	opacity: 1;
}

/* ---------- Comments ---------- */
.talk {
	margin-top: 8px;
}
.talk__title,
.talk__reply {
	font-size: 1.8rem;
}
.talk__list,
.talk__list .children {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}
.talk__list .children {
	padding-left: clamp(16px, 4vw, 48px);
	margin: 0;
}
.talk__list .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--rule);
}
.talk__list .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 14px;
}
.talk__list .comment-meta {
	font-size: 0.9rem;
	color: var(--ink-soft);
}
.talk__list .fn {
	font-style: normal;
	font-weight: 800;
	color: var(--ink);
}
.talk__list .comment-metadata a {
	text-decoration: none;
}
.talk__list .reply a {
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--persimmon-text);
}
.comment-form label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 4px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 2px solid var(--ink);
	background: transparent;
	font: inherit;
	padding: 10px 2px;
	color: var(--ink);
}
.comment-form textarea {
	border: 2px solid var(--ink);
	border-radius: 0 0 28px 28px;
	padding: 14px;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	background: var(--lime-soft);
}
.comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.comment-form .comment-form-cookies-consent label {
	font-weight: 400;
}

/* ---------- Empty / 404 ---------- */
.none {
	padding-top: 40px;
	padding-bottom: 80px;
	max-width: 760px;
}
.none__title {
	font-size: 2rem;
}
.lost {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
	padding-top: clamp(48px, 8vw, 110px);
	padding-bottom: clamp(64px, 9vw, 120px);
}
.lost__plate {
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: 0 0 0 14px var(--paper-2), 0 0 0 16px var(--ink), inset 0 0 0 40px var(--paper-2);
	display: grid;
	place-items: center;
	max-width: 380px;
	width: 100%;
	justify-self: center;
}
.lost__plate span {
	font-family: var(--serif);
	font-size: clamp(3rem, 9vw, 6rem);
	color: var(--persimmon);
}

/* ---------- Footer ---------- */
.foot {
	position: relative;
	background: var(--ink);
	color: var(--paper);
	margin-top: 16px;
}
.foot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -15px;
	height: 16px;
	background: radial-gradient(circle at 16px 16px, var(--ink) 15.5px, transparent 16px) 0 0 / 32px 16px repeat-x;
}
.pt--band + .foot,
.site-main:has(> .pt--band:last-child) + .foot {
	margin-top: 0;
}
.site-main:has(> .pt--band:last-child) + .foot::before {
	background-color: var(--lime);
}
.foot__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(56px, 8vw, 96px) var(--gutter) 40px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 48px;
	align-items: start;
}
.foot .brand__img {
	height: 52px;
}
.foot__note {
	margin-top: 20px;
	max-width: 32ch;
	color: rgba(246, 241, 231, 0.72);
}
.foot-pages__list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 40px;
}
.foot-pages__list li {
	break-inside: avoid;
	border-bottom: 1px solid rgba(246, 241, 231, 0.16);
}
.foot-pages__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	font-family: var(--serif);
	font-size: 1.2rem;
	text-decoration: none;
}
.foot-pages__list a::after {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid var(--lime);
	transition: background-color 0.2s, transform 0.3s var(--ease);
}
.foot-pages__list a:hover {
	color: var(--lime);
}
.foot-pages__list a:hover::after {
	background: var(--lime);
	transform: scale(1.3);
}
.foot__base {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 22px var(--gutter) 32px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.9rem;
	color: rgba(246, 241, 231, 0.65);
	border-top: 1px solid rgba(246, 241, 231, 0.16);
}
.foot__base p {
	margin: 0;
}
.foot__top {
	text-decoration: none;
	font-weight: 700;
	color: var(--paper);
}
.foot__top:hover {
	color: var(--lime);
}
.foot :focus-visible {
	outline-color: var(--lime);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.dish__layout {
		grid-template-columns: minmax(0, 1fr);
		max-width: 820px;
	}
	.dish__body,
	.dish__talk,
	.dish__aside {
		grid-column: 1;
		grid-row: auto;
	}
	.dish__aside .pt--rail {
		position: relative;
		top: auto;
		margin-bottom: 40px;
	}
	/* The rail turns into the full-bleed table of plates under the content */
	.pt--rail {
		--pt-cols: 4;
		background: var(--lime);
		margin: 24px calc(50% - 50vw) 0;
		padding: clamp(56px, 8vw, 90px) max(var(--gutter), calc(50vw - 410px));
	}
	.pt--rail::before,
	.pt--rail::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		height: 16px;
		background-repeat: repeat-x;
		background-size: 32px 16px;
	}
	.pt--rail::before {
		top: -15px;
		background-image: radial-gradient(circle at 16px 16px, var(--lime) 15.5px, transparent 16px);
	}
	.pt--rail::after {
		bottom: -15px;
		background-image: radial-gradient(circle at 16px 0, var(--lime) 15.5px, transparent 16px);
		z-index: 1;
	}
	.pt--rail .pt__head {
		grid-template-columns: 1fr auto;
		border: 0;
		padding: 0;
		margin-bottom: 40px;
	}
	.pt--rail .pt__kicker {
		color: var(--ink);
	}
	.pt--rail .pt__title {
		font-size: clamp(2.2rem, 5vw, 3.4rem);
	}
	.pt--rail .pt__all {
		justify-self: end;
		margin-top: 0;
	}
	.pt--rail .pt__list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 40px var(--pt-gap-x);
	}
	.pt--rail .pt__item {
		flex: 1 1 calc((100% - (var(--pt-cols) - 1) * var(--pt-gap-x)) / var(--pt-cols));
		border: 0;
	}
	.pt--rail .pt__link {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding: 0;
	}
	.pt--rail .pt__link .plate {
		grid-row: auto;
		width: min(100%, 180px);
		margin-bottom: 14px;
		box-shadow: 0 0 0 6px var(--lime), 0 0 0 8px var(--ink);
	}
	.pt--rail .plate__letter {
		font-size: clamp(2rem, 5vw, 3.2rem);
	}
	.pt--rail .pt__num {
		top: 0;
		left: calc(50% - min(50%, 90px) - 4px);
		width: 36px;
		height: 36px;
		font-size: 0.9rem;
		background: var(--ink);
		color: var(--lime);
	}
	.pt--rail .pt__name,
	.pt--rail .pt__meta {
		align-self: auto;
	}
	.pt--rail .pt__meta {
		color: inherit;
		opacity: 0.75;
	}
}

@media (max-width: 900px) {
	:root {
		--masthead-h: 64px;
	}
	.brand__img {
		height: 34px;
	}
	.tool {
		width: 42px;
		height: 42px;
	}
	.tool--menu {
		display: grid;
	}
	.nav {
		position: fixed;
		inset: var(--masthead-h) 0 0 0;
		background: var(--ink);
		color: var(--paper);
		padding: 40px var(--gutter);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
		overflow-y: auto;
		margin: 0;
	}
	.admin-bar .nav {
		top: calc(var(--masthead-h) + var(--wp-admin--admin-bar--height, 46px));
	}
	.is-menu-open .nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.is-menu-open {
		overflow: hidden;
	}
	.nav__list,
	.nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.nav a {
		display: block;
		font-family: var(--serif);
		font-weight: 400;
		font-size: 2rem;
		padding: 14px 0;
		border-bottom: 1px solid rgba(246, 241, 231, 0.16);
		border-radius: 0;
		background: none;
	}
	.nav a:hover {
		color: var(--lime);
	}
	.nav .sub-menu {
		position: static;
		display: flex;
		background: none;
		padding: 0 0 0 20px;
	}
	.nav .sub-menu a {
		font-size: 1.4rem;
	}
	.masthead__tools {
		margin-left: auto;
	}
	.hero {
		grid-template-columns: 1fr;
	}
	.hero__plate {
		width: min(82%, 380px);
	}
	.listing {
		grid-template-columns: 1fr;
	}
	.listing__head {
		position: static;
	}
	.pt,
	.pt--rail {
		--pt-cols: 2;
	}
	.foot__inner {
		grid-template-columns: 1fr;
	}
	.lost {
		grid-template-columns: 1fr;
	}
	.lost__plate {
		max-width: 240px;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 1rem;
	}
	.row {
		grid-template-columns: minmax(0, 1fr) 92px;
		gap: 16px;
		padding: 22px 0;
	}
	.row__num {
		display: none;
	}
	.row__line {
		display: block;
	}
	.row__lead {
		display: none;
	}
	.row__time {
		display: inline-block;
		margin-top: 6px;
		font-size: 0.82rem;
	}
	.row__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 0.92rem;
	}
	.row__plate {
		padding: 6px;
	}
	.row__plate .plate {
		box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--ink);
	}
	.pt__head,
	.pt--rail .pt__head {
		grid-template-columns: 1fr;
	}
	.pt__all,
	.pt--rail .pt__all {
		justify-self: start;
	}
	.pt__list,
	.pt--rail .pt__list {
		row-gap: 32px;
		--pt-gap-x: 18px;
	}
	.pt__link .plate,
	.pt--rail .pt__link .plate {
		box-shadow: 0 0 0 4px var(--lime), 0 0 0 5.5px var(--ink);
		margin-bottom: 10px;
	}
	.pt__num,
	.pt--rail .pt__num {
		width: 30px;
		height: 30px;
		font-size: 0.78rem;
		left: -2px;
	}
	.pt__name {
		font-size: 1rem;
	}
	.pairing {
		grid-template-columns: 1fr;
	}
	.pairing__link--next {
		grid-column: 1;
	}
	.foot-pages__list {
		columns: 1;
	}
	.dish__img {
		border-radius: 0 0 50% 50% / 0 0 18% 18%;
	}
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 0 0 1em;
	}
}

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

@media print {
	.masthead,
	.foot,
	.pt,
	.dish__aside,
	.talk,
	.pairing,
	.jump {
		display: none !important;
	}
	body {
		background: #fff;
	}
}
