/* SkillFoundry brand for the help center (P04). Colours match
   apps/frontend/src/styles/index.css: navy 0 8 95, primary-600 11 95 208. */
:root,
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #00085f;
  --md-primary-fg-color--light: #0b5fd0;
  --md-primary-fg-color--dark: #00064a;
  --md-accent-fg-color: #0b5fd0;
  --md-typeset-a-color: #0b5fd0;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #00085f;
  --md-accent-fg-color: #62d4f9;
  --md-typeset-a-color: #62d4f9;
}

:root {
  --md-text-font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --md-code-font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

.md-header__button.md-logo img {
  height: 1.8rem;
  width: 1.8rem;
}

.sf-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.6rem;
  white-space: nowrap;
}

.sf-header__link,
.sf-header__cta {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 0.4rem;
  padding: 0.45rem 0.7rem;
}

.sf-header__link {
  color: #fff;
}

.sf-header__link:hover,
.sf-header__link:focus-visible {
  text-decoration: underline;
}

.sf-header__cta {
  background: #fff;
  color: #00085f;
}

.sf-header__cta:hover,
.sf-header__cta:focus-visible {
  background: #e6f0fd;
}

/* Keep the search box usable on phones: show only the primary action. */
@media screen and (max-width: 44.9375em) {
  .sf-header__link {
    display: none;
  }
}
