/*
 * Global layout rules that are not components.
 *
 * Design tokens live in static/css/aerialmedia-theme.css and reusable UI
 * primitives live in static/css/components.css. This Sass entry point stays
 * deliberately small so the legacy partial library cannot reintroduce a
 * competing component system when `npm run sass:*` is used.
 */
html {
  scroll-padding-top: 5.5rem;
}

body {
  min-width: 20rem;
}

main {
  min-width: 0;
}

#main-content:focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: -2px !important;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: -9999px;
  z-index: calc(var(--layer-navigation) + 1);
  max-width: calc(100vw - 1rem);
  padding: 0.75rem 1.25rem;
  background: var(--ui-surface);
  color: var(--ui-text-strong);
  font-weight: 600;
  text-decoration: underline;
}
.skip-link:focus {
  left: 0.5rem;
  outline: 2px solid var(--ui-focus);
  outline-offset: 2px;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}