/* Shared content header. Quiz headers remain independent. */
.site-header {
  background: #f8f5ef;
  border-bottom: 1px solid #e7e1d8;
  color: #17212b;
}
.site-header .header-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-block: 19px;
}
.site-header .wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #17212b;
  font-size: 2.55rem;
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: 1;
  text-decoration: none;
  transform: rotate(-3deg);
}
.site-header .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  width: 100%;
  padding-top: 13px;
  border-top: 1px solid #e7e1d8;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.65;
}
.site-header .main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #17212b;
  text-decoration: none;
}
.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current="page"] {
  color: #b9472e;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header a:focus-visible {
  outline: 3px solid #b9472e;
  outline-offset: 5px;
  border-radius: 4px;
}
@media (min-width: 640px) {
  .site-header .header-inner { width: min(1120px, calc(100% - 64px)); }
}
@media (min-width: 960px) {
  .site-header .header-inner { padding-block: 24px; }
  .site-header .main-nav {
    width: auto;
    margin-left: auto;
    padding: 0;
    border: 0;
  }
}
