/* Schulman Team child theme: site-level safety styles.
   Requires tokens.css and components.css. Colors come from tokens only; no raw color values here.
   --st-header-height is a layout helper, not a design token. The header template updates it. */

:root {
  --st-header-height: 72px;
}

/* In-page links land below the persistent header instead of underneath it. */
html {
  scroll-padding-top: calc(var(--st-header-height) + var(--space-3));
}

/* Nothing may cause sideways scrolling on phones. */
img, svg, video, iframe {
  max-width: 100%;
}
img, video {
  height: auto;
}

/* Headings use the display face even outside Elementor widgets. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* Skip link: hidden until focused, then clearly visible. */
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 100000;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface-inverse);
  color: var(--ink-inverse);
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  text-decoration: none;
}
