:root {
  --navy: #0b2746;
  --navy-strong: #081b31;
  --gold: #d4af37;
  --gold-dark: #b89520;
  --text: #0f1621;
  --muted: #5a6473;
  --border: #d9dde3;
  --background: #f6f7f9;
  --white: #ffffff;
  --focus: #ffbf47;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (min-width: 992px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

a {
  color: var(--navy);
}

a:hover,
a:focus-visible {
  color: var(--navy-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  z-index: 10000;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.gov-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 62px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-motto {
  font-size: 0.9rem;
  color: #e4e8ee;
}

.primary-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
}

.primary-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
}

.menu-toggle__icon {
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.menu-toggle__icon::before {
  top: -6px;
}

.menu-toggle__icon::after {
  top: 6px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 900;
}

.breadcrumb {
  background: #e9edf2;
  border-bottom: 1px solid var(--border);
}

.breadcrumb nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--muted);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--navy-strong);
  text-decoration: underline;
}

.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

main {
  display: block;
}

section {
  margin-bottom: 3rem;
}

h1,
h2,
h3 {
  color: var(--navy-strong);
  margin: 0 0 1rem;
  line-height: 1.25;
  font-weight: 650;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

.lead {
  font-size: 1.05rem;
}

.hero {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 6px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  border: 2px solid var(--navy);
  background: var(--gold);
  color: var(--navy-strong);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.button:hover {
  background: var(--gold-dark);
}

.button.secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.button.outline {
  background: transparent;
  color: var(--navy-strong);
  border-color: var(--navy-strong);
  box-shadow: none;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0.65rem;
  color: var(--text);
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.fact {
  background: #0b2746;
  color: var(--white);
  padding: 1rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fact strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.list-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.list-links a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--navy-strong);
  font-weight: 650;
  box-shadow: var(--shadow);
}

.list-links a:hover,
.list-links a:focus-visible {
  border-color: var(--navy);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  text-align: left;
}

.table th {
  background: #e9edf2;
  color: var(--navy-strong);
  font-weight: 700;
}

.note {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: #fff8e5;
  border-radius: 4px;
}

.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.teaser {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.teaser h3 {
  margin-top: 0;
}

.map-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

#map-rss {
  height: 480px;
  border-radius: 6px;
  overflow: hidden;
}

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}

.footer .layout {
  padding: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.p.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 650;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.footer-note {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer-copy {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.pull-out {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.tight-list {
  margin: 0;
  padding-left: 1.25rem;
}

.tight-list li {
  margin-bottom: 0.4rem;
}

@media (max-width: 1024px) {
  .primary-nav ul {
    padding-inline: 1rem;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-backdrop.is-visible {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.5rem;
  }

  .gov-bar {
    padding-inline: 1rem;
  }

  .breadcrumb nav {
    padding-inline: 1rem;
  }

  .layout {
    padding-inline: 1rem;
  }
}
