/*
Theme Name: My Everyday Table Classic French Bistro Navy & Bordeaux Culinary Gazette
Theme URI: https://myeverdaytable.com
Author: Chef Clara Vance — My Everyday Table
Description: Classic French Bistro Navy & Bordeaux Wine Culinary Gazette WordPress Theme for MyEverdayTable.com — Warm Unbleached French Linen Background (#F7F4EF), Deep Bistro Midnight-Navy Header (#0F172A / #1E293B), Bordeaux Wine-Red Accents (#9F1239 / #BE123C), Brass-Gold Rule Lines (#B45309), Merriweather + Source Sans 3 Typography, Double-Rule Bistro Masthead & Framed Bistro Menu Cards.
Version: 3.4.0
Text Domain: myeverdaytable
*/

:root {
  --bg: #F7F4EF;
  --surface: #FFFFFF;
  --surface-alt: #EFECE6;
  --surface-sage: #F1F5F9;
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --ink-muted: #475569;
  --terracotta: #9F1239;
  --terracotta-dark: #881337;
  --terracotta-light: #FFE4E6;
  --bordeaux: #9F1239;
  --bordeaux-bright: #BE123C;
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --sage: #1E293B;
  --sage-dark: #0F172A;
  --sage-light: #E2E8F0;
  --brass: #B45309;
  --pin-red: #9F1239;
  --border: #D6D3D1;
  --radius: 6px;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #F7F4EF;
  color: var(--ink);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.78;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--ink);
  line-height: 1.24;
}
a { color: inherit; text-decoration: none; transition: all 0.18s ease; }
a:hover { color: #9F1239; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
.pin-top-btn svg, .btn-pin-img svg, .fig-pin-btn svg, .pin-btn svg, .btn-pin-follow svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor;
  flex-shrink: 0;
}

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

/* TOPBAR */
.topbar {
  background: linear-gradient(90deg, #0F172A 0%, #9F1239 50%, #0F172A 100%);
  color: #F7F4EF;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-bottom: 1px solid #B45309;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-links a {
  color: #FDE68A;
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar-links a:hover { color: #FFFFFF; }
.pin-top-btn {
  background: #BE123C;
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #B45309;
  font-weight: 700;
  font-size: 11px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pin-top-btn:hover { background: #9F1239; }

/* CLASSIC CENTERED DOUBLE-RULE BISTRO MASTHEAD & VECTOR LOGO */
.site-header {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  border-top: 3px double #9F1239;
  border-bottom: 3px double #1E293B;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}
.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(180, 83, 9, 0.45);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-crest-svg {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(159, 18, 57, 0.35);
  display: block;
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
}
.brand-kicker {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FBBF24 !important;
  margin-bottom: 2px;
}
.brand-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #F7F4EF !important;
  line-height: 1.08;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FDA4AF !important;
  margin-top: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid #B45309;
  border-radius: 6px;
  padding: 6px 14px;
  width: 265px;
}
.search-form input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: #F7F4EF;
}
.search-form input::placeholder {
  color: #CBD5E1;
}
.search-form button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #FBBF24;
  font-weight: 700;
}
.nav-bar {
  border-top: 1px solid rgba(180, 83, 9, 0.35);
  background: #0F172A;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
}
.nav-link {
  padding: 13px 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2E8F0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #FDA4AF;
  border-bottom-color: #BE123C;
}

/* LAYOUT & HERO */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  margin-bottom: 44px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-main {
  position: relative;
  border-radius: 6px;
  border: 2px solid #0F172A;
  outline: 1px solid #B45309;
  outline-offset: -7px;
  overflow: hidden;
  background: #0F172A;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 15%, rgba(15, 23, 42, 0.55) 70%, transparent 100%);
  padding: 36px 32px;
  color: #fff;
  width: 100%;
}
.cat-pill {
  display: inline-block;
  background: #9F1239;
  border: 1px solid #B45309;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 10px;
}
.hero-overlay p {
  color: #E2E8F0;
  font-size: 15px;
  max-width: 640px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid #D6D3D1;
  border-left: 4px solid #9F1239;
  border-radius: 6px;
  padding: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}
.side-card img {
  width: 120px;
  height: 115px;
  object-fit: cover;
  border-radius: 4px;
}
.side-card h3 { font-size: 18px; margin: 4px 0 6px; }
.meta-line { font-size: 12px; color: var(--ink-muted); }

/* RECIPE GRID — FRAMED BISTRO MENU CARDS */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid #B45309;
  border-bottom: 3px double #9F1239;
  padding: 10px 0;
  margin: 36px 0 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.sec-head h2 { font-size: 28px; letter-spacing: 0.01em; color: #0F172A; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 26px;
}
.art-card {
  background: var(--surface);
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 4px #F7F4EF, inset 0 0 0 5px rgba(180, 83, 9, 0.35), 0 8px 22px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.art-card:hover {
  transform: translateY(-4px);
  border-color: #9F1239;
}
.art-card-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: var(--surface-alt);
  border-bottom: 2px solid #B45309;
}
.art-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.art-card-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9F1239;
  margin-bottom: 6px;
}
.art-card-title { font-size: 20px; margin-bottom: 8px; line-height: 1.3; }
.art-card-excerpt { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }

/* TOP PAGE BAR (.top-page-bar) */
.top-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #F7F4EF;
  border: 1px solid #D6D3D1;
  border-left: 4px solid #9F1239;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.top-page-bar-left, .top-page-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-page-status {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
}
.top-page-dot {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #FFFFFF;
  border: 1px solid #D6D3D1;
  color: #1E293B;
}
.top-page-dot.active {
  background: #9F1239;
  border-color: #9F1239;
  color: #FFFFFF;
}
.top-page-dot.done {
  background: #FFE4E6;
  border-color: #BE123C;
  color: #9F1239;
}
.top-page-nav-btn {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #D6D3D1;
  color: #0F172A;
}
.top-page-nav-btn.primary {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF !important;
}

/* ARCHIVE CAPSULE PAGINATION (.navigation.pagination) */
.pagination-wrap {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}
.navigation.pagination {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.navigation.pagination .nav-links,
.pagination .nav-links,
ul.page-numbers {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #D6D3D1);
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  list-style: none;
}
ul.page-numbers li {
  display: inline-flex;
  list-style: none;
}
.navigation.pagination .page-numbers,
.page-numbers,
a.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft, #1E293B);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.18s ease;
  line-height: 1;
}
.navigation.pagination a.page-numbers:hover,
a.page-numbers:hover {
  background: var(--surface-alt, #EFECE6);
  color: var(--bordeaux, #9F1239);
  border-color: var(--border, #D6D3D1);
}
.navigation.pagination .page-numbers.current,
span.page-numbers.current,
.page-numbers.current {
  background: var(--bordeaux, #9F1239);
  color: #fff !important;
  border-color: var(--bordeaux, #9F1239);
  box-shadow: 0 4px 12px rgba(159, 18, 57, 0.25);
  pointer-events: none;
}
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next,
.page-numbers.prev,
.page-numbers.next {
  background: var(--navy, #0F172A);
  color: #FFFFFF !important;
  border-color: var(--navy, #0F172A);
  padding: 0 16px;
}
.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover,
.page-numbers.prev:hover,
.page-numbers.next:hover {
  background: var(--bordeaux, #9F1239);
  border-color: var(--bordeaux, #9F1239);
  color: #fff !important;
}
.navigation.pagination .page-numbers.dots,
span.page-numbers.dots,
.page-numbers.dots {
  min-width: 24px;
  padding: 0 4px;
  color: var(--ink-muted, #475569);
  border: none;
  background: transparent;
}

/* SINGLE ARTICLE LAYOUT */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 42px;
  align-items: start;
}
@media (max-width: 1040px) {
  .article-layout { grid-template-columns: 1fr; }
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.article-title { font-size: clamp(30px, 4vw, 46px); margin: 8px 0 14px; }

/* QUICK ACTION BAR: JUMP TO RECIPE & PRINT RECIPE */
.recipe-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.recipe-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-jump-recipe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--terracotta);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(158, 59, 36, 0.25);
}
.btn-jump-recipe:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}
.btn-print-recipe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--sage-dark) !important;
  border: 1.5px solid var(--sage);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.btn-print-recipe:hover {
  background: var(--sage-light);
}
.recipe-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.recipe-rating-pill .stars {
  color: #d98a1c;
  letter-spacing: 1px;
}

.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terracotta);
}
.part-badge {
  background: var(--sage-dark);
  color: #fcf9f4;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* CHEF OVERVIEW SPEC STRIP */
.chef-overview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  background: var(--surface-sage);
  border: 1px solid #cfe0d3;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 22px;
}
.chef-overview-item {
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid #dce8df;
}
.chef-overview-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
}
.chef-overview-item b {
  font-size: 14px;
  color: var(--ink);
}

.jump-banner {
  background: linear-gradient(135deg, #fdf6ef, #f7e4d4);
  border: 1px solid #e3bdb0;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.jump-btn {
  background: var(--terracotta);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
}

/* FIGURES & PIN RECIPE BUTTONS */
.met-figure {
  position: relative;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.met-lead-img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}
.met-figure figcaption {
  padding: 11px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-pin-img, .fig-pin-btn {
  background: var(--pin-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
}
.btn-pin-img:hover, .fig-pin-btn:hover { opacity: 0.9; }

.met-sec-h2 { font-size: 30px; margin: 28px 0 14px; color: var(--ink); }
.met-sub-h3 { font-size: 24px; margin: 22px 0 10px; color: var(--terracotta-dark); }
.article-content p { margin-bottom: 18px; font-size: 17px; color: #26201c; }
.met-callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--sage);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.met-callout h3 { font-size: 21px; margin-bottom: 10px; color: var(--sage-dark); }
.met-callout ul { padding-left: 20px; }
.met-callout li { margin-bottom: 8px; font-size: 15.5px; }

/* INTERACTIVE EVERYDAY TABLE RECIPE & HOSTING CARD */
.recipe-card {
  margin: 38px 0 30px;
  background: #fffdf9;
  border: 2px solid var(--terracotta);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.recipe-card-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 3px double #9F1239;
}
@media (max-width: 640px) {
  .recipe-card-header { grid-template-columns: 1fr; text-align: center; }
  .recipe-card-thumb { margin: 0 auto; }
}
.recipe-card-thumb {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid var(--brass);
}
.recipe-card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #FDE68A;
  margin-bottom: 4px;
}
.recipe-card-title {
  color: #fff !important;
  font-size: 28px;
  margin: 0 0 8px;
}
.recipe-card-summary {
  color: #E2E8F0 !important;
  font-size: 14.5px !important;
  margin: 0 0 12px !important;
  line-height: 1.5;
}
.recipe-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.recipe-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.recipe-card-btn.print {
  background: #fff;
  color: var(--ink) !important;
}
.recipe-card-btn.pin {
  background: var(--pin-red);
  color: #fff !important;
}
.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 760px) {
  .recipe-meta-grid { grid-template-columns: repeat(3, 1fr); }
}
.recipe-meta-cell {
  padding: 12px 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.recipe-meta-cell:last-child { border-right: none; }
.recipe-meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}
.recipe-meta-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.recipe-card-body {
  padding: 26px 28px;
}
.recipe-sect-title {
  font-size: 24px;
  color: var(--ink);
  border-bottom: 2px solid var(--surface-alt);
  padding-bottom: 8px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 20px;
}
.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 6px;
  background: #faf6f0;
  border: 1px solid #eee5d8;
}
.ingredient-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  width: 100%;
}
.ingredient-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--terracotta);
  cursor: pointer;
  flex-shrink: 0;
}
.ingredient-item input[type="checkbox"]:checked + span {
  text-decoration: line-through;
  color: var(--ink-muted);
}
.instruction-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: step-counter;
}
.instruction-step {
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.65;
}
.instruction-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chef-notes-box {
  background: var(--surface-sage);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brass);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 22px;
}
.chef-notes-box h4 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.chef-notes-box p {
  font-size: 15px !important;
  color: var(--ink-soft) !important;
  margin-bottom: 8px !important;
}
.nutrition-bar {
  background: #0F172A;
  color: #F8FAFC;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.nutrition-bar strong {
  color: #FDE68A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nutrition-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.nutrition-items span b {
  color: #fff;
}

/* 4-PAGE STEP GUIDE PAGINATION BOX */
.pagination-box {
  margin: 34px 0 26px;
  padding: 26px;
  background: linear-gradient(145deg, #0F172A, #1E293B);
  border-top: 3px double #9F1239;
  color: #fff;
  border-radius: 6px;
  text-align: center;
}
.pagination-box p { color: #CBD5E1; font-size: 14.5px; margin-bottom: 14px; }
.btn-next-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #9F1239, #BE123C);
  color: #fff !important;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(159, 18, 57, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.page-pill {
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  color: #E2E8F0 !important;
}
.page-pill.active { background: #9F1239; color: #fff !important; }

/* AUTHOR & SIDEBAR */
.author-box {
  margin-top: 30px;
  padding: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
}
.author-box-img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--terracotta);
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 22px;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.founder-card {
  text-align: center;
}
.founder-card img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--terracotta);
}
.btn-pin-follow, .pin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--pin-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
}
.btn-pin-follow { width: 100%; margin-top: 14px; }
.pin-btn svg, .btn-pin-follow svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor;
  flex-shrink: 0;
}

/* FOOTER */
.site-footer {
  background: #0F172A;
  border-top: 3px double #9F1239;
  color: #E2E8F0;
  padding: 56px 24px 140px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 13.5px; }
.footer-col a { color: #CBD5E1; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #94A3B8;
}

@media (max-width: 980px) {
  .nav-inner { justify-content: flex-start; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-main, .article-sidebar { min-width: 0; max-width: 100%; }
}
@media (max-width: 640px) {
  .container, .header-main, .topbar-inner, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .topbar-links { flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
  .brand-logo { gap: 10px; max-width: 100%; }
  .brand-emblem { width: 40px; height: 40px; }
  .brand-title { font-size: 1.25rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.08em; white-space: normal; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-main { padding: 20px 16px; }
  .top-page-bar, .byline-bar, .recipe-quick-actions, .recipe-action-buttons, .author-box { flex-wrap: wrap; }
  .author-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .chef-overview-strip, .ingredient-list { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .topbar, .site-header, .article-sidebar, .pagination-box, .recipe-quick-actions, .jump-banner, .site-footer, #met-sticky-bar {
    display: none !important;
  }
  .article-layout { display: block !important; }
  .article-main { border: none !important; box-shadow: none !important; padding: 0 !important; }
  .recipe-card { border: 1px solid #000 !important; box-shadow: none !important; }
}

