/* Article and guide pages. Loaded after policy.css, which provides fonts, tokens, nav, and footer. */

.article-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.article-nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: 'UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.article-nav-cta:hover { background: var(--accent); color: #fff; }

.article-main h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.02;
}

/* All article headings use the brand blue. The course box keeps its light
   heading because blue on its dark background is too low-contrast to read. */
.article-main h1,
.article-body h2,
.article-body h3,
.article-body .article-list h2 a { color: var(--accent); }
.article-body .article-cta h2 { color: var(--bg); }

.article-body a { color: var(--accent); }
.article-body .legal-section p a:hover { color: var(--text); }
.legal-section .book-meta {
  margin: -4px 0 10px;
  color: var(--faint);
  font-family: 'UI', sans-serif;
  font-size: 13px;
}
.article-note {
  margin: 0 0 18px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--dim);
}

.article-cta {
  margin: 12px 0 56px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 20px;
  background: var(--text);
  color: var(--bg);
}
.article-cta-kicker {
  margin: 0 0 14px;
  color: #9fb5ee;
  font-family: 'UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-cta h2 {
  margin: 0 0 14px;
  font-family: 'Geo', sans-serif;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.article-cta p { margin: 0 0 22px; color: rgba(250, 249, 247, 0.78); }
.article-cta .article-cta-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: 'UI', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.article-cta .article-cta-button:hover { background: #fff; color: var(--text); }
.article-cta .article-cta-note {
  margin: 16px 0 0;
  color: rgba(250, 249, 247, 0.6);
  font-family: 'UI', sans-serif;
  font-size: 13px;
}

.article-related ul,
.article-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-related li { margin: 0 0 10px; padding: 0; }
.article-related a { font-weight: 600; }

.article-sources ol { margin: 0 0 18px; padding-left: 22px; color: var(--dim); font-size: 15px; }
.article-sources li { margin: 0 0 8px; }
.article-sources p { color: var(--faint); font-size: 14px; }

.article-list li {
  padding: 30px 0 32px;
  border-top: 1px solid var(--line);
}
.article-list h2 {
  margin: 0 0 10px;
  font-family: 'Geo', sans-serif;
  font-size: clamp(24px, 3.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.article-list h2 a { text-decoration: none; }
.article-list p { margin: 0; color: var(--dim); }

@media (max-width: 640px) {
  .article-nav .back-link { display: none; }
  .legal-nav .brand { font-size: 20px; white-space: nowrap; }
  .article-nav-cta { padding: 0 14px; font-size: 13px; white-space: nowrap; }
}

@media print {
  .article-cta { display: none !important; }
}
