html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--color-text);
  background-color: var(--color-surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

code {
  color: var(--color-gov-blue-dark);
  background: rgba(19, 81, 180, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: var(--color-gov-blue-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.gov-topbar {
  background: #ffffff;
  color: #071D41;
}

.gov-topbar a {
  color: #071D41;
  text-decoration: none;
}

.gov-topbar a:hover {
  text-decoration: underline;
}

.gov-topbar__links {
  gap: 1rem;
}

.gov-topbar {
  background: #ffffff;
  color: #071D41;
  border-bottom: 1px solid #e0e0e0;
}

.gov-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.gov-divider {
  display: inline-block;
  width: 1px;
  height: 28px;
  background-color: #ccc;
  margin: 0 16px;
}

.gov-brand__text {
  color: #071D41;
  font-size: 1rem;
  font-weight: 500;
}

.gov-brand__flag {
  display: inline-block;
  width: 0.45rem;
  height: 1.55rem;
  border-radius: 0.35rem;
  background: linear-gradient(to bottom, #2e7d32 0 33%, #ffcd07 33% 66%, #0d47a1 66% 100%);
}

.site-header {
  background: #ffffff;
}
.agency-branding__super {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-soft);
  letter-spacing: 0.03em;
}

.agency-branding__title {
  color: var(--color-gov-blue-dark);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.agency-branding__subtitle {
  color: var(--color-text-soft);
}

.section-title {
  color: var(--color-gov-blue-dark);
  font-weight: 700;
}

.section-subtitle {
  color: var(--color-text-soft);
  max-width: 760px;
}

.footer-gov {
  background: var(--color-gov-green);
  color: #ffffff;
}

.footer-gov a,
.footer-institutional a {
  color: #ffffff;
  text-decoration: none;
}

.footer-institutional {
  background: #0f1f35;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767.98px) {
  .gov-topbar__links {
    gap: 0.75rem;
  }
}
