/* ============================================================
   schoolboardresearch.com — Shared Stylesheet
   Source of truth: index.html design
   Additional classes from research subpages merged in below
   ============================================================ */

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

:root {
  --primary:    #2C5F2D;
  --primary-dk: #1A3A1A;
  --accent:     #97BC62;
  --accent-lt:  #C8DFA3;
  --bg:         #F8F6F2;
  --bg-cream:   #F0EDE4;
  --bg-hero:    #EDF5EE;
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-muted: #555;
  --text-light: #888;
  --border:     #DDD9D0;
  --shadow:     0 2px 12px rgba(44,95,45,0.08);
  --shadow-hov: 0 6px 24px rgba(44,95,45,0.15);

  /* Article/research page palette — used alongside main palette */
  --slate:           #4A5568;
  --parchment:       #FDF6E3;
  --forest:          #2D5016;
  --gold:            #B7791F;
  --light-parchment: #FDFAF4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links a {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 1rem;
  border-left: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-left-color: var(--primary);
}

/* ── HERO (homepage) ── */
.hero {
  background: var(--bg-hero);
  border-bottom: 1px solid #D0E4C0;
  padding: 5rem 2rem 4.5rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.eyebrow {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
}
.hero h1 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--text);
  max-width: 700px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 3rem;
  line-height: 1.65;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: 'Merriweather', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  background: #C0D8A0;
  align-self: stretch;
  margin: 0 0.5rem;
}

/* ── LAYOUT CONTAINER ── */
.site-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── FEATURED ── */
.featured-section {
  padding: 3.5rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.section-header {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.featured-card {
  border-left: 4px solid var(--primary);
  padding-left: 2rem;
  max-width: 820px;
}
.study-badge {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-hero);
  border: 1px solid var(--accent-lt);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.featured-card h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.finding-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.25rem 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.finding-label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
  padding-top: 0.1em;
}
.finding-value {
  color: var(--text-muted);
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.15s;
}
.read-link:hover { gap: 0.65rem; }
.read-link::after { content: '→'; }

/* ── RECENT GRID ── */
.recent-section {
  padding: 3.5rem 2rem;
  background: var(--bg);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cards-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: 3px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-2px);
}
.card .study-badge { margin-bottom: 0.75rem; }
.card h3 {
  font-family: 'Merriweather', serif;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.card-finding {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.card-citation {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  font-family: 'Source Sans Pro', sans-serif;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ── TOPICS BAR ── */
.topics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.topic-btn {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.topic-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.topic-btn.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}
.card[style*="display: none"] { display: none !important; }

/* ── CARD LINK ── */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover .card {
  box-shadow: var(--shadow-hov);
  transform: translateY(-2px);
}
.card-link .card {
  transition: box-shadow 0.2s, transform 0.15s;
}
.card-link .card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-2px);
}

/* ── HOW TO READ ── */
.howto-section {
  background: var(--bg-cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.howto-col { }
.howto-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}
.howto-col h3 {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.howto-col p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.howto-col ul {
  list-style: none;
  margin-top: 0.5rem;
}
.howto-col ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}
.howto-col ul li::before {
  content: '◆';
  font-size: 0.5rem;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0.35em;
}

/* ── FOOTER ── */
footer {
  background: var(--primary-dk);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
}
.footer-right {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-align: right;
}

/* ============================================================
   RESEARCH ARTICLE STYLES
   (from subpages — not present in index.html)
   ============================================================ */

/* Article page body uses light-parchment background */
body.article-page {
  background: var(--light-parchment);
  color: var(--slate);
}

/* ── ARTICLE LAYOUT (Jekyll research layout) ── */
.article-header {
  background: var(--primary-dk);
  padding: 3rem 2rem 2.5rem;
}
.article-header-inner {
  max-width: 780px;
  margin: 0 auto;
}
.article-header .study-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  background: transparent;
}
.article-header h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(253,246,227,0.5);
}
.article-citation {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(253,246,227,0.12);
  font-size: 0.85rem;
  color: rgba(253,246,227,0.7);
  line-height: 1.55;
  font-style: italic;
}
.article-citation a {
  color: var(--accent);
  text-decoration: none;
  font-style: normal;
  font-weight: 600;
}
.article-citation a:hover { text-decoration: underline; }
.back-bar {
  background: var(--primary-dk);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem 2rem;
}
.back-bar .back-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(253,246,227,0.55);
  text-decoration: none;
  max-width: 780px;
}
.back-bar .back-link:hover { color: var(--accent); }
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
@media (max-width: 640px) {
  .article-header { padding: 2rem 1.25rem 2rem; }
  .article-body { padding: 2rem 1.25rem 4rem; }
  .back-bar { padding: 0.6rem 1.25rem; }
}

/* Post header (dark slate band at top of article) */
.post-header {
  background: var(--slate);
  padding: 3.5rem 2rem 3rem;
}
.post-header-inner {
  max-width: 780px;
  margin: 0 auto;
}
.back-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(253,246,227,0.65);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--parchment); }
.citation-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 0.25rem 0.65rem;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.post-header h1 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--parchment);
  margin-bottom: 1rem;
}
.post-meta {
  font-size: 0.8rem;
  color: rgba(253,246,227,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Badge (gold solid, used on newer articles) */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--parchment);
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

/* Post body */
.post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}
.post-body h2 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}
.post-body p {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.post-body p:first-child {
  font-size: 1.06rem;
  color: #3a4252;
}

/* Finding box (forest green highlight) */
.finding-box {
  background: var(--forest);
  color: var(--parchment);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.finding-box strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.finding-box p {
  font-size: 0.95rem;
  color: rgba(253,246,227,0.9);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Callout box (parchment with gold left border) */
.callout {
  background: var(--parchment);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-size: 0.9rem;
  color: #4a4838;
}
.callout strong {
  display: block;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* PEARLS table */
.pearls-table {
  background: var(--parchment);
  border: 1.5px solid #c8b87a;
  margin: 2.5rem 0;
  padding: 1.75rem;
}
.pearls-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--forest);
  padding-bottom: 0.75rem;
}
.pearls-title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest);
}
.pearls-total {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--forest);
}
.pearls-row {
  display: grid;
  grid-template-columns: 2rem 7rem 3rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5ddb8;
}
.pearls-row:last-child { border-bottom: none; }
.pearls-letter {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}
.pearls-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
}
.pearls-score {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest);
  text-align: right;
}
.pearls-bar {
  background: #e5ddb8;
  height: 6px;
  border-radius: 3px;
  min-width: 80px;
}
.pearls-fill {
  background: var(--forest);
  height: 6px;
  border-radius: 3px;
}
.pearls-note {
  font-size: 0.78rem;
  color: #6b6040;
  font-style: italic;
  min-width: 160px;
  text-align: right;
}
.pearls-verdict {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--forest);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.verdict-label {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.verdict-text {
  font-size: 0.875rem;
  color: var(--slate);
  font-style: italic;
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */

/* About hero */
.hero-eyebrow {
  display: inline-block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(151,188,98,0.15);
  border: 1px solid rgba(151,188,98,0.3);
  border-radius: 2px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.4rem;
}
.hero-subtitle {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

/* Page content wrapper */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Intro band */
.intro-band {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.intro-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.intro-band h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.intro-band p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Section label + heading pattern */
.section-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-heading {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 2.2rem;
  line-height: 1.3;
}

/* Who section */
.who-section {
  padding: 4rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.who-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.audience-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem 1.4rem;
  border-top: 3px solid var(--accent);
  transition: box-shadow 0.2s, transform 0.2s;
}
.audience-card:hover {
  box-shadow: 0 4px 18px rgba(44,95,45,0.1);
  transform: translateY(-2px);
}
.audience-card-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.audience-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}
.audience-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.audience-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sources section */
.sources-section {
  padding: 4rem 2rem;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
}
.sources-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.sources-section-intro p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.sources-section-intro p + p { margin-top: 1rem; }
.sources-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.source-group h4 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--accent-lt);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}
.source-group ul {
  list-style: none;
  padding: 0;
}
.source-group ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.source-group ul li:last-child { border-bottom: none; }
.source-group ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.source-exclusion {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-light);
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PEARLS section (about page) */
.pearls-section {
  padding: 4rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.pearls-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
}
.pearls-letters {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
/* .pearls-letter reused from article styles above */
.pearls-description p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.pearls-description a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.pearls-description a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.score-bands {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.score-band {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.score-band-value {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 42px;
  text-align: center;
}
.score-band-desc {
  font-size: 0.9rem;
  line-height: 1.4;
}
.score-band-desc strong {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}
.score-band.high { background: #EDF5EE; border-color: #b5d9b6; }
.score-band.high .score-band-value { color: var(--primary); }
.score-band.high .score-band-desc { color: var(--primary-dk); }
.score-band.mid { background: #FEFDF7; border-color: #e8e2ca; }
.score-band.mid .score-band-value { color: #7a6f2e; }
.score-band.mid .score-band-desc { color: #5c5120; }
.score-band.low { background: #FDF5F5; border-color: #e8c8c8; }
.score-band.low .score-band-value { color: #8b3a3a; }
.score-band.low .score-band-desc { color: #6b2a2a; }

/* Editorial section */
.editorial-section {
  padding: 4rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.editorial-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}
.editorial-left p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.distinction-list {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}
.distinction-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.distinction-list li:last-child { border-bottom: none; }
.distinction-list li::before {
  content: 'vs.';
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.what-we-dont {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
}
.what-we-dont h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 1rem;
}
.dont-list {
  list-style: none;
  padding: 0;
}
.dont-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.dont-list li:last-child { border-bottom: none; }
.dont-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fdecea;
  border: 1px solid #e8b4b0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.dont-icon svg {
  width: 10px;
  height: 10px;
  fill: #c0392b;
}

/* Landscape section (dark bg) */
.landscape-section {
  padding: 4rem 2rem;
  background: var(--primary-dk);
}
.landscape-section-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.landscape-section .section-label { color: var(--accent-lt); }
.landscape-section h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}
.landscape-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.landscape-section p:last-child { margin-bottom: 0; }
.landscape-section strong { color: var(--accent-lt); font-weight: 600; }

/* ============================================================
   METHODOLOGY PAGE STYLES
   ============================================================ */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; color: var(--border); }

.hero-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
}
.hero-score-badge .score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-score-badge .score-number {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.hero-score-badge .score-number.total { color: var(--primary); }
.hero-score-badge .score-number.low   { color: #c0392b; }
.hero-score-badge .score-number.high  { color: var(--primary); }
.hero-score-badge .score-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.hero-score-badge .divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.page-body section {
  margin-bottom: 3.5rem;
}

.page-body section h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-lt);
}

.page-body section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-body section p:last-child { margin-bottom: 0; }

.intro-callout {
  background: var(--parchment);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.97rem;
  color: var(--slate);
}
.intro-callout strong { color: var(--text); }

.criteria-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 0.5rem;
}

/* ============================================================
   REQUEST PAGE STYLES
   ============================================================ */

.page-header {
  background: var(--bg-hero);
  border-bottom: 1px solid #D0E4C0;
  padding: 4rem 2rem 3.5rem;
}
.page-header-inner {
  max-width: 720px;
  margin: 0 auto;
}
.page-header h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.form-area {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.criteria-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.criteria-box h2 {
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.criteria-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}
.criteria-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.criteria-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.5rem;
  top: 0.45em;
}
form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.field-note { font-size: 0.8rem; color: var(--text-light); }
input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,95,45,0.1);
}
textarea { resize: vertical; min-height: 100px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.submit-btn {
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  align-self: flex-start;
}
.submit-btn:hover { background: var(--primary-dk); }
#success-msg {
  display: none;
  background: #EAF3DE;
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 1.5rem;
}
#success-msg h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
#success-msg p { font-size: 0.95rem; color: var(--text-muted); }
.methodology-link {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.methodology-link a { color: var(--primary); font-weight: 600; }

/* ============================================================
   SEARCH PAGE STYLES
   ============================================================ */

.search-section {
  background: var(--bg-hero);
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.search-wrapper {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-light);
  pointer-events: none;
}
#search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,95,45,0.1);
}

/* ============================================================
   METHODOLOGY PAGE STYLES
   ============================================================ */

.criterion {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.criterion-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
}

.criterion-letter {
  font-family: 'Merriweather', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  min-width: 50px;
  text-align: center;
}

.criterion-title-block {
  flex: 1;
}

.criterion-name {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.criterion-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.criterion-score-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.criterion-body {
  padding: 1.5rem;
}

.criterion-body > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.score-rubric {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.rubric-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.rubric-row.score-1 { background: rgba(192, 57, 43, 0.06); }
.rubric-row.score-3 { background: rgba(183, 121, 31, 0.07); }
.rubric-row.score-5 { background: rgba(44, 95, 45, 0.07); }

.rubric-score {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  min-width: 1.5rem;
  text-align: center;
  margin-top: 0.1rem;
}

.rubric-row.score-1 .rubric-score { color: #c0392b; }
.rubric-row.score-3 .rubric-score { color: var(--gold); }
.rubric-row.score-5 .rubric-score { color: var(--primary); }

.rubric-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.score-table thead tr {
  background: var(--primary-dk);
}

.score-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
}

.score-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.score-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.score-table .range { font-weight: 700; font-size: 1.05rem; }

.score-table .label-severe  { color: #c0392b; font-weight: 700; }
.score-table .label-insuff  { color: #b7600a; font-weight: 700; }
.score-table .label-inform  { color: var(--gold); font-weight: 700; }
.score-table .label-trust   { color: var(--primary); font-weight: 700; }

.score-bar-wrap {
  margin: 1.5rem 0 0.5rem;
}

.score-bar {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  height: 42px;
}

.score-bar-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.03em;
}

.score-bar-seg.seg-severe  { background: #c0392b; flex: 7; }
.score-bar-seg.seg-insuff  { background: #e07a1a; flex: 7; }
.score-bar-seg.seg-inform  { background: var(--gold); flex: 6; }
.score-bar-seg.seg-trust   { background: var(--primary); flex: 5; }

.score-bar-labels {
  display: flex;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.score-bar-labels span { flex: 1; text-align: center; }

.examples-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.example-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.example-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.example-header-left {}

.example-title {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.example-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.example-total {
  text-align: right;
  flex-shrink: 0;
}

.example-total .score-num {
  font-family: 'Merriweather', serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.example-total .score-denom {
  font-size: 1.1rem;
  color: var(--text-light);
}

.example-total .score-verdict {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.verdict-insufficient .score-num { color: #b7600a; }
.verdict-insufficient .score-verdict { color: #b7600a; }

.verdict-untrustworthy .score-num { color: #c0392b; }
.verdict-untrustworthy .score-verdict { color: #c0392b; }

.example-body {
  padding: 1.5rem;
}

.pearls-scores {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pearl-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  min-width: 52px;
}

.pearl-chip .pearl-letter {
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.pearl-chip .pearl-val {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.pearl-val-1 { color: #c0392b; }
.pearl-val-2 { color: #c0392b; }
.pearl-val-3 { color: var(--gold); }
.pearl-val-4 { color: var(--primary); }
.pearl-val-5 { color: var(--primary); }

.example-notes {
  margin-bottom: 1rem;
}

.example-notes ul {
  list-style: none;
  padding: 0;
}

.example-notes li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-cream);
  line-height: 1.55;
}

.example-verdict-line {
  background: var(--bg);
  border-left: 4px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

.verdict-insufficient .example-verdict-line {
  border-left-color: #e07a1a;
  background: rgba(183, 121, 31, 0.06);
}

.verdict-untrustworthy .example-verdict-line {
  border-left-color: #c0392b;
  background: rgba(192, 57, 43, 0.06);
}

.governance-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.governance-list li {
  padding: 0.75rem 0 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--text-muted);
  position: relative;
  line-height: 1.6;
}

.governance-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.governance-callout {
  background: var(--bg-hero);
  border: 1px solid var(--accent-lt);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.jump-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
}

.jump-nav p {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  margin-bottom: 0.7rem;
}

.jump-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-hero);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.jump-link:hover {
  background: var(--accent-lt);
  border-color: var(--accent);
}

.jump-link .jl-letter {
  font-family: 'Merriweather', serif;
  font-weight: 900;
}

/* ============================================================
   SEARCH PAGE ADDITIONAL STYLES
   ============================================================ */

.filter-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  white-space: nowrap;
}

.results-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.results-meta {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.results-meta strong {
  color: var(--text-muted);
  font-weight: 700;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  background: var(--bg-hero);
  border: 1px solid var(--accent-lt);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

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

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.card-pearls {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-hero);
  border: 1px solid var(--accent-lt);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-footer .card-citation {
  border-top: none;
  padding-top: 0;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.no-results-icon {
  width: 48px;
  height: 48px;
  color: var(--border);
  margin: 0 auto 1rem;
  display: block;
}

.no-results h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.no-results p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ============================================================
   SUGGEST-A-STUDY FLOATING BUTTON + POPOVER
   ============================================================ */

.suggest-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(44,95,45,0.35);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
}
.suggest-fab:hover {
  background: var(--primary-dk);
  box-shadow: 0 6px 24px rgba(44,95,45,0.45);
  transform: translateY(-1px);
}
.suggest-fab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.suggest-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.45);
  z-index: 410;
  opacity: 0;
  transition: opacity 0.2s;
}
.suggest-backdrop--open { opacity: 1; }

.suggest-popover {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 420;
  width: min(480px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.2s, transform 0.2s;
  overflow: hidden;
}
.suggest-popover--open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.suggest-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--primary-dk);
  padding: 1.25rem 1.5rem;
}
.suggest-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.suggest-heading {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}
.suggest-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0.2rem;
  flex-shrink: 0;
  transition: color 0.15s;
  margin-top: 0.1rem;
}
.suggest-close:hover { color: var(--white); }
.suggest-close svg { width: 18px; height: 18px; display: block; }

.suggest-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.suggest-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.suggest-success[hidden] { display: none; }
.suggest-success {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #EAF3DE;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.5rem;
}
.suggest-success svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.suggest-success strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dk);
  margin-bottom: 0.2rem;
}
.suggest-success p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.suggest-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}
.suggest-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.suggest-required { color: #c0392b; }
.suggest-optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.78rem;
}
.suggest-field input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.suggest-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,95,45,0.1);
}
.suggest-field-note {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.45;
}

.suggest-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.1rem;
}
.suggest-submit {
  padding: 0.65rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.01em;
}
.suggest-submit:hover { background: var(--primary-dk); }
.suggest-submit:disabled { opacity: 0.6; cursor: default; }
.suggest-full-link {
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.suggest-full-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .suggest-fab { bottom: 1rem; right: 1rem; padding: 0.65rem 1rem 0.65rem 0.85rem; font-size: 0.85rem; }
  .suggest-popover { bottom: 0; right: 0; width: 100vw; border-radius: 16px 16px 0 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .cards-grid,
  .cards-row-3 { grid-template-columns: 1fr 1fr; }
  .howto-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .intro-band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .sources-section-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pearls-section-inner { grid-template-columns: 1fr; gap: 2rem; }
  .editorial-section-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 1.25rem; }
  .nav-logo { font-size: 0.875rem; }
  .nav-links a { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
  .hero { padding: 3rem 1.25rem; }
  .hero-stats { gap: 2rem; }
  .stat-divider { display: none; }
  .featured-section,
  .recent-section,
  .howto-section { padding: 2.5rem 1.25rem; }
  .featured-card { padding-left: 1.25rem; }
  .finding-row { grid-template-columns: 1fr; gap: 0; }
  .finding-label { margin-top: 0.5rem; }
  .cards-grid,
  .cards-row-3 { grid-template-columns: 1fr; }
  .howto-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
  .audience-grid { grid-template-columns: 1fr; }
  .sources-columns { grid-template-columns: 1fr; }
  .pearls-letters { gap: 0.4rem; }
  .criteria-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .post-header { padding: 2.5rem 1.25rem 2rem; }
  .post-body { padding: 2.5rem 1.25rem 3.5rem; }
  .pearls-row { grid-template-columns: 2rem 5rem 3rem 1fr; }
  .pearls-note { display: none; }
  /* methodology page */
  .criterion-letter { font-size: 2.2rem; min-width: 44px; }
  .score-bar-seg { font-size: 0.65rem; }
  .example-header { flex-direction: column; }
  .example-total { text-align: left; }
  .pearls-scores { gap: 0.35rem; }
  /* search page */
  .results-grid { grid-template-columns: 1fr; }
  .filter-label { display: none; }
  .article-header { padding: 2rem 1.25rem 2rem; }
  .article-body { padding: 2rem 1.25rem 4rem; }
  .back-bar { padding: 0.6rem 1.25rem; }
}
