/* Journey2Health — "What Your Body Is Telling You" (body-signs*.html only). All selectors prefixed .bs- */
.bs-page .bs-hero { padding: 3.25rem 0 2.25rem; border-bottom: 1px solid var(--border); }
.bs-hero-actions { margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.bs-crumbs { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.bs-crumbs a { font-weight: 600; }

/* Education-not-diagnosis callout */
.bs-callout {
  border: 1px solid rgba(224, 178, 92, 0.45); background: rgba(224, 178, 92, 0.08);
  border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 1.25rem 0;
}
.bs-callout h2, .bs-callout h3 { color: #f0cf8a; font-size: 1.2rem; margin-bottom: 0.4rem; }
.bs-callout p, .bs-callout li { color: #f1f7f3; }
.bs-callout ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

/* How-to-observe steps */
.bs-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.bs-steps li { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; margin: 0; }
.bs-steps li strong { display: block; color: var(--accent-soft); margin-bottom: 0.25rem; font-family: var(--display); }
.bs-step-n { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(116,194,151,.18); color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }

/* Region cards (hub) */
.bs-regions .card { display: flex; flex-direction: column; }
.bs-regions .card-link { display: flex !important; flex-direction: column; height: 100%; }
.bs-icon { width: 44px; height: 44px; margin-bottom: 0.6rem; }
.bs-regions .badge { align-self: flex-start; }
.bs-region-soon { opacity: 0.88; }
.bs-region-soon .bs-icon { opacity: 0.55; }
.bs-region-meta { font-size: 0.85rem; color: var(--accent-soft); margin-top: 0.5rem; }
.bs-pill-live { background: rgba(116, 194, 151, 0.22); }

/* Checklist */
.bs-checklist { list-style: none; padding: 0 !important; margin: 0.75rem 0 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bs-checklist li { margin: 0 !important; }
.bs-check { display: flex; gap: 0.65rem; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 0.8rem; cursor: pointer; color: #f1f7f3; line-height: 1.45; }
.bs-check:hover { border-color: var(--border-strong); }
.bs-check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); flex: 0 0 auto; }
.bs-check a { font-size: 0.85rem; white-space: nowrap; }
.bs-check.is-checked { border-color: var(--accent); background: rgba(116,194,151,.1); }
.bs-summary { margin-top: 1rem; border: 1px dashed var(--border-strong); border-radius: 12px; padding: 0.9rem 1.1rem; }
.bs-summary h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.bs-summary ul { margin: 0.35rem 0 0.6rem; }
.bs-summary .btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.bs-privacy { font-size: 0.85rem; color: var(--text-muted); margin: 0.5rem 0 0; }

/* Sign sections */
.bs-group-title { margin: 2.25rem 0 0.9rem; font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--accent-soft); }
.bs-sign { scroll-margin-top: calc(var(--header-h, 72px) + 12px); }
.bs-sign-head { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-bottom: 1rem; }
.bs-sign-head h2 { margin-bottom: 0.35rem; }
.bs-term { font-weight: 500; color: var(--text-muted); font-size: 0.8em; }
.bs-fig { margin: 0; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 0.6rem; }
.bs-svg { display: block; width: 100%; height: auto; max-height: 230px; }
.bs-fig figcaption { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.35; text-align: center; }
.bs-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bs-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1.05rem; min-width: 0; }
.bs-box h3 { font-size: 1.02rem; margin-bottom: 0.45rem; color: var(--accent-soft); }
.bs-box p, .bs-box li { font-size: 1rem; }
.bs-box p:last-child, .bs-box ul:last-child { margin-bottom: 0; }
.bs-box ul { margin: 0.25rem 0 0; }
.bs-box--flag { border-color: rgba(224, 122, 106, 0.5); background: rgba(224, 122, 106, 0.07); }
.bs-box--flag h3 { color: #f2a596; }
.bs-box--nutri { border-color: rgba(116,194,151,.4); }
.bs-links { margin: 0.9rem 0 0; font-size: 0.98rem; }
.bs-links strong { color: var(--accent-soft); }
.bs-links a { font-weight: 600; white-space: nowrap; }

/* Evidence badges */
.bs-ev { display: inline-block; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0 0.35rem 0.4rem 0; border: 1px solid transparent; vertical-align: middle; }
.bs-ev--strong { background: rgba(116,194,151,.22); color: #b6ecd0; border-color: rgba(116,194,151,.45); }
.bs-ev--some { background: rgba(224,178,92,.16); color: #f0cf8a; border-color: rgba(224,178,92,.45); }
.bs-ev--weak { background: rgba(200,200,200,.12); color: #d7dcd9; border-color: rgba(200,200,200,.3); }
.bs-ev--medical { background: rgba(224,122,106,.16); color: #f4b3a6; border-color: rgba(224,122,106,.5); }
.bs-legend { list-style: none; padding: 0 !important; margin: 0.5rem 0 0; display: grid; gap: 0.4rem; }
.bs-legend li { margin: 0; }
.bs-redflag-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: #1a1510; background: #f2a596; border-radius: 999px; padding: 0.15rem 0.6rem; margin-left: 0.4rem; vertical-align: middle; }

/* Inline citations + references */
.bs-cite { font-size: 0.72em; line-height: 0; white-space: nowrap; }
.bs-cite a { font-weight: 700; color: var(--accent); padding: 0 0.05em; }
.bs-cite a:hover { color: #d4f0e3; text-decoration: underline; }
.bs-refs { padding-left: 1.6rem !important; margin: 0.5rem 0 0; }
.bs-refs li { margin-bottom: 0.55rem; overflow-wrap: anywhere; font-size: 0.95rem; }
.bs-refs .bs-ref-type { font-size: 0.78rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-left: 0.3rem; }

/* Next steps */
.bs-next { counter-reset: bsn; list-style: none; padding: 0 !important; }
.bs-next > li { counter-increment: bsn; position: relative; padding-left: 2.4rem; margin-bottom: 0.85rem; }
.bs-next > li::before { content: counter(bsn); position: absolute; left: 0; top: 0.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(116,194,151,.18); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.bs-urgent { border: 1px solid rgba(224,122,106,.55); background: rgba(224,122,106,.08); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin-bottom: 1.25rem; }
.bs-urgent h2 { color: #f2a596; font-size: 1.35rem; }
.bs-urgent ul { color: #f1f7f3; }
.bs-imgnote { font-size: 0.88rem; }

@media (max-width: 760px) {
  .bs-sign-head { grid-template-columns: minmax(0, 1fr); }
  .bs-fig { max-width: 270px; margin-inline: auto; width: 100%; }
  .bs-svg { max-height: 190px; }
  .bs-grid { grid-template-columns: minmax(0, 1fr); }
  .bs-page .bs-hero { padding: 2.25rem 0 1.5rem; }
  .bs-checklist { grid-template-columns: minmax(0, 1fr); }
  .bs-check a { white-space: normal; }
}

@media print {
  .site-header, .site-footer, .bs-hero-actions, .detox-toc, .bs-summary .btn, .skip-link { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .content-block, .bs-box, .bs-check, .bs-steps li { background: #fff !important; border-color: #bbb !important; color: #111 !important; }
  .content-block p, .content-block li, .bs-box p, .bs-box li, .muted, .lead, h1, h2, h3 { color: #111 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* Approved AI / own-photo illustrations (2026-10-06 ai-wire). Wikimedia photo column removed. */
.bs-figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0;
}
.bs-fig-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted, #9bb0a8);
}
.bs-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #0a1210;
}
.bs-fig--missing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
}
.bs-fig-missing {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted, #9bb0a8);
  line-height: 1.4;
  text-align: center;
  padding: 0.75rem 0.4rem;
}
.bs-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bs-sign-head { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
@media (max-width: 720px) {
  .bs-figs { grid-template-columns: 1fr; }
  .bs-sign-head { grid-template-columns: minmax(0, 1fr); }
  .bs-figs { max-width: 420px; margin-inline: auto; width: 100%; }
  .bs-photo { max-height: 260px; }
}


/* Single illustration (AI lock or own photo) — no Wikimedia second column */
.bs-figs--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}
.bs-figs--single .bs-fig { max-width: none; }
.bs-sign-head:has(.bs-figs--single) {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
}
@media (max-width: 820px) {
  .bs-sign-head:has(.bs-figs--single) { grid-template-columns: minmax(0, 1fr); }
  .bs-figs--single { max-width: 420px; margin-inline: auto; width: 100%; }
}
