/* Simple centred wrapper for pages outside the staging design (error pages). */
.container {
    width: 100%;
    max-width: calc(var(--container-max) + 2 * var(--space-md));
    margin-inline: auto;
    padding-inline: var(--space-md);
}

/* Blue and photo grounds: a blue focus ring would vanish, so it turns white. */
.on-blue {
    --focus-ring: var(--nd-white);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-lg { margin-top: var(--space-lg); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* "Skip to content": hidden until focused, then a visible box top-left. */
.skip-link:focus,
.skip-link:focus-visible {
    position: fixed;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 100;
    width: auto;
    height: auto;
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: var(--nd-white);
    color: var(--nd-navy);
    font-weight: 600;
    --focus-ring: var(--nd-navy);
}
