@media (max-width: 849px) {
  #topbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 180ms ease;
    will-change: transform;
  }

  body.mobile-topbar-hidden #topbar-wrapper {
    transform: translateY(-100%);
  }

  #topbar #topbar-title .topbar-section-link,
  #topbar #topbar-title .topbar-section-link:visited,
  #topbar #topbar-title .topbar-section-link:hover,
  #topbar #topbar-title .topbar-section-link:focus {
    color: inherit !important;
    text-decoration: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #topbar-wrapper {
    transition: none;
  }
}
