/**
 * Wiki-specific Precision Stark overrides (public + EAM pages).
 * Load after precision-stark.css.
 */

.serif,
h1,
h2,
h3 {
  font-family: var(--ps-font-display) !important;
  color: var(--ps-text) !important;
}

.lead,
.muted,
p,
.card p,
.breadcrumb {
  color: var(--ps-text) !important;
}

.top {
  background: var(--ps-background) !important;
  border-bottom: 1px solid var(--ps-border-subtle) !important;
}

.nav a {
  color: var(--ps-text) !important;
}

.nav a:hover {
  color: var(--ps-text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact {
  border: 1px solid var(--ps-action) !important;
  background: var(--ps-action) !important;
  color: var(--ps-action-on) !important;
  border-radius: var(--ps-radius) !important;
}

.contact:hover,
.team-sign-in:hover,
.team-sign-in[aria-expanded="true"] {
  background: var(--ps-action) !important;
  color: var(--ps-action-on) !important;
  filter: brightness(0.96);
}

.team-sign-in {
  border: 1px solid var(--ps-border) !important;
  border-radius: var(--ps-radius) !important;
  background: var(--ps-background) !important;
  color: var(--ps-text) !important;
}

.card {
  background: var(--ps-surface-elevated) !important;
  border: 1px solid var(--ps-border) !important;
  border-radius: var(--ps-radius) !important;
  box-shadow: var(--ps-bevel-inset), var(--ps-elevation-shadow) !important;
}

.chapter-list li {
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.chapter-list li:hover {
  background: var(--ps-surface-elevated) !important;
  box-shadow: var(--ps-bevel-inset), var(--ps-elevation-shadow) !important;
}

.chapter-list a {
  color: var(--ps-text) !important;
}

.chapter-list a:hover {
  color: var(--ps-action) !important;
}

.breadcrumb a {
  color: var(--ps-text) !important;
  font-weight: 700;
}
