/*
Theme Name: Commodity Bread
Theme URI: https://commoditybread.com
Author: Commodity Bread
Description: You eat what you are
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: commodity-bread
*/

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

/* ── VARIABLES ── */
:root {
  --bg: #e8edd8;
  --red: #7c2b1e;
  --red-light: #a03628;
  --black: #1a1a14;
  --mid: #4a4a3a;
  --muted: #7a7a68;
  --border: #c8d0b0;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--black);
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  padding: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TICKER ── */
.cb-ticker-wrap {
  background: #6b2318;
  color: #f0ece0;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  width: 100%;
}
.cb-ticker-track {
  display: flex;
  animation: cb-ticker 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.cb-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  border-right: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
}
.cb-ticker-item .cb-t-name { opacity: 0.7; text-transform: uppercase; letter-spacing: 0.07em; font-size: 10px; }
.cb-ticker-item .cb-t-price { font-weight: 500; }
.cb-ticker-item .cb-t-up { color: #a8d090; }
.cb-ticker-item .cb-t-down { color: #f0907a; }
@keyframes cb-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── NAV ── */
.cb-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.cb-nav-top { display: none; }
.cb-nav-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  height: 64px;
  width: 100%;
}
.cb-nav-left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.cb-nav-left a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}
.cb-nav-left a:hover { color: var(--red); }
.cb-nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--black);
  text-align: center;
  white-space: nowrap;
}
.cb-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.cb-nav-grape-rush {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.cb-btn-subscribe {
  background: var(--red);
  color: #f0ece0;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  display: inline-block;
  white-space: nowrap;
}
.cb-btn-subscribe:hover { background: var(--red-light); }

/* ── NAV SEARCH ICON ── */
.cb-nav-search-icon {
  display: flex;
  align-items: center;
  color: #1a1a14;
  text-decoration: none;
  padding: 4px;
  margin-right: 4px;
  transition: color 0.15s;
}
.cb-nav-search-icon:hover { color: #7c2b1e; }
@media (max-width: 900px) {
  .cb-nav-search-icon { display: none; }
}

/* ── NEWSLETTERS DROPDOWN ── */
.cb-newsletters-dropdown { position: relative; display: inline-block; }
.cb-newsletters-btn { cursor: pointer; border: none; outline: none; text-decoration: none; }
.cb-newsletters-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--red);
  min-width: 180px;
  z-index: 999;
  flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cb-newsletters-menu.cb-newsletters-open { display: flex; }
.cb-newsletters-menu a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0ece0;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(240,236,224,0.12);
}
.cb-newsletters-menu a:last-child { border-bottom: none; }
.cb-newsletters-menu a:hover { background: var(--red-light); color: #f0ece0; }
.cb-newsletters-mobile .cb-newsletters-menu { right: 0; left: auto; }

/* ── DRAWER ── */
.cb-drawer-divider { height: 1px; background: rgba(240,236,224,0.15); margin: 8px 0; }
.cb-drawer-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,236,224,0.4);
  padding: 4px 0;
  display: block;
}
.cb-category-desc { max-width: 640px; margin: 12px 0 32px; }
.cb-category-desc p { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); line-height: 1.7; }
.cb-category-desc a { color: var(--red); text-decoration: none; }
.cb-category-desc a:hover { text-decoration: underline; }

/* ── MOBILE DRAWER ── */
.cb-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid var(--border);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.cb-drawer.cb-drawer-open { transform: translateX(0); }
.cb-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,20,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cb-drawer-overlay.cb-overlay-visible { opacity: 1; pointer-events: all; }
.cb-drawer-close {
  background: none;
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  align-self: flex-end;
  padding: 0;
  margin-bottom: 40px;
}
.cb-drawer-close:hover { color: var(--red); }
.cb-drawer-nav { display: flex; flex-direction: column; }
.cb-drawer-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cb-drawer-nav a:first-child { border-top: 1px solid var(--border); }
.cb-drawer-nav a:hover { color: var(--red); }
.cb-drawer-grape { color: var(--red); }
.cb-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.cb-hamburger span { display: block; width: 100%; height: 2px; background: var(--black); }
.cb-hamburger:hover span { background: var(--red); }

/* ── HERO ── */
.cb-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
}
.cb-featured { padding-right: 48px; border-right: 1px solid var(--border); }
.cb-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
  background: linear-gradient(160deg, #8b7d4a 0%, #3d3018 100%);
}
.cb-article-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}
.cb-featured-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 14px;
  display: block;
}
.cb-featured-title:hover { color: var(--red); }
.cb-featured-excerpt { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 16px; }
.cb-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cb-meta .dot { opacity: 0.4; }

/* ── SIDEBAR ── */
.cb-sidebar { padding-left: 40px; }
.cb-sidebar-heading {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.cb-newsletter-list { list-style: none; }
.cb-newsletter-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.cb-newsletter-item:first-child { padding-top: 0; }
.cb-issue-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.cb-newsletter-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 6px;
  display: block;
}
.cb-newsletter-title:hover { color: var(--red); }
.cb-newsletter-date { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }
.cb-read-all {
  display: inline-block;
  margin-top: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.04em;
}
.cb-read-all:hover { text-decoration: underline; }

/* ── SECTIONS ── */
.cb-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px;
  border-bottom: 1px solid var(--border);
}
.cb-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 32px;
  display: block;
}
.cb-section-label:hover { color: var(--red); border-bottom-color: var(--red); }
.cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cb-card { position: relative; }
.cb-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 10px;
  display: block;
}
.cb-card-title:hover { color: var(--red); }
.cb-card-excerpt { font-size: 13.5px; color: var(--mid); line-height: 1.65; margin-bottom: 12px; }
.cb-read-more { display: flex; justify-content: flex-end; margin-top: 16px; }
.cb-read-more a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.04em;
}
.cb-read-more a:hover { text-decoration: underline; }

/* ── SINGLE POST ── */
.cb-single { max-width: 720px; margin: 60px auto; padding: 0 32px; }
.cb-single-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 20px;
}
.cb-single-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.cb-single-img { width: 100%; height: 420px; object-fit: cover; margin-bottom: 40px; }
.cb-single .entry-content,
.cb-single .entry-content p {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
}
.cb-single .entry-content p { margin-bottom: 1.5em; }
.cb-single .entry-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin: 2em 0 0.75em;
  color: var(--black);
}
.cb-single .entry-content h3,
.cb-single .entry-content h4,
.cb-single .entry-content h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 1.5em 0 0.5em;
  color: var(--black);
}
.cb-single .entry-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 20px;
  margin: 2em 0;
  font-style: italic;
  color: var(--mid);
}
.cb-single .entry-content a { color: var(--red); text-decoration: underline; }

/* ── PAGE TEMPLATE ── */
.cb-page { max-width: 960px; margin: 60px auto; padding: 0 32px; }
.cb-page .entry-content,
.cb-page .entry-content p {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
}
.cb-page .entry-content p { margin-bottom: 1.5em; }
.cb-page .entry-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin: 2em 0 0.75em;
}
.cb-page .entry-content strong { font-weight: 700; }

/* ── FOOTER ── */
.cb-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.cb-footer-left { display: flex; align-items: center; }
.cb-footer-right { display: flex; justify-content: flex-end; }
.cb-footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--black);
}
.cb-footer-copy { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }
.cb-footer-about {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}
.cb-footer-about:hover { color: var(--red); }

/* ── NO POSTS ── */
.cb-no-posts { color: var(--muted); font-size: 14px; padding: 20px 0; font-style: italic; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cb-nav-main { display: none; }
  .cb-nav-top {
    display: grid;
    grid-template-columns: 40px 1fr 90px;
    align-items: center;
    padding: 0 16px;
    height: 56px;
    border-bottom: 1px solid var(--border);
  }
  .cb-nav-top .cb-nav-logo { font-size: 12px; text-align: center; letter-spacing: 0.1em; }
  .cb-nav-top .cb-btn-subscribe { font-size: 9px; padding: 7px 8px; text-align: center; letter-spacing: 0.08em; }
  .cb-hero { grid-template-columns: 1fr; padding: 24px 16px; }
  .cb-featured { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 32px; }
  .cb-featured-img { height: 240px; }
  .cb-featured-title { font-size: 24px; }
  .cb-sidebar { display: none; }
  .cb-section { padding: 32px 16px; }
  .cb-grid { grid-template-columns: 1fr; gap: 28px; }
  .cb-single { padding: 0 16px; margin: 32px auto; }
  .cb-single-title { font-size: 28px; }
  .cb-single-img { height: 240px; }
  .cb-page { padding: 0 16px; margin: 32px auto; }
  .cb-footer { grid-template-columns: 1fr; text-align: center; gap: 12px; padding: 32px 16px; }
  .cb-footer-left { justify-content: center; }
  .cb-footer-right { justify-content: center; }
  .cb-meta { flex-wrap: wrap; }
}

/* ── LOGO IMAGE ── */
.cb-nav-logo-img { height: 52px; width: auto; display: block; margin: 0 auto; }
@media (max-width: 900px) { .cb-nav-logo-img { height: 36px; } }

/* ═══════════════════════════════════════
   CHART STYLES
   ═══════════════════════════════════════ */
.cb-chart {
  background: #e8edd8;
  font-family: 'DM Mono', monospace;
  padding: 8px 32px 44px;
  max-width: 100%;
  margin: 0;
}
.cb-chart * { font-family: 'DM Mono', monospace; }
.cb-chart h2,
.cb-chart .cb-chart__title {
  font-family: 'Syne', sans-serif !important;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.12;
  color: #1a1a14;
  margin-bottom: 10px;
  max-width: 100%;
}
.cb-chart .cb-chart__subtitle,
.cb-chart p.cb-chart__subtitle {
  font-family: 'DM Mono', monospace !important;
  font-size: 11px;
  color: #7a6e62;
  line-height: 1.65;
  margin-bottom: 32px;
}
.cb-chart .cb-chart__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #7c2b1e; margin-bottom: 10px; }
.cb-chart .cb-chart__source {
  font-family: 'DM Mono', monospace !important;
  font-size: 9.5px;
  color: rgba(26,26,20,0.42);
  letter-spacing: 0.03em;
  border-top: 1px solid rgba(26,26,20,0.12);
  padding-top: 14px;
  margin-top: 16px;
}
.cb-chart .cb-chart__note {
  font-family: 'DM Mono', monospace !important;
  font-size: 10px;
  color: #4a4a38;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(26,26,20,0.03);
  border-left: 2px solid rgba(26,26,20,0.15);
}
.cb-chart .cb-callout {
  font-family: 'DM Mono', monospace !important;
  background: rgba(26,26,20,0.04);
  border-left: 3px solid #7c2b1e;
  padding: 14px 16px;
  margin-bottom: 40px;
  font-size: 11px;
  color: #2a2a1a;
  line-height: 1.6;
}
.cb-chart .cb-callout strong { font-weight: 500; color: #7c2b1e; }
.cb-chart .cb-legend { display: flex; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.cb-chart .cb-legend__item { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #4a4a38; }
.cb-chart .cb-legend__swatch { width: 16px; height: 8px; border-radius: 1px; flex-shrink: 0; }
.cb-chart .cb-rows { display: flex; flex-direction: column; }
.cb-chart .cb-row {
  display: grid;
  grid-template-columns: 110px 1fr 46px;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(26,26,20,0.05);
}
.cb-chart .cb-row:last-child { border-bottom: none; }
.cb-chart .cb-row__name { font-size: 11px; color: #1a1a14; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-chart .cb-row__name--highlight { color: #7c2b1e; font-weight: 500; }
.cb-chart .cb-row__track { position: relative; height: 14px; background: rgba(26,26,20,0.05); border-radius: 1px; }
.cb-chart .cb-row__track::before { content: ''; position: absolute; left: var(--avg-pos); top: 0; width: 1px; height: 100%; background: rgba(124,43,30,0.25); }
.cb-chart .cb-row__fill { position: absolute; top: 1px; height: 12px; border-radius: 1px; }
.cb-chart .cb-row__fill--above { left: var(--avg-pos); background: #7c2b1e; opacity: 0.8; }
.cb-chart .cb-row__fill--below { right: calc(100% - var(--avg-pos)); background: #895B1E; opacity: 0.7; }
.cb-chart .cb-row__fill--neutral { left: calc(var(--avg-pos) - 2px); width: 4px; background: #DBD8AE; }
.cb-chart .cb-row__val { font-size: 11px; text-align: right; font-weight: 500; }
.cb-chart .cb-row__val--above { color: #7c2b1e; }
.cb-chart .cb-row__val--below { color: #895B1E; }
.cb-chart .cb-row__val--neutral { color: #6a6a52; }
.cb-chart .bar-track { flex: 1; position: relative; height: 28px; background: #DBD8AE; border-radius: 3px; min-width: 0; }
.cb-chart .bar-range { position: absolute; top: 6px; height: 16px; border-radius: 3px; }
.cb-chart .dot { position: absolute; top: 9px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #e8edd8; }
.cb-chart .value-label { font-size: 10px; color: #4a3f35; white-space: nowrap; letter-spacing: 0.02em; min-width: 72px; text-align: right; flex-shrink: 0; }
.cb-chart .section-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: #994636; font-weight: 500; margin-bottom: 0.75rem; margin-top: 1.5rem; padding-bottom: 0.4rem; border-bottom: 1.5px solid #994636; }
.cb-chart .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0.5rem; }
.cb-chart .price-card { background: #DBD8AE; border-radius: 4px; padding: 14px 16px; }
.cb-chart .price-card-label { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #7a6e62; margin-bottom: 6px; }
.cb-chart .price-card-before { font-family: 'Syne', sans-serif !important; font-size: 22px; font-weight: 800; color: #895B1E; letter-spacing: -0.02em; line-height: 1; }
.cb-chart .price-card-after { font-family: 'Syne', sans-serif !important; font-size: 22px; font-weight: 800; color: #994636; letter-spacing: -0.02em; line-height: 1; }
.cb-chart .price-card-sub { font-size: 9px; color: #7a6e62; margin-top: 4px; }
.cb-chart .cb-findings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.cb-chart .cb-finding { padding: 14px 16px; background: rgba(26,26,20,0.03); border-left: 3px solid; }
.cb-chart .cb-finding--red { border-color: #7c2b1e; }
.cb-chart .cb-finding--brown { border-color: #895B1E; }
.cb-chart .cb-finding--tan { border-color: #DBD8AE; }
.cb-chart .cb-finding--neutral { border-color: rgba(26,26,20,0.2); }
.cb-chart .cb-finding__head { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; }
.cb-chart .cb-finding--red .cb-finding__head { color: #7c2b1e; }
.cb-chart .cb-finding--brown .cb-finding__head { color: #895B1E; }
.cb-chart .cb-finding--tan .cb-finding__head { color: #895B1E; }
.cb-chart .cb-finding--neutral .cb-finding__head { color: rgba(26,26,20,0.5); }
.cb-chart .cb-finding__body { font-size: 10.5px; color: #2a2a1a; line-height: 1.55; }
.cb-chart .cb-scatter-wrap { position: relative; margin-bottom: 28px; }
.cb-chart .cb-scatter-svg { width: 100%; display: block; overflow: visible; }

@media (max-width: 600px) {
  .cb-chart { padding: 20px 16px; }
  .cb-chart h2, .cb-chart .cb-chart__title { font-size: 18px; }
  .cb-chart .cb-row { grid-template-columns: 80px 1fr 40px; gap: 6px; }
  .cb-chart .cb-row__name { font-size: 10px; }
  .cb-chart .cb-row__val { font-size: 10px; }
  .cb-chart .cb-findings { grid-template-columns: 1fr; }
  .cb-chart .price-grid { grid-template-columns: 1fr; }
}

/* ── CUSTOM HTML BLOCK SPACING ── */
.cb-single .entry-content .wp-block-html,
.cb-single .entry-content figure,
.cb-single .entry-content .wp-block-html .cb-chart,
.cb-single .entry-content > div > .cb-chart { margin-top: 0 !important; margin-bottom: 0 !important; }
.cb-single .entry-content p + .wp-block-html,
.cb-single .entry-content p + div { margin-top: 8px !important; }
.cb-single .entry-content .wp-block-html + p,
.cb-single .entry-content div + p { margin-top: 8px !important; }

/* ── NEWSLETTER SIGNUP STRIP (legacy Beehiiv — kept for reference) ── */
.cb-strip {
  background: #7a7a68;
  padding: 36px 28px;
  margin: 0;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.cb-strip__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cb-strip__heading { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: #e8edd8; line-height: 1.1; margin: 0 0 6px; }
.cb-strip__sub { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(232,237,216,0.75); line-height: 1.5; margin-bottom: 18px; }
.cb-strip__member { font-family: 'DM Mono', monospace; font-size: 11px; margin-top: 14px; text-align: center; }
.cb-strip__member a { color: rgba(232,237,216,0.55); text-decoration: underline; text-underline-offset: 3px; }
.cb-strip__member a:hover { color: rgba(232,237,216,0.85); }

/* ── SEARCH RESULTS PAGE ── */
.cb-search-page { max-width: 780px; margin: 0 auto; padding: 48px 28px 80px; }
.cb-search-header { border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 40px; }
.cb-search-eyebrow { font-family: 'DM Mono', monospace; font-size: 9px; color: #895B1E; letter-spacing: 0.1em; margin-bottom: 10px; }
.cb-search-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 32px; color: #1a1a14; line-height: 1.1; margin-bottom: 6px; }
.cb-search-count { font-family: 'DM Mono', monospace; font-size: 10px; color: #7a7a68; margin-bottom: 24px; }
.cb-search-form { display: flex; align-items: center; border-bottom: 2px solid #1a1a14; gap: 8px; max-width: 520px; }
.cb-search-form-input { flex: 1; background: transparent; border: none; outline: none; font-family: 'DM Mono', monospace; font-size: 14px; color: #1a1a14; padding: 10px 0; letter-spacing: 0.03em; }
.cb-search-form-input::placeholder { color: #7a7a68; }
.cb-search-form-submit { background: none; border: none; font-family: 'DM Mono', monospace; font-size: 18px; color: #7c2b1e; cursor: pointer; padding: 0 4px; line-height: 1; transition: color 0.15s; }
.cb-search-form-submit:hover { color: #1a1a14; }
.cb-search-results { display: flex; flex-direction: column; }
.cb-search-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.cb-search-item:first-child { border-top: 1px solid var(--border); }
.cb-search-item__cat { font-family: 'DM Mono', monospace; font-size: 9px; color: #7c2b1e; letter-spacing: 0.08em; margin-bottom: 6px; }
.cb-search-item__title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: #1a1a14; line-height: 1.2; text-decoration: none; display: block; margin-bottom: 8px; transition: color 0.15s; }
.cb-search-item__title:hover { color: #7c2b1e; }
.cb-search-item__excerpt { font-family: 'Noto Sans', sans-serif; font-size: 14px; color: #4a4a3a; line-height: 1.55; margin-bottom: 10px; }
.cb-search-item__meta { font-family: 'DM Mono', monospace; font-size: 10px; color: #7a7a68; letter-spacing: 0.04em; }
.cb-search-pagination { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-family: 'DM Mono', monospace; font-size: 11px; }
.cb-search-pagination__prev,
.cb-search-pagination__next { color: #7c2b1e; text-decoration: none; letter-spacing: 0.04em; }
.cb-search-pagination__prev:hover,
.cb-search-pagination__next:hover { color: #1a1a14; }
.cb-search-empty { padding: 48px 0; }
.cb-search-empty__msg { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: #1a1a14; margin-bottom: 8px; }
.cb-search-empty__sub { font-family: 'DM Mono', monospace; font-size: 11px; color: #7a7a68; margin-bottom: 28px; }
.cb-search-empty__cats { display: flex; gap: 20px; }
.cb-search-empty__cats a { font-family: 'DM Mono', monospace; font-size: 11px; color: #7c2b1e; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.cb-search-empty__cats a:hover { color: #1a1a14; }
@media (max-width: 900px) {
  .cb-search-page { padding: 32px 20px 60px; }
  .cb-search-title { font-size: 24px; }
}

/* ── SUBSCRIBERS ONLY LABEL ── */
.cb-subscribers-only { white-space: nowrap; flex-shrink: 0; }

/* ── MAILCHIMP SIGNUP STRIP ── */
.cb-mc-wrap { background: #7a7a68; padding: 36px 28px; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cb-mc-inner { max-width: 560px; margin: 0 auto; }
.cb-mc-heading { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: #e8edd8; line-height: 1.1; margin: 0 0 6px; }
.cb-mc-sub { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(232,237,216,0.75); line-height: 1.5; margin: 0 0 20px; }
.cb-mc-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto 14px; }
.cb-mc-input { flex: 1; background: rgba(232,237,216,0.12); border: 1px solid rgba(232,237,216,0.25); border-right: none; outline: none; font-family: 'DM Mono', monospace; font-size: 12px; color: #e8edd8; padding: 11px 14px; -webkit-appearance: none; appearance: none; border-radius: 0; }
.cb-mc-input::placeholder { color: rgba(232,237,216,0.45); }
.cb-mc-btn { background: #e8edd8; color: #7a7a68; border: none; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 20px; cursor: pointer; white-space: nowrap; border-radius: 0; }
.cb-mc-btn:hover { background: #f0ece0; color: #1a1a14; }
.cb-mc-member { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(232,237,216,0.55); text-align: center; }
.cb-mc-member a { color: rgba(232,237,216,0.55); text-decoration: underline; text-underline-offset: 3px; }
.cb-mc-member a:hover { color: rgba(232,237,216,0.85); }
@media (max-width: 640px) {
  .cb-mc-wrap { padding: 28px 16px; }
  .cb-mc-form { flex-direction: column; }
  .cb-mc-input { border-right: 1px solid rgba(232,237,216,0.25); border-bottom: none; }
  .cb-mc-btn { width: 100%; }
}