/* =========================================================
   SOVEREIGN-TERMINAL — Healthy Food Blog Theme
   ========================================================= */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --accent:           #4E8B5F;
  --accent-hover:     #3A7048;
  --accent-light:     #D0E9D6;
  --bg-warm:          #F0F7F2;
  --surface:          #ffffff;

  /* Text */
  --on-surface:       #1A2E20;
  --on-surface-muted: #4A6952;
  --on-accent:        #ffffff;

  /* Borders & radius */
  --border:           #C2DECA;
  --radius:           8px;
  --radius-img:       16px;
  --radius-card:      14px;

  /* Typography */
  --font-headline: "DM Sans", system-ui, sans-serif;
  --font-body:     "Lato", system-ui, sans-serif;
  --font-script:   "Dancing Script", cursive;

  /* Layout */
  --container-w: 1200px;
  --section-py:  72px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.site-main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── UTILITY ──────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  border: 2px solid transparent;
  line-height: 1;
}
.btn--accent  { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }

.section-heading { margin-bottom: 40px; }
.section-heading--center { text-align: center; }
.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.2;
}
.section-sub {
  margin-top: 10px;
  color: var(--on-surface-muted);
  font-size: 1.05rem;
}

/* ── TOP BAR ──────────────────────────────────────────── */
.top-bar {
  background: var(--accent-light);
  text-align: center;
  padding: 8px 16px;
  color: var(--on-surface);
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── HEADER ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0 24px;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 48px; width: auto; object-fit: contain; }
.header-logo .custom-logo-link { display: flex; align-items: center; }
.header-logo .site-title-text {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--on-surface);
  white-space: nowrap;
}
.header-nav { justify-self: center; }
.header-nav .nav-list { display: flex; list-style: none; gap: 8px; }
.header-nav .nav-list a {
  color: var(--on-surface);
  font-size: .9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.header-nav .nav-list a:hover { color: var(--accent); background: var(--accent-light); }

/* Desktop dropdown */
.header-nav .nav-list > li {
  position: relative;
}
.header-nav .nav-list > li > a.menu-item-has-children-toggle::after,
.header-nav .nav-list li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 5px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  transition: transform .2s;
}
.header-nav .nav-list li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}
.header-nav .nav-list li.menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.header-nav .nav-list li.menu-item-has-children:hover .sub-menu,
.header-nav .nav-list li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.header-nav .nav-list .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: .87rem;
  color: var(--on-surface);
  border-radius: 0;
  background: none;
  white-space: nowrap;
}
.header-nav .nav-list .sub-menu a:hover { color: var(--accent); background: var(--accent-light); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.header-search-btn, .burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 8px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.header-search-btn:hover, .burger-btn:hover { color: var(--accent); background: var(--accent-light); }
.burger-btn { display: none; }

/* Search Bar */
.header-search-bar {
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
  padding: 12px 0;
  display: flex;
  justify-content: center;
}
.header-search-bar[hidden] { display: none; }
.header-search-bar .search-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: var(--container-w);
  padding-inline: 24px;
}
.header-search-bar input[type="search"] {
  flex: 1;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  background: var(--surface);
  color: var(--on-surface);
  transition: border-color .2s;
  min-width: 0;
}
.header-search-bar input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(78,139,95,.12);
}
.header-search-bar input[type="search"]::placeholder { color: var(--on-surface-muted); opacity: .7; }
.header-search-bar button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 12px 28px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.header-search-bar button[type="submit"]:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.header-search-bar button[type="submit"] svg { display: block; }

/* Mobile nav backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 299;
}
.nav-backdrop.is-open { display: block; }

/* Mobile nav drawer — slides from left */
.nav-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(300px, 85vw);
  background: var(--bg-warm);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 32px rgba(0,0,0,.16);
  overflow-y: auto;
}
.nav-menu.is-open { transform: translateX(0); }
.nav-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-menu__brand {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-surface);
}
.nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}
.nav-close:hover { color: var(--accent); background: var(--accent-light); }
.nav-menu__body { padding: 8px 0; }

/* Mobile nav dropdown: items expand inline */
.nav-menu .menu li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu .menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  flex-shrink: 0;
  transition: transform .25s;
}
.nav-menu .menu li.menu-item-has-children.is-open > a::after {
  transform: rotate(180deg);
}
.nav-menu .menu .sub-menu {
  display: none;
  list-style: none;
  background: var(--accent-light);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.nav-menu .menu li.menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.nav-menu .menu .sub-menu a {
  padding: 10px 24px 10px 32px;
  font-size: .93rem;
  border-left-color: transparent;
}
.nav-menu .menu { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav-menu .menu li a {
  display: block;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  color: var(--on-surface);
  padding: 14px 24px;
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-menu .menu li a:hover {
  color: var(--accent);
  background: var(--accent-light);
  border-left-color: var(--accent);
}
.nav-menu__subscribe {
  padding: 20px 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-menu__subscribe .btn { display: block; text-align: center; }

/* ── RECIPE MOSAIC HERO ───────────────────────────────── */
.mosaic-section {
  background: var(--bg-warm);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
/* Paper-grain texture overlay */
.mosaic-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}
/* Organic blob shape */
.mosaic-blob {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 40% 40%, var(--accent-light) 0%, transparent 68%);
  opacity: 0.55;
  top: -200px; right: -120px;
  pointer-events: none;
  z-index: 0;
}
/* Botanical SVG accents */
.mosaic-botanical {
  position: absolute;
  pointer-events: none;
  color: var(--accent);
  z-index: 0;
}
.mosaic-botanical--tr { top: 16px; right: 16px; width: 200px; height: 200px; opacity: 0.13; }
.mosaic-botanical--bl { bottom: 16px; left: 16px; width: 160px; height: 160px; opacity: 0.10; }

/* Section eyebrow row */
.mosaic-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.mosaic-intro__eyebrow {
  font-family: var(--font-headline);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  white-space: nowrap;
}
.mosaic-intro__rule {
  flex: 0 0 60px;
  height: 1px;
  background: var(--border);
}
.mosaic-intro__sub {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--on-surface-muted);
  line-height: 1;
}

/* ── MOSAIC GRID ── */
.mosaic-grid {
  display: grid;
  grid-template-columns: 1.75fr 1.1fr 1fr;
  grid-template-rows: 360px 230px;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* ── SHARED CARD BASE ── */
.mosaic-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.05);
  transition: transform .38s cubic-bezier(.4,0,.2,1), box-shadow .38s;
}
.mosaic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 32px 60px rgba(0,0,0,.07);
}
.mosaic-card__img-link { display: block; width: 100%; height: 100%; }
.mosaic-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.mosaic-card:hover .mosaic-card__img { transform: scale(1.04); }
.mosaic-card__img-placeholder { width: 100%; height: 100%; background: var(--accent-light); }

/* ── A: FEATURED — full image, gradient overlay ── */
.mosaic-card--featured { grid-column: 1; grid-row: 1; }
.mosaic-card--featured .mosaic-card__img-link {
  position: absolute;
  inset: 0;
}
.mosaic-card--featured .mosaic-card__img-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
    rgba(10,22,14,.04) 0%,
    rgba(10,22,14,.45) 50%,
    rgba(10,22,14,.90) 100%);
}
.mosaic-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 34px;
  z-index: 2;
}
/* Category pill */
.mosaic-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-headline);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
  transition: background .2s;
}
.mosaic-pill:hover { background: var(--accent-hover); color: #fff; }
.mosaic-pill--sm { font-size: .62rem; padding: 3px 10px; margin-bottom: 8px; }
/* Card titles */
.mosaic-card__title {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
}
.mosaic-card__title a { color: inherit; transition: color .2s; }
.mosaic-card__title--featured {
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  margin-bottom: 10px;
}
.mosaic-card__title--featured a { color: #fff; }
.mosaic-card__title--featured a:hover { color: var(--accent-light); }
.mosaic-card__excerpt {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  line-height: 1.62;
  margin-bottom: 18px;
  max-width: 46ch;
}
/* Glassmorphism CTA */
.mosaic-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.42);
  color: #fff;
  font-family: var(--font-headline);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 9px 22px;
  border-radius: 999px;
  transition: background .2s, border-color .2s;
}
.mosaic-cta:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.72); color: #fff; }

/* ── B: TALL — vertical, image top + content below ── */
.mosaic-card--tall {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.mosaic-card--tall .mosaic-card__img-link {
  flex: 0 0 58%;
  overflow: hidden;
  height: auto;
}
.mosaic-card--tall .mosaic-card__img { height: 100%; object-fit: cover; }
.mosaic-card--tall .mosaic-card__body {
  flex: 1;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Badge category label */
.mosaic-cat-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-headline);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1.5px solid var(--accent-light);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  transition: background .2s, border-color .2s, color .2s;
}
.mosaic-cat-badge:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mosaic-card__title--tall {
  font-size: clamp(.95rem, 1.4vw, 1.25rem);
  margin-bottom: 10px;
}
.mosaic-card__title--tall a:hover { color: var(--accent); }
.mosaic-card__excerpt--sm {
  font-size: .86rem;
  color: var(--on-surface-muted);
  line-height: 1.6;
}

/* ── C: EDITORIAL — horizontal split ── */
.mosaic-card--editorial {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.mosaic-card__editorial-img {
  flex: 0 0 42%;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  margin: 12px 0 12px 12px;
  position: relative;
}
.mosaic-card__editorial-img .mosaic-card__img {
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.mosaic-card--editorial:hover .mosaic-card__img { transform: scale(1.04); }
.mosaic-card__editorial-text {
  flex: 1;
  padding: 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Large decorative quote mark */
.mosaic-deco-mark {
  position: absolute;
  top: 8px; right: 14px;
  font-family: var(--font-script);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--accent-light);
  pointer-events: none;
  user-select: none;
  transform: rotate(-4deg);
}
/* Plain-text category */
.mosaic-cat-text {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--accent);
  margin-bottom: 8px;
  transition: color .2s;
}
.mosaic-cat-text:hover { color: var(--accent-hover); }
.mosaic-cat-text--inv { color: rgba(255,255,255,.8); }
.mosaic-cat-text--inv:hover { color: #fff; }
.mosaic-card__title--editorial {
  font-size: clamp(.9rem, 1.3vw, 1.15rem);
  margin-bottom: 14px;
}
.mosaic-card__title--editorial a:hover { color: var(--accent); }
/* Underline link button */
.mosaic-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-headline);
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
  align-self: flex-start;
}
.mosaic-link-btn:hover { border-color: var(--accent); color: var(--accent-hover); }

/* ── D: SMALL-ACCENT — text on herb green ── */
.mosaic-card--small-accent {
  grid-column: 3;
  grid-row: 1;
  background: var(--accent);
}
/* Decorative circles */
.mosaic-card--small-accent::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.mosaic-card--small-accent::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -50px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.mosaic-card__accent-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  z-index: 1;
}
.mosaic-card__title--sm-acc {
  font-size: clamp(.88rem, 1.1vw, 1.05rem);
  line-height: 1.3;
  color: #fff;
  margin-bottom: 18px;
}
.mosaic-card__title--sm-acc a { color: #fff; }
.mosaic-card__title--sm-acc a:hover { color: var(--accent-light); }
/* Arrow button */
.mosaic-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  align-self: flex-start;
  transition: background .2s, border-color .2s, transform .25s;
}
.mosaic-arrow-btn:hover {
  background: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.75);
  color: #fff;
  transform: translateX(5px);
}

/* ── E: SMALL-IMG — image with dark overlay ── */
.mosaic-card--small-img { grid-column: 3; grid-row: 2; }
.mosaic-card--small-img .mosaic-card__img-link {
  position: absolute;
  inset: 0;
}
.mosaic-card--small-img .mosaic-card__img-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,14,.82) 0%, rgba(10,22,14,.12) 60%);
}
.mosaic-card__small-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  z-index: 2;
}
.mosaic-card__title--sm-wh {
  font-size: clamp(.82rem, 1vw, .95rem);
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  line-height: 1.3;
}
.mosaic-card__title--sm-wh a { color: #fff; }
.mosaic-card__title--sm-wh a:hover { color: var(--accent-light); }

/* ── COMMUNITY BANNER ─────────────────────────────────── */
.community-banner {
  background: var(--accent);
  color: var(--on-accent);
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.community-banner__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.community-banner__title {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  margin: 0;
  opacity: .97;
  letter-spacing: .01em;
}
.community-banner .btn--accent {
  background: var(--surface);
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 22px;
  font-size: .8rem;
}
.community-banner .btn--accent:hover { background: var(--accent-light); }

/* ── RECIPES GRID ─────────────────────────────────────── */
.recipes-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}
/* Editorial two-part heading row */
.recipes-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.recipes-section__eyebrow {
  display: block;
  font-family: var(--font-headline);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 6px;
}
.recipes-section__title {
  font-family: var(--font-headline);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.18;
  margin: 0;
}
.recipes-section__all {
  font-family: var(--font-headline);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-light);
  transition: border-color .2s, color .2s;
}
.recipes-section__all:hover { border-color: var(--accent); color: var(--accent-hover); }

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.recipe-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.recipe-card__img-link { display: block; aspect-ratio: 4/5; overflow: hidden; }
.recipe-card__img, .recipe-card__img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.recipe-card__img-placeholder { background: var(--accent-light); }
.recipe-card:hover .recipe-card__img { transform: scale(1.04); }
/* Card body — flex-grow fills full remaining card height so bg is consistent */
.recipe-card__body {
  padding: 14px 16px 18px;
  flex: 1;
}
/* Category pill — same pattern as mosaic-pill */
.recipe-card__cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-headline);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 9px;
  transition: background .2s;
}
.recipe-card__cat:hover { background: var(--accent-hover); color: #fff; }
.recipe-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--on-surface);
}
.recipe-card__title a { color: inherit; }
.recipe-card__title a:hover { color: var(--accent); }

/* ── TIPS SECTION ─────────────────────────────────────── */
.tips-section {
  background: var(--on-surface);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
/* Soft radial glow in the corner */
.tips-section::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,139,95,.2) 0%, transparent 68%);
  pointer-events: none;
}
.tips-section::after {
  content: '';
  position: absolute;
  left: -100px; bottom: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,139,95,.1) 0%, transparent 70%);
  pointer-events: none;
}
/* Two-column layout: sticky intro + 2×2 grid */
.tips-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.tips-intro {
  padding-top: 6px;
  position: sticky;
  top: 104px;
}
.tips-intro__eyebrow {
  display: block;
  font-family: var(--font-headline);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.tips-intro__script {
  display: block;
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.tips-intro__title {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
/* 2×2 card grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tip-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s, transform .32s;
}
.tip-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(78,139,95,.5);
  transform: translateY(-5px);
}
/* Ghost watermark number */
.tip-card__num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-headline);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.tip-card__icon {
  font-size: 1.85rem;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}
/* Category label pill */
.tip-card__tag {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-light);
  background: rgba(78,139,95,.3);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 12px;
}
.tip-card__title {
  font-family: var(--font-headline);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.tip-card__text {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.68;
}

/* ── CATEGORIES SECTION ──────────────────────────────── */
.categories-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 2px 14px rgba(0,0,0,.2);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
}
.cat-card__img-wrap {
  aspect-ratio: 4/4;
  overflow: hidden;
  background: var(--accent-light);
}
.cat-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card__img-placeholder {
  width: 100%; height: 100%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.cat-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-surface);
  padding: 14px 16px 16px;
  text-align: center;
  line-height: 1.3;
  transition: color .2s;
}
.cat-card:hover .cat-card__title { color: var(--accent); }

/* ── WEIGHTLOSS SECTION ───────────────────────────────── */
.weightloss-section {
  padding: var(--section-py) 0;
  background: var(--bg-warm);
}
.weightloss-section .section-title { color: var(--on-surface); }
.wl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.wl-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.wl-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.wl-card__img-link { display: block; aspect-ratio: 4/5; overflow: hidden; }
.wl-card__img, .wl-card__img-placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.wl-card__img-placeholder { background: var(--accent-light); }
.wl-card:hover .wl-card__img { transform: scale(1.04); }
.wl-card__body {
  padding: 14px 16px 18px;
  flex: 1;
}
/* Inherit pill style from recipe-card__cat for wl-card */
.wl-card__cat { }
.wl-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 6px;
  color: var(--on-surface);
}
.wl-card__title a { color: inherit; }
.wl-card__title a:hover { color: var(--accent); }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials-section {
  background: var(--bg-warm);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
/* Faint large script watermark */
.testimonials-section::before {
  content: 'Readers';
  position: absolute;
  right: -10px; bottom: -30px;
  font-family: var(--font-script);
  font-size: 11rem;
  color: var(--accent-light);
  opacity: 0.5;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
/* Split header row */
.testimonials-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}
.testimonials-header__eyebrow {
  display: block;
  font-family: var(--font-headline);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 8px;
}
.testimonials-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.2;
  margin: 0;
  max-width: 26ch;
}
.testimonials-header__sub {
  max-width: 32ch;
  color: var(--on-surface-muted);
  font-size: .97rem;
  line-height: 1.65;
  padding-top: 4px;
  flex-shrink: 0;
}
/* Cards grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
/* First card — accent variant */
.testimonial-card--accent {
  background: var(--accent);
  border-color: var(--accent);
}
/* Large decorative opening quote */
.testimonial-card__quote-mark {
  font-family: var(--font-script);
  font-size: 4.5rem;
  line-height: .7;
  color: var(--accent-light);
  user-select: none;
}
.testimonial-card--accent .testimonial-card__quote-mark {
  color: rgba(255,255,255,.3);
}
.testimonial-card__text {
  font-size: .97rem;
  color: var(--on-surface);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-card--accent .testimonial-card__text { color: rgba(255,255,255,.92); }
/* Footer row: avatar + name/meta + stars */
.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.testimonial-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2.5px solid var(--accent-light);
}
.testimonial-card--accent .testimonial-card__avatar {
  border-color: rgba(255,255,255,.5);
}
.testimonial-card__name {
  display: block;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: .95rem;
  color: var(--on-surface);
  line-height: 1.2;
}
.testimonial-card--accent .testimonial-card__name { color: #fff; }
.testimonial-card__meta {
  display: block;
  font-size: .78rem;
  color: var(--on-surface-muted);
  line-height: 1.3;
  margin-top: 2px;
}
.testimonial-card--accent .testimonial-card__meta { color: rgba(255,255,255,.7); }
.testimonial-card__stars {
  color: #f5c842;
  font-size: .9rem;
  letter-spacing: 1.5px;
  margin-left: auto;
}
.testimonial-card--accent .testimonial-card__stars { color: #f5c842; }

/* ── NEWSLETTER ───────────────────────────────────────── */
.newsletter-section {
  background: var(--bg-warm);
  padding: var(--section-py) 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.newsletter-inner__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem,2.6vw,2.1rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--on-surface);
}
.newsletter-inner__sub { color: var(--on-surface-muted); margin-bottom: 24px; }
.newsletter-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-img);
  object-fit: cover;
  display: block;
}
.newsletter-inner .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-inner .wpcf7-form input[type="email"],
.newsletter-inner .wpcf7-form input[type="text"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
}
.newsletter-inner .wpcf7-form input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .2s;
}
.newsletter-inner .wpcf7-form input[type="submit"]:hover { background: var(--accent-hover); }

.wpcf7-spinner {
  display: none;
}

/* Form layout: stack email + button with gap, suppress the raw <br> */
.newsletter-inner .form-fields p {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.newsletter-inner .form-fields p br { display: none; }
.newsletter-inner .form-privacy p { margin: 0; }

/* Validation: red border on invalid email, hide CF7 tip text */
.newsletter-inner .wpcf7-not-valid-tip { display: none !important; }
.newsletter-inner .wpcf7-form input.wpcf7-not-valid {
  border-color: #c0392b;
}
/* Red underline on privacy label when acceptance is invalid */
.newsletter-inner .wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label {
  text-decoration: underline;
  text-decoration-color: #c0392b;
  text-underline-offset: 2px;
}

/* ── EDITOR SECTION ───────────────────────────────────── */
.editor-section {
  background: var(--surface);
  padding: var(--section-py) 0;
}
.editor-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
}
.editor-bio__eyebrow {
  display: block;
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.editor-bio__name {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem,2.8vw,2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--on-surface);
}
.editor-bio__role {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.editor-bio__desc {
  color: var(--on-surface-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-size: 1.02rem;
  max-width: 54ch;
}
/* Stats row */
.editor-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.editor-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.editor-stat__number {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.editor-stat__label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--on-surface-muted);
}
/* Photo — smaller portrait with offset accent block */
.editor-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.editor-photo-wrap::before {
  content: '';
  position: absolute;
  top: 12px;
  right: -12px;
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  border-radius: 20px;
  z-index: 0;
}
.editor-photo {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 260px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.footer-brand-logo img { height: 40px; width: auto; }
.footer-brand-logo .site-title-text {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--on-surface);
}
.footer-nav ul { display: flex; list-style: none; gap: 24px; }
.footer-nav a { color: var(--on-surface-muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-divider { grid-column: 1/-1; border: none; border-top: 1px solid var(--border); margin: 4px 0; }
.footer-copy { grid-column: 1/-1; font-size: .82rem; color: var(--on-surface-muted); text-align: center; }

@media (max-width: 768px) {
  .footer-brand-logo a {
    display: flex;
    justify-content: center;
  }
}

/* ── SHARED INNER-PAGE UTILITIES ─────────────────────── */
.container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 24px;
}
.section-pad { padding: var(--section-py) 0; }

/* Category chip — plain accent text matching recipe card style */
.chip {
  display: inline;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  transition: color .2s;
}
.chip:hover { color: var(--accent-hover); }
.chip + .chip::before { content: ' · '; color: var(--on-surface-muted); }

/* ── POST GRID & TILE (archive, index, related) ──────── */
.post-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 56px;
}
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }

.post-tile {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.post-tile:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.post-tile__thumb-link { display: block; aspect-ratio: 4/5; overflow: hidden; }
.post-tile__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-tile:hover .post-tile__thumb { transform: scale(1.04); }
.post-tile__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-tile__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.post-tile__title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.post-tile__title a { color: inherit; }
.post-tile__title a:hover { color: var(--accent); }
.post-tile__excerpt { font-size: .9rem; color: var(--on-surface-muted); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.post-tile__meta { font-size: .8rem; color: var(--on-surface-muted); display: flex; align-items: center; gap: 8px; }
.post-tile__meta time { }

/* ── PAGINATION ──────────────────────────────────────── */
.pagination { margin-top: 26px; margin-bottom: 72px; }
.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  color: var(--on-surface);
  border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination .page-numbers:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination .page-numbers.dots { border: none; background: none; min-width: auto; padding: 0 4px; }

/* ── NO RESULTS ──────────────────────────────────────── */
.no-results { text-align: center; padding: 72px 0; }
.no-results p { font-size: 1.1rem; color: var(--on-surface-muted); margin-bottom: 24px; }

/* ── ARCHIVE / CATEGORY PAGE ─────────────────────────── */
.archive-main { padding: 56px 0 80px; }

.archive-header {
  padding: 48px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.archive-header__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.archive-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.15;
  margin-bottom: 12px;
}
.archive-header__desc {
  color: var(--on-surface-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── SINGLE POST ─────────────────────────────────────── */

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width .1s linear;
}

.single-main { padding: 56px 0 80px; }
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

/* Article header */
.article-header { margin-bottom: 32px; }
.article-header__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.article-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--on-surface-muted);
}

/* Featured image */
.article-hero { margin-bottom: 40px; border-radius: var(--radius-img); overflow: hidden; }
.article-hero__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.article-hero__caption {
  font-size: .8rem;
  color: var(--on-surface-muted);
  text-align: center;
  padding: 8px 0;
  font-style: italic;
}

/* Prose content */
.entry-content {
  color: var(--on-surface);
  font-size: 1.05rem;
  line-height: 1.8;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
  margin: 1.8em 0 .6em;
  line-height: 1.25;
}
.entry-content h2 { font-size: 1.55rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.05rem; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--accent-hover); }
.entry-content img { border-radius: var(--radius-img); margin: 1.5em 0; }
.entry-content blockquote {
  border-left: 4px solid var(--accent);
  margin: 2em 0;
  padding: 1em 1.5em;
  background: var(--bg-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--on-surface-muted);
}
.entry-content blockquote p { margin: 0; }
.entry-content code {
  background: var(--accent-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .88em;
}
.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* Prev / Next post nav */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.article-nav__prev { text-align: left; }
.article-nav__next { text-align: right; }
.article-nav__label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 6px;
}
.article-nav__link {
  font-family: var(--font-headline);
  font-size: .95rem;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.35;
}
.article-nav__link:hover { color: var(--accent); }

/* Related posts */
.related-posts { margin-top: 56px; }
.related-posts__heading {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Sticky sidebar */
.single-sidebar { position: sticky; top: calc(var(--header-h, 64px) + 24px); }
.sidebar-panel {
  background: var(--bg-warm);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border);
}
.sidebar-panel__heading {
  font-family: var(--font-headline);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.side-article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.side-article:last-child { border-bottom: none; padding-bottom: 0; }
.side-article__thumb-link {
  display: block;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}
.side-article__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.side-article__thumb-link:hover .side-article__thumb { transform: scale(1.05); }
.side-article__body { flex: 1; min-width: 0; margin-top: -5px; }
.side-article__title {
  font-family: var(--font-headline);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
}
.side-article__title a { color: var(--on-surface); }
.side-article__title a:hover { color: var(--accent); }

/* ── STATIC PAGE ─────────────────────────────────────── */
.page-main { padding: 56px 0 80px; }
.page-header { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.page-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.2;
}
.page-hero { margin-bottom: 40px; border-radius: var(--radius-img); overflow: hidden; }
.page-hero__img { width: 100%; aspect-ratio: 16/6; object-fit: cover; }

/* ── 404 PAGE ────────────────────────────────────────── */
.error-main { padding: 80px 0 100px; }
.error-page { text-align: center; }
.error-page__code {
  font-family: var(--font-headline);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
  user-select: none;
}
.error-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 16px;
}
.error-page__desc {
  color: var(--on-surface-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 36px;
}
.error-page__actions { margin-bottom: 64px; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; border-color: var(--accent-hover); }

.error-recent {
  max-width: 500px;
  margin-inline: auto;
  text-align: left;
}
.error-recent__heading {
  font-family: var(--font-headline);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.error-recent__list { list-style: none; }
.error-recent__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.error-recent__list li:last-child { border-bottom: none; }
.error-recent__list a {
  font-weight: 600;
  color: var(--on-surface);
  font-size: .95rem;
  flex: 1;
}
.error-recent__list a:hover { color: var(--accent); }
.error-recent__list time { font-size: .78rem; color: var(--on-surface-muted); white-space: nowrap; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Header — flex so logo stays left, icons stay right */
  .header-inner { display: flex; justify-content: space-between; padding: 0 16px; }
  .header-nav { display: none; }
  .burger-btn { display: flex; }

  .recipes-grid, .wl-grid  { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-header { flex-direction: column; gap: 16px; }
  .testimonials-header__sub { max-width: 100%; }
  /* Tips: collapse to single column, un-stick intro */
  .tips-layout { grid-template-columns: 1fr; gap: 32px; }
  .tips-intro { position: static; }
  .tips-intro__script { font-size: 2.5rem; }

  /* Mosaic — 2-col tablet layout */
  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 220px 190px;
    gap: 12px;
  }
  .mosaic-card--featured   { grid-column: 1; grid-row: 1; }
  .mosaic-card--tall       { grid-column: 2; grid-row: 1 / 3; }
  .mosaic-card--editorial  { grid-column: 1; grid-row: 2; }
  .mosaic-card--small-accent { grid-column: 1; grid-row: 3; }
  .mosaic-card--small-img  { grid-column: 2; grid-row: 3; }

  /* Inner pages */
  .post-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  /* Related recipes: 2-col at tablet */
  .recipes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {

  /* Mosaic — single column on mobile */
  .mosaic-section { padding: 40px 0 52px; }
  .mosaic-intro { gap: 10px; }
  .mosaic-intro__rule { flex: 0 0 32px; }
  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px auto auto 170px 170px;
    gap: 12px;
  }
  .mosaic-card--featured   { grid-column: 1; grid-row: 1; }
  .mosaic-card--tall       { grid-column: 1; grid-row: 2; flex-direction: row; height: 200px; }
  .mosaic-card--tall .mosaic-card__img-link { flex: 0 0 42%; height: 100%; }
  .mosaic-card--editorial  { grid-column: 1; grid-row: 3; flex-direction: column; height: auto; }
  .mosaic-card__editorial-img { flex: none; height: 160px; margin: 0; border-radius: 0; }
  .mosaic-card__editorial-img .mosaic-card__img { border-radius: 0; }
  .mosaic-card--small-accent { grid-column: 1; grid-row: 4; }
  .mosaic-card--small-img    { grid-column: 1; grid-row: 5; }

  .recipes-section__heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .community-banner__inner { gap: 14px; flex-direction: column; text-align: center; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .editor-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .editor-bio__desc { max-width: 100%; }
  .editor-stats { justify-content: center; }
  .editor-photo-wrap { margin-inline: auto; }
  .editor-photo-wrap::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav ul { justify-content: center; }

  /* Inner pages */
  .post-grid--3 { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; gap: 16px; }
  .article-nav__next { text-align: left; }
  .article-hero__img { aspect-ratio: 4/3; }
  .archive-header { padding: 32px 0 36px; margin-bottom: 40px; }
}

@media (max-width: 560px) {
  .recipes-grid, .wl-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .tip-card { padding: 22px 18px; }
}
