/* ============================================
   DALINAR.COM — STORMLIGHT ARCHIVE FAN SITE
   Dark Epic Fantasy Design System
   ============================================ */

:root {
  --bg-deep:     #03060f;
  --bg-primary:  #060c1a;
  --bg-card:     #0c1526;
  --bg-card-hover: #111e34;
  --bg-border:   #1a2840;

  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-dark:   #9a7a35;
  --blue:        #3d7cbf;
  --blue-light:  #6ba3e0;
  --teal:        #2a8a8a;
  --storm:       #8fd3f4;

  --text-primary: #eaecf0;
  --text-muted:   #7a8899;
  --text-faint:   #3d4a5c;

  --font-head:   'Cinzel', Georgia, serif;
  --font-deco:   'Cinzel Decorative', Georgia, serif;
  --font-body:   'Lato', system-ui, sans-serif;

  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
  --transition:  0.25s ease;

  --container:   1200px;
  --container-sm: 800px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Force dark on everything — override Astra parent theme completely */
html,
body,
body.single,
body.single-post,
body.page,
body.home,
body.blog,
body.archive,
body.category {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Nuke any white/light backgrounds Astra injects */
.hfeed, .site, #page, .site-content, .site-main,
.content-area, .primary, .entry, .entry-content,
.ast-article-single, .ast-container, .ast-row,
.post-content, .page-content, .single-post,
div[class*="ast-"], div[id*="ast-"],
.wp-site-blocks {
  background-color: transparent !important;
  color: inherit !important;
}

/* Links and headings inside WordPress content */
.entry-content a, .entry-content h1, .entry-content h2,
.entry-content h3, .entry-content h4, .entry-content h5 {
  color: inherit;
}

/* Kill Astra's default white card/container backgrounds */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container.ast-two-container,
.ast-plain-container .ast-article-post {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(6,12,26,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-border);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  text-decoration: none;
}

.logo-icon {
  font-size: 22px;
  filter: hue-rotate(20deg);
}

.logo-dot { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.site-nav a:hover { color: var(--text-primary); }

.site-nav .nav-cta {
  background: var(--gold);
  color: var(--bg-deep);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  background: var(--gold-light);
  color: var(--bg-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2026/05/dalinar-hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(3,6,15,0.92) 0%, rgba(3,6,15,0.6) 50%, rgba(3,6,15,0.75) 100%),
    linear-gradient(to bottom, rgba(3,6,15,0.4) 0%, transparent 40%, rgba(3,6,15,0.95) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201,168,76,0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(143,211,244,0.06) 1px, transparent 1px),
    radial-gradient(circle at 60% 15%, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 120px 120px, 200px 200px, 80px 80px;
  animation: drift 20s linear infinite;
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-20px, -20px); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
  padding: 120px 24px 80px;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--storm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--bg-border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--bg-deep);
  box-shadow: 0 6px 30px rgba(201,168,76,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--bg-border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
  transform: translateY(-2px);
}

/* ---- NEWS BANNER ---- */
.news-banner {
  background: linear-gradient(135deg, rgba(61,124,191,0.15), rgba(201,168,76,0.1));
  border-top: 1px solid rgba(61,124,191,0.3);
  border-bottom: 1px solid rgba(61,124,191,0.3);
  padding: 16px 0;
}

.news-banner .container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-badge {
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.news-banner p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.news-banner p strong { color: var(--text-primary); }
.news-banner p a { color: var(--storm); }

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

section h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

section p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- BOOKS SECTION ---- */
.books-section {
  padding: 100px 0;
  position: relative;
}

.books-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bg-border), transparent);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  background: var(--bg-card-hover);
}

.book-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.book-cover {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  flex-shrink: 0;
}

.book-card.featured .book-cover {
  width: 220px;
  min-height: auto;
}

.book-number {
  font-family: var(--font-deco);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.book-emblem {
  font-size: 48px;
  z-index: 1;
  filter: drop-shadow(0 0 20px currentColor);
}

.book-1 { background: linear-gradient(135deg, #0a1628, #1a3a5c); }
.book-2 { background: linear-gradient(135deg, #1a1a2e, #3d1a5c); }
.book-3 { background: linear-gradient(135deg, #1a0a0a, #5c2a1a); }
.book-4 { background: linear-gradient(135deg, #0a1a1a, #1a3d5c); }
.book-5 { background: linear-gradient(135deg, #0a0a1a, #1a1a3d); }
.book-nov { background: linear-gradient(135deg, #0d1a0d, #1a3d1a); }

.book-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-year {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-info h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.book-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.book-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.book-tags span {
  font-size: 11px;
  background: var(--bg-border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 10px 0;
  border-top: 1px solid var(--bg-border);
  margin-top: 4px;
  transition: color var(--transition);
}

.btn-book:hover { color: var(--gold-light); }

/* ---- TV SECTION ---- */
.tv-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #040e1c 100%);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.tv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tv-text .section-eyebrow { justify-content: flex-start; }
.tv-text .section-eyebrow::before { display: none; }

.tv-text h2 {
  text-align: left;
  margin-bottom: 20px;
}

.tv-text p {
  text-align: left;
  margin: 0 0 16px;
  max-width: 100%;
}

.tv-visual {
  display: flex;
  justify-content: center;
}

.tv-badge {
  background: linear-gradient(135deg, #0d1f35, #1a3050);
  border: 1px solid rgba(61,124,191,0.4);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: 0 0 60px rgba(61,124,191,0.15);
  max-width: 320px;
  width: 100%;
}

.tv-logo {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
  opacity: 0.8;
}

.tv-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.tv-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tv-status {
  display: inline-block;
  background: rgba(61,124,191,0.2);
  border: 1px solid rgba(61,124,191,0.4);
  color: var(--storm);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
}

/* ---- CHARACTER SECTION ---- */
.character-section {
  padding: 100px 0;
}

.character-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.character-quote {
  position: relative;
}

.quote-mark {
  font-family: var(--font-deco);
  font-size: 160px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.1;
  position: absolute;
  top: -40px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}

blockquote {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  padding: 0 0 20px;
  position: relative;
  z-index: 1;
}

cite {
  font-style: normal;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.character-info .section-eyebrow { justify-content: flex-start; }
.character-info .section-eyebrow::before { display: none; }
.character-info h2 { text-align: left; margin-bottom: 16px; }
.character-info p { text-align: left; max-width: 100%; margin-bottom: 16px; }

/* ---- ARTICLES SECTION ---- */
.articles-section {
  padding: 100px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--bg-border);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--bg-border);
  box-shadow: var(--shadow);
  background: var(--bg-card-hover);
}

.article-image {
  height: 180px;
  overflow: hidden;
  background: var(--bg-deep);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628, #0d2040);
  font-size: 40px;
  opacity: 0.4;
}

.article-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-cat {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-time {
  font-size: 11px;
  color: var(--text-faint);
}

.article-body h3, .article-body h2 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
}

.article-body h2 { font-size: 18px; }

.article-body h3 a, .article-body h2 a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.article-body h3 a:hover, .article-body h2 a:hover {
  color: var(--gold);
}

.article-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 100%;
}

.article-link {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--bg-border);
  transition: color var(--transition);
}

.article-link:hover { color: var(--gold-light); }

.articles-cta {
  text-align: center;
}

/* ---- READING CTA ---- */
.reading-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #040a14, #06111d);
  border-top: 1px solid var(--bg-border);
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--bg-border);
  padding: 80px 0 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 60px;
}

.footer-brand .site-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

.footer-links h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--bg-border);
}

.footer-bottom {
  border-top: 1px solid var(--bg-border);
  padding: 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* ---- SINGLE ARTICLE ---- */
.single-main { padding-top: 80px; }

.article-hero {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--bg-border);
  padding: 60px 0 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-faint); }

.article-cats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cat-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.2);
}

.article-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.byline-sep { color: var(--text-faint); }

.article-featured-image {
  padding: 32px 0;
}

.featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: start;
}

/* Article content typography */
.article-content h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-border);
  text-align: left;
  max-width: 100%;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 12px;
  text-align: left;
  max-width: 100%;
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
  max-width: 100%;
}

.article-content strong { color: var(--text-primary); font-weight: 600; }

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  max-width: 100%;
}

.article-content li {
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-content a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.article-content a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Amazon CTA in article */
.article-amazon-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bg-border);
}

.amazon-cta-inner {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.amazon-icon { font-size: 32px; flex-shrink: 0; }

.amazon-cta-inner strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.amazon-cta-inner p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-widget h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-border);
}

.sidebar-books, .sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-books li, .sidebar-links li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-border);
}

.sidebar-books li:last-child, .sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-books a, .sidebar-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
  flex: 1;
}

.sidebar-books a:hover, .sidebar-links a:hover {
  color: var(--gold);
}

.sidebar-books span {
  font-size: 11px;
  color: var(--text-faint);
  margin-left: 8px;
}

/* ---- ARCHIVE ---- */
.archive-main { padding-top: 80px; }

.archive-hero {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--bg-border);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
}

.archive-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-align: left;
  max-width: 100%;
}

.archive-hero p {
  text-align: left;
  max-width: 100%;
}

.archive-body {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Related posts */
.related-posts {
  background: var(--bg-deep);
  border-top: 1px solid var(--bg-border);
  padding: 64px 0;
}

.related-posts h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .book-card.featured { grid-column: span 2; }
  .tv-inner, .character-inner { grid-template-columns: 1fr; gap: 48px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(6,12,26,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 40px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { font-size: 16px; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: 24px; }
  .books-grid { grid-template-columns: 1fr; }
  .book-card.featured { grid-column: span 1; flex-direction: column; }
  .book-card.featured .book-cover { width: 100%; }
  .articles-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: span 1; }
  .amazon-cta-inner { flex-direction: column; text-align: center; }
  .news-banner .container { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ---- DISCLAIMER ---- */
.footer-disclaimer {
  border-top: 1px solid var(--bg-border);
  background: rgba(10,20,40,0.6);
  padding: 20px 0;
}

.disclaimer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
}

.disclaimer-inner strong {
  color: var(--text-muted);
}
