html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20001;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #0b4f6c;
  border: 2px solid #0b4f6c;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
}

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

:focus-visible {
  outline: 3px solid #ffd23f;
  outline-offset: 2px;
}

.accessibility-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 79, 108, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.accessibility-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.accessibility-toolbar__button {
  appearance: none;
  border: 1px solid #0b4f6c;
  border-radius: 999px;
  background: #0b4f6c;
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1rem;
}

.accessibility-toolbar__button--secondary {
  background: #ffffff;
  color: #0b4f6c;
}

.accessibility-toolbar__button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.accessibility-toolbar__status {
  margin: 0;
  color: #24333e;
  font-size: 0.95rem;
  max-width: 42rem;
}

.index-section-heading {
  margin: 0;
}

.icon-button-reset,
.chart-menu-toggle,
.menu-toggle-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
}

#map-info,
#map-basemap-switch,
#layout-info-cover-close {
  appearance: none;
  font: inherit;
}

.menu-toggle-button,
.chart-menu-toggle {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.menu-toggle-button::after,
.chart-menu-toggle::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(255, 255, 255, 1);
}

.chart-menu-toggle::after {
  border-top-color: rgba(67, 67, 67, 1);
  margin-top: 14px;
}

.menu-toggle-button:hover::after,
.menu-toggle-button:focus-visible::after {
  border-top-color: rgba(0, 0, 0, 1);
}

.chart-menu-toggle:hover::after,
.chart-menu-toggle:focus-visible::after {
  border-top-color: rgba(255, 153, 0, 1);
}

#layout-info-cover[aria-hidden="true"] {
  visibility: hidden;
}

#layout-info-cover[aria-hidden="false"] {
  visibility: visible;
}

.page-lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.resource-card {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.resource-card p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.terminology-caption {
  caption-side: top;
  padding: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}
