/* history-pages.css — shared styles for /history/<country>/ pages */

:root {
  --hp-bg: #0b1020;
  --hp-fg: #e8ecf7;
  --hp-muted: #9fb0d0;
  --hp-card: #111934;
  --hp-accent: #7dd3fc;
  --hp-accent2: #a78bfa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 50% -10%, #1b2447 0%, #0d142d 40%, #0b1020 100%);
  color: var(--hp-fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

.hp-breadcrumb {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 20px 0;
  font-size: 14px;
  color: var(--hp-muted);
}

.hp-breadcrumb a {
  color: var(--hp-accent);
  text-decoration: none;
}

.hp-breadcrumb a:hover {
  text-decoration: underline;
}

.hp-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.hp-header {
  text-align: center;
  padding: 24px 0 8px;
}

.hp-flag {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}

.hp-header h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.hp-tagline {
  color: var(--hp-muted);
  font-style: italic;
  margin: 0;
}

.hp-section {
  margin-top: 32px;
}

.hp-section h2 {
  font-size: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.hp-intro {
  font-size: 17px;
}

.hp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-timeline-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-timeline-item:first-child {
  border-top: none;
}

.hp-timeline-era {
  flex: 0 0 130px;
  color: var(--hp-accent);
  font-weight: 600;
  font-size: 13px;
}

.hp-timeline-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.hp-timeline-body p {
  margin: 0;
  color: var(--hp-fg);
}

.hp-list {
  padding-left: 20px;
  margin: 0;
}

.hp-list li {
  margin-bottom: 10px;
}

.hp-footer {
  margin-top: 40px;
  text-align: center;
}

.hp-footer a {
  color: var(--hp-accent);
  text-decoration: none;
  font-weight: 500;
}

.hp-footer a:hover {
  text-decoration: underline;
}

/* index / listing page */

.hp-index {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.hp-index li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-index a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  text-decoration: none;
  color: inherit;
}

.hp-index a:hover .hi-name {
  color: var(--hp-accent);
}

.hi-flag {
  font-size: 24px;
  flex: 0 0 32px;
}

.hi-name {
  flex: 1;
  font-size: 18px;
}

.hi-region {
  color: var(--hp-muted);
  font-size: 13px;
  white-space: nowrap;
}
