/*
Theme Name: Cohez Larder
Theme URI: https://cohez.com/
Author: Cohez
Description: A warm, editorial recipe theme for Cohez. Kitchen-ticket recipe cards, arched hero images, a shuffled Popular Topics block beside or below every post, and a raw "Header" widget area for Analytics and AdSense code.
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: cohez
Tags: blog, food-and-drink, two-columns, right-sidebar, custom-logo, featured-images, translation-ready
*/

/* ---------- Fonts (bundled, no third-party requests) ---------- */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
	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: "Fraunces";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("assets/fonts/fraunces-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/fraunces-italic-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/figtree-latin.woff2") format("woff2");
	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: "Figtree";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/figtree-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
	/* primitives */
	--paper: #f4ece0;
	--paper-2: #ebdfcc;
	--card: #fffaf2;
	--cream: #fff6e8;
	--ink: #1e2619;
	--ink-soft: #4a5243;
	--paprika: #b83a1b;
	--paprika-deep: #8c2a12;
	--saffron: #e3a033;
	--saffron-soft: #f6dcae;
	--sage: #6f7f5c;
	--sage-light: #a9b98f;
	--line: rgba(30, 38, 25, 0.16);
	--line-strong: rgba(30, 38, 25, 0.55);

	/* type */
	--f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

	/* rhythm */
	--gutter: clamp(18px, 4vw, 40px);
	--r-s: 10px;
	--r-m: 18px;
	--r-l: 28px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--shadow: 0 1px 0 rgba(30, 38, 25, 0.06), 0 14px 30px -18px rgba(30, 38, 25, 0.45);
}

/* ---------- 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-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* faint linen grain */
	background-image: radial-gradient(rgba(30, 38, 25, 0.035) 1px, transparent 1px);
	background-size: 5px 5px;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--saffron); color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--saffron);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	font-optical-sizing: auto;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

.wrap {
	width: 100%;
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--cream);
	padding: 10px 16px; border-radius: var(--r-s);
	text-decoration: none; font-weight: 600;
	transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.kicker {
	font-family: var(--f-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--paprika);
	margin: 0 0 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.kicker::before {
	content: "";
	width: 22px; height: 2px;
	background: currentColor;
	border-radius: 2px;
}

/* ---------- Brand mark ---------- */
.mark { width: 44px; height: 44px; flex: none; }
.mark__disc { fill: var(--paprika); }
.mark__c { stroke: var(--cream); }
.mark__yolk { fill: var(--saffron); }
.mark__leaf { fill: var(--sage-light); }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
}
.brand__word {
	font-family: var(--f-display);
	font-weight: 650;
	font-size: 2rem;
	letter-spacing: -0.035em;
	line-height: 1;
	font-variation-settings: "opsz" 96;
}
.brand__dot { color: var(--paprika); }
.brand__img { max-height: 56px; width: auto; }
.brand:hover .mark { transform: rotate(-12deg); }
.brand .mark { transition: transform 0.45s var(--ease); }

/* ---------- Masthead ---------- */
.masthead {
	position: relative;
	background: var(--paper);
	border-bottom: 2px solid var(--ink);
}
.masthead::after {
	/* the tear line of an order ticket */
	content: "";
	position: absolute; left: 0; right: 0; bottom: -9px;
	height: 5px;
	background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px);
	opacity: 0.85;
}
.masthead__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 84px;
}
.masthead__tagline {
	margin: 0;
	justify-self: center;
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--ink-soft);
}
.search-toggle {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 44px; padding: 0 18px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: 600 0.9rem var(--f-body);
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.search-toggle:hover,
.search-toggle[aria-expanded="true"] { background: var(--ink); color: var(--cream); }

.masthead__search {
	border-top: 1px solid var(--line);
	padding: 18px 0 26px;
	background: var(--paper-2);
}

/* ---------- Search form ---------- */
.searchform { display: flex; gap: 10px; max-width: 640px; }
.searchform__input {
	flex: 1; min-width: 0;
	min-height: 50px;
	padding: 0 18px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--card);
	color: var(--ink);
	font: 1rem var(--f-body);
}
.searchform__input::placeholder { color: #6d7266; }
.searchform__btn {
	min-height: 50px; padding: 0 24px;
	border: 0; border-radius: 999px;
	background: var(--paprika); color: var(--cream);
	font: 700 0.95rem var(--f-body);
	cursor: pointer;
	transition: background 0.2s var(--ease);
}
.searchform__btn:hover { background: var(--paprika-deep); }

.site-main { display: block; }
.site-main > .wrap:last-child .popular { margin-bottom: 0; }

/* ---------- Tags / pills ---------- */
.tag {
	display: inline-flex; align-items: center;
	padding: 4px 11px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	font-size: 0.72rem; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.tag:hover { background: var(--ink); color: var(--cream); }
.tag--solid { background: var(--saffron); border-color: var(--saffron); }
.tag--solid:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- Lead (home) ---------- */
.lead {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 88px);
}
.lead__title {
	font-size: clamp(2.3rem, 5.2vw, 4.5rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-variation-settings: "opsz" 144;
	margin-bottom: 0.4em;
}
.lead__title a {
	text-decoration: none;
	background-image: linear-gradient(var(--saffron), var(--saffron));
	background-size: 0 0.12em;
	background-position: 0 92%;
	background-repeat: no-repeat;
	transition: background-size 0.5s var(--ease);
}
.lead__title a:hover { background-size: 100% 0.12em; }
.lead__excerpt { font-size: 1.18rem; color: var(--ink-soft); max-width: 52ch; }
.lead__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
	font-size: 0.9rem; color: var(--ink-soft);
	margin: 1.4rem 0 2rem;
}
.lead__cta a {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	background: var(--ink); color: var(--cream);
	border-radius: 999px;
	font-weight: 700; text-decoration: none;
	box-shadow: 5px 5px 0 var(--saffron);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.lead__cta a:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--saffron); }

.lead > a { display: block; }
.lead__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 4.7;
	border-radius: 999px 999px var(--r-l) var(--r-l);
	background: var(--paper-2);
	box-shadow: 0 0 0 10px var(--card), 0 0 0 12px var(--line-strong);
	margin: 12px;
}
.lead__media > img,
.lead__media > .placeholder {
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: inherit;
}
.lead__stamp {
	position: absolute;
	left: -26px; bottom: 42px;
	width: 132px; height: 132px;
	border-radius: 50%;
	background: var(--saffron);
	color: var(--ink);
	display: grid; place-items: center;
	box-shadow: var(--shadow);
}
.lead__stamp svg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	font: 700 9.5px var(--f-body);
	letter-spacing: 0.06em;
	fill: var(--ink);
	animation: cohez-spin 26s linear infinite;
}
.lead__stamp-no {
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.25rem;
	font-weight: 600;
}
@keyframes cohez-spin { to { transform: rotate(360deg); } }

/* ---------- Section heads ---------- */
.section-head {
	display: flex; align-items: center; gap: 20px;
	margin: 0 0 28px;
}
.section-head__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; font-style: italic; font-weight: 500; }
.section-head__rule { flex: 1; height: 2px; background: var(--ink); position: relative; }
.section-head__rule::after {
	content: ""; position: absolute; right: 0; top: 50%;
	width: 12px; height: 12px; margin-top: -6px;
	border-radius: 50%; background: var(--paprika);
}

.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 28px; }
.page-head__title { font-size: clamp(2.1rem, 5vw, 3.8rem); letter-spacing: -0.03em; margin: 0; }
.page-head__desc { max-width: 62ch; color: var(--ink-soft); margin-top: 14px; font-size: 1.1rem; }
.page-head__search { margin-top: 26px; }
.page-head--404 .page-head__title { font-style: italic; }
.empty { padding-block: 64px; }
.empty__text { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- Ticket cards ---------- */
.feed { padding-bottom: 24px; }
.tickets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.6vw, 34px);
}
.ticket {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--card);
	border-radius: var(--r-m);
	box-shadow: var(--shadow);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ticket:hover { transform: translateY(-5px) rotate(-0.35deg); box-shadow: 0 22px 40px -22px rgba(30, 38, 25, 0.55); }
.ticket__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--r-m) var(--r-m) 0 0;
	background: var(--paper-2);
}
.ticket__media img,
.ticket__media .placeholder {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.ticket:hover .ticket__media img { transform: scale(1.05); }
.ticket__body {
	position: relative;
	flex: 1;
	display: flex; flex-direction: column;
	padding: 22px 22px 18px;
	border-top: 2px dashed var(--line-strong);
}
/* punched notches where the ticket tears */
.ticket__body::before,
.ticket__body::after {
	content: "";
	position: absolute; top: -11px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--paper);
}
.ticket__body::before { left: -10px; }
.ticket__body::after { right: -10px; }
.ticket__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ticket__no {
	font-family: var(--f-display);
	font-style: italic;
	font-weight: 600;
	color: var(--paprika);
	font-size: 1rem;
}
.ticket__title { font-size: 1.38rem; line-height: 1.18; margin-bottom: 10px; }
.ticket__title a { text-decoration: none; }
.ticket__title a:hover { color: var(--paprika); }
.ticket__title a::after { /* whole card is clickable */
	content: ""; position: absolute; inset: 0; border-radius: var(--r-m); z-index: 1;
}
.ticket__meta .tag { position: relative; z-index: 2; }
.ticket__excerpt { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 16px; }
.ticket__foot {
	margin: auto 0 0;
	display: flex; justify-content: space-between; gap: 10px;
	font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--sage);
}

/* placeholder for posts without a featured image */
.placeholder {
	display: grid; place-items: center;
	width: 100%; height: 100%;
	min-height: 100%;
	font-family: var(--f-display);
	font-size: clamp(3rem, 8vw, 5rem);
	font-style: italic;
	color: var(--cream);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 12px, transparent 12px 24px);
}
.placeholder--paprika { background-color: var(--paprika); }
.placeholder--saffron { background-color: var(--saffron); color: var(--ink); }
.placeholder--sage { background-color: var(--sage); }
.placeholder--ink { background-color: var(--ink); }

/* ---------- Pagination ---------- */
.pager { margin: 48px 0 8px; }
.pager ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.pager li > .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 46px; min-height: 46px; padding: 0 14px;
	border: 2px solid var(--ink); border-radius: 999px;
	text-decoration: none; font-weight: 700; white-space: nowrap;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.pager li > a.page-numbers:hover,
.pager li > .page-numbers.current { background: var(--ink); color: var(--cream); }
.pager li > .page-numbers.dots { border-color: transparent; }

/* ---------- Popular Topics ---------- */
.popular { margin: clamp(40px, 6vw, 80px) 0; }
.popular__title { margin: 0; }

.popular--band,
.popular--grid {
	position: relative;
	background: var(--ink);
	color: var(--cream);
	border-radius: var(--r-l);
	padding: clamp(28px, 4.5vw, 56px);
	overflow: hidden;
}
.popular--band::before {
	/* big decorative ring echoing the mark */
	content: "";
	position: absolute; right: -120px; top: -120px;
	width: 340px; height: 340px;
	border-radius: 50%;
	border: 46px solid rgba(227, 160, 51, 0.12);
	pointer-events: none;
}
.popular--band .popular__head,
.popular--grid .popular__head { margin-bottom: 30px; position: relative; }
.popular--band .kicker,
.popular--grid .kicker { color: var(--saffron); }
.popular--band .popular__title,
.popular--grid .popular__title { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; font-weight: 500; color: var(--cream); }

.popular__list { list-style: none; margin: 0; padding: 0; }
.popular--band .popular__list,
.popular--grid .popular__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	position: relative;
}
.pop a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pop__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--r-m);
	background: rgba(255, 246, 232, 0.08);
}
.pop__media img,
.pop__media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pop a:hover .pop__media img { transform: scale(1.06); }
.pop__text { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; }
.pop__no {
	flex: none;
	display: grid; place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--saffron);
	color: var(--ink);
	font: italic 600 0.95rem var(--f-display);
}
.pop__title {
	font-family: var(--f-display);
	font-weight: 550;
	font-size: 1.08rem;
	line-height: 1.25;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.popular--band .pop a:hover .pop__title,
.popular--grid .pop a:hover .pop__title { color: var(--saffron-soft); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* rail: beside the article */
.popular--rail {
	margin: 0;
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--r-l);
	padding: 24px 22px 14px;
	box-shadow: 8px 8px 0 var(--saffron);
}
.popular--rail .popular__head { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px dashed var(--line-strong); }
.popular--rail .popular__title { font-size: 1.7rem; font-style: italic; font-weight: 500; }
.popular--rail .pop + .pop { border-top: 1px solid var(--line); }
.popular--rail .pop a { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; }
.popular--rail .pop__media { flex: none; width: 76px; aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); }
.popular--rail .pop__media .placeholder { font-size: 1.8rem; }
.popular--rail .pop__text { padding: 0; gap: 10px; align-items: baseline; }
.popular--rail .pop__no { width: auto; height: auto; background: none; color: var(--paprika); font-size: 1rem; }
.popular--rail .pop__title { font-size: 1rem; }
.popular--rail .pop a:hover .pop__title { color: var(--paprika); }

/* ---------- Single recipe ---------- */
.recipe__head {
	max-width: 980px;
	text-align: center;
	padding-top: clamp(36px, 5vw, 64px);
	padding-bottom: clamp(24px, 3vw, 36px);
}
.crumbs {
	display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 22px;
}
.crumbs__link { text-decoration: none; color: var(--paprika); }
.crumbs__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.recipe__title {
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-variation-settings: "opsz" 144;
}
.recipe__dek { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; margin-inline: auto; }
.recipe__meta {
	display: inline-flex; flex-wrap: wrap; justify-content: center;
	margin-top: 10px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	overflow: hidden;
	font-size: 0.85rem; font-weight: 600;
}
.recipe__meta-item { padding: 8px 18px; }
.recipe__meta-item + .recipe__meta-item { border-left: 2px solid var(--ink); }

.recipe__hero { max-width: 1180px; margin: 0 auto clamp(32px, 5vw, 56px); }
.recipe__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 220px 220px var(--r-l) var(--r-l) / 160px 160px var(--r-l) var(--r-l);
	box-shadow: 14px 14px 0 var(--saffron);
}

.recipe__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.recipe__body { min-width: 0; }
.recipe__aside { position: sticky; top: 24px; }

/* ---------- Prose ---------- */
.prose { font-size: 1.125rem; line-height: 1.78; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose > p:first-child::first-letter {
	float: left;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 4.2em;
	line-height: 0.82;
	margin: 0.08em 0.1em 0 0;
	color: var(--paprika);
}
.prose h2 {
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	margin-top: 2em;
	padding-top: 0.9em;
	border-top: 2px dashed var(--line-strong);
}
.prose h3 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.2rem; margin-top: 1.4em; }
.prose a {
	color: var(--paprika-deep);
	text-decoration: underline;
	text-decoration-color: var(--saffron);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--paprika); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li + li { margin-top: 0.45em; }
.prose ul > li::before {
	content: "";
	position: absolute; left: 0.25em; top: 0.68em;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--saffron);
	box-shadow: 0 0 0 3px var(--saffron-soft);
}
.prose ol { padding-left: 0; list-style: none; counter-reset: step; }
.prose ol > li { position: relative; padding-left: 3em; counter-increment: step; min-height: 2.2em; }
.prose ol > li + li { margin-top: 0.9em; }
.prose ol > li::before {
	content: counter(step);
	position: absolute; left: 0; top: 0.05em;
	width: 2.1em; height: 2.1em;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--ink); color: var(--cream);
	font: italic 600 0.95em var(--f-display);
}
.prose blockquote {
	margin-inline: 0;
	padding: 0.4em 0 0.4em 1.2em;
	border-left: 4px solid var(--paprika);
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.35em;
	line-height: 1.45;
}
.prose img, .prose figure img { border-radius: var(--r-m); }
.prose figure { margin-inline: 0; }
.prose figcaption, .wp-element-caption {
	font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.6em; text-align: center;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper-2); font-weight: 700; }
.prose hr { border: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.prose code { background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 6px; font-size: 0.9em; }
.prose .alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.prose .alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-image.alignwide, .prose .alignwide { margin-inline: 0; }

/* Recipe plugin cards (WP Recipe Maker, Tasty Recipes) */
.prose .wprm-recipe-container,
.prose .tasty-recipes {
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--r-l);
	padding: clamp(18px, 3vw, 32px);
	box-shadow: 8px 8px 0 var(--saffron);
}

.page-links { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 700; }

.below-post { margin-top: 40px; }

/* prev / next */
.post-nav {
	display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
	margin-top: 56px; padding-top: 28px;
	border-top: 2px solid var(--ink);
}
.post-nav__item {
	padding: 18px 20px;
	background: var(--card);
	border-radius: var(--r-m);
	box-shadow: var(--shadow);
}
.post-nav__item--next { text-align: right; }
.post-nav__label {
	display: block;
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--sage);
	margin-bottom: 6px;
}
.post-nav__item a {
	font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25;
	text-decoration: none;
}
.post-nav__item a:hover { color: var(--paprika); }

/* ---------- Footer ---------- */
.colophon {
	margin-top: clamp(40px, 5vw, 64px);
	background: var(--paprika-deep);
	color: var(--cream);
	position: relative;
}
.colophon::before {
	/* scalloped top edge like a tart tin */
	content: "";
	position: absolute; left: 0; right: 0; top: -14px; height: 15px;
	background: radial-gradient(circle at 14px 15px, var(--paprika-deep) 13px, transparent 14px) 0 0 / 28px 15px repeat-x;
}
.colophon__inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
	padding-top: 56px; padding-bottom: 36px;
}
.colophon .brand { color: var(--cream); }
.colophon .mark__disc { fill: var(--cream); }
.colophon .mark__c { stroke: var(--paprika-deep); }
.colophon .brand__dot { color: var(--saffron); }
.colophon__note { margin: 14px 0 0; font-family: var(--f-display); font-style: italic; opacity: 0.85; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a, .footer-link, .menu-link { color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--saffron); }
.colophon__base {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding-top: 20px; padding-bottom: 28px;
	border-top: 1px solid rgba(255, 246, 232, 0.2);
	font-size: 0.88rem;
}
.colophon__base p { margin: 0; opacity: 0.85; }
.to-top { color: var(--cream); text-decoration: none; font-weight: 700; }
.to-top:hover { color: var(--saffron); }

/* ---------- WordPress core ---------- */
.alignnone { margin: 0; }
.sticky .ticket__no::after { content: " \2605"; }
.bypostauthor { display: block; }
.gallery-caption { font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.recipe__layout { grid-template-columns: minmax(0, 1fr); }
	.recipe__aside { position: static; }
	.popular--rail { padding: 24px; }
	.popular--rail .popular__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
	.popular--rail .pop + .pop { border-top: 0; }
	.popular--rail .pop { border-bottom: 1px solid var(--line); }
	.popular--rail .pop:nth-last-child(-n+2) { border-bottom: 0; }
	.prose { max-width: none; }
}

@media (max-width: 1000px) {
	.tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.popular--band .popular__list,
	.popular--grid .popular__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.masthead__inner { grid-template-columns: 1fr auto; min-height: 72px; }
	.masthead__tagline { display: none; }
	.lead { grid-template-columns: minmax(0, 1fr); }
	.lead__media { order: -1; aspect-ratio: 4 / 3.6; max-width: 560px; margin-inline: auto; width: calc(100% - 24px); }
	.lead > a { order: -1; }
	.lead__stamp { width: 104px; height: 104px; left: -8px; bottom: 18px; }
	.lead__stamp svg { font-size: 9px; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.brand__word { font-size: 1.7rem; }
	.mark { width: 38px; height: 38px; }
	.search-toggle__label { display: none; }
	.search-toggle { width: 46px; padding: 0; justify-content: center; }
	.tickets { grid-template-columns: minmax(0, 1fr); }
	.popular--band .popular__list,
	.popular--grid .popular__list { gap: 18px 14px; }
	.pop__text { flex-direction: column; gap: 8px; }
	.pop__title { font-size: 0.98rem; }
	.popular--rail .popular__list { grid-template-columns: minmax(0, 1fr); }
	.popular--rail .pop:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
	.popular--rail .pop:last-child { border-bottom: 0; }
	.popular--rail .pop__text { flex-direction: row; }
	.recipe__head { text-align: left; }
	.crumbs { justify-content: flex-start; }
	.recipe__meta { display: flex; justify-content: flex-start; border-radius: var(--r-m); }
	.recipe__meta-item { padding: 6px 14px; }
	.recipe__hero img { border-radius: 120px 120px var(--r-m) var(--r-m) / 80px 80px var(--r-m) var(--r-m); box-shadow: 8px 8px 0 var(--saffron); }
	.prose { font-size: 1.06rem; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav__item--next { text-align: left; }
	.searchform { flex-direction: column; }
	.colophon__base { flex-direction: column; align-items: flex-start; }
}

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

@media print {
	.masthead__search, .search-toggle, .recipe__aside, .popular, .post-nav, .colophon, .skip-link { display: none !important; }
	body { background: #fff; }
}
