* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #17131f;
  --muted: #57515e;
  --paper: #f8f5fb;
  --panel: #ffffff;
  --line: #ded7e7;
  --accent: #a56cf0;
  --accent-dark: #6f3fc4;
  --accent-soft: #f5efff;
  --gold: #b48a24;
  --olive: #5a6e44;
  --shadow: 0 18px 50px rgba(54, 38, 82, 0.12);
  --anchor-offset: 112px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans Pro", "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px clamp(18px, 4vw, 52px);
  background: #141018;
  color: #fffafd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

.brand {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-width: 0;
}

.site-nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 0.88rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.site-nav a:hover,
.site-footer a:hover,
.back-link:hover,
.card-link {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: #f5e9ff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.page-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.article-page {
  padding: 34px 0 58px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.article-hero,
.list-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  min-height: 420px;
}

.hero-copy {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.sidebar-label,
.card-number {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.1rem);
}

.lede {
  margin: 22px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-media {
  margin: 0;
  min-height: 100%;
  background: #1e1726;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.pill-row,
.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-row {
  margin-top: 24px;
}

.pill,
.mini-pills span {
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.pill {
  text-decoration: none;
}

.pill:hover {
  background: #efe4ff;
  text-decoration: underline;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  margin-top: 42px;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

.article-sidebar nav {
  display: grid;
  gap: 10px;
}

.article-sidebar a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.article-sidebar a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.source-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-content {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(24px, 5vw, 54px);
}

.article-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.article-content h3 {
  margin: 30px 0 12px;
  font-size: 1.55rem;
}

.article-content h2[id],
.article-content h3[id] {
  scroll-margin-top: var(--anchor-offset);
}

.article-content p,
.article-content li {
  font-size: 1.05rem;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul {
  margin: 0 0 24px;
  padding-left: 1.2rem;
}

.article-content li + li {
  margin-top: 8px;
}

.article-content a {
  color: var(--accent-dark);
  font-weight: 800;
}

#related-conspiracies + ul,
#categorization + ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
}

#related-conspiracies + ul li,
#categorization + ul li {
  display: inline-flex;
  margin-top: 0;
}

#related-conspiracies + ul a,
#categorization + ul a {
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 7px 10px;
  text-decoration: none;
}

#related-conspiracies + ul a:hover,
#categorization + ul a:hover {
  background: #efe4ff;
  text-decoration: underline;
}

.section-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.content-image {
  margin: 30px 0;
  border: 1px solid var(--line);
  background: #eee8f4;
}

.content-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-image figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.article-pagination a {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.article-pagination span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: "Source Sans Pro", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.list-hero {
  margin: 34px 0 28px;
  padding: clamp(30px, 6vw, 72px);
}

.list-hero h1 {
  max-width: 820px;
}

.list-hero p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.list-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.filter-heading {
  min-width: 0;
}

.filter-heading .eyebrow,
.filter-summary {
  margin: 0;
}

.filter-summary {
  color: var(--muted);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-chip {
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.filter-chip:hover,
.filter-chip[aria-current="true"] {
  background: var(--accent-dark);
  color: #fffafd;
}

.empty-filter {
  margin: -34px 0 58px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 58px;
}

.list-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
}

.list-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.list-card figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #211c28, #6f3fc4);
  overflow: hidden;
}

.list-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.card-copy h2 {
  margin: 0;
  font-size: 1.45rem;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 900;
}

.mini-pills span {
  font-size: 0.72rem;
  padding: 7px 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 52px);
  background: #141018;
  color: #fffafd;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .article-hero,
  .article-layout,
  .list-filter,
  .list-grid {
    grid-template-columns: 1fr;
  }

  .filter-options {
    justify-content: flex-start;
  }

  .article-sidebar {
    position: static;
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --anchor-offset: 152px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 10px;
    padding: 14px 18px;
  }

  .brand {
    white-space: normal;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 4px 14px;
  }

  .article-hero {
    min-height: 0;
  }

  .hero-media img {
    min-height: 250px;
  }

  .article-pagination {
    grid-template-columns: 1fr;
  }
}
