/* styles/sections/chrome-fallback.css
 * Static links inside the #header and #footer mounts (BRI-8025), for pages whose own content
 * links nowhere else. Crawlers that do not run JavaScript, and visitors whose chrome fails to
 * load, still get a way off the page. js/load-components.js sets html.chrome-pending while it
 * fetches the shared chrome, which replaces these links. A mount whose fetch fails gets
 * [data-chrome-failed] and shows its links at once, while the other mount may still be loading.
 */
@layer sections {
  .chrome-pending :not([data-chrome-failed]) > [data-chrome-fallback] {
    display: none;
  }

  .chrome-fallback {
    padding-block: var(--space-16);
    --cluster-gap: var(--space-24);
  }

  .chrome-fallback a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
