/* HLAT WCAG 2.2 AA-oriented base styles. Targets criteria: 1.4.3, 1.4.11, 1.4.12, 1.4.10,
   2.4.7, 2.4.11, 2.5.8, 3.2.x. This file supports conformance work; it does not by itself make a page "WCAG compliant". */
:root{
  --hlat-navy:#09264A;      /* 15.1:1 on white */
  --hlat-blue:#2C64A8;      /* 6.0:1 on white */
  --hlat-green:#2F6B47;     /* 6.3:1 on white */
  --hlat-violet:#5B3F96;    /* 8.1:1 on white */
  --hlat-ink:#16202C; --hlat-paper:#FFFFFF; --hlat-focus:#FFB400;
}
html{scroll-padding-top:5rem;-webkit-text-size-adjust:100%}
body{line-height:1.5;color:var(--hlat-ink)}
/* Text spacing resilience (1.4.12): no fixed heights on text containers */
p,li,dd{max-width:75ch;overflow-wrap:anywhere}
/* Visible focus (2.4.7 / 2.4.11): 3px ring + offset, two-tone so it shows on light and dark */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--hlat-navy);outline-offset:3px;box-shadow:0 0 0 6px var(--hlat-focus);border-radius:2px}
:focus:not(:focus-visible){outline:none}
/* Links in running text are underlined, not color-only (1.4.1) */
main p a,main li a{text-decoration:underline;text-underline-offset:.15em;text-decoration-thickness:.1em}
/* Target size (2.5.8, aiming for 44px) */
:where(nav a,.btn,button,[role=button],input[type=submit]){min-block-size:44px;min-inline-size:44px;display:inline-flex;align-items:center;justify-content:center}
/* Skip link */
.skip-link{position:absolute;inset-inline-start:.5rem;inset-block-start:-4rem;background:var(--hlat-navy);color:#fff;padding:.75rem 1rem;z-index:1000;border-radius:0 0 .5rem .5rem}
.skip-link:focus{inset-block-start:0}
.hlat-sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* External / new-tab indicator without relying on icon-only meaning */
a[target=_blank]::after{content:" ↗";speak:never}
/* Language switcher */
.hlat-lang{position:fixed;left:12px;bottom:12px;z-index:9990;display:inline-flex;gap:0;border:1px solid #09264A;border-radius:999px;padding:2px;background:#fff;color:#09264A;box-shadow:0 2px 8px rgba(6,26,51,.25);font-size:.75rem;line-height:1}
.hlat-lang button{font:inherit;font-weight:700;letter-spacing:.04em;background:transparent;color:inherit;border:0;border-radius:999px;padding:.35rem .6rem;min-width:36px;min-height:28px;cursor:pointer}
.hlat-lang button[aria-pressed=true]{background:var(--hlat-navy);color:#fff}
.site-header--dark .hlat-lang button[aria-pressed=true]{background:#fff;color:var(--hlat-navy)}
.hlat-lang-notice{margin:0;padding:.75rem 1rem;background:#FFF4CC;color:#3D2E00;border-block:2px solid #8A6A00;font-weight:600;text-align:center}
/* Urgent notice (911/988) must be prominent and not color-only */
.hlat-urgent{border-inline-start:6px solid #C23B22;background:#FDECEA;color:#5A1A10;padding:.75rem 1rem;font-weight:600}
/* Widgets inherit tokens through CSS custom properties across the shadow boundary */
hlat-forms,hlat-events{--hlat-accent:var(--hlat-blue);--hlat-text:var(--hlat-ink);display:block;max-inline-size:100%}
/* Motion, contrast and zoom preferences */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media (forced-colors:active){:focus-visible{outline:3px solid CanvasText;box-shadow:none}.hlat-lang button[aria-pressed=true]{outline:2px solid Highlight}}
@media (max-width:320px){body{overflow-wrap:anywhere}}
