/*
Theme Name: TastyRecipeGallery — Mediterranean Sunlit Olive-Grove & Amalfi Lemon Ceramic Gallery
Theme URI: https://tastyrecipegallery.com
Author: Chef Henrietta D. Holmes · TastyRecipeGallery (@henriettaoffical)
Author URI: https://www.pinterest.com/henriettaoffical/
Description: Bespoke WordPress 6.8 theme (v3.4.0) for TastyRecipeGallery (tastyrecipegallery.com). Mediterranean Sunlit Olive-Grove & Amalfi Lemon Ceramic Gallery aesthetic in Warm Sunlit Limestone-Ivory (#FCFBF7), Deep Aegean-Teal (#0F292A / #13383A), Vibrant Amalfi Lemon-Gold (#EAB308 / #FACC15), and Sun-Dried Tomato Coral (#E11D48 / #F43F5E), featuring Spectral + Cabin typography, gallery-framed recipe cards, 4-page recipe guides, and Schema.org/Recipe cards.
Version: 3.4.0
License: GPLv2 or later
Text Domain: tastyrecipegallery
*/

:root {
  --bg: #FCFBF7;
  --bg-soft: #F5F2E8;
  --surface: #FFFFFF;
  --aegean: #0F292A;
  --aegean-soft: #13383A;
  --lemon: #FACC15;
  --lemon-deep: #EAB308;
  --coral: #E11D48;
  --coral-soft: #F43F5E;
  --olive: #3F6212;
  --ink: #142424;
  --ink-soft: #334E4E;
  --ink-muted: #5C7373;
  --border: #E5E0D5;
  --border-gold: #EAB308;
  --pin-red: #E60023;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(15, 41, 42, 0.08);
  --shadow-lg: 0 20px 44px rgba(15, 41, 42, 0.14);
  --font-serif: 'Spectral', Georgia, serif;
  --font-sans: 'Cabin', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* TOP GALLERY EXHIBITION RIBBON */
.topbar {
  background: linear-gradient(90deg, #0F292A 0%, #13383A 50%, #0F292A 100%);
  color: #FCFBF7;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 20px;
  border-bottom: 1.5px solid rgba(250, 204, 21, 0.45);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--lemon);
  font-weight: 700;
}

.topbar a:hover {
  color: #FFFFFF;
}

/* MUSEUM / GALLERY EXHIBITION HEADER WITH DOUBLE AMALFI-GOLD FRAMING LINE */
.site-header {
  background-color: #0F292A;
  background-image: linear-gradient(180deg, #0F292A 0%, #13383A 100%);
  border-bottom: 3px double var(--lemon);
  box-shadow: 0 8px 26px rgba(15, 41, 42, 0.24), inset 0 -2px 0 rgba(234, 179, 8, 0.35);
  position: sticky;
  top: 0;
  z-index: 990;
}

.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-crest-svg {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(250, 204, 21, 0.28));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lemon);
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FCFBF7;
  line-height: 1.08;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FDE047;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-form {
  display: flex;
  align-items: center;
  background: rgba(252, 251, 247, 0.1);
  border: 1.5px solid rgba(250, 204, 21, 0.55);
  border-radius: 999px;
  padding: 5px 6px 5px 16px;
  transition: all 0.2s ease;
}

.search-form:focus-within {
  border-color: var(--lemon);
  background: rgba(252, 251, 247, 0.16);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.22);
}

.search-form input[type="search"] {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #FCFBF7;
  width: 235px;
  outline: none;
}

.search-form input[type="search"]::placeholder {
  color: #CBD5E1;
}

.search-form button {
  background: var(--lemon);
  color: var(--aegean);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-form button:hover {
  background: #FFFFFF;
}

/* CATEGORY EXHIBITION NAV BAR */
.nav-bar {
  background: #0B1F20;
  border-top: 1px solid rgba(250, 204, 21, 0.28);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 11px 15px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #E2E8F0;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--lemon);
  border-bottom-color: var(--lemon);
  background: rgba(250, 204, 21, 0.08);
}

/* PINTEREST BUTTONS (15x15px INLINE SVG) */
.pin-top-btn,
.pin-btn,
.pin-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  line-height: 1.2;
}

.pin-top-btn:hover,
.pin-btn:hover,
.pin-save-btn:hover {
  background: #BE123C;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.pin-top-btn svg,
.pin-btn svg,
.pin-save-btn svg,
.btn-pin-follow svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0;
  fill: currentColor;
}

/* MAIN CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* GALLERY EXHIBITION HERO SECTION */
.hero-split-section {
  margin-bottom: 38px;
}

.hero-split-card {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  background: linear-gradient(135deg, #0F292A 0%, #13383A 100%);
  color: #FCFBF7;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--lemon-deep);
  box-shadow: var(--shadow-lg), inset 0 0 0 4px rgba(250, 204, 21, 0.14);
  margin-bottom: 20px;
}

.hero-split-left {
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.hero-macro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.macro-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.macro-pill.viral {
  background: var(--coral);
  color: #FFFFFF;
}

.macro-pill.protein {
  background: var(--lemon);
  color: var(--aegean);
}

.macro-pill.keto {
  background: rgba(252, 251, 247, 0.14);
  color: #FEF08A;
  border: 1px solid rgba(250, 204, 21, 0.45);
}

.macro-pill.time {
  background: rgba(252, 251, 247, 0.12);
  color: #FCFBF7;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--coral);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: 999px;
  width: fit-content;
}

.hero-split-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: #FCFBF7;
}

.hero-split-left h1 a:hover {
  color: var(--lemon);
}

.hero-split-left p {
  font-size: 15.5px;
  color: #E2E8F0;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lemon);
  color: var(--aegean) !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

.btn-hero-primary:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

.hero-split-right {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 14px;
  background: #0B1F20;
}

.hero-split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(250, 204, 21, 0.55);
  transition: transform 0.45s ease;
}

.hero-split-card:hover .hero-split-right img {
  transform: scale(1.03);
}

/* 3 GALLERY CURATION BENTO CARDS */
.hero-bento-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.side-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--aegean);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.side-card:hover {
  border-color: var(--lemon-deep);
  transform: translateY(-3px);
}

.side-card img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.side-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin: 4px 0 6px;
}

.meta-line {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

/* SECTION HEADERS */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px double var(--aegean);
}

.sec-head h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--aegean);
}

/* GALLERY-FRAMED CARDS (border-radius: 14px, padding: 12px, background: #FFFFFF, border: 1.5px solid #E5E0D5, inner mat frame) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.art-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E0D5;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(15, 41, 42, 0.07), inset 0 0 0 3px #FCFBF7;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.art-card:hover {
  transform: translateY(-5px);
  border-color: var(--lemon-deep);
  box-shadow: 0 18px 36px rgba(15, 41, 42, 0.13);
}

.art-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #E5E0D5;
  background: #F5F2E8;
}

.art-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.art-card:hover .art-card-img {
  transform: scale(1.04);
}

.art-card-pin-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.floating-macro-strip {
  background: var(--aegean);
  color: #FCFBF7;
  padding: 7px 12px;
  border-radius: 8px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  border-bottom: 2px solid var(--lemon);
}

.floating-macro-strip .prot {
  color: var(--lemon);
}

.floating-macro-strip .carb {
  color: #A7F3D0;
}

.floating-macro-strip .time {
  color: #FDE68A;
}

.art-card-body {
  padding: 14px 6px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-card-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--coral);
  margin-bottom: 5px;
}

.art-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 8px;
}

.art-card-title a:hover {
  color: var(--coral);
}

.art-card-excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.art-card-cta {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--aegean);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.art-card:hover .art-card-cta {
  color: var(--coral);
}

/* HORIZONTAL PILL PAGINATION (rows=1 GUARANTEED) */
.archive-pagination-wrap {
  margin-top: 44px;
  padding: 22px 26px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--aegean);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow);
}

.archive-page-badge {
  background: var(--aegean);
  color: var(--lemon);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}

.archive-total-count {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 10px;
}

.navigation.pagination {
  margin: 0 !important;
}

.navigation.pagination .nav-links,
.nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.page-numbers,
a.page-numbers,
span.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1.5px solid var(--aegean);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--aegean);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

a.page-numbers:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

span.page-numbers.current {
  background: #0F292A !important;
  border-color: #EAB308 !important;
  color: #FACC15 !important;
  box-shadow: 0 4px 12px rgba(15, 41, 42, 0.28);
}

span.page-numbers.dots {
  background: transparent !important;
  border-color: transparent !important;
  min-width: 24px;
  padding: 0 4px;
  color: var(--ink-muted);
}

.page-numbers.next,
.page-numbers.prev {
  background: var(--aegean);
  border-color: var(--aegean);
  color: #FCFBF7 !important;
  padding: 0 18px;
}

.page-numbers.next:hover,
.page-numbers.prev:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #FFFFFF !important;
}

/* SINGLE ARTICLE LAYOUT & 4-PAGE ELEMENTS */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.article-main {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-top: 5px solid var(--aegean);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: var(--shadow);
}

/* MANDATORY .top-page-bar */
.top-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--aegean);
  color: #FCFBF7;
  padding: 11px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  border-left: 5px solid var(--lemon);
}

.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;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lemon);
}

.top-page-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(252, 251, 247, 0.12);
  color: #FCFBF7;
}

.top-page-dot.active {
  background: var(--lemon);
  color: var(--aegean);
}

.top-page-dot.done {
  background: var(--coral);
  color: #FFFFFF;
}

.top-page-nav-btn {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(252, 251, 247, 0.14);
  color: #FCFBF7 !important;
}

.top-page-nav-btn.primary {
  background: var(--lemon);
  color: var(--aegean) !important;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--aegean);
  margin: 10px 0 16px;
}

/* QUICK RECIPE ACTIONS */
.recipe-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 18px;
}

.recipe-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-jump-recipe {
  background: var(--aegean);
  color: var(--lemon) !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}

.btn-jump-recipe:hover {
  background: var(--coral);
  color: #FFFFFF !important;
}

.btn-print-recipe {
  background: #FFFFFF;
  color: var(--aegean);
  border: 1.5px solid var(--aegean);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
}

.btn-print-recipe:hover {
  background: var(--aegean);
  color: #FFFFFF;
}

.recipe-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.recipe-rating-pill .stars {
  color: var(--lemon-deep);
  letter-spacing: 1px;
}

/* BYLINE BAR */
.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
}

.byline-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lemon-deep);
}

.part-badge {
  background: var(--aegean);
  color: var(--lemon);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  border-radius: 999px;
}

/* CHEF OVERVIEW MACRO STRIP */
.chef-overview-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  background: linear-gradient(135deg, #0F292A 0%, #13383A 100%);
  color: #FCFBF7;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid var(--lemon-deep);
  margin-bottom: 24px;
}

.chef-overview-item {
  background: rgba(252, 251, 247, 0.07);
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}

.chef-overview-item span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
}

.chef-overview-item b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--lemon);
  margin-top: 2px;
}

/* ARTICLE CONTENT & GALLERY FIGURES */
.article-content p {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.76;
}

.trg-intro {
  font-size: 18px !important;
  color: var(--ink-soft) !important;
  border-left: 4px solid var(--lemon-deep);
  padding-left: 16px;
}

.trg-sec-h2,
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--aegean);
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.trg-sub-h3,
.article-content h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--aegean-soft);
  margin: 22px 0 12px;
}

.trg-figure {
  margin: 22px 0 26px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.trg-figure img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 10px;
}

.trg-figure figcaption {
  padding: 12px 6px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}

/* INTERACTIVE CHECKLIST & SWAPS BOX */
.trg-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0 24px;
}

.trg-checklist li {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
}

.trg-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.trg-checklist input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--aegean);
  margin-top: 3px;
  flex-shrink: 0;
}

.trg-swaps-box,
.trg-callout {
  background: #FEFCE8;
  border: 1.5px solid #FDE047;
  border-left: 5px solid var(--aegean);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 22px 0;
}

.trg-swaps-box h3,
.trg-callout h3 {
  margin-top: 0 !important;
  color: var(--aegean);
}

.trg-swaps-box ul,
.trg-callout ul {
  padding-left: 20px;
}

.trg-swaps-box li,
.trg-callout li {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.trg-timeline {
  list-style: none;
  counter-reset: step-counter;
  margin: 18px 0 26px;
}

.trg-timeline li {
  counter-increment: step-counter;
  position: relative;
  padding: 16px 18px 16px 56px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}

.trg-timeline li::before {
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--aegean);
  color: var(--lemon);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MULTI-PAGE PAGINATION BOX (.pagination-box + .page-links) */
.pagination-box {
  background: linear-gradient(145deg, #0F292A 0%, #13383A 100%);
  color: #FCFBF7;
  border: 2px solid var(--lemon-deep);
  border-radius: 16px;
  padding: 24px 26px;
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
}

.pagination-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lemon);
  margin-bottom: 8px;
}

.pagination-progress-track {
  height: 8px;
  background: rgba(252, 251, 247, 0.16);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.pagination-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lemon) 0%, var(--coral) 100%);
  border-radius: 999px;
}

.next-page-teaser {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(252, 251, 247, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.next-page-teaser-img {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--lemon);
}

.next-page-teaser-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lemon);
}

.next-page-teaser-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #FCFBF7;
  margin: 2px 0 4px;
}

.next-page-teaser-sub {
  font-size: 12.5px;
  color: #CBD5E1;
}

.btn-next-page,
.next-part-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FACC15 0%, #EAB308 100%);
  color: #0F292A !important;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

.btn-next-page:hover,
.next-part-cta:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

.page-links.page-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-pill {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(252, 251, 247, 0.12);
  color: #FCFBF7 !important;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.page-pill.active {
  background: var(--lemon);
  color: var(--aegean) !important;
  border-color: var(--lemon);
}

.page-pill.done {
  background: rgba(225, 29, 72, 0.85);
  color: #FFFFFF !important;
}

/* PRINTABLE SCHEMA.ORG RECIPE CARD */
.recipe-card {
  background: #FFFFFF;
  border: 2px solid var(--aegean);
  border-top: 6px solid var(--lemon-deep);
  border-radius: 16px;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
}

.recipe-card-header {
  background: linear-gradient(135deg, #0F292A 0%, #13383A 100%);
  color: #FCFBF7;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.recipe-card-thumb {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 2.5px solid var(--lemon);
}

.recipe-card-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lemon);
  margin-bottom: 4px;
}

.recipe-card-title {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 800;
  color: #FCFBF7;
  margin-bottom: 6px;
}

.recipe-card-summary {
  font-size: 14px;
  color: #E2E8F0;
  margin-bottom: 12px;
}

.recipe-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.recipe-card-btn {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.recipe-card-btn.print {
  background: var(--lemon);
  color: var(--aegean);
}

.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--bg-soft);
  border-bottom: 1.5px solid var(--border);
}

.recipe-meta-cell {
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.recipe-meta-cell:last-child {
  border-right: none;
}

.recipe-meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.recipe-meta-val {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--aegean);
  margin-top: 2px;
}

.recipe-card-body {
  padding: 24px 26px;
}

.recipe-sect-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--aegean);
  margin: 18px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border);
}

.ingredient-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.ingredient-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14.5px;
  cursor: pointer;
}

.instruction-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.instruction-step {
  margin-bottom: 10px;
  font-size: 15px;
}

.chef-notes-box {
  background: #FEFCE8;
  border-left: 4px solid var(--lemon-deep);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.nutrition-bar {
  background: var(--aegean);
  color: #FCFBF7;
  padding: 14px 18px;
  border-radius: 12px;
}

.nutrition-bar strong {
  display: block;
  color: var(--lemon);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.nutrition-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
}

/* AUTHOR BOX & SIDEBAR */
.author-box {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--aegean);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 28px;
}

.author-box-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--lemon-deep);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--aegean);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--aegean);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
}

.founder-card {
  text-align: center;
}

.founder-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--lemon-deep);
}

.btn-pin-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px 16px;
  margin-top: 12px;
  background: var(--coral);
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
}

.btn-pin-follow:hover {
  background: #BE123C;
}

/* FOOTER */
.site-footer {
  background: #0F292A;
  color: #E2E8F0;
  border-top: 4px solid var(--lemon);
  padding: 52px 24px 90px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--lemon);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--lemon);
}

.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 204, 21, 0.22);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #94A3B8;
}

/* LIVE SEARCH DROPDOWN */
.trg-live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: 92vw;
  background: #FFFFFF;
  border: 1.5px solid var(--aegean);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  overflow: hidden;
  padding: 6px;
}

.trg-live-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
}

.trg-live-item:hover {
  background: var(--bg-soft);
}

.trg-live-item img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.trg-live-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trg-live-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--coral);
}

.trg-live-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trg-live-macros {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.trg-live-empty {
  padding: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

/* RESPONSIVE BREAKPOINTS (ZERO OVERFLOW ON MOBILE) */
@media (max-width: 1024px) {
  .hero-split-card,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .hero-bento-trio,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 20px 14px 56px;
  }
  .header-main {
    padding: 12px 14px;
  }
  .brand-title {
    font-size: 22px;
  }
  .search-form input[type="search"] {
    width: 155px;
  }
  .hero-bento-trio,
  .card-grid,
  .trg-checklist,
  .ingredient-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .chef-overview-strip,
  .recipe-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-main {
    padding: 20px 16px;
  }
  .recipe-card-header,
  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .navigation.pagination .nav-links,
  .nav-links {
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }
  .page-numbers,
  a.page-numbers,
  span.page-numbers {
    min-width: 32px;
    height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }
}
