@font-face {
  font-family: "Ubuntu Sans";
  src: url("ubuntu-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --eo-link: #e84e0f;
  --eo-link-action: #343434;
  --eo-footer-link: #fff;
  --eo-footer-link-action: #343434;
}

body a[href] {
  text-decoration: none;
}

body a[href]:not(:where(.eo-button, .eo-float, .eo-header-logo, .skip-link, .button, .wp-block-button__link)) {
  color: var(--eo-link);
  transition: color 200ms ease-out;
}

body .eo-nav a[href] {
  --eo-link: #343434;
  --eo-link-action: #e84e0f;
}

body.home .eo-nav a[href]:first-child {
  --eo-link: #e84e0f;
  --eo-link-action: #343434;
}

body .eo-footer a[href] {
  --eo-link: var(--eo-footer-link);
  --eo-link-action: var(--eo-footer-link-action);
}

body .eo-footer .eo-plusgrad > a {
  display: block;
  position: relative;
}

@media (forced-colors: none) {
  .eo-footer .eo-plusgrad > a::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-color: currentColor;
    mask: url("plusgrad.svg") center / contain no-repeat;
  }

  .eo-footer .eo-plusgrad > a > img {
    opacity: 0;
  }
}

body a[href]:not(:where(.eo-button, .eo-float, .eo-header-logo, .skip-link, .button, .wp-block-button__link)):is(:hover, :focus-visible, :active) {
  color: var(--eo-link-action);
}

body a[href]:not(:where(.eo-button, .eo-float, .eo-header-logo, .button, .wp-block-button__link)):focus-visible {
  outline: none;
}

body a.skip-link:focus {
  left: auto;
  right: 5px;
  padding: 4px;
  background: transparent;
  box-shadow: none;
  color: var(--eo-link-action);
}

@media (prefers-contrast: more) {
  :root { --eo-footer-link-action: #f39200; }
}

@media (prefers-reduced-motion: reduce) {
  body a[href]:not(:where(.eo-button, .eo-float, .eo-header-logo, .skip-link, .button, .wp-block-button__link)) {
    transition: none;
  }
}

@media (forced-colors: active) {
  body a[href]:not(:where(.eo-button, .eo-float, .eo-header-logo, .button, .wp-block-button__link)):focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}
