/* ============================================================
 * RONAR: /guias article system.
 * Loaded after style.css on every guide page. Reuses the site's
 * design tokens (--gold, --cream, --white-faded, --border, etc.)
 * defined in style.css :root; this file adds no new colours.
 * No JS-driven motion here (these pages don't load script.js),
 * so everything below is pure CSS and needs no reduced-motion
 * guard of its own: there is nothing to guard.
 * ============================================================ */

/* These pages don't load script.js, so the shared .nav never gets its
   JS-driven ".scrolled" background. Give the fixed nav a permanent
   solid backdrop here instead, so it never overlaps page copy as you
   scroll. Scoped to body.static-page so it can't affect index.html. */
body.static-page .nav {
  background: rgba(8,9,12,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.article-wrap { max-width: 720px; }

/* ----- Breadcrumb ----- */
.article-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--white-subtle);
  margin-bottom: 28px;
}
.article-breadcrumb a { color: var(--white-subtle); }
.article-breadcrumb a:hover { color: var(--gold); }
.article-breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ----- Article header ----- */
.article-hero .h2 { margin-bottom: 20px; }
.article-hero .lead { max-width: 640px; margin-bottom: 0; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--white-subtle);
  font-size: 13px;
  letter-spacing: 0.3px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 14px;
  color: var(--white-fainter);
}

/* ----- Body typography ----- */
.article-body {
  color: var(--white-faded);
  font-size: 17px;
  line-height: 1.78;
}
.article-body > *:first-child { margin-top: 0; }
.article-body h2 {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--cream);
  margin: 56px 0 20px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  margin: 36px 0 14px;
  letter-spacing: -0.2px;
}
.article-body p { margin: 0 0 22px; }
.article-body ul,
.article-body ol {
  margin: 0 0 26px;
  padding-left: 22px;
}
.article-body li { margin-bottom: 11px; }
.article-body li::marker { color: var(--gold); }
.article-body strong { color: var(--cream); font-weight: 600; }
.article-body a { border-bottom: 1px solid rgba(200,169,110,0.35); }
.article-body a:hover { border-bottom-color: var(--gold-bright); }

.article-body blockquote {
  margin: 44px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--cream);
}
.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--white-subtle);
}

/* ----- Payoff callout: where each guide introduces the RONAR
   feature it earns. Deliberately quiet: a hairline + a label, not
   a banner. ----- */
.article-callout {
  margin: 44px 0;
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
}
.article-callout__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}
.article-callout__label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold);
}
.article-callout h3 { margin: 0 0 12px; color: var(--cream); }
.article-callout p { color: var(--white-faded); margin: 0 0 18px; }
.article-callout p:last-of-type { margin-bottom: 0; }
.article-callout .btn { margin-top: 6px; }

/* ----- Comparison table (guide 3) ----- */
.article-table-wrap {
  overflow-x: auto;
  margin: 36px 0;
  border: 1px solid var(--border);
}
.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.article-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border-strong);
  background: var(--surface);
  white-space: nowrap;
}
.article-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--white-faded);
  vertical-align: top;
  line-height: 1.5;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table td:first-child {
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
}
.article-table tr.is-ronar td { background: rgba(200,169,110,0.05); }
.article-table tr.is-ronar td:first-child { color: var(--gold-bright); }

/* ----- Related / internal links ----- */
.article-related {
  margin-top: 68px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.article-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 36px;
  margin-top: 28px;
}
.article-related__item {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  transition: border-color .3s ease;
}
.article-related__item:hover { border-top-color: var(--gold); }
.article-related__item a {
  display: block;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  border-bottom: none !important;
}
.article-related__item a:hover { color: var(--gold); }
.article-related__item p {
  color: var(--white-subtle);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* ----- CTA footer block inside articles ----- */
.article-cta {
  margin-top: 56px;
  padding: 40px 0 4px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.article-cta p { color: var(--white-faded); margin: 0 0 20px; max-width: 480px; }

/* ============================================================
 * /guias index: the hub page
 * ============================================================ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4px 48px;
  margin-top: 40px;
}
.guide-card {
  display: block;
  padding: 38px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: border-color .3s ease;
}
.guide-card:hover { border-top-color: var(--gold); }
.guide-card__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}
.guide-card__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--cream);
  margin: 0 0 10px;
  line-height: 1.28;
  transition: color .2s ease;
}
.guide-card:hover .guide-card__title { color: var(--gold); }
.guide-card__dek {
  color: var(--white-faded);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 420px;
}
.guide-card__meta {
  color: var(--white-subtle);
  font-size: 12px;
  letter-spacing: 0.4px;
}

@media (max-width: 720px) {
  .article-body { font-size: 16px; }
  .article-body blockquote { font-size: 22px; padding-left: 20px; }
  .article-callout { padding: 24px 22px; }
  .guide-card__title { font-size: 20px; }
}
