/* AIStrikeMap — Subpages: footer, page layout, tables, disclosures
 * Split from main.css. See css/README.md for module map.
 */

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-secondary);
  z-index: 1000;
  flex-shrink: 0;
}

.site-footer a {
  color: var(--text-secondary);
}

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

/* Page Layout (for subpages) */
.page-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.page-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.page-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.page-content h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.page-content li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* Tables */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.page-content th,
.page-content td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-content th {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.page-content td {
  color: var(--text-secondary);
}

.page-content tbody tr:hover {
  background: var(--bg-surface-hover);
}

.page-content tbody tr:nth-child(1) td:first-child { color: var(--severity-1); font-weight: 700; }
.page-content tbody tr:nth-child(2) td:first-child { color: var(--severity-2); font-weight: 700; }
.page-content tbody tr:nth-child(3) td:first-child { color: var(--severity-3); font-weight: 700; }
.page-content tbody tr:nth-child(4) td:first-child { color: var(--severity-4); font-weight: 700; }
.page-content tbody tr:nth-child(5) td:first-child { color: var(--severity-5); font-weight: 700; }

/* Active nav link */
.site-nav a[aria-current="page"] {
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent);
}

/* AI Disclosure Banner */
.ai-disclosure {
  font-size: 0.7rem;
  color: var(--text-secondary);
  opacity: 0.8;
}
