:root {
  --bg: #ffffff;
  --text: #111;
  --card-bg: #f4f4f4;
  --accent: #ff5e3a;
}

[data-theme='dark'] {
  --bg: #0d1117;
  --text: #c9d1d9;
  --card-bg: #161b22;
  --accent: #f78166;
}

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

body {
  font-family: system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
}

.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid #ccc;
  text-align: center;
  padding: 2rem 1rem;
}

.site-header .logo {
  font-size: 2rem;
  color: var(--accent);
}

.site-header .tagline {
  margin-top: 0.25rem;
  font-style: italic;
  color: var(--text);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

nav a,
nav button {
  text-decoration: none;
  color: var(--text);
  background: none;
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

nav a:hover,
nav button:hover {
  background: var(--accent);
  color: white;
}

.intro {
  margin: 2rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h2 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.card .meta {
  font-size: 0.9rem;
  color: gray;
  margin-bottom: 1rem;
}

.card a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-bg);
  margin-top: 4rem;
  font-size: 0.9rem;
}
/* Article Content Styling */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color, #ddd);
  padding-bottom: 1rem;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.article-header .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted, #666);
  font-style: italic;
  margin-top: 0.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content em {
  color: var(--text-muted, #666);
}
/* === Classified Dossier Styling === */

/* Classification Stamps */
.redacted {
  display: block;
  font-weight: bold;
  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
  color: #b30000; /* deep red, stamped look */
  border: 2px solid #b30000;
  padding: 6px;
  margin: 20px 0;
  text-align: center;
  letter-spacing: 2px;
}

/* Redacted Text (black bars) */
span.redacted {
  background: black;
  color: black;
  padding: 0 6px;
  border-radius: 2px;
}

/* Transcripts & Reports */
blockquote.transcript {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95em;
  background: #f4f4f4;
  border-left: 5px solid #444;
  padding: 10px 15px;
  margin: 20px 0;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* Analyst Notes */
em {
  background: #fff6c1; /* soft yellow highlight */
  padding: 2px 4px;
  font-style: italic;
  border-radius: 2px;
}

/* Missing File / Gap Indicators */
.missing {
  display: block;
  font-family: "Courier New", Courier, monospace;
  color: #666;
  background: #eee;
  padding: 5px 8px;
  margin: 15px 0;
  border-left: 3px solid #999;
}

/* Article Header (stamp-like effect) */
.article-header h1 {
  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #000;
  padding-bottom: 8px;
  margin-bottom: 15px;
}
