/* Content pages (glossary, alternatives) rendered by includes/content_page.php.
   Loaded only by those pages, with a filemtime-based ?v= version. Builds on site.css tokens and classes. */

.cx-hero { padding: 40px 0 32px; }
.cx-hero h1 { max-width: 860px; margin-top: 12px; font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); letter-spacing: -.025em; }
.cx-answer {
  max-width: 820px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.cx-answer p + p { margin-top: 10px; }
.cx-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--muted); font-size: .875rem; }
.cx-meta time { color: var(--ink-2); font-weight: 600; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.cx-takeaways { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cx-takeaways h2 { margin: 0 !important; padding: 0 !important; font-size: 1.0625rem !important; }
.cx-takeaways ul { margin-top: 10px; }

.prose .cx-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cx-proscons > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cx-proscons h3 { margin-top: 0 !important; font-size: 1.0625rem; }
.cx-proscons ul { margin-top: 10px; }
@media (max-width: 640px) { .prose .cx-proscons { grid-template-columns: minmax(0, 1fr); } }

.cx-table th:first-child, .cx-table td:first-child { color: var(--ink); font-weight: 600; }
.cx-table td { min-width: 150px; }
.cx-table th:first-child, .cx-table td:first-child { min-width: 130px; }
.cx-table .yes { color: var(--pos); font-weight: 600; }
.cx-table .no { color: var(--neg); font-weight: 600; }
.cx-source { color: var(--muted); font-size: .875rem; }

.cx-terms { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; list-style: none; }
.cx-terms li { margin: 0 !important; }
.cx-terms a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .875rem;
  text-decoration: none;
}
.cx-terms a:hover { border-color: var(--accent-line); color: var(--accent-text); }
.cx-term { scroll-margin-top: calc(var(--header-h) + 16px); }
.cx-term .cx-aka { margin-top: 4px !important; color: var(--muted); font-size: .9375rem; }
.cx-def { color: var(--ink); }

.cx-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0 !important; list-style: none; }
.cx-related li { margin: 0 !important; }
.cx-related a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.cx-related a span { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; font-weight: 400; }
.cx-related a:hover { border-color: var(--accent-line); }

.cx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cx-cards .card h2 { font-size: 1.1875rem; }
.cx-cards .card p { margin-top: 8px; }
.cx-cards .card a.cx-more { display: inline-block; margin-top: 12px; font-weight: 600; }

.prose .faq { max-width: none; }

@media (max-width: 640px) {
  .cx-table { font-size: .8125rem; }
  .cx-table th, .cx-table td { padding: 8px 8px; }
  .cx-table td, .cx-table th:first-child, .cx-table td:first-child { min-width: 0; }
  .cx-table th:first-child, .cx-table td:first-child { width: 26%; }
  .cx-table td { overflow-wrap: anywhere; }
  .cx-table th { white-space: normal; }
  .cx-hero { padding: 28px 0 20px; }
  .cx-answer { padding: 16px 18px; font-size: 1rem; }
}
