/*
Theme Name: Nibbles
Description: WP Nibbles: food and travel stories by city, standalone recipes, route maps and free PDF city guides. Palette "Paprika & ink". Needs the Nibbles Core plugin.
Version: 1.2.19
Requires at least: 6.5
Requires PHP: 8.1
Author: WP Nibbles
Text Domain: nibbles
*/

:root {
	--paper: #FFFDF8;
	--paper-2: #FBF5EA;
	--ink: #1A1A1A;
	--ink-2: #4A4744;
	--ink-3: #77726C;
	--line: #ECE5DA;
	--paprika: #E0442F;
	--paprika-dark: #C2341F;
	--cobalt: #2D4BA0;
	--white: #FFFFFF;

	/* Chip pastels + their text colors. */
	--tomato: #FAD4CC;  --tomato-ink: #9E2A1A;
	--butter: #FFF0B8;  --butter-ink: #6E5200;
	--cobalt-bg: #D7DEF5; --cobalt-ink: #23397A;
	--matcha: #DDEDC9;  --matcha-ink: #3B5A1C;
	--plum: #EBD5EA;    --plum-ink: #6B3466;
	--peach: #FCE1C7;   --peach-ink: #864512;

	--head: Poppins, "Helvetica Neue", Arial, sans-serif;
	--text: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--radius: 18px;
	--radius-s: 12px;
	--shadow: 0 1px 2px rgba(26, 26, 26, .05), 0 8px 24px rgba(26, 26, 26, .06);
	--shadow-h: 0 2px 4px rgba(26, 26, 26, .06), 0 14px 34px rgba(26, 26, 26, .10);
	--wrap: 1200px;
	--gutter: 16px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.65 var(--text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--paprika); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.nb-skip:focus { clip: auto; clip-path: none; width: auto; height: auto; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

.nb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nb-wrap--mid { max-width: 1080px; }
.nb-wrap--narrow { max-width: 760px; }
@media (min-width: 768px) { :root { --gutter: 28px; } }

.nb-icon { display: inline-flex; width: 1.1em; height: 1.1em; vertical-align: -.15em; }
.nb-icon svg { width: 100%; height: 100%; }

/* ---------- Buttons, inputs ---------- */

.nb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
	background: var(--paprika); color: #fff; cursor: pointer;
	font: 600 15px/1 var(--head); letter-spacing: .01em; text-decoration: none;
	transition: background .15s, transform .15s;
}
.nb-btn:hover { background: var(--paprika-dark); color: #fff; transform: translateY(-1px); }
.nb-input {
	min-height: 48px; width: 100%; padding: 0 18px;
	border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
	font: 400 16px var(--text); color: var(--ink);
}
.nb-input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-bg); }

/* ---------- Chips + badges ---------- */

.nb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.nb-chip {
	display: inline-flex; align-items: center; min-height: 26px; padding: 4px 12px;
	border-radius: 999px; background: var(--butter); color: var(--butter-ink);
	font: 600 11px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
	transition: transform .15s, filter .15s;
}
a.nb-chip:hover { transform: translateY(-1px); filter: saturate(1.3) brightness(.97); }
.nb-chip--lg { min-height: 40px; padding: 8px 20px; font-size: 12px; }
.nb-chip--tomato { background: var(--tomato); color: var(--tomato-ink); }
.nb-chip--butter { background: var(--butter); color: var(--butter-ink); }
.nb-chip--cobalt { background: var(--cobalt-bg); color: var(--cobalt-ink); }
.nb-chip--matcha { background: var(--matcha); color: var(--matcha-ink); }
.nb-chip--plum   { background: var(--plum); color: var(--plum-ink); }
.nb-chip--peach  { background: var(--peach); color: var(--peach-ink); }
.nb-chip--ink    { background: var(--ink); color: var(--white); }
.nb-chip--cobalt-soft { background: transparent; color: var(--cobalt); box-shadow: inset 0 0 0 1.5px var(--cobalt-bg); }
.nb-chip--ghost  { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(26, 26, 26, .12); }

.nb-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff;
	font: 600 10px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase;
}
.nb-badge--new { position: static; display: inline-block; margin: 0 0 10px; background: var(--paprika); }

/* ---------- Placeholders (until real photos are added) ---------- */

.nb-ph {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	width: 100%; height: 100%; min-height: 180px; overflow: hidden;
	background-color: var(--tomato); color: var(--tomato-ink);
	background-image: radial-gradient(currentColor 1px, transparent 1.2px);
	background-size: 18px 18px; background-position: 0 0;
}
.nb-ph::before { content: ""; position: absolute; inset: 0; background: inherit; background-image: none; opacity: .82; }
.nb-ph svg, .nb-ph__label { position: relative; }
.nb-ph svg { width: 56px; height: 56px; opacity: .8; }
.nb-ph__label { font: 700 clamp(18px, 2.4vw, 26px)/1.1 var(--head); text-align: center; padding: 0 16px; letter-spacing: -.01em; }
.nb-ph--butter { background-color: var(--butter); color: var(--butter-ink); }
.nb-ph--cobalt { background-color: var(--cobalt-bg); color: var(--cobalt-ink); }
.nb-ph--matcha { background-color: var(--matcha); color: var(--matcha-ink); }
.nb-ph--plum   { background-color: var(--plum); color: var(--plum-ink); }
.nb-ph--peach  { background-color: var(--peach); color: var(--peach-ink); }
.nb-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */

.nb-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 253, 248, .92); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .nb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nb-header { top: 0; position: relative; } }
.nb-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.nb-logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); font: 22px/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.nb-logo:hover { color: var(--ink); }
.nb-logo__wp { font-weight: 500; color: var(--paprika); margin-right: 1px; }
.nb-logo__name { font-weight: 700; }
.nb-logo--light { color: #fff; }
.nb-logo--light:hover { color: #fff; }

.nb-search { position: relative; flex: 1; max-width: 420px; margin: 0 auto; display: none; }
.nb-search .nb-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.nb-search input {
	width: 100%; height: 42px; padding: 0 16px 0 44px; border: 0; border-radius: 999px;
	background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line);
	font: 400 15px var(--text); color: var(--ink);
}
.nb-search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--cobalt), 0 0 0 3px var(--cobalt-bg); }

.nb-burger { margin-left: auto; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: 22px; cursor: pointer; }
.nb-nav { display: none; }
.nb-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nb-menu a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); font: 600 15px var(--head); text-decoration: none; }
.nb-menu a:hover, .nb-menu .current-menu-item > a { background: var(--tomato); color: var(--tomato-ink); }
.nb-social { display: flex; gap: 6px; }
.nb-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 999px; color: var(--paprika); font-size: 20px; }
.nb-social a:hover { background: var(--tomato); }

/* Mobile menu drawer. */
.nb-nav-open .nb-nav {
	display: flex; flex-direction: column; gap: 12px;
	position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 20px;
	background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nb-nav-open .nb-menu { flex-direction: column; }
.nb-nav-open .nb-menu a { font-size: 18px; padding: 12px 14px; }
.nb-nav-open .nb-search--drawer { display: block; flex: none; width: 100%; max-width: none; margin: 4px 0 0; }
.nb-search--drawer input { height: 48px; font-size: 16px; }

@media (min-width: 960px) {
	.nb-search { display: block; }
	.nb-search--drawer, .nb-nav-open .nb-search--drawer { display: none; }
	.nb-burger { display: none; }
	.nb-nav, .nb-nav-open .nb-nav { display: flex; align-items: center; gap: 10px; position: static; padding: 0; background: none; border: 0; box-shadow: none; flex-direction: row; }
	.nb-nav-open .nb-menu { flex-direction: row; }
	.nb-nav-open .nb-menu a { font-size: 15px; padding: 10px 14px; }
}

/* ---------- Sections ---------- */

.nb-section { padding: 48px 0; }
.nb-section--tint { background: var(--paper-2); }
.nb-section.nb-section--top0 { padding-top: 0; }
.nb-section.nb-section--flush { padding-bottom: 0; }
.nb-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.nb-section__title { font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.nb-section__title a { color: inherit; text-decoration: none; }
.nb-more { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--head); color: var(--paprika); text-decoration: none; white-space: nowrap; }
.nb-more:hover { color: var(--paprika-dark); }
@media (min-width: 768px) { .nb-section { padding: 72px 0; } }

/* ---------- Hero ---------- */

.nb-hero { padding: 40px 0 24px; }
.nb-hero__grid { display: grid; gap: 40px; align-items: center; }
.nb-hero__intro { text-align: center; }
.nb-hero__title { font-size: clamp(44px, 7.4vw, 84px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 18px; }
.nb-hero__lead { font-size: 18px; color: var(--ink-2); max-width: 30em; margin: 0 auto 28px; }
.nb-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 520px; margin: 0 auto; }

.nb-feature { position: relative; }
.nb-feature__media { position: relative; display: block; text-decoration: none; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }
.nb-feature__media .nb-ph { min-height: 0; }
.nb-feature__title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.nb-feature__title a { color: var(--ink); text-decoration: none; }
.nb-feature__title a:hover { color: var(--paprika); }
.nb-feature__excerpt { color: var(--ink-2); font-size: 17px; }
.nb-feature__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nb-feature__foot .nb-chips { margin: 0; }

@media (min-width: 960px) {
	.nb-hero { padding: 72px 0 48px; }
	.nb-hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Cards ---------- */

.nb-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .nb-grid--3, .nb-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .nb-grid--3 { grid-template-columns: repeat(3, 1fr); } .nb-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.nb-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.nb-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.nb-card__media { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; overflow: hidden; }
.nb-card__media .nb-ph { min-height: 0; }
.nb-card__media .nb-img { transition: transform .4s; }
.nb-card:hover .nb-card__media .nb-img { transform: scale(1.04); }
.nb-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.nb-card__title { font-size: 20px; margin-bottom: 12px; }
.nb-card__title a { color: var(--ink); text-decoration: none; }
.nb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nb-card__title a:hover { color: var(--paprika); }
.nb-card .nb-chips { position: relative; z-index: 2; margin-top: auto; margin-bottom: 8px; }
.nb-card__meta { margin: 0; color: var(--ink-3); font-size: 14px; }
.nb-card__time { display: flex; align-items: center; gap: 6px; }
.nb-card--recipe .nb-card__title { font-size: 18px; }
.nb-card--side .nb-card__media { aspect-ratio: 16 / 10; }
.nb-card--side .nb-card__title { font-size: 17px; }
.nb-card--side .nb-card__body { padding: 14px 16px 16px; }

/* City cards ("City guides" rail, Cities page). */
.nb-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px; }
.nb-rail > * { scroll-snap-align: start; }
@media (min-width: 960px) { .nb-rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

.nb-city { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.nb-city:hover { color: var(--ink); box-shadow: var(--shadow-h); transform: translateY(-3px); }
.nb-city__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.nb-city__media .nb-ph { min-height: 0; }
.nb-city__body { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; }
.nb-city__country { font: 600 11px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); min-height: 1em; }
.nb-city__name { font: 700 24px/1.15 var(--head); }
.nb-city__meta { font-size: 14px; color: var(--ink-3); }
.nb-city__meta strong { color: var(--paprika); font-weight: 600; }

/* ---------- Page headers ---------- */

.nb-pagehead { padding: 40px 0 32px; }
.nb-pagehead__title { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 14px; }
.nb-pagehead__lead { font-size: 19px; color: var(--ink-2); max-width: 40em; margin-bottom: 14px; }
.nb-pagehead__lead p:last-child { margin-bottom: 0; }
.nb-pagehead--tomato { background: linear-gradient(180deg, color-mix(in srgb, var(--tomato) 55%, var(--paper)) 0%, var(--paper) 100%); }
.nb-pagehead--butter { background: linear-gradient(180deg, color-mix(in srgb, var(--butter) 60%, var(--paper)) 0%, var(--paper) 100%); }
.nb-pagehead--cobalt { background: linear-gradient(180deg, color-mix(in srgb, var(--cobalt-bg) 60%, var(--paper)) 0%, var(--paper) 100%); }
.nb-pagehead--matcha { background: linear-gradient(180deg, color-mix(in srgb, var(--matcha) 60%, var(--paper)) 0%, var(--paper) 100%); }
.nb-pagehead--plum   { background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 60%, var(--paper)) 0%, var(--paper) 100%); }
.nb-pagehead--peach  { background: linear-gradient(180deg, color-mix(in srgb, var(--peach) 60%, var(--paper)) 0%, var(--paper) 100%); }
.nb-chips--filter { margin-top: 18px; }
@media (min-width: 768px) { .nb-pagehead { padding: 64px 0 40px; } }

.nb-hero-img { aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px; }
.nb-hero-img .nb-ph { min-height: 0; }
.nb-hero-img .nb-ph svg { width: 84px; height: 84px; }

/* City page header: intro + PDF form. */
.nb-cityhead { padding-bottom: 48px; }
.nb-cityhead__grid { display: grid; gap: 32px; align-items: center; }
.nb-cityhead__title { font-size: clamp(48px, 9vw, 104px); }
@media (min-width: 960px) { .nb-cityhead__grid { grid-template-columns: 1.3fr 1fr; gap: 56px; } .nb-cityhead__grid--single { grid-template-columns: 1fr; } }

.nb-year { display: flex; align-items: center; gap: 16px; font-size: 28px; margin: 8px 0 20px; color: var(--paprika); }
.nb-year::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.nb-grid + .nb-year { margin-top: 48px; }

/* City page, one section per visit (1.2.18): "We were here in" links in the header, a year + event heading,
   the route story as a wide lead card, that visit's side stories below it. */
.nb-visits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.nb-visits__label { flex-basis: 100%; font: 600 12px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.nb-visits__item { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px 6px 8px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(26, 26, 26, .12); color: var(--ink); text-decoration: none; font: 600 14px var(--head); transition: transform .15s, box-shadow .15s; }
.nb-visits__item b { background: var(--paprika); color: var(--white); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.nb-visits__item:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--paprika); }
.nb-visit { scroll-margin-top: 90px; }
.nb-section.nb-visit + .nb-section.nb-visit { padding-top: 0; }
.nb-visit__head { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; }
.nb-visit__head::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.nb-visit__year { font-size: clamp(44px, 6vw, 64px); line-height: 1; margin: 0; color: var(--paprika); letter-spacing: -.03em; }
.nb-visit__what { display: flex; flex-direction: column; gap: 2px; }
.nb-visit__event { font: 700 clamp(17px, 2vw, 21px) var(--head); color: var(--ink); }
.nb-visit__dates { font-size: 14px; color: var(--ink-3); }
.nb-card--lead { margin-bottom: 24px; }
.nb-card--lead:last-child { margin-bottom: 0; }
.nb-card--lead .nb-card__media { aspect-ratio: 16 / 10; }
.nb-card--lead .nb-card__body { justify-content: center; padding: 24px; }
.nb-card--lead .nb-card__title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.nb-lead__eyebrow { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--paprika); margin: 0 0 8px; }
.nb-lead__eyebrow--side { color: var(--plum-ink); }
.nb-lead__excerpt { color: var(--ink-2); font-size: 16px; margin: 0 0 14px; max-width: 34em; }
@media (min-width: 768px) {
	.nb-card--lead { flex-direction: row; }
	.nb-card--lead .nb-card__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 280px; }
	.nb-card--lead .nb-card__body { padding: 32px 40px; }
}

/* ---------- Story ---------- */

.nb-story__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 960px) { .nb-story__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .nb-aside { position: sticky; top: 92px; align-self: start; } }
.nb-aside { display: grid; gap: 20px; }

.nb-box { background: var(--white); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.nb-box__head { font: 700 13px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--paprika); margin-bottom: 12px; }
.nb-stops { list-style: none; counter-reset: stop; margin: 0; padding: 0; }
.nb-stops li { counter-increment: stop; position: relative; padding: 8px 0 8px 40px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.nb-stops li:first-child { border-top: 0; }
.nb-stops li::before { content: counter(stop); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--paprika); color: #fff; font: 700 12px/26px var(--head); text-align: center; }
.nb-stops span { display: block; color: var(--ink-3); font-size: 13px; }

/* Long-form content. */
.nb-prose { font-size: 18px; line-height: 1.75; counter-reset: place; min-width: 0; }
.nb-prose > * { margin-top: 0; margin-bottom: 1.1em; }
.nb-prose h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.6em; margin-bottom: .6em; }
.nb-prose h3 { font-size: 22px; margin-top: 1.4em; }
.nb-prose > p:first-child::first-letter { float: left; font: 700 4.1em/.8 var(--head); color: var(--paprika); margin: .08em .1em 0 0; }
.nb-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--paprika); font: 500 22px/1.45 var(--head); color: var(--ink); }
.nb-prose img, .nb-prose .wp-block-image img { border-radius: var(--radius-s); }
.nb-prose ul, .nb-prose ol { padding-left: 1.3em; }
.nb-prose .wp-block-image figcaption { font-size: 14px; color: var(--ink-3); text-align: center; }
.nb-prose .wp-block-image.nb-photo { max-width: 480px; margin-inline: auto; }
.nb-prose .wp-block-gallery.nb-photo { margin-block: 28px; }
.nb-prose .nb-verdict { background: #FFF3C4; border-left: 6px solid var(--paprika); border-radius: var(--radius-s); padding: 14px 18px; }

/* Place block. */
.nb-place { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin: 1.5em 0; padding: 20px 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); counter-increment: place; }
.nb-place__num::before { content: counter(place); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paprika); color: #fff; font: 700 17px var(--head); }
.nb-place__name { font-size: 21px; margin: 4px 0 2px; }
.nb-place__facts { margin: 0 0 8px; font: 600 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.nb-place__note { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.nb-place__order { margin: 0 0 8px; font-size: 15px; padding: 8px 12px; background: var(--butter); color: var(--butter-ink); border-radius: var(--radius-s); }
.nb-place__order strong { color: var(--ink); }
.nb-place__links { margin: 0; display: flex; gap: 14px; font: 600 14px var(--head); }

/* Maps. */
.nb-route h2 { margin-top: 1.6em; }
.nb-map { height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); z-index: 0; }
.nb-section .nb-map { height: 480px; }
.nb-pin span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paprika); color: #fff; font: 700 13px var(--head); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.leaflet-popup-content { font: 14px/1.4 var(--text); }
.leaflet-popup-content strong { font-family: var(--head); }
.leaflet-container a { color: var(--cobalt); }

/* ---------- Recipe ---------- */

.nb-recipe__head { display: grid; gap: 28px; align-items: center; }
.nb-recipe__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.nb-recipe__img .nb-ph { min-height: 0; }
@media (min-width: 900px) { .nb-recipe__head { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.nb-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; }
.nb-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--white); border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 14px var(--head); }
.nb-facts .nb-icon { color: var(--paprika); }

.nb-recipe__grid { display: grid; gap: 32px; padding-top: 16px; padding-bottom: 64px; }
@media (min-width: 900px) { .nb-recipe__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; } .nb-ingredients { position: sticky; top: 92px; align-self: start; } }
.nb-ingredients ul { list-style: none; margin: 0 0 12px; padding: 0; }
.nb-ingredients li { border-top: 1px solid var(--line); }
.nb-ingredients li:first-child { border-top: 0; }
.nb-ingredients label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 16px; line-height: 1.4; cursor: pointer; }
.nb-ingredients input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--paprika); flex: none; }
.nb-ingredients input:checked + span { text-decoration: line-through; color: var(--ink-3); }
.nb-ingredients__group { font: 700 15px var(--head); margin: 14px 0 2px; }
.nb-method { counter-reset: step; }
.nb-method h2:first-child { margin-top: 0; }
.nb-method > ol { list-style: none; padding: 0; }
.nb-method > ol > li { counter-increment: step; position: relative; padding: 0 0 18px 56px; min-height: 40px; scroll-margin-top: 90px; }
.nb-method > ol > li:target::before { background: var(--paprika); }
.nb-method > ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 16px/38px var(--head); text-align: center; }

/* ---------- Guide / newsletter form ---------- */

.nb-guide { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.nb-guide--pdf { background: var(--ink); color: #fff; box-shadow: 0 18px 40px rgba(26, 26, 26, .22); position: relative; overflow: hidden; }
.nb-guide--pdf::after { content: "PDF"; position: absolute; right: -10px; top: -16px; font: 700 96px/1 var(--head); color: rgba(255, 255, 255, .06); pointer-events: none; }
.nb-guide__eyebrow { font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--paprika); margin-bottom: 6px; }
.nb-guide__title { font-size: 26px; margin-bottom: 8px; color: inherit; }
.nb-guide__text { color: var(--ink-2); font-size: 16px; }
.nb-guide--pdf .nb-guide__text { color: rgba(255, 255, 255, .78); }
.nb-guide__row { display: flex; flex-direction: column; gap: 10px; }
.nb-guide__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.nb-guide--pdf .nb-guide__consent { color: rgba(255, 255, 255, .7); }
.nb-guide__consent input { margin-top: 2px; accent-color: var(--paprika); flex: none; }
.nb-guide__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nb-guide__msg { padding: 12px 16px; border-radius: var(--radius-s); font-size: 15px; margin-bottom: 12px; }
.nb-guide__msg--ok { background: var(--matcha); color: var(--matcha-ink); }
.nb-guide__msg--ok a { color: inherit; font-weight: 600; }
.nb-guide__msg--err { background: var(--tomato); color: var(--tomato-ink); }
.nb-guide--pdf .nb-input { border-color: transparent; }

/* Footer signup band. */
.nb-signup { padding: 56px 0; background: var(--paprika); }
.nb-signup .nb-guide { max-width: 860px; margin: 0 auto; background: transparent; box-shadow: none; padding: 0; text-align: center; color: #fff; }
.nb-signup .nb-guide__eyebrow { color: var(--butter); }
.nb-signup .nb-guide__title { font-size: clamp(28px, 4vw, 40px); }
.nb-signup .nb-guide__text, .nb-signup .nb-guide__consent { color: rgba(255, 255, 255, .88); }
.nb-signup .nb-guide__consent { justify-content: center; }
.nb-signup .nb-guide__row { max-width: 520px; margin: 0 auto; }
.nb-signup .nb-btn { background: var(--ink); }
.nb-signup .nb-btn:hover { background: #000; }
.nb-signup .nb-input { border-color: transparent; }
.nb-signup .nb-guide__msg--ok { display: inline-block; }
@media (min-width: 600px) { .nb-guide__row { flex-direction: row; } .nb-guide__row .nb-btn { flex: none; } .nb-aside .nb-guide__row, .nb-cityhead .nb-guide__row { flex-direction: column; } }
@media (min-width: 1100px) { .nb-cityhead .nb-guide__row { flex-direction: row; } }

/* ---------- Footer ---------- */

.nb-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; font-size: 15px; }
.nb-footer a { color: #fff; text-decoration: none; }
.nb-footer a:hover { color: var(--butter); }
.nb-footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .nb-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.nb-footer__tag { margin: 12px 0 16px; }
.nb-footer__head { font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--paprika); }
.nb-footer__links, .nb-footer .nb-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nb-footer .nb-menu a { padding: 0; font: inherit; color: #fff; background: none; }
.nb-footer .nb-social a { color: #fff; background: rgba(255, 255, 255, .08); }
.nb-footer .nb-social a:hover { background: var(--paprika); color: #fff; }
.nb-footer__bottom { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.nb-footer__bottom span { margin-right: auto; }

/* ---------- Next Stops ---------- */

.nb-trips { display: grid; gap: 24px; }
.nb-trip { display: grid; grid-template-columns: 84px 1fr; gap: 18px; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
@media (min-width: 700px) { .nb-trip { grid-template-columns: 120px 1fr; gap: 28px; padding: 28px; } }
.nb-trip__date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; aspect-ratio: 1 / 1.1; border-radius: var(--radius-s); background: var(--paprika); color: #fff; font-family: var(--head); line-height: 1; padding: 10px 6px; }
.nb-trip__month { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--butter); }
.nb-trip__day { font-size: clamp(34px, 6vw, 48px); font-weight: 700; margin: 4px 0; }
.nb-trip__year { font-size: 12px; font-weight: 600; opacity: .85; }
.nb-trip__title { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; }
.nb-trip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-3); font-size: 15px; margin-bottom: 12px; }
.nb-trip__meta .nb-icon { color: var(--paprika); }
.nb-trip__eat { font-size: 16px; color: var(--ink-2); background: var(--paper-2); border-radius: var(--radius-s); padding: 10px 14px; }
.nb-trip__eat strong { color: var(--ink); }
.nb-trip__tip { margin-top: 4px; }
.nb-trip__tip > summary { list-style: none; display: inline-flex; min-height: 44px; font-size: 14px; }
.nb-trip__tip > summary::-webkit-details-marker { display: none; }
.nb-trip__tip[open] > summary { background: var(--ink); }
.nb-trip__site { display: inline-block; margin: 12px 0 0 14px; font: 600 14px var(--head); color: var(--cobalt); }
.nb-tip { display: grid; gap: 12px; margin-top: 16px; padding: 18px; border-radius: var(--radius-s); background: var(--paper-2); }
.nb-tip label { display: grid; gap: 6px; font: 600 13px var(--head); color: var(--ink-2); }
.nb-tip textarea.nb-input { border-radius: var(--radius-s); padding: 12px 18px; min-height: 90px; resize: vertical; font: 400 16px/1.5 var(--text); }
.nb-tip__row { display: grid; gap: 12px; }
@media (min-width: 700px) { .nb-tip__row { grid-template-columns: 1fr 1fr; } }
.nb-tip .nb-btn { justify-self: start; }

.nb-been { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.nb-been__dates { font: 700 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--paprika); margin-bottom: 6px; }
.nb-been__title { font-size: 20px; margin-bottom: 4px; }
.nb-been__place { display: flex; gap: 6px; align-items: center; color: var(--ink-3); font-size: 15px; }
.nb-been__soon { font-size: 14px; color: var(--ink-3); }

/* Home: "Next stop" strip under the hero. */
.nb-nextstop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px 22px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; margin: 8px 0 0; }
.nb-nextstop:hover { color: #fff; background: #000; }
.nb-nextstop__label { padding: 5px 12px; border-radius: 999px; background: var(--paprika); font: 700 11px var(--head); letter-spacing: .12em; text-transform: uppercase; }
.nb-nextstop__title { font: 700 18px var(--head); }
.nb-nextstop__meta { color: rgba(255, 255, 255, .7); font-size: 15px; }
.nb-nextstop__cta { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font: 600 14px var(--head); color: var(--butter); }

/* ---------- Coming soon ---------- */

.nb-cs { min-height: 100vh; display: flex; flex-direction: column; background:
	radial-gradient(1200px 600px at 100% 0%, color-mix(in srgb, var(--tomato) 45%, transparent), transparent 70%),
	radial-gradient(900px 500px at 0% 100%, color-mix(in srgb, var(--butter) 55%, transparent), transparent 70%),
	var(--paper); }
.nb-cs__top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.nb-cs__top .nb-logo { font-size: 24px; }
.nb-cs__main { flex: 1; display: grid; gap: 40px; align-items: center; padding-top: 16px; padding-bottom: 40px; }
@media (min-width: 960px) { .nb-cs__main { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-top: 8px; } }
.nb-cs__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--paprika); }
.nb-cs__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--paprika); box-shadow: 0 0 0 0 rgba(224, 68, 47, .5); animation: nb-pulse 1.8s infinite; }
@keyframes nb-pulse { 70% { box-shadow: 0 0 0 10px rgba(224, 68, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 68, 47, 0); } }
.nb-cs__title { font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.035em; margin: 18px 0 16px; }
.nb-cs__lead { font-size: 18px; color: var(--ink-2); max-width: 32em; margin-bottom: 20px; }
.nb-cs__label { font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.nb-cs__chips { margin-bottom: 22px; }
.nb-cs__chips .nb-chip { min-height: 36px; padding: 8px 18px; font-size: 12px; }
.nb-cs .nb-guide { max-width: 560px; }
.nb-cs .nb-guide__title { font-size: 24px; }

.nb-cs__art { position: relative; min-height: 380px; }
@media (min-width: 960px) { .nb-cs__art { min-height: 500px; } }
.nb-cs__card { position: absolute; width: 41%; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(26, 26, 26, .16); border: 6px solid var(--white); }
.nb-cs__card .nb-ph { min-height: 0; }
.nb-cs__card--1 { left: 0; top: 12%; transform: rotate(-7deg); z-index: 1; }
.nb-cs__card--2 { left: 29.5%; top: 2%; transform: rotate(2deg); z-index: 2; }
.nb-cs__card--3 { right: 0; top: 14%; transform: rotate(8deg); z-index: 3; }
.nb-cs__card .nb-ph__label { font-size: clamp(14px, 1.7vw, 22px); }
.nb-cs__next { position: absolute; left: 6%; right: 6%; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow-h); font-size: 15px; }
.nb-cs__next strong { font-family: var(--head); font-size: 17px; }
.nb-cs__next span:last-child { color: rgba(255, 255, 255, .72); }
@media (max-width: 959px) { .nb-cs__art { order: -1; min-height: 0; padding-top: 250px; } .nb-cs__card { top: 10px; } .nb-cs__card--2 { top: 0; } .nb-cs__next { position: relative; left: 0; right: 0; bottom: auto; } }
@media (max-width: 599px) { .nb-cs__art { padding-top: 210px; } .nb-cs__card { border-width: 4px; border-radius: 18px; } .nb-cs__card .nb-ph svg { width: 40px; height: 40px; } }

.nb-cs__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* ---------- Misc ---------- */

.nb-page { padding-bottom: 72px; }
.nb-empty { color: var(--ink-3); font-size: 18px; }
/* Search with no results. */
.nb-noresults { text-align: center; padding-bottom: 48px; }
.nb-noresults .nb-pagehead__title, .nb-noresults .nb-pagehead__lead { text-wrap: balance; }
.nb-noresults .nb-pagehead__lead { margin-left: auto; margin-right: auto; }
.nb-noresults__plate { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); color: var(--paprika); }
.nb-noresults__plate .nb-icon { width: 30px; height: 30px; }
.nb-searchbox { position: relative; display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.nb-searchbox > .nb-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.nb-searchbox input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 48px; border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); font: 400 16px var(--text); color: var(--ink); }
.nb-searchbox input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--cobalt), 0 0 0 3px var(--cobalt-bg); }
.nb-searchbox .nb-btn { min-height: 52px; flex: none; }
.nb-noresults__label { margin: 28px 0 12px; font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.nb-noresults .nb-chips { justify-content: center; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 600 15px var(--head); text-decoration: none; }
.page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }

/* Core blocks on pages (About, Contact). */
.nb-prose .is-lead { font-size: 21px; line-height: 1.6; color: var(--ink); }
.nb-page > p.is-lead:first-child::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.nb-prose .nb-pillars { gap: 20px; margin: 1.2em 0 2em; }
.nb-prose .nb-pillars .wp-block-column { background: var(--white); border-radius: var(--radius); padding: 22px 22px 8px; box-shadow: var(--shadow); }
.nb-prose .nb-pillars .wp-block-column:nth-child(1) { border-top: 6px solid var(--paprika); }
.nb-prose .nb-pillars .wp-block-column:nth-child(2) { border-top: 6px solid #E9B800; }
.nb-prose .nb-pillars .wp-block-column:nth-child(3) { border-top: 6px solid var(--cobalt); }
.nb-prose .nb-pillars h3 { margin-top: 0; font-size: 20px; }
.nb-prose .nb-pillars p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.nb-prose .nb-pillars .wp-block-column:nth-child(4) { border-top: 6px solid #2F8F5B; }
.nb-prose .nb-team { display: grid; grid-template-columns: 1fr; }
.nb-prose .nb-team .wp-block-column { padding-bottom: 22px; }
.nb-prose .nb-team .wp-block-column:nth-child(n) { border-top: 0; } /* team cards all look the same */
.nb-prose .nb-team h3 { margin-bottom: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (min-width: 600px) { .nb-prose .nb-team { grid-template-columns: repeat(2, 1fr); } }
.nb-prose .wp-block-buttons { gap: 12px; }
.nb-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--paprika); color: #fff; font: 600 15px var(--head); text-decoration: none; }
.nb-prose .wp-block-button__link:hover { background: var(--paprika-dark); color: #fff; }
.nb-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.nb-prose .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: #fff; }

/* WPForms on Contact (the plugin's own CSS is off, so the theme styles it). */
.nb-prose .wpforms-container { margin: 1.4em 0 2em; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.nb-prose .wpforms-container .wpforms-field { padding: 0 0 18px; }
.nb-prose .wpforms-container .wpforms-field-label { display: block; margin: 0 0 6px; font: 600 14px var(--head); color: var(--ink); }
.nb-prose .wpforms-container .wpforms-required-label { color: var(--paprika); }
.nb-prose .wpforms-container input[type=text], .nb-prose .wpforms-container input[type=email], .nb-prose .wpforms-container input[type=tel], .nb-prose .wpforms-container input[type=url], .nb-prose .wpforms-container select, .nb-prose .wpforms-container textarea {
	display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
	font: 400 16px/1.4 var(--text); color: var(--ink); box-shadow: none; }
.nb-prose .wpforms-container textarea { border-radius: var(--radius-s); min-height: 160px; resize: vertical; }
.nb-prose .wpforms-container input:focus, .nb-prose .wpforms-container textarea:focus, .nb-prose .wpforms-container select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-bg); }
.nb-prose .wpforms-container .wpforms-field-row { display: flex; gap: 12px; }
.nb-prose .wpforms-container .wpforms-field-row > div { flex: 1; }
.nb-prose .wpforms-container .wpforms-field-sublabel { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.nb-prose .wpforms-container label.wpforms-error, .nb-prose .wpforms-container em.wpforms-error { display: block; margin-top: 6px; font-size: 14px; color: var(--paprika-dark); }
.nb-prose .wpforms-container button[type=submit] { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--paprika); color: #fff; font: 600 15px var(--head); cursor: pointer; }
.nb-prose .wpforms-container button[type=submit]:hover { background: var(--paprika-dark); }
.nb-prose .wpforms-confirmation-container-full { padding: 16px 20px; border-radius: var(--radius-s); background: var(--matcha); color: var(--matcha-ink); }

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