/* Shared behaviour only; each demo retains its own brand colours and type. */
@media (max-width: 1100px) {
  body header,
  body .site-header {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 12px;
  }
  body header nav,
  body .site-header nav {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    gap: 22px;
    overflow-x: auto;
    max-width: 100%;
    padding: 13px 0 4px;
    border-top: 1px solid var(--line, #aeb8ac);
  }
  body header nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
  }
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
