:root {
  --al-blue: #075cc9;
  --al-blue-dark: #064596;
  --al-navy: #0c3058;
  --al-sky: #eef5ff;
  --al-paper: #fff;
  --al-text: #183b62;
  --al-muted: #536f8b;
  --al-line: #d8e3ef;
  --al-focus: #ffbf47;
  --al-success: #087a45;
  --al-content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; color: var(--al-text); background: var(--al-paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--al-blue-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--al-focus); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--al-content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 32px), 880px); margin-inline: auto; }
.screen-reader-text {
  width: 1px; height: 1px; position: absolute !important; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
[hidden] { display: none !important; }

.skip-link {
  position: fixed; z-index: 99999; top: 10px; right: 10px; padding: 10px 16px;
  color: #fff; background: var(--al-navy); border-radius: 4px; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 300; top: 0; }
.site-header__inner { display: flex; align-items: center; }
.site-brand, .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.site-brand__text { font-weight: 800; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.header-actions { display: flex; align-items: center; }
.menu-toggle { display: none; }

.button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; color: #fff !important; background: var(--al-blue); border: 2px solid var(--al-blue);
  border-radius: 6px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--al-blue-dark); border-color: var(--al-blue-dark); }
.button--outline { color: var(--al-blue-dark) !important; background: #fff; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "‹"; margin-inline-end: 7px; color: var(--al-muted); }
.breadcrumbs a { font-weight: 600; text-decoration: none; }

.entry-content { overflow-wrap: anywhere; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content blockquote { margin: 28px 0; padding: 18px 22px; background: var(--al-sky); border-inline-start: 4px solid var(--al-blue); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--al-line); text-align: start; }

.content-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.content-actions button,
.page-feedback button {
  min-height: 42px; padding: 8px 13px; color: var(--al-navy); background: #fff;
  border: 1px solid #a9bfd8; border-radius: 5px; font-weight: 700; cursor: pointer;
}
.page-feedback { margin-top: 24px; padding: 20px; background: var(--al-sky); border-radius: 6px; }
.page-feedback h2 { margin: 0 0 12px; font-size: 18px; }
.page-feedback > div { display: flex; gap: 8px; }

.single-tools { margin-top: 20px; padding: 18px; background: #f6f9fd; border: 1px solid var(--al-line); border-radius: 6px; }
.single-tools p { margin: 0; }

.site-footer__grid { display: grid; gap: 30px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { text-underline-offset: 3px; }

.cookie-panel {
  position: fixed; z-index: 1000; inset-inline: 16px; bottom: 16px; width: min(calc(100% - 32px), 760px);
  margin-inline: auto; padding: 16px; color: var(--al-navy); background: #fff;
  border: 1px solid var(--al-line); border-radius: 8px; box-shadow: 0 12px 35px rgba(12,48,88,.22);
}
.cookie-panel h2, .cookie-panel p { margin-top: 0; }
.cookie-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: auto; padding: 8px 10px; background: transparent; border: 1px solid currentColor; border-radius: 5px; }
  .site-nav { position: absolute; inset-inline: 0; top: 100%; padding: 12px; background: #fff; }
  .site-nav:not(.is-open) { display: none; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--al-content)); }
  .cookie-panel { max-height: calc(100vh - 32px); overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
