/* io2 Wiki Design System — Shared Base */
/* DO NOT EDIT ON INDIVIDUAL WIKIS — managed centrally */
/* Source of truth: /Users/chapin-mini/io2/publishing/wiki-sites/DESIGN_SYSTEM.md */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --accent: #1a1a2e;
  --accent-dark: #0f0f1a;
  --accent-light: rgba(26, 26, 46, 0.1);
}

/* Typography */
.mw-parser-output {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a1a;
}

.mw-parser-output h1, .mw-parser-output h2, .mw-parser-output h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #111;
}

.mw-parser-output h2 {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3em;
}

/* Links */
.mw-parser-output a { color: var(--accent); }
.mw-parser-output a:hover { color: var(--accent-dark); }

/* Infobox */
.infobox {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  padding: 0;
  margin: 0 0 1em 1.5em;
  font-size: 0.9em;
  overflow: hidden;
}

.infobox caption,
.infobox .infobox-above,
.infobox th[colspan] {
  background: var(--accent);
  color: white;
  padding: 10px 12px;
  font-weight: 600;
  text-align: center;
}

.infobox td, .infobox th {
  padding: 6px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.infobox th {
  font-weight: 600;
  color: #555;
  text-align: left;
  width: 35%;
}

/* Header accent bar */
.mw-page-title-main {
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

/* Categories */
#catlinks {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 8px 12px;
}

/* Mobile responsive */
@media (max-width: 720px) {
  .infobox {
    float: none;
    margin: 1em auto;
    width: 100% !important;
  }
  .mw-parser-output {
    font-size: 15px;
  }
}
