:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #222;
  background: #ececec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 1rem;
}

a {
  color: #0645ad;
}

a:hover,
a:focus-visible {
  color: #8b0000;
}

.page {
  width: min(100%, 824px);
  margin: 0 auto;
  background: #f8f8f8;
  border: 1px solid #bbb;
  box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 12%);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: silver;
}

.page-header h1 {
  margin: 0;
  font-size: 1.6rem;
  font-style: italic;
}

.page-header a {
  font-weight: 700;
  text-align: right;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  text-align: right;
}

.section-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #bbb;
}

.section-nav a {
  min-width: 0;
  padding: 0.9rem;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid #ccc;
}

.section-nav a:last-child {
  border-right: 0;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a[aria-current="page"] {
  background: #ddd;
}

.section-nav strong,
.section-nav span {
  display: block;
}

.section-nav strong {
  margin-bottom: 0.35rem;
  color: #0645ad;
  font-size: 1.1rem;
  font-style: italic;
}

.section-nav span {
  font-size: 0.9rem;
}

main {
  padding: 1.25rem;
}

.legacy-content {
  overflow: hidden;
}

.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  line-height: 1.25;
}

.legacy-content .content-table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.legacy-content .content-table td,
.legacy-content .content-table th {
  padding: 0.6rem;
  vertical-align: top;
}

.legacy-content .content-table[border] td,
.legacy-content .content-table[border] th {
  border: 1px solid #aaa;
}

.legacy-content img,
.legacy-content video {
  max-width: 100%;
  height: auto;
}

.legacy-content audio {
  width: min(100%, 32rem);
}

.embedded-media {
  width: min(100%, 35rem);
  height: auto;
  aspect-ratio: 16 / 10;
  border: 0;
}

.legacy-content input,
.legacy-content select,
.legacy-content textarea,
.legacy-content button {
  max-width: 100%;
  font: inherit;
}

.legacy-content input[type="image"] {
  height: auto;
}

.legacy-content form {
  margin: 1rem 0;
}

.centered,
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

section + section {
  margin-top: 2rem;
}

h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.archive-notice {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 0.3rem solid #9b6500;
  background: #fff4cf;
}

.service-contact {
  width: fit-content;
  margin: 1rem auto;
  padding: 1rem 1.5rem;
  font-style: normal;
  text-align: center;
  background: #ececec;
  border-radius: 0.25rem;
}

.equipment-list {
  columns: 2 20rem;
  margin-bottom: 0;
  padding-left: 1.4rem;
}

.equipment-list li {
  margin-bottom: 0.6rem;
  break-inside: avoid;
}

.page-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  background: silver;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.9rem;
}

.page-footer img {
  max-width: 100%;
  height: auto;
}

.page-footer p {
  margin: 0.4rem 0;
}

.page-footer address {
  font-style: normal;
}

@media (max-width: 700px) {
  body {
    padding: 0;
  }

  .page {
    border: 0;
    box-shadow: none;
  }

  .page-header,
  .page-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-header a {
    text-align: left;
  }

  .header-links {
    justify-content: flex-start;
    text-align: left;
  }

  .section-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-nav a:nth-child(2) {
    border-right: 0;
  }

  .section-nav a:nth-child(-n + 2) {
    border-bottom: 1px solid #ccc;
  }
}

@media (max-width: 420px) {
  .section-nav {
    grid-template-columns: 1fr;
  }

  .section-nav a,
  .section-nav a:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .section-nav a:last-child {
    border-bottom: 0;
  }
}
