html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  box-sizing: border-box;
  padding-top: var(--site-top-bar-height, 2rem) !important;
  padding-bottom: 6.5rem !important;
}

body > main:not(.brand):not(.narrow):not(.wide):not(.policy-shell) {
  box-sizing: border-box;
  width: min(calc(100vw - 2rem), 900px);
}

.site-top-bar {
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid #d1d5db;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .06);
  font-family: Verdana, Arial, sans-serif;
  font-size: .75rem;
}

.site-footer {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem 2rem;
  padding: .75rem 1rem;
  border-top: 1px solid #d1d5db;
  color: #1f2937;
  background: #fff;
  font-family: Verdana, Arial, sans-serif;
  font-size: .82rem;
  line-height: 1.4;
}

.site-footer-copyright {
  white-space: nowrap;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
}

.site-language-selector {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.site-top-brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #003399;
  font-weight: bold;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-top-brand img {
  width: 1.25rem;
  height: 1.25rem;
}

.site-top-brand:hover,
.site-top-brand:focus-visible {
  text-decoration: underline;
}

.site-language-selector label {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #4b5563;
  font-weight: normal;
  line-height: 1.2;
}

.site-language-selector select {
  width: auto;
  min-width: 7.5rem;
  margin: 0;
  padding: .12rem 1.75rem .12rem .45rem;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  color: #1f2937;
  background: #fff;
  font: inherit;
}

.site-language-selector select:focus-visible {
  outline: 3px solid #11c0d2;
  outline-offset: 2px;
}

.site-footer a {
  color: #003399;
  text-decoration: none;
}

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

@media (max-width: 700px) {
  body {
    padding-bottom: 9.5rem !important;
  }

  .site-top-bar {
    padding: 0 .75rem;
    font-size: .72rem;
  }

  .site-top-brand span {
    display: none;
  }

  .site-footer {
    gap: .45rem 1rem;
    padding: .6rem .75rem;
    font-size: .76rem;
  }
}

@media print {
  body {
    padding-bottom: 0 !important;
  }

  .site-footer {
    display: none;
  }

  .site-top-bar {
    display: none;
  }
}
