/* Russia remains in the main navbar. China is footer-only for now.
   Keep country lettering readable in all link states and locales. */
.navbar .rw-russia,
.footer-links .rw-china {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
}
.navbar .rw-country-link:focus-visible,
.footer-links .rw-country-link:focus-visible {
  outline: 2px solid #e5c68b;
  outline-offset: 6px;
  border-radius: 2px;
}
.navbar .rw-country-link:hover .rw-russia,
.footer-links .rw-country-link:hover .rw-china { opacity: .85; }
.navbar .rw-russia { color: #fff; }
@supports (background-clip: text) {
  .navbar .rw-russia {
    background-image: linear-gradient(to bottom, #fff 0 36%, #709cff 36% 58%, #ff6268 58% 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}
.footer-links .rw-china { color: #ff565e; }

/* Temporary static marker. Remove the badge markup after the launch period. */
.navbar a[href="/neuromagic/"] { position: relative; }
.navbar .rw-nav-new {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  color: #ff6666;
  font: 600 10px / 1.2 Arial, sans-serif;
  letter-spacing: .08em;
  white-space: nowrap;
  pointer-events: none;
  animation: none;
}
@media (max-width: 1024px) {
  .navbar .menu-dropdown a[href="/neuromagic/"] { padding-top: 20px; }
  .navbar .rw-nav-new {
    top: 4px;
    bottom: auto;
    font-size: 9px;
  }
}
@media (forced-colors: active) {
  .navbar .rw-russia,
  .footer-links .rw-china,
  .navbar .rw-nav-new { background: none; color: LinkText; }
}
