/* specialty-guide.css — shared content styles for the NBD Finder how-to guide
   pages (standalone at /<slug> + forum-embedded). Every selector is scoped under
   .specialty-page--guide so nothing leaks into the forum. All guide pages reuse
   this single file via data-embed-css="specialty-guide". */

.specialty-page--guide {
  --bg-surface: #161920;
  --bg-raised: #1e2229;
  --border: rgba(255, 255, 255, 0.08);
  --neon-blue: #00e5ff;
  --neon-green: #00ff88;
  --text-primary: #f0f2f5;
  --text-secondary: #9aa3b0;
  --text-muted: #5a6270;
  --radius: 12px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  display: block;
}

/* Hero */
.specialty-page--guide .page-hero { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.specialty-page--guide .page-hero .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--neon-green); font-weight: 700; margin-bottom: 10px; }
.specialty-page--guide .page-hero h1 { font-family: var(--font-heading); font-size: 34px; font-weight: 800; line-height: 1.12; margin-bottom: 10px; color: var(--text-primary); }
.specialty-page--guide .page-hero h1 span { color: var(--neon-green); }
.specialty-page--guide .page-hero .lede { font-size: 16px; color: var(--text-secondary); max-width: 62ch; }

/* Sections */
.specialty-page--guide .guide-section { margin-top: 34px; }
.specialty-page--guide .guide-section > h2 { font-family: var(--font-heading); font-size: 21px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--neon-green); }
.specialty-page--guide h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--text-muted); margin: 22px 0 8px; }
.specialty-page--guide p { margin-bottom: 12px; color: var(--text-secondary); }

/* Lists / steps */
.specialty-page--guide ol, .specialty-page--guide ul { margin: 0 0 14px; padding-left: 22px; }
.specialty-page--guide li { margin-bottom: 7px; color: var(--text-secondary); }
.specialty-page--guide li::marker { color: var(--neon-blue); }

.specialty-page--guide strong { color: var(--text-primary); }
.specialty-page--guide em { color: var(--text-primary); font-style: italic; }
.specialty-page--guide code { background: var(--bg-raised); padding: 2px 6px; border-radius: 4px; font-size: .88em; color: #9fe7c4; }
.specialty-page--guide a { color: var(--neon-blue); text-decoration: none; }
.specialty-page--guide a:hover { text-decoration: underline; }

/* Callout / tip box */
.specialty-page--guide .guide-callout { margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--neon-blue); background: rgba(0, 229, 255, 0.06); border-radius: 8px; font-size: 14px; }
.specialty-page--guide .guide-callout strong { color: #7fe9ff; }

/* Table of contents (longer guides) */
.specialty-page--guide .guide-toc { margin: 24px 0 0; padding: 14px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); }
.specialty-page--guide .guide-toc-h { font-size: 12px; text-transform: uppercase; letter-spacing: .7px; color: var(--text-muted); font-weight: 700; margin-bottom: 10px; }
.specialty-page--guide .guide-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.specialty-page--guide .guide-toc li { margin: 0; }
.specialty-page--guide .guide-toc li::marker { content: ''; }
.specialty-page--guide .guide-toc a { font-size: 14px; font-weight: 500; }

/* "More guides" related block — consistent footer nav on every guide page */
.specialty-page--guide .guide-related { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); }
.specialty-page--guide .guide-related h2 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; padding: 0; border: 0; }
.specialty-page--guide .guide-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.specialty-page--guide .guide-related-link { display: block; padding: 12px 14px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .15s, background .15s; }
.specialty-page--guide a.guide-related-link:hover { border-color: rgba(0, 229, 255, .35); background: var(--bg-raised); text-decoration: none; }
.specialty-page--guide .guide-related-link--current { color: var(--text-muted); cursor: default; }
/* Guides hub (/guides) — wiki-style index */
.specialty-page--guide .guide-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.specialty-page--guide .guide-hub-card { display: block; padding: 16px 18px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, background .15s; }
.specialty-page--guide a.guide-hub-card:hover { border-color: rgba(0, 229, 255, .35); background: var(--bg-raised); text-decoration: none; }
.specialty-page--guide .guide-hub-card h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0 0 5px; text-transform: none; letter-spacing: 0; }
.specialty-page--guide .guide-hub-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
@media (max-width: 600px) { .specialty-page--guide .guide-related-grid, .specialty-page--guide .guide-hub-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .specialty-page--guide .page-hero h1 { font-size: 26px; }
  .specialty-page--guide .guide-section > h2 { font-size: 19px; }
}

body.light-mode .specialty-page--guide { --bg-surface:#fff; --bg-raised:#f1f3f6; --border:rgba(0,0,0,.1); --text-primary:#111827; --text-secondary:#3a4150; --text-muted:#6b7280; }
body.light-mode .specialty-page--guide code { color:#0a7d52; }
