/* ==========================================================
   Freya Dishes — theme styles
   Colors & font come from Customizer as CSS variables:
   --accent --dark --soft --bg --font
   ========================================================== */

:root {
	--accent: #F5A524;
	--dark: #1C1C1C;
	--soft: #F6F5F2;
	--bg: #FFFFFF;
	--font: "Outfit", system-ui, sans-serif;
	--text: #2A2A2A;
	--muted: #6E6E6E;
	--line: #ECEAE5;
	--radius: 22px;
	--radius-sm: 14px;
	--container: 1240px;
	--shadow: 0 10px 30px rgba(20, 20, 20, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { color: var(--dark); line-height: 1.15; font-weight: 600; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.2em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.accent { color: var(--accent-strong, var(--accent)); }
/* On the dark footer the bright palette color is readable as is. */
.footer-card .accent, .site-footer .accent { color: var(--accent); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 10px; left: 10px;
	background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 30px;
}

/* ---------- Pill buttons ---------- */
.pill, .pill-btn, .wp-block-button__link, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
	background: var(--dark); color: #fff;
	padding: 7px 7px 7px 20px; border-radius: 999px; border: 0;
	font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer;
	transition: transform .15s ease, background .15s ease;
}
.pill:hover, .pill-btn:hover, input[type="submit"]:hover { color: #fff; transform: translateY(-1px); }
.pill__icon {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: #fff; color: var(--dark); flex: none;
}
.pill--block { display: flex; width: 100%; }
.pill--accent { background: var(--accent); color: var(--dark); }
.pill--accent:hover { color: var(--dark); }
.pill--outline { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 1.5px var(--dark); }
.pill--outline:hover { color: var(--dark); background: var(--soft); }
.pill--outline .pill__icon { background: var(--dark); color: #fff; }
.pill-btn, input[type="submit"] { padding: 14px 28px; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--bg);
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-brand { flex: none; }
.site-brand img, .custom-logo { max-height: 52px; width: auto; }
.site-title { font-size: 26px; font-weight: 700; letter-spacing: .02em; color: var(--dark); }

/* Theme logo: icon + two-tone text */
.brand-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); }
.brand-logo:hover { color: var(--dark); }
.brand-logo__mark {
	width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
	background: var(--accent); color: var(--dark); transform: rotate(-6deg);
}
.brand-logo__text { font-size: 25px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.brand-logo__text .accent { color: var(--accent-strong, var(--accent)); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: flex; align-items: center; gap: 6px; padding: 8px 16px;
	font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--dark);
}
.site-nav .menu a:hover { color: var(--accent-strong, var(--accent)); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a { font-weight: 700; }
.site-nav .current-menu-item > a::before,
.site-nav .current-menu-ancestor > a::before,
.site-nav .current_page_item > a::before {
	content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-size: 15px; }
.site-nav__search { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.search-form { position: relative; display: flex; align-items: center; }
.search-form label { flex: 1; }
.search-field {
	width: 100%; height: 44px; padding: 0 48px 0 18px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--soft); font-size: 15px;
	-webkit-appearance: none; appearance: none;
}
.search-field:focus { outline: none; border-color: var(--accent); background: #fff; }
.search-submit {
	position: absolute; right: 4px; width: 36px; height: 36px; border-radius: 50%; border: 0;
	background: var(--dark); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.header-search { width: 230px; }

.icon-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: var(--dark); color: #fff; cursor: pointer;
}
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Sections & headings ---------- */
.section { padding-block: 56px 16px; }
.section--tight { padding-top: 12px; }
.section--row { padding-top: 40px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-bottom: 26px; }
.section-title--center { text-align: center; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head .section-title { margin: 0; }
.section-more { display: flex; justify-content: center; margin-top: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.eyebrow { font-size: 15px; color: var(--muted); margin-bottom: 10px; font-weight: 500; }

/* ---------- Home hero ---------- */
.hero { padding-top: 24px; }
.hero__card {
	display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: 24px;
	background: var(--soft); border-radius: calc(var(--radius) + 10px); padding: 16px; min-height: 440px;
}
.hero__text { padding: 40px 0 40px 44px; align-self: center; }
.hero__title { font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; line-height: 1.05; margin-bottom: 18px; }
.hero__title .accent { display: inline; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 440px; margin-bottom: 26px; }
.hero__media { position: relative; min-height: 408px; border-radius: var(--radius); overflow: hidden; background: #e9e6df; }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Recipe slider: images cross-fade with a slow zoom */
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent); pointer-events: none; }
.hero-slide__caption {
	position: absolute; left: 18px; bottom: 18px; right: 120px; z-index: 2;
	display: flex; align-items: center; gap: 14px; max-width: 420px;
	background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	padding: 10px 10px 10px 18px; border-radius: 18px; color: var(--dark);
	transform: translateY(10px); opacity: 0; transition: transform .6s ease .35s, opacity .6s ease .35s;
}
.hero-slide.is-active .hero-slide__caption { transform: none; opacity: 1; }
.hero-slide__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hero-slide__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-ink, var(--accent)); }
.hero-slide__title { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-slide__meta { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.hero-slide__go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; margin-left: auto; }
.hero-slide:hover .hero-slide__go { background: var(--accent); color: var(--dark); }
.hero-dots { position: absolute; right: 18px; bottom: 34px; z-index: 3; display: flex; gap: 6px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .3s ease, background .3s ease; }
.hero-dot.is-active { width: 24px; background: #fff; }

/* ---------- Category chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 40px; max-width: 900px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
	background: var(--soft); color: var(--dark); font-size: 15px; font-weight: 500;
	border: 1px solid transparent; transition: .15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--dark); }
.chip.is-active { background: var(--dark); color: #fff; }
.chip .icon { color: var(--accent); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	display: flex; flex-direction: column; gap: 16px; padding: 18px;
	background: var(--soft); border-radius: var(--radius);
	transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__title {
	font-size: 21px; font-weight: 600; line-height: 1.25; margin: 4px 4px 0; text-align: center;
	height: 2.5em; overflow: hidden;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.card__title a:hover { color: var(--dark); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.card__media {
	position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
	aspect-ratio: 4 / 4.2; background: #e9e6df;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent); }
.card__badge {
	position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px;
	background: #fff; color: var(--dark); font-size: 12.5px; font-weight: 500;
	padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.card .pill { margin-top: auto; }

.card--accent { background: var(--accent); }
.card--accent .card__title, .card--accent .card__title a { color: var(--dark); }
.card--accent .card__excerpt { color: var(--dark); font-size: 15px; line-height: 1.55; margin: 0 4px; }
.card--accent .card__media { aspect-ratio: 4 / 3; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center;
	background: var(--soft); font-weight: 600; font-size: 15px;
}
.pagination .page-numbers.current { background: var(--dark); color: #fff; }

/* ---------- Archive / page heads ---------- */
.page-head { padding-top: 48px; padding-bottom: 8px; text-align: center; }
.page-head__title { font-size: clamp(34px, 5vw, 56px); font-weight: 700; }
.page-head__desc { color: var(--muted); max-width: 680px; margin: 0 auto 26px; }
.page-head__search { max-width: 520px; margin: 0 auto 30px; }
.page-head--404 { padding-block: 80px 60px; }
.empty { text-align: center; padding: 40px 0 60px; max-width: 520px; margin: 0 auto; }

/* ---------- Single recipe hero ---------- */
.post-hero { padding-top: 24px; }
.post-hero__card {
	display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
	background: var(--soft); border-radius: calc(var(--radius) + 6px); overflow: hidden;
}
.post-hero__card--noimg { grid-template-columns: 1fr; }
.post-hero__text { padding: 52px 48px 44px 52px; display: flex; flex-direction: column; justify-content: center; }
.post-hero__title { font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; line-height: 1.06; margin-bottom: 22px; }
.post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.post-hero__meta > * { display: inline-flex; align-items: center; gap: 7px; }
.post-hero__meta a { color: var(--dark); font-weight: 500; }
.post-hero__meta .avatar { width: 32px; height: 32px; border-radius: 50%; }
.post-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.post-hero__media img { width: 100%; height: 100%; min-height: 380px; max-height: 520px; object-fit: cover; }

.meta-bar {
	list-style: none; margin: 22px 0 0; padding: 18px 26px;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px;
	border: 1px solid var(--line); border-radius: var(--radius);
}
.meta-bar li { display: flex; align-items: center; gap: 12px; }
.meta-bar__icon {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent);
}
.meta-bar__text { display: flex; flex-direction: column; line-height: 1.3; }
.meta-bar__label { font-size: 13px; color: var(--muted); }
.meta-bar strong { color: var(--dark); font-weight: 600; font-size: 16px; }

/* ---------- Single layout ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 44px; }
.has-sidebar .post-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.post-main { max-width: 780px; width: 100%; }
body:not(.has-sidebar) .post-main { margin-inline: auto; }

.post-sidebar { display: flex; flex-direction: column; gap: 22px; }

/* Chef card (sidebar) — photo with name overlay, like the inspiration */
.chef-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--soft); }
.chef-card__img, .chef-card .avatar { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chef-card__overlay {
	position: absolute; inset: auto 0 0 0; padding: 50px 20px 18px; display: flex; flex-direction: column;
	background: linear-gradient(to top, rgba(0,0,0,.65), transparent); color: #fff; line-height: 1.25;
}
.chef-card__label { font-size: 13px; opacity: .85; }
.chef-card__name { font-size: 22px; font-weight: 700; }
.chef-card__more {
	position: absolute; top: 14px; right: 14px; font-size: 13px; font-weight: 600; background: #fff; color: var(--dark);
	padding: 5px 12px; border-radius: 999px;
}
.chef-card:hover .chef-card__img { transform: scale(1.03); }
.chef-card__img { transition: transform .4s ease; }
.chef-card__bio { font-size: 15px; color: var(--muted); line-height: 1.6; margin: -8px 4px 0; }

/* Meet the chef (homepage) */
.meet-chef { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; background: var(--soft); border-radius: calc(var(--radius) + 6px); padding: 28px; }
.meet-chef__img, .meet-chef .avatar { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--radius); }
.meet-chef__bio { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.meet-chef .section-title { margin-bottom: 14px; }
.post-sidebar > :last-child { position: sticky; top: 100px; }
.author-card { background: var(--soft); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.author-card .avatar { width: 64px; height: 64px; border-radius: 50%; }
.author-card p { margin: 0; }
.author-card__label { font-size: 13px; color: var(--muted); }
.author-card__name { font-weight: 700; font-size: 18px; color: var(--dark); }
.author-card__bio { grid-column: 1 / -1; font-size: 15px; color: var(--muted); line-height: 1.6; }

.widget { background: var(--soft); border-radius: var(--radius); padding: 22px; font-size: 15px; }
.widget-title { font-size: 20px; margin-bottom: 14px; }
.widget ul { margin: 0; padding-left: 18px; }
.mini-list__item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 0; font-weight: 500; line-height: 1.35; }
.mini-list__item + .mini-list__item { border-top: 1px solid var(--line); }
.mini-list__item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }

/* Any posts list added as a widget (Latest Posts block, old theme widgets…):
   compact rows — small square photo + title — instead of huge stacked images. */
.widget h2, .widget .wp-block-heading { font-size: 20px; margin: 0 0 14px; }
.widget img { max-width: 100%; height: auto; border-radius: 12px; }
.widget .wp-block-latest-posts, .widget .wp-block-post-template, .widget ul:has(li img) { list-style: none; margin: 0; padding: 0; }
/* "Grid" / "columns-2" Latest Posts in a narrow sidebar = squeezed mess: always one clean list. */
.widget .wp-block-latest-posts.is-grid, .widget .wp-block-post-template.is-flex-container { display: block !important; }
.widget .wp-block-latest-posts.is-grid li, .widget .wp-block-latest-posts[class*="columns-"] li, .widget .wp-block-post-template li {
	width: 100% !important; max-width: none !important; margin: 0 !important;
}
.widget .wp-block-latest-posts.aligncenter, .widget .wp-block-latest-posts.aligncenter li { text-align: left; }
.widget .wp-block-latest-posts li, .widget .wp-block-post-template li, .widget li:has(img) {
	display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
	padding: 8px 0; margin: 0; font-weight: 500; line-height: 1.35; font-size: 15px;
}
.widget .wp-block-latest-posts li + li, .widget .wp-block-post-template li + li, .widget li:has(img) + li { border-top: 1px solid var(--line); }
.widget .wp-block-latest-posts li:not(:has(img)), .widget .wp-block-post-template li:not(:has(img)) { grid-template-columns: 1fr; }
.widget .wp-block-latest-posts__featured-image, .widget li:has(img) > a:first-child:has(img), .widget .wp-block-post-featured-image {
	grid-row: span 3; margin: 0 !important; width: 64px; height: 64px;
}
.widget .wp-block-latest-posts__featured-image img, .widget li:has(img) img, .widget .wp-block-post-featured-image img {
	width: 64px !important; height: 64px !important; max-width: none; object-fit: cover; border-radius: 12px; margin: 0;
}
.widget .wp-block-latest-posts__featured-image a { display: block; }
.widget .wp-block-latest-posts__post-title, .widget .wp-block-post-title { font-size: 15px; font-weight: 600; color: var(--dark); margin: 0; }
.widget .wp-block-latest-posts__post-date, .widget .wp-block-latest-posts__post-excerpt { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

.post-terms { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-terms__label { font-size: 14px; color: var(--muted); margin-right: 6px; }
.post-terms a { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--soft); font-weight: 500; }
.after-content { margin-top: 30px; }

.related { padding-top: 64px; }

/* ---------- Article content ---------- */
.entry-content { font-size: 18px; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.entry-content a { color: var(--dark); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--accent-ink, var(--accent)); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content blockquote {
	margin-inline: 0; padding: 20px 26px; background: var(--soft); border-left: 4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 19px;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content--page { max-width: 820px; margin: 0 auto; padding-top: 20px; }
.entry-content--full > * { margin-block: 0; }
.page-cover img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }

/* ---------- WP Recipe Maker ----------
   Colors of the card itself can also be set in
   WP Recipe Maker → Settings → Template Editor. */
.wprm-recipe-container { scroll-margin-top: 100px; }
.entry-content .wprm-recipe {
	font-family: var(--font) !important;
	border-radius: var(--radius) !important;
}
.entry-content .wprm-recipe-name { font-family: var(--font) !important; color: var(--dark) !important; }
.entry-content .wprm-recipe h2, .entry-content .wprm-recipe h3, .entry-content .wprm-recipe h4,
.entry-content .wprm-recipe-header, .entry-content .wprm-recipe li { font-family: var(--font) !important; }
.entry-content .wprm-recipe a { text-decoration: none; }
.entry-content .wprm-recipe-jump,
.entry-content .wprm-recipe-print,
.entry-content .wprm-recipe-pin {
	border-radius: 999px !important;
}
.entry-content .wprm-recipe-ingredient::marker,
.entry-content .wprm-recipe-instruction::marker { color: var(--accent); }
.entry-content .wprm-recipe-template-snippet a { text-decoration: none; }

/* ---------- About page ---------- */
.about-hero { padding-top: 24px; }
.about-hero__card {
	display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 48px; align-items: center;
	background: var(--soft); border-radius: calc(var(--radius) + 10px); padding: 18px;
}
.about-hero__img, .about-hero__photo .avatar { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; border-radius: var(--radius); display: block; }
.about-hero__text { padding: 24px 32px 24px 0; }
.about-hero__title { font-size: clamp(38px, 5vw, 62px); font-weight: 700; line-height: 1.05; margin-bottom: 18px; }
.about-hero__lead { font-size: 18.5px; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.about-stats { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.about-stats li { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 20px; display: flex; flex-direction: column; min-width: 120px; line-height: 1.2; }
.about-stats strong { font-size: 28px; font-weight: 700; color: var(--accent-strong, var(--accent)); }
.about-stats span { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.about-story { max-width: 820px; padding-top: 64px; }
.about-story .section-title { margin-bottom: 18px; }
.about-story__text { font-size: 18.5px; line-height: 1.8; }
.about-story__text p:first-child::first-letter { float: left; font-size: 64px; line-height: .9; font-weight: 700; color: var(--accent-strong, var(--accent)); margin: 6px 10px 0 0; }
.about-story__sign { font-size: 20px; font-weight: 600; color: var(--dark); margin: 26px 0 20px; line-height: 1.4; }
.about-story .social a { background: var(--soft); color: var(--dark); }
.about-story .social a:hover { background: var(--accent); }

/* ---------- Social: brand colors on hover ---------- */
.social a:hover { background: var(--brand, var(--accent)); color: #fff; }
.site-nav__social { display: none; }

/* Brand button (Follow on Pinterest / Facebook…) */
.follow-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px;
	background: #fff; color: var(--dark); font-weight: 600; font-size: 14.5px; line-height: 1.2;
	box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .15s ease, box-shadow .15s ease;
}
.follow-btn:hover { color: var(--dark); transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--brand); }
.follow-btn__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.follow-btn--pinterest { background: #E60023; color: #fff; box-shadow: none; padding-right: 22px; }
.follow-btn--pinterest:hover { color: #fff; box-shadow: 0 8px 20px rgba(230, 0, 35, .25); }
.follow-btn--pinterest .follow-btn__icon { background: #fff; color: #E60023; }

/* Homepage "Follow Our Kitchen" */
.follow__card {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; overflow: hidden;
	background: color-mix(in srgb, var(--accent) 13%, var(--bg)); border-radius: calc(var(--radius) + 10px); padding: 44px 48px;
}
.follow__lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 26px; }
.follow__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.follow__pins { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; height: 300px; }
.follow__pin { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.follow__pin img { width: 100%; height: 240px; object-fit: cover; }
.follow__pin--0 { transform: translateY(20px) rotate(-3deg); }
.follow__pin--1 { transform: translateY(-6px); }
.follow__pin--2 { transform: translateY(34px) rotate(3deg); }
.follow__badge { position: absolute; right: -6px; top: -14px; width: 54px; height: 54px; border-radius: 50%; background: #E60023; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(230, 0, 35, .3); }

/* Pinterest box under a recipe */
.pin-box {
	display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 40px;
	padding: 20px 24px; border-radius: var(--radius); background: #FFF1F3; border: 1px solid #FBD3DA;
}
.pin-box__logo { width: 52px; height: 52px; border-radius: 50%; background: #E60023; color: #fff; display: grid; place-items: center; }
.pin-box__text { margin: 0; font-weight: 600; color: var(--dark); line-height: 1.45; font-size: 16.5px; }
.pin-box__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.entry-content + .pin-box a, .pin-box a { text-decoration: none; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 16px; max-width: 1100px; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-aside__img, .contact-aside .avatar { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--radius); }
.contact-aside__intro { color: var(--muted); font-size: 17px; margin: 0; }
.contact-aside .social a { background: var(--soft); color: var(--dark); }
.contact-aside .social a:hover { background: var(--accent); }
.contact-form-wrap { background: var(--soft); border-radius: calc(var(--radius) + 6px); padding: 32px; }
.contact-form p { margin: 0 0 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
	width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: 16px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-form__footer .pill { padding-left: 24px; font-size: 15px; }
.contact-form__privacy { font-size: 13px; color: var(--muted); margin: 0 !important; }
.contact-form__privacy a { text-decoration: underline; }
.fc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.form-alert--ok { background: #E7F6EC; color: #1E6B3A; }
.form-alert--error { background: #FDECEA; color: #A12C1F; }

/* ---------- Comments ---------- */
.comments-wrap { max-width: 860px; padding-top: 64px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 34px; }
.comment-body { background: var(--soft); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; font-size: 16px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); }
.comment-author .avatar { border-radius: 50%; width: 44px; height: 44px; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px 56px; }
.comment-content { margin-left: 56px; }
.reply { margin-left: 56px; font-size: 14px; font-weight: 600; }
.comment-respond { margin-top: 40px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--soft);
}
.comment-form textarea { min-height: 150px; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: start; font-size: 14px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 24px; }
.footer-card { background: var(--dark); color: rgba(255,255,255,.75); border-radius: calc(var(--radius) + 6px); padding: 56px 56px 26px; }
.footer-card a { color: rgba(255,255,255,.75); }
.footer-card a:hover { color: var(--accent); }
.footer-card__top { display: grid; grid-template-columns: 1.15fr auto 1fr; gap: 56px; align-items: start; }

/* "Meet the chef" card in the footer */
.footer-chef {
	display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius); padding: 20px; transition: background .2s ease;
}
.footer-chef:hover { background: rgba(255,255,255,.1); }
.footer-chef__img, .footer-chef .avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--accent); }
.footer-chef__text { display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.footer-chef__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 600; }
.footer-chef__name { color: #fff; font-size: 20px; font-weight: 700; }
.footer-chef__bio { font-size: 14.5px; color: rgba(255,255,255,.7); }
.footer-chef__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.footer-chef:hover .footer-chef__more { color: var(--accent); }
.footer-brand .site-title { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1; }
.footer-brand .custom-logo { max-height: 70px; width: auto; }
.footer-brand__logo.is-white .custom-logo { filter: brightness(0) invert(1); }
.footer-brand .brand-logo { color: #fff; gap: 14px; }
.footer-brand .brand-logo__mark { width: 44px; height: 44px; border-radius: 13px; }
.footer-brand .brand-logo__mark .icon { width: 24px; height: 24px; }
.footer-brand .brand-logo__text { font-size: 30px; }
.footer-brand .custom-logo { max-height: 52px; }
.footer-brand__about { margin: 18px 0 22px; max-width: 420px; font-size: 16px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 48px; }
.footer-col { min-width: 140px; }
.footer-col__title { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-col li { margin-bottom: 9px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--accent); color: var(--dark); }
.footer-newsletter { margin-top: 40px; padding: 26px 30px; border-radius: var(--radius); background: rgba(255,255,255,.06); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.footer-newsletter__title { color: #fff; font-size: 22px; margin: 0; }
.footer-newsletter__form input[type="email"], .footer-newsletter__form input[type="text"] {
	background: transparent !important; color: #fff !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.3) !important; border-radius: 0 !important;
}
.footer-newsletter__form button, .footer-newsletter__form input[type="submit"] { background: var(--accent) !important; color: var(--dark) !important; border-radius: 999px !important; border: 0 !important; }
.footer-card__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.footer-card__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.site-nav .menu { gap: 2px; }
	.site-nav .menu a { padding: 8px 11px; font-size: 16px; }
	.header-search { width: 170px; }
}

@media (max-width: 1100px) {
	.header-search { display: none; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.has-sidebar .post-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
	.header-search { width: 180px; }
	.footer-card__top { grid-template-columns: 1fr auto; }
	.footer-chef { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 960px) {
	.nav-toggle { display: grid; }
	.header-search { display: none; }
	.site-header__inner { justify-content: space-between; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column;
		background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 24px; box-shadow: var(--shadow);
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.site-nav__search { display: block; margin-top: 16px; }

	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.hero__card, .post-hero__card { grid-template-columns: 1fr; }
	.hero__card { padding: 12px; min-height: 0; }
	.hero__text { padding: 26px 16px 8px; }
	.hero__media { min-height: 320px; }
	.about-hero__card { grid-template-columns: 1fr; padding: 14px; gap: 10px; }
	.about-hero__photo { max-width: 420px; }
	.about-hero__text { padding: 12px 12px 18px; }
	.post-hero__text { padding: 32px 26px 28px; order: 2; }
	.post-hero__media { order: 1; }
	.post-hero__media img { min-height: 240px; max-height: 380px; }
	.has-sidebar .post-layout { grid-template-columns: 1fr; }
	.post-main { max-width: none; }
	.post-sidebar > :last-child { position: static; }
	/* On phones the sidebar sits under the article: keep it short (related recipes follow anyway). */
	.post-sidebar .mini-list { display: none; }
	.chef-card { aspect-ratio: auto; height: 260px; }
	.footer-card__top { grid-template-columns: 1fr; }
	.meet-chef { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
	.contact-layout { grid-template-columns: 1fr; }
	.follow__card { grid-template-columns: 1fr; padding: 32px 26px; }
	.follow__pins { height: 230px; }
	.follow__pin img { height: 190px; }
	.site-nav__social { display: flex; margin-top: 16px; }
	.site-nav__social a { background: var(--soft); color: var(--dark); }
	.pin-box { grid-template-columns: auto 1fr; }
	.pin-box__actions { grid-column: 1 / -1; }
	.contact-aside__photo { max-width: 220px; }
	.meet-chef__photo { max-width: 360px; }
	.footer-card { padding: 40px 28px 22px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.grid--3, .grid--4 { grid-template-columns: 1fr; }
	.section { padding-top: 40px; }
	.section-head { flex-direction: column; align-items: start; gap: 6px; }
	.chips { flex-wrap: nowrap; overflow-x: auto; justify-content: start; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
	.meta-bar { display: grid; grid-template-columns: 1fr 1fr; padding: 18px; }
	.entry-content { font-size: 17px; }
	.footer-cols { gap: 24px 32px; }
	.footer-newsletter { grid-template-columns: 1fr; }
	.contact-form__row { grid-template-columns: 1fr; gap: 0; }
	.contact-form-wrap { padding: 22px; }
	.hero__media { min-height: 280px; }
	.hero-slide__caption { right: 12px; left: 12px; bottom: 12px; }
	.hero-dots { top: 14px; bottom: auto; right: 14px; }
	.about-stats li { min-width: 0; flex: 1; padding: 12px 14px; }
	.about-stats strong { font-size: 23px; }
	.comment-metadata, .comment-content, .reply { margin-left: 0; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

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

@media print {
	.site-header, .site-footer, .post-sidebar, .related, .comments-wrap, .post-hero__actions { display: none !important; }
}
