/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a; --bg-alt: #111111; --card: #161616; --card-hover: #1c1c1c;
  --text: #e8e6e3; --text-muted: #8a8a8a; --text-dim: #555;
  --border: #2a2a2a; --border-hover: #3a3a3a;
  --accent: #e63946; --accent-hover: #f0414f; --accent-dim: rgba(230,57,70,0.15);
  --green: #2a9d8f; --green-dim: rgba(42,157,143,0.15);
  --gold: #e9c46a; --warn: #f4a261;
  --radius: 12px; --radius-sm: 8px; --max-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ===== NAVIGATION ===== */
nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(10,10,10,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 1000; padding: 0 20px; }
nav .nav-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
nav .logo { font-weight: 700; font-size: 16px; letter-spacing: -0.5px; color: var(--text); display: flex; align-items: center; gap: 8px; }
nav .logo span { color: var(--accent); }
nav .nav-links { display: flex; gap: 24px; list-style: none; }
nav .nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
nav .nav-links a:hover { color: var(--text); text-decoration: none; }
nav .nav-links a.active { color: var(--accent); }
nav .menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }
@media (max-width: 768px) {
  nav .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  nav .nav-links.open { display: flex; }
  nav .menu-btn { display: block; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; font-weight: 500; padding: 6px 10px; cursor: pointer; font-family: var(--font); transition: all 0.2s; white-space: nowrap; }
.lang-btn:hover { border-color: var(--border-hover); color: var(--text); }
.lang-globe { font-size: 14px; }
.lang-arrow { font-size: 10px; transition: transform 0.2s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-switcher.open .lang-btn { border-color: var(--accent); color: var(--text); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px; min-width: 140px; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.lang-switcher.open .lang-dropdown { display: flex; flex-direction: column; gap: 2px; }
.lang-option { background: none; border: none; color: var(--text-muted); font-size: 13px; font-family: var(--font); padding: 7px 10px; border-radius: 6px; cursor: pointer; text-align: left; transition: all 0.15s; white-space: nowrap; }
.lang-option:hover { background: var(--card-hover); color: var(--text); }
.lang-option-active { color: var(--accent) !important; font-weight: 600; }
@media (max-width: 768px) {
  .lang-label { display: none; }
  .lang-dropdown { right: 0; left: auto; }
}

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px 60px; position: relative; background: radial-gradient(ellipse at center, #1a1a1a 0%, var(--bg) 70%); }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(180deg, transparent 0px, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero .pillar { display: inline-flex; gap: 4px; margin-bottom: 32px; }
.hero .pillar span { display: block; width: 40px; height: 4px; border-radius: 2px; }
.hero .pillar span:nth-child(1) { background: #e63946; }
.hero .pillar span:nth-child(2) { background: #2a2a2a; }
.hero .pillar span:nth-child(3) { background: #2a9d8f; }
.hero .pillar span:nth-child(4) { background: #e8e6e3; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--accent); }
.hero .subtitle { font-size: clamp(16px, 2.5vw, 20px); color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.hero .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: all 0.2s; cursor: pointer; border: none; }
.hero .btn-primary { background: var(--accent); color: #fff; }
.hero .btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.hero .btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.hero .btn-secondary:hover { border-color: var(--border-hover); text-decoration: none; }
.hero .scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 12px; letter-spacing: 1px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ===== SECTIONS ===== */
section { padding: 80px 20px; max-width: var(--max-width); margin: 0 auto; }
section.alt { background: var(--bg-alt); max-width: 100%; }
section.alt > .section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2; }
.section-desc { color: var(--text-muted); font-size: 17px; max-width: 700px; margin-bottom: 48px; }
.page-header { padding: 100px 20px 40px; max-width: var(--max-width); margin: 0 auto; }

/* ===== STATISTICS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: all 0.3s; }
.stat-card:hover { background: var(--card-hover); border-color: var(--border-hover); transform: translateY(-2px); }
.stat-card .stat-number { font-size: 36px; font-weight: 800; color: var(--accent); letter-spacing: -1px; line-height: 1; margin-bottom: 8px; }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card .stat-source { font-size: 11px; color: var(--text-dim); margin-top: 8px; }

/* ===== TIMELINE ===== */
.timeline-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.search-box { flex: 1; min-width: 200px; padding: 12px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 15px; font-family: var(--font); transition: border-color 0.2s; }
.search-box:focus { outline: none; border-color: var(--accent); }
.search-box::placeholder { color: var(--text-dim); }
.ctrl-btn { padding: 10px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font); }
.ctrl-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-chip { padding: 6px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; color: var(--text-muted); font-family: var(--font); }
.filter-chip:hover { border-color: var(--border-hover); color: var(--text); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.timeline-results { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; }
.timeline-container { position: relative; padding-left: 40px; }
.timeline-container::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item.hidden { display: none; }
.timeline-item::before { content: ''; position: absolute; left: -40px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); z-index: 1; transition: all 0.3s; }
.timeline-item.major::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent-dim); }
.timeline-item.collapsed::before { background: var(--border); border-color: var(--border); }
.timeline-year { font-size: 14px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; font-family: var(--mono); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.timeline-year .toggle-icon { font-size: 12px; transition: transform 0.3s; }
.timeline-item.collapsed .toggle-icon { transform: rotate(-90deg); }
.timeline-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s; }
.timeline-card:hover { border-color: var(--border-hover); }
.timeline-card-header { padding: 20px 28px; cursor: pointer; }
.timeline-card-body { max-height: 2000px; overflow: hidden; transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease; opacity: 1; padding: 0 28px 28px; }
.timeline-item.collapsed .timeline-card-body { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.timeline-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.timeline-card .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.timeline-card .tag { font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.tag.massacre { background: rgba(230,57,70,0.15); color: var(--accent); border: 1px solid rgba(230,57,70,0.3); }
.tag.war { background: rgba(244,162,97,0.15); color: var(--warn); border: 1px solid rgba(244,162,97,0.3); }
.tag.law { background: rgba(42,157,143,0.15); color: var(--green); border: 1px solid rgba(42,157,143,0.3); }
.tag.occupation { background: rgba(233,196,106,0.15); color: var(--gold); border: 1px solid rgba(233,196,106,0.3); }
.tag.displacement { background: rgba(200,100,200,0.15); color: #c64ac6; border: 1px solid rgba(200,100,200,0.3); }
.tag.terror { background: rgba(230,57,70,0.1); color: #ff6b6b; border: 1px solid rgba(230,57,70,0.2); }
.tag.origin { background: rgba(100,100,200,0.15); color: #8a8aff; border: 1px solid rgba(100,100,200,0.3); }
.tag.media { background: rgba(100,200,100,0.15); color: #6abe6a; border: 1px solid rgba(100,200,100,0.3); }
.timeline-card p { color: var(--text-muted); margin-bottom: 14px; font-size: 15px; }
.timeline-card p strong { color: var(--text); }
.timeline-card .quote { border-left: 3px solid var(--accent); padding: 12px 16px; margin: 14px 0; background: rgba(230,57,70,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text); font-size: 15px; }
.timeline-card .quote .author { display: block; margin-top: 8px; font-size: 13px; color: var(--text-dim); font-style: normal; }
.timeline-card .video-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.25); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--accent); margin-right: 8px; margin-bottom: 8px; transition: all 0.2s; }
.timeline-card .video-link:hover { background: rgba(230,57,70,0.2); text-decoration: none; }
.timeline-card .sources { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.timeline-card .sources-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 8px; }
.timeline-card .sources a { display: inline-block; font-size: 13px; margin-right: 12px; margin-bottom: 4px; color: var(--text-muted); transition: color 0.2s; }
.timeline-card .sources a:hover { color: var(--accent); }
.timeline-card .sources a::before { content: '\01F517 '; font-size: 11px; }
.timeline-card .casualty-box { display: inline-block; padding: 10px 16px; background: rgba(230,57,70,0.08); border: 1px solid rgba(230,57,70,0.2); border-radius: var(--radius-sm); margin: 10px 0; font-size: 14px; }
.timeline-card .casualty-box strong { color: var(--accent); font-size: 18px; }

/* ===== QUOTES / STATEMENTS ===== */
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
.quote-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; border-left: 4px solid var(--accent); }
.quote-card:hover { background: var(--card-hover); transform: translateY(-2px); }
.quote-card .official-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.quote-card .official-role { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.quote-card .official-quote { font-size: 16px; line-height: 1.6; color: var(--text); margin-bottom: 16px; font-style: italic; }
.quote-card .official-date { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; font-family: var(--mono); }
.quote-card .icj-badge { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 20px; background: rgba(230,57,70,0.15); color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.quote-card .quote-video { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.25); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--accent); transition: all 0.2s; margin-right: 8px; margin-bottom: 8px; }
.quote-card .quote-video:hover { background: rgba(230,57,70,0.2); text-decoration: none; }

/* ===== LAW TABLE ===== */
.law-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.law-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.law-table th { background: var(--bg-alt); padding: 16px 20px; text-align: left; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.law-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.law-table tr:last-child td { border-bottom: none; }
.law-table tr:hover td { background: var(--card); }
.law-table .violation { font-weight: 600; color: var(--text); }
.law-table .status { font-weight: 600; }
.law-table .status.illegal { color: var(--accent); }
.law-table .status.war-crime { color: var(--warn); }
.law-table .status.crime-humanity { color: #ff6b6b; }

/* ===== VIDEO GALLERY ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.video-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.video-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.video-card .video-thumb { position: relative; padding-bottom: 56.25%; height: 0; }
.video-card .video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card .video-thumb .play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(230,57,70,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; transition: all 0.2s; }
.video-card:hover .play-overlay { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }
.video-card .video-info { padding: 20px; }
.video-card .video-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.video-card .video-info p { font-size: 13px; color: var(--text-muted); }
.video-card .video-info .source-tag { font-size: 11px; color: var(--text-dim); margin-top: 8px; }
.video-section-title { font-size: 22px; font-weight: 700; margin: 40px 0 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ===== CONTENT CARDS ===== */
.content-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; transition: all 0.3s; }
.content-card:hover { border-color: var(--border-hover); }
.content-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.content-card p { color: var(--text-muted); margin-bottom: 14px; font-size: 15px; }
.content-card p strong { color: var(--text); }
.content-card .sources { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.content-card .sources a { display: inline-block; font-size: 13px; margin-right: 12px; margin-bottom: 4px; color: var(--text-muted); }
.content-card .sources a:hover { color: var(--accent); }
.content-card .sources a::before { content: '\01F517 '; font-size: 11px; }

/* ===== FOOTER ===== */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 20px 40px; text-align: center; }
footer .footer-inner { max-width: var(--max-width); margin: 0 auto; }
footer h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
footer p { color: var(--text-muted); font-size: 14px; max-width: 600px; margin: 0 auto 24px; }
footer .footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
footer .footer-links a { font-size: 14px; }
footer .footer-disclaimer { font-size: 12px; color: var(--text-dim); max-width: 700px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); }

/* ===== UTILITY ===== */
.content-warning { background: rgba(244,162,97,0.1); border: 1px solid rgba(244,162,97,0.3); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 40px; display: flex; gap: 16px; align-items: flex-start; }
.content-warning .icon { font-size: 24px; flex-shrink: 0; }
.content-warning .text { font-size: 14px; color: var(--warn); }
.content-warning .text strong { display: block; margin-bottom: 4px; }
.link-list { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-dim); font-size: 18px; display: none; }
.no-results.show { display: block; }

@media (max-width: 640px) {
  section { padding: 60px 16px; }
  .timeline-card-header { padding: 16px 20px; }
  .timeline-card-body { padding: 0 20px 20px; }
  .timeline-card h3 { font-size: 18px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .stat-card .stat-number { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero .scroll-hint { animation: none; }
}


/* Article/report cards (non-video sources) */
.video-card .article-thumb {
  background: linear-gradient(135deg, #1a1a1a 0%, #161616 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card .article-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(42,157,143,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: all 0.2s;
}
.video-card:hover .article-overlay {
  background: var(--green);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== FAQ / DETAILS ===== */
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] {
  border-left-color: var(--accent);
  background: var(--card-hover);
  box-shadow: 0 0 0 1px var(--accent-dim);
}
/* Question row */
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
  user-select: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ''; }
.faq-item > summary:hover { color: var(--accent); }
.faq-item > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius); }
.faq-item > summary .faq-q { flex: 1; line-height: 1.4; }
/* Custom + / × toggle */
.faq-item > summary .faq-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.3s ease;
}
.faq-item[open] > summary .faq-toggle { transform: rotate(45deg); }
/* Answer body */
.faq-answer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  animation: faqFadeIn 0.25s ease;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-answer p { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; line-height: 1.7; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer p strong { color: var(--text); }
.faq-answer p em { color: var(--text); font-style: italic; }
/* Sources block */
.faq-answer .faq-sources {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.faq-answer .faq-sources-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.faq-answer .faq-sources a {
  display: inline-block;
  font-size: 13px;
  margin-right: 14px;
  margin-bottom: 6px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.faq-answer .faq-sources a::before { content: '\01F517 '; font-size: 11px; }
.faq-answer .faq-sources a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 640px) {
  .faq-item > summary { padding: 18px 20px; font-size: 16px; }
  .faq-item > summary .faq-q { line-height: 1.45; }
  .faq-answer { padding: 18px 20px 22px; }
  .faq-answer .faq-sources a { display: block; margin-right: 0; }
}

/* Print-friendly: reveal all answers */
@media print {
  .faq-item { break-inside: avoid; border-left-color: var(--accent) !important; margin-bottom: 14px; }
  .faq-item[open] { background: #fff; box-shadow: none; }
  .faq-item > summary { color: #000; padding: 12px 16px; }
  .faq-item > summary .faq-toggle { display: none; }
  .faq-answer { color: #000; border-top: 1px solid #ccc; padding: 12px 16px; }
  .faq-answer p { color: #222; }
  .faq-answer p strong, .faq-answer p em { color: #000; }
}

/* ===== KEY PEOPLE PAGE ===== */
.people-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.25;
}
.people-section-marker {
  display: inline-block;
  width: 6px;
  height: 28px;
  background: var(--accent);
  border-radius: 3px;
  flex-shrink: 0;
}
section.alt .people-section-marker { background: var(--green); }
.people-section-intro {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 760px;
  margin-bottom: 36px;
}
/* Description paragraph inside a person quote-card */
.quote-card .person-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.quote-card .person-desc strong { color: var(--text); }
/* Lifespan dates sit between name and role in people cards */
.quote-card .official-date { margin-bottom: 8px; }
.quote-card .official-role { margin-bottom: 14px; }
/* End-of-page content note (distinct from the warning box) */
.content-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.content-note .icon { font-size: 22px; flex-shrink: 0; }
.content-note .text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.content-note .text strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 15px; }
@media (max-width: 640px) {
  .people-section-title { font-size: 20px; gap: 10px; }
  .people-section-marker { height: 22px; }
}

/* ===== PRINT STYLESHEET ===== */
@media print {
  /* Reset to white background, black text */
  body, section, section.alt, .timeline-card, .quote-card, .content-card, .stat-card {
    background: #fff !important;
    color: #000 !important;
    border-color: #ccc !important;
  }
  /* Hide non-essential UI */
  nav, .menu-btn, .timeline-controls, .filter-chips, .hero .btn, .scroll-hint, .play-overlay, .article-overlay, .content-warning {
    display: none !important;
  }
  /* Force-expand all collapsed timeline items */
  .timeline-item.collapsed .timeline-card-body {
    max-height: none !important;
    opacity: 1 !important;
    padding: 0 28px 28px !important;
  }
  /* Force-expand all FAQ details */
  details { open: true; }
  details.faq-item[open] summary,
  details.faq-item summary { list-style: none; }
  details.faq-item > *:not(summary) { display: block !important; }
  /* Reveal source URLs */
  .sources a::after, .timeline-card .sources a::after {
    content: " (" attr(href) ")" !important;
    font-size: 10px !important;
    color: #666 !important;
    word-break: break-all;
  }
  /* Remove link colors */
  a { color: #000 !important; text-decoration: underline !important; }
  .timeline-year { color: #000 !important; }
  .stat-card .stat-number { color: #000 !important; }
  /* Page breaks */
  .timeline-item, .quote-card, .content-card, .video-card, details.faq-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  section { padding: 20px 10px !important; }
  .timeline-container::before { display: none; }
  .timeline-item::before { border-color: #000 !important; background: #fff !important; }
}

/* ===== THEME TOGGLE ===== */
:root {
  --theme-toggle-bg: var(--card);
}
[data-theme="light"] {
  --bg: #f8f8f8;
  --bg-alt: #f0f0f0;
  --card: #ffffff;
  --card-hover: #f5f5f5;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-dim: #999;
  --border: #ddd;
  --border-hover: #ccc;
  --accent: #c92a38;
  --accent-hover: #b02530;
  --accent-dim: rgba(201,42,56,0.1);
}
[data-theme="light"] .hero {
  background: radial-gradient(ellipse at center, #e8e8e8 0%, #f8f8f8 70%);
}
[data-theme="light"] .hero::before {
  background: repeating-linear-gradient(180deg, transparent 0px, transparent 80px, rgba(0,0,0,0.02) 80px, rgba(0,0,0,0.02) 81px);
}
[data-theme="light"] nav {
  background: rgba(248,248,248,0.92);
}
[data-theme="light"] .timeline-container::before {
  background: linear-gradient(180deg, var(--accent) 0%, #ddd 100%);
}
.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  margin-left: 12px;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); }
