/* ─── BrainHealth page — supplemental styles ───────────────────
   Loaded after style.css; inherits all design tokens.
   Adapts the article layout to the site's warm cream/taupe palette.
   ─────────────────────────────────────────────────────────────── */

/* Chinese typography supplement */
.bh-hero,
.bh-container {
  font-family: 'Noto Sans TC', var(--font-body), sans-serif;
  font-weight: 300;
  line-height: 1.9;
  font-size: 18px;
}

.bh-container strong {
  font-weight: 500;
  color: var(--heading);
}

/* ── HERO ── */
.bh-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #2e2118 0%, #47301f 50%, #2e2118 100%);
  color: #fff;
  padding: 80px 32px 70px;
  text-align: center;
}

.bh-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bh-hero-label {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .15em;
  padding: 4px 14px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.bh-hero h1 {
  font-family: 'Noto Serif TC', var(--font-display), serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 680px;
  margin: 0 auto 20px;
}

.bh-hero-sub {
  color: #c4a898;
  font-size: 15px;
  letter-spacing: .08em;
  max-width: 480px;
  margin: 0 auto 36px;
}

.bh-hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  color: #a8897a;
  flex-wrap: wrap;
}

.bh-hero-meta span::before {
  content: '◆ ';
  font-size: 8px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── ARTICLE CONTAINER ── */
.bh-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── INTRO BOX ── */
.bh-intro-box {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 28px 32px;
  margin: 56px 0 48px;
  border-radius: 0 8px 8px 0;
}

.bh-intro-box p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.85;
  margin: 0;
}

/* ── SCENE ── */
.bh-scene {
  color: var(--muted);
  font-style: italic;
  font-size: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  margin-bottom: 40px;
  line-height: 1.85;
}

/* ── DIALOGUE ── */
.bh-dialogue { margin-bottom: 12px; }

.bh-speaker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bh-speaker.sean   { color: #2a6496; }
.bh-speaker.nicole { color: #6b4a8f; }

.bh-speaker.sean::before {
  content: 'S';
  background: #2a6496;
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}

.bh-speaker.nicole::before {
  content: 'N';
  background: #6b4a8f;
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}

.bh-speech {
  padding: 14px 20px 14px 30px;
  border-left: 2px solid #e0d8d0;
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.95;
  color: #2e2b27;
}

.bh-speech.sean-speech   { border-left-color: #c5dff0; }
.bh-speech.nicole-speech { border-left-color: #d8c8ee; }

.bh-speech em {
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
}

/* ── SCIENCE BOX ── */
.bh-science-box {
  background: #fff;
  border: 1px solid #e0d8d0;
  border-top: 3px solid var(--accent);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 0 8px 8px;
}

.bh-science-box .sci-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
  margin-bottom: 12px;
}

.bh-science-box h4 {
  font-family: 'Noto Serif TC', var(--font-display), serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading);
}

.bh-science-box p,
.bh-science-box li {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
}

.bh-science-box ul { padding-left: 20px; margin-top: 8px; }
.bh-science-box li { margin-bottom: 6px; }

.bh-science-box .ref-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dashed var(--link);
}

.bh-science-box .ref-link:hover {
  color: var(--heading);
  border-bottom-color: var(--heading);
}

/* ── RISK BOX ── */
.bh-risk-box {
  background: #fdf0e6;
  border-left: 4px solid #c8956c;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-size: 15.5px;
  color: #5a3a20;
  line-height: 1.85;
}

.bh-risk-box strong { color: #c0472a; }

/* ── CHAPTER DIVIDER ── */
.bh-chapter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 52px 0 32px;
}

.bh-chapter-num {
  font-family: 'Noto Serif TC', var(--font-display), serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
  flex-shrink: 0;
}

.bh-chapter-title {
  font-family: 'Noto Serif TC', var(--font-display), serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}

.bh-chapter-rule {
  flex: 1;
  height: 1px;
  background: var(--accent);
}

/* ── SUMMARY ── */
.bh-summary {
  background: #2e2118;
  color: #e0d8d0;
  padding: 48px 32px;
  margin: 60px 0;
  border-radius: 12px;
}

.bh-summary h3 {
  font-family: 'Noto Serif TC', var(--font-display), serif;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 24px;
  letter-spacing: .06em;
}

.bh-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.bh-action-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(173,149,134,.25);
  border-radius: 8px;
  padding: 18px 20px;
}

.bh-action-card .ac-icon { font-size: 1.6rem; margin-bottom: 10px; }

.bh-action-card .ac-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: .05em;
}

.bh-action-card .ac-body {
  font-size: 14px;
  color: #b8a89a;
  line-height: 1.75;
}

/* ── DISCLAIMER ── */
.bh-disclaimer {
  border: 1px solid #e0d8d0;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 48px 0 32px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.bh-disclaimer strong { color: var(--ink); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .bh-hero { padding: 56px 20px 48px; }
  .bh-container { padding: 0 18px; }
  .bh-chapter-num { font-size: 1.6rem; }
  .bh-summary { padding: 32px 20px; }
}
