/* The home wordmark keeps its own colours in all pointer states. */
body a:is(.brand,.wordmark,[aria-label="ИНФОМЕД — главная"],:has(>img[src="/images/logo.png"]),:has(>img[src$="/infomed.webp"])):is(:hover,:active,:focus,:focus-visible) {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  text-decoration: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  -webkit-tap-highlight-color: transparent;
}
body a:is(.brand,.wordmark,[aria-label="ИНФОМЕД — главная"],:has(>img[src="/images/logo.png"]),:has(>img[src$="/infomed.webp"])) {
  -webkit-tap-highlight-color: transparent;
}
body a:is(.brand,.wordmark,[aria-label="ИНФОМЕД — главная"],:has(>img[src="/images/logo.png"]),:has(>img[src$="/infomed.webp"])):is(:hover,:active,:focus) img {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}
body a:is(.brand,.wordmark):focus:not(:focus-visible) {outline:none}
body a:is(.brand,.wordmark):focus-visible {outline:2px solid #0876a1;outline-offset:4px}
