main .main-header + section {
  padding-top: 16px;
  padding-bottom: 48px;
}

.main-header {
  background-color: var(--lightest-blue);
}

.main-header h1 span {
  grid-column: 1 / -1;
  margin: 64px 16px 16px;
}

nav ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

nav li {
  color: #525252;
}

nav li.active {
  color: var(--heading-blue);
  position: relative;
  font-weight: bold;
}

nav li.active:before {
  content: "";
  position: relative;
  display: block;
  height: 2px;
  width: 1em;
  background-color: var(--khaki);
  transform: translateX(-2em) translateY(1.5ch);
}

nav ul a {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

section h2 {
  align-self: start;
  padding-left: 16px;
}

main section > .data-list {
  margin-left: 0;
  margin-right: 0;
  display: none;
}

.data-list:target {
  display: block;
  scroll-margin-top: 160px;
}

table {
  margin: 16px 0 !important;
  border-collapse: collapse;
  width: 100%;
}

table thead {
  border-bottom: 1px solid var(--khaki);
  color: #293374;
  font-weight: 700;
}

table a {
  color: var(--lightblue);
  text-decoration: none;
}

table a:hover {
  color: var(--blue);
}

table tbody tr:nth-child(even) {
  background-color: #F5F5F5;
}

table tr td:first-child {
  padding: 16px;
  width: 67%;
}

table tr td:last-child {
  padding: 16px;
  width: 33%;
}

@media (max-width: 768px) {
  .main-header h1 span {
    margin: 32px 0 16px;
  }
  h2 {
    padding-left: 16px;
    padding-bottom: 0;
    margin-bottom: 0 !important;
  }
  table { display: block; margin-top: 12px !important; }
  thead { display: none; }

  tbody {
    display: block;
    width: 100%;
    border-top: 2px solid var(--khaki);
  }

  tbody tr {
    display: grid;
    grid-template-rows: min-content;
    padding: 16px;
  }

  tbody tr td {
    padding: 0 !important;
  }

  nav li.active:before {
    height: 4px;
    transform: translateX(-1.5em) translateY(1.5ch);
  }
}
