/*
Theme Name: YoghyOrganic Kyoto Matcha & Botanical Apothecary
Theme URI: https://yoghyorganic.com
Author: Dr. Elena Vance — Certified Clinical Herbalist & Tea Sommelier
Description: Ultra-Modern 2026 Kyoto Matcha & Botanical Apothecary Magazine WordPress 6.8 Theme for YoghyOrganic.com (@yoghyorganicsh · 3.27M+ Monthly Pinterest Views) — Equipped with Deep Forest Green Floating Pill Navbar, Dark Botanical Split Banner with Arched Frame, Japanese Linen Soft-Bordered Botanical Arch Cards, Interactive Loose-Leaf Checkboxes, Steeping Temperature & Time Ritual Timeline, Printable Apothecary Recipe Card, HB Agency Ad Integration & 4-Page Structured Guides.
Version: 3.3.0
Text Domain: yoghyorganic
*/

:root {
  --bg: #EFF5F0;
  --surface: #FBFBF8;
  --surface-alt: #E5EFE7;
  --surface-mint: #DCFCE7;
  --surface-warm: #FEFCE8;
  --forest-deep: #0D2818;
  --forest-mid: #143326;
  --forest-soft: #1B4332;
  --ink: #0D2818;
  --ink-soft: #1E3A2B;
  --ink-muted: #4A6B58;
  --muted: #4A6B58;
  --emerald: #15803D;
  --emerald-bright: #22C55E;
  --emerald-dark: #14532D;
  --emerald-light: #DCFCE7;
  --chamomile-gold: #CA8A04;
  --chamomile-bright: #EAB308;
  --chamomile-light: #FEF08A;
  --terracotta: #CA8A04;
  --terracotta-dark: #A16207;
  --terracotta-light: #FEF9C3;
  --accent: #15803D;
  --brand-primary: #15803D;
  --brand-primary-dark: #0D2818;
  --brand-accent: #CA8A04;
  --pin-red: #E60023;
  --border: #BBF7D0;
  --border-strong: #86EFAC;
  --border-warm: #FDE047;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px -6px rgba(13, 40, 24, 0.08), 0 4px 12px -2px rgba(13, 40, 24, 0.04);
  --shadow-hover: 0 22px 44px -8px rgba(13, 40, 24, 0.15), 0 8px 18px -4px rgba(21, 128, 61, 0.12);
  --font-serif: 'Cormorant Garamond', 'Fraunces', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 15% 10%, rgba(187, 247, 208, 0.35) 0%, transparent 45%),
                    radial-gradient(circle at 85% 90%, rgba(254, 240, 138, 0.25) 0%, transparent 45%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

/* Strict SVG sizing rules (Zero giant icons) */
svg {
  max-width: 100%;
}
.pin-btn svg,
.pin-save-btn svg,
.pin-top-btn svg,
.btn-pin-follow svg,
.btn-pin-secondary svg,
.fig-pin-btn svg,
.recipe-card-btn svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor;
  flex-shrink: 0;
}
.brand-crest-svg {
  width: 48px !important;
  height: 48px !important;
  flex-shrink: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Top Apothecary Ribbon */
.topbar {
  background: #081C11;
  color: #ECFDF5;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.28);
}
.topbar-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar-links a {
  color: #BBF7D0;
  font-weight: 600;
}
.topbar-links a:hover {
  color: #FEF08A;
}
.pin-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chamomile-bright);
  color: #0D2818 !important;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.32);
}
.pin-top-btn:hover {
  background: #FACC15;
  transform: translateY(-1px);
}

/* UNIQUE FLOATING PILL NAVBAR IN DEEP FOREST GREEN (#0D2818) */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 1000;
  padding: 0 14px;
}
.floating-pill-header {
  max-width: 1220px;
  margin: 16px auto 8px;
  background: rgba(13, 40, 24, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ECFDF5;
  border: 1.5px solid rgba(234, 179, 8, 0.42);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 16px 38px -6px rgba(13, 40, 24, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
}
.brand-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #86EFAC;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #ECFDF5;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  color: #FDE047;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: rgba(251, 251, 248, 0.12);
  border: 1px solid rgba(187, 247, 208, 0.35);
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.search-form:focus-within {
  background: rgba(251, 251, 248, 0.2);
  border-color: var(--chamomile-bright);
}
.search-form input[type="search"] {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #ECFDF5;
  width: 215px;
  outline: none;
}
.search-form input[type="search"]::placeholder {
  color: rgba(236, 253, 245, 0.72);
}
.search-form button {
  background: var(--chamomile-bright);
  color: #0D2818;
  border: none;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-form button:hover {
  background: #FACC15;
}

/* Floating Category Pill Strip Below Navbar */
.nav-bar {
  max-width: 1180px;
  margin: 0 auto 10px;
  background: rgba(251, 251, 248, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  box-shadow: 0 6px 18px rgba(13, 40, 24, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar {
  display: none;
}
.nav-link {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest-deep);
  white-space: nowrap;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  background: var(--forest-deep);
  color: #FEF08A;
}

/* Main Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 20px 68px;
}

/* UNIQUE FULL-WIDTH DARK BOTANICAL APOTHECARY SPLIT BANNER */
.apothecary-split-hero {
  background: linear-gradient(135deg, #0D2818 0%, #143326 52%, #1B4332 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  border-radius: 32px;
  padding: 38px 42px;
  margin-bottom: 34px;
  color: #ECFDF5;
  box-shadow: 0 24px 48px -12px rgba(13, 40, 24, 0.32);
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 38px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.apothecary-split-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.55);
  color: #FEF08A;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.apothecary-split-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: #FBFBF8;
  margin-bottom: 14px;
}
.apothecary-split-hero p.hero-lead {
  font-size: 16px;
  color: #D1FAE5;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 600px;
}
.hero-macro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}
.macro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.macro-pill.organic {
  background: #15803D;
  color: #ECFDF5;
  border: 1px solid #4ADE80;
}
.macro-pill.caffeine {
  background: rgba(251, 251, 248, 0.12);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.45);
}
.macro-pill.steep {
  background: #CA8A04;
  color: #FFFBEB;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--chamomile-bright);
  color: #0D2818 !important;
  font-weight: 800;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(234, 179, 8, 0.3);
}
.btn-hero-gold:hover {
  background: #FACC15;
  transform: translateY(-2px);
}
.hero-arch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-arch-frame {
  display: block;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 4 / 4.6;
  border-radius: 180px 180px 24px 24px;
  overflow: hidden;
  border: 3px solid #EAB308;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  background: #143326;
}
.hero-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-arch-frame:hover img {
  transform: scale(1.05);
}

/* Secondary Featured Trio Strip under Split Banner */
.apothecary-trio-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.side-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px 22px 14px 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--emerald);
}
.side-card img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 52px 52px 12px 12px;
  border: 1.5px solid var(--border-strong);
}
.side-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
  margin: 4px 0 6px;
  color: var(--ink);
}

/* Badges & Pills */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-light);
  color: var(--forest-deep);
  border: 1px solid var(--border-strong);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 13px;
  border-radius: 999px;
}
.art-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
}
.meta-line {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Section Headers */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.sec-head h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--forest-deep);
}

/* UNIQUE BOTANICAL ARCH & SOFT-BORDERED CARDS (#FBFBF8 with 1px solid #BBF7D0) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 26px;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px 28px 14px 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.art-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--emerald);
}
.art-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: var(--surface-alt);
  border-radius: 28px 28px 12px 12px;
}
.art-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s ease;
}
.art-card:hover .art-card-img {
  transform: scale(1.05);
}
.card-macro-badges {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.card-macro-badge {
  background: rgba(13, 40, 24, 0.88);
  backdrop-filter: blur(6px);
  color: #ECFDF5;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(187, 247, 208, 0.35);
}
.card-macro-badge.highlight {
  background: var(--emerald);
  color: #FFFFFF;
}
.card-macro-badge.terra {
  background: var(--chamomile-gold);
  color: #FFFBEB;
}
.art-card-body {
  padding: 16px 12px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.art-card-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.24;
  margin: 5px 0 9px;
  color: var(--forest-deep);
}
.art-card-title a:hover {
  color: var(--emerald);
}
.art-card-excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.58;
  margin-bottom: 14px;
  flex: 1;
}

.art-card-pin-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(230, 0, 35, 0.94);
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.art-card-pin-btn:hover {
  background: #c4001d;
  transform: scale(1.04);
}
.art-card-pin-btn svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor;
  flex-shrink: 0;
}

/* Archive Pagination — Explicit Horizontal Flex-Row Pills */
.archive-pagination-wrap {
  margin-top: 48px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.archive-pagination-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.archive-page-badge {
  background: var(--emerald-light);
  color: var(--forest-deep);
  padding: 4px 12px;
  border-radius: 999px;
}
nav.navigation.pagination,
.navigation.pagination,
.pagination {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
}
.navigation.pagination .nav-links,
.pagination .nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
}
.page-numbers,
a.page-numbers,
span.page-numbers,
.pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border);
  line-height: 1;
  white-space: nowrap;
}
span.page-numbers.current,
.pagination .page-numbers.current,
a.page-numbers:hover,
.pagination .page-numbers:hover {
  background: var(--forest-deep) !important;
  color: #FEF08A !important;
  border-color: var(--forest-deep) !important;
}
span.page-numbers.dots {
  background: transparent !important;
  border-color: transparent !important;
  min-width: 28px;
  padding: 0 6px;
}
.page-numbers.next,
.page-numbers.prev {
  padding: 0 18px;
  background: #DCFCE7;
  border-color: var(--border-strong);
}

/* Single Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}
.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.article-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest-deep);
  margin: 10px 0 18px;
}

/* Mandatory Top Page Bar (.top-page-bar) */
.top-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #DCFCE7 0%, #FEF9C3 100%);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: 20px;
}
.top-page-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.top-page-status {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--forest-deep);
}
.top-page-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.top-page-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  background: #FBFBF8;
  color: var(--forest-deep);
  border: 1px solid var(--border-strong);
}
.top-page-dot.active {
  background: var(--forest-deep);
  color: #FEF08A;
  border-color: var(--forest-deep);
}
.top-page-dot.done {
  background: var(--emerald);
  color: #FFFFFF;
  border-color: var(--emerald);
}
.top-page-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FBFBF8;
  color: var(--forest-deep);
  border: 1px solid var(--border-strong);
}
.top-page-nav-btn.primary {
  background: var(--chamomile-gold);
  color: #FFFBEB;
  border-color: var(--chamomile-gold);
}
.top-page-nav-btn.primary:hover {
  background: var(--terracotta-dark);
}

/* Quick Action Buttons & Rating Bar */
.recipe-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 18px;
}
.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(--forest-deep);
  color: #FEF08A !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
}
.btn-jump-recipe:hover {
  background: var(--emerald);
  color: #FFFFFF !important;
}
.btn-print-recipe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FBFBF8;
  color: var(--forest-deep);
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
}
.pin-save-btn,
.pin-btn,
.fig-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pin-red);
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
}
.pin-save-btn:hover,
.pin-btn:hover,
.fig-pin-btn:hover {
  background: #c4001d;
}
.recipe-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-deep);
}
.recipe-rating-pill .stars {
  color: var(--chamomile-gold);
  letter-spacing: 1px;
}

/* Byline Bar */
.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px 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(--chamomile-gold);
}
.part-badge {
  background: var(--terracotta-light);
  color: var(--terracotta-dark);
  border: 1px solid var(--border-warm);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Quick Apothecary Steeping & Polyphenol Overview Bar */
.chef-overview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 10px;
  background: linear-gradient(135deg, #0D2818 0%, #1B4332 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
}
.chef-overview-item {
  background: rgba(251, 251, 248, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid rgba(187, 247, 208, 0.2);
}
.chef-overview-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #BBF7D0;
}
.chef-overview-item b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #FEF08A;
  margin-top: 2px;
}

/* Article Content Typography & Figures */
.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.article-content p {
  margin-bottom: 18px;
}
.article-content h2,
.yo-sec-h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 28px 0 14px;
  line-height: 1.2;
}
.article-content h3,
.yo-sub-h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--emerald-dark);
  margin: 22px 0 10px;
}
.yo-figure {
  margin: 24px 0;
  border-radius: 28px 28px 16px 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  box-shadow: var(--shadow);
}
.yo-figure img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}
.yo-figure figcaption {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--surface);
}

/* Interactive Botanical Checkboxes & Steeping Ritual Timeline inside Pages 2 & 3 */
.yo-checklist,
.ingredient-list {
  list-style: none;
  margin: 16px 0 24px;
  display: grid;
  gap: 10px;
}
.yo-checklist li,
.ingredient-item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 15px;
}
.yo-checklist label,
.ingredient-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--forest-deep);
}
.yo-checklist input[type="checkbox"],
.ingredient-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--emerald);
  cursor: pointer;
  flex-shrink: 0;
}

.yo-swaps-box,
.yo-callout {
  background: linear-gradient(135deg, #DCFCE7 0%, #FEF9C3 100%);
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--forest-deep);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 22px 0;
}
.yo-swaps-box h3,
.yo-callout h3 {
  margin-top: 0 !important;
  color: var(--forest-deep);
}
.yo-swaps-box ul,
.yo-callout ul {
  margin: 10px 0 0 18px;
}
.yo-swaps-box li,
.yo-callout li {
  margin-bottom: 8px;
  font-size: 15px;
}

.yo-timeline,
.instruction-list {
  list-style: none;
  counter-reset: yo-step;
  margin: 18px 0 26px;
  display: grid;
  gap: 14px;
}
.yo-timeline li,
.instruction-step {
  counter-increment: yo-step;
  position: relative;
  padding: 16px 18px 16px 58px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 15.5px;
  color: var(--forest-deep);
}
.yo-timeline li::before,
.instruction-step::before {
  content: counter(yo-step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--forest-deep);
  color: #FEF08A;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Multi-Page Pagination Box & .next-part-cta / .page-links */
.pagination-box {
  margin: 32px 0;
  padding: 26px;
  background: linear-gradient(135deg, #EFF5F0 0%, #DCFCE7 100%);
  border: 2px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.pagination-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-deep);
  margin-bottom: 8px;
}
.pagination-progress-track {
  width: 100%;
  height: 8px;
  background: #BBF7D0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}
.pagination-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forest-deep) 0%, var(--emerald) 60%, var(--chamomile-gold) 100%);
  border-radius: 999px;
}
.next-page-teaser {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 16px;
}
.next-page-teaser-img {
  width: 96px;
  height: 84px;
  object-fit: cover;
  border-radius: 24px 24px 10px 10px;
}
.next-page-teaser-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chamomile-gold);
}
.next-page-teaser-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 2px 0;
}
.next-page-teaser-sub {
  font-size: 13px;
  color: var(--ink-muted);
}
.next-part-cta,
.btn-next-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0D2818 0%, #15803D 100%);
  color: #FEF08A !important;
  border: 1.5px solid var(--chamomile-bright);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(13, 40, 24, 0.24);
  margin-bottom: 16px;
}
.next-part-cta:hover,
.btn-next-page:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 40, 24, 0.34);
}
.page-links,
.page-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-deep);
}
.page-pill.active {
  background: var(--forest-deep);
  color: #FEF08A;
  border-color: var(--forest-deep);
}
.page-pill.done {
  background: var(--emerald-light);
  color: var(--forest-deep);
  border-color: var(--emerald);
}

/* Printable Apothecary Formulation & Recipe Card (.wp-recipe-maker / #recipe-card) */
.wp-recipe-maker,
.recipe-card {
  margin: 34px 0;
  border: 2px solid var(--forest-deep);
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.recipe-card-header {
  background: linear-gradient(135deg, #0D2818 0%, #1B4332 100%);
  color: #ECFDF5;
  padding: 28px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: center;
}
.recipe-card-thumb {
  width: 140px;
  height: 140px;
  border-radius: 70px 70px 16px 16px;
  object-fit: cover;
  border: 3px solid var(--chamomile-bright);
}
.recipe-card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #FEF08A;
  margin-bottom: 6px;
}
.recipe-card-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: #FBFBF8;
  margin-bottom: 8px;
}
.recipe-card-summary {
  font-size: 14.5px;
  color: #D1FAE5;
  line-height: 1.58;
  margin-bottom: 14px;
}
.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: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.recipe-card-btn.print {
  background: var(--chamomile-bright);
  color: #0D2818;
}
.recipe-card-btn.pin {
  background: var(--pin-red);
  color: #FFFFFF !important;
}
.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  background: var(--surface-mint);
  border-bottom: 1px solid var(--border-strong);
}
.recipe-meta-cell {
  padding: 12px;
  text-align: center;
  border-right: 1px solid rgba(21, 128, 61, 0.2);
}
.recipe-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.recipe-meta-val {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forest-deep);
}
.recipe-card-body {
  padding: 28px;
}
.recipe-sect-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 18px 0 12px;
}
.chef-notes-box {
  background: var(--surface-warm);
  border: 1px solid var(--border-warm);
  border-left: 5px solid var(--chamomile-gold);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
}
.nutrition-bar {
  background: var(--forest-deep);
  color: #ECFDF5;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.nutrition-items {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nutrition-items b {
  color: #FEF08A;
}

/* Author Box & Sidebar */
.author-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
}
.author-box-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--chamomile-gold);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 105px;
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px 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(--chamomile-gold);
}
.btn-pin-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--pin-red);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: #0D2818;
  color: #ECFDF5;
  padding: 56px 20px 28px;
  border-top: 4px solid var(--chamomile-bright);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(187, 247, 208, 0.16);
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #FEF08A;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}
.footer-col a {
  color: #D1FAE5;
  font-size: 14px;
}
.footer-col a:hover {
  color: #FEF08A;
}
.footer-bottom {
  max-width: 1240px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #86EFAC;
}

@media (max-width: 980px) {
  .apothecary-split-hero,
  .apothecary-trio-strip,
  .article-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .floating-pill-header {
    border-radius: 26px;
    padding: 14px 18px;
  }
  .article-main {
    padding: 22px;
  }
  .recipe-card-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .recipe-card-thumb {
    margin: 0 auto;
  }
}

.btn-pin-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--pin-red) !important;
  border: 1.5px solid var(--pin-red);
  font-size: 13px;
  font-weight: 700;
}
.btn-pin-secondary:hover {
  background: var(--pin-red);
  color: #FFFFFF !important;
}

/* Instant Live Search Dropdown */
.yo-live-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 370px;
  max-width: 92vw;
  background: #FBFBF8;
  color: var(--forest-deep);
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 22px 46px rgba(13, 40, 24, 0.24);
  z-index: 2000;
  overflow: hidden;
  padding: 8px;
}
.yo-live-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
}
.yo-live-item:hover {
  background: var(--surface-mint);
}
.yo-live-item img {
  width: 56px;
  height: 56px;
  border-radius: 28px 28px 8px 8px;
  object-fit: cover;
}
.yo-live-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.yo-live-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
}
.yo-live-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--forest-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yo-live-macros {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}
.yo-live-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

@media print {
  .topbar,
  .site-header,
  .top-page-bar,
  .recipe-quick-actions,
  .pagination-box,
  .article-sidebar,
  .site-footer,
  #yo-sticky-bar {
    display: none !important;
  }
  .article-layout {
    grid-template-columns: 1fr !important;
  }
  .article-main {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
