/* Anthropic vs Pentagon Timeline  --  Tech Policy Press Style */

:root {
  --red-accent: #FF0033;
  --blue-accent: #1d5d9e;
  --beige-bg: #efe9da;
  --color-text: #1a1a1a;
  --color-text-secondary: #595959;
  --color-text-muted: #666666;
  --color-border: #e5e5e5;
  --color-surface: #ffffff;
  --color-bg: #f9f9f9;
  --color-tag-bg: #f0ede6;
  --color-tag-text: #595959;
  --color-quote-border: #FF0033;
  --color-quote-bg: #fdf6f7;
  --color-primary-badge: #1d5d9e;
  --color-anonymous: #b35900;
  --font-sans: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
  --max-width: 780px;
}

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

.timeline-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Timeline events */
.timeline-line {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-border);
}

.event {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.event:last-child {
  border-bottom: none;
}

.event::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-accent);
  border: 2px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--red-accent);
}

.event.predicate::before {
  background: var(--color-text-muted);
  box-shadow: 0 0 0 2px var(--color-text-muted);
}

.event.deadline::before {
  background: var(--red-accent);
  box-shadow: 0 0 0 3px var(--red-accent);
  width: 12px;
  height: 12px;
  left: -1.9rem;
}

.event-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.event-headline {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.event-summary {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Citations / Sources */
.citations {
  list-style: none;
  margin-top: 0.5rem;
  padding-top: 0;
}

.citations li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
  padding-left: 0.75rem;
  position: relative;
  line-height: 1.5;
}

.citations li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

.citations a {
  color: var(--blue-accent);
  text-decoration: none;
}

.citations a:hover {
  text-decoration: underline;
}

.citations .primary-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary-badge);
  margin-left: 0.25rem;
}

/* Additional Resources */
.additional-resources {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.additional-resources h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.additional-resources .citations {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Footer */
.timeline-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 3px solid var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 600px) {
  .timeline-container {
    padding: 1rem;
  }
  .event-headline {
    font-size: 1rem;
  }
}
