/* The themes' hover vars change the link font (DE swaps in Work Sans), so they point at the default ones. */
.theme-overrides {
  --a-hover-primary-body-font-color: var(--a-primary-body-font-color);
  --a-hover-primary-body-font-family: var(--a-primary-body-font-family);
  --a-hover-primary-body-font-style: var(--a-primary-body-font-style);
  --a-hover-primary-body-font-weight: var(--a-primary-body-font-weight);
  --a-hover-primary-body-text-transform: var(--a-primary-body-text-transform);
}

/* Header tabs, buttons, home tiles and search suggestions keep their own hover. */
a:not(.autocomplete-result-link, .button, .header__menu-link, .unstyled) {
  color: var(--a-primary-body-font-color);
  text-decoration: none;
}

a:not(.autocomplete-result-link, .button, .header__menu-link, .unstyled):is(:hover, :focus-visible) {
  text-decoration: underline;
}

/* The accordion module keeps the current page's link bold on hover but not on focus. */
.hs-kb-category-accordion_link--active:focus {
  font-weight: bold;
}
