:root {
  color-scheme: light;
}

body {
  max-width: min(90ch, calc(100% - 2rem));
  margin: 1.4rem auto 2.2rem;
  padding: 0 0.75rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  background: #fff;
  border: 1px solid #222;
  padding: 0.3rem 0.55rem;
  z-index: 100;
}

.site-header {
  border-bottom: 1px solid #444;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  text-align: center;
}

.site-contact {
  margin: 0.1rem 0 0.45rem;
  line-height: 1.45;
}

.site-contact-address {
  margin-bottom: 0.1rem;
}

.site-contact-links {
  margin-top: 0;
}

nav {
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
}

.top-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.65rem;
  row-gap: 0.25rem;
}

.top-nav li {
  margin: 0;
}

a {
  overflow-wrap: anywhere;
}

main section {
  margin-bottom: 1.2rem;
}

.feature-photo {
  max-width: 17rem;
  margin: 0.15rem auto 0.45rem;
  text-align: center;
}

.feature-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #444;
}

.feature-photo figcaption {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  line-height: 1.2;
}

main ol li,
main ul li {
  margin-bottom: 0.25rem;
}

.pub-links {
  margin-top: 0.25rem;
}

.pub-links a {
  margin-right: 0.45rem;
  white-space: nowrap;
}

.record-page h1 {
  margin-bottom: 0.35rem;
}

.record-authors {
  margin-bottom: 0.5rem;
}

.record-download {
  font-weight: 600;
}

.citation-downloads a {
  margin-right: 0.7rem;
  white-space: nowrap;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#pub-filter {
  width: 100%;
  max-width: 28rem;
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  font-family: "Latin Modern Mono", "CMU Typewriter Text", "Courier New", monospace;
}

.cv-html {
  border-top: 1px solid #000;
  margin-top: 1rem;
  padding-top: 0.8rem;
  overflow-wrap: anywhere;
}

footer {
  margin-top: 2rem;
}

@media (max-width: 760px) {
  body {
    max-width: calc(100% - 1rem);
    margin-top: 0.8rem;
    padding: 0 0.35rem;
  }

  h1 {
    font-size: 2.15rem;
    margin-bottom: 0.15rem;
  }

  .site-contact {
    margin-bottom: 0.35rem;
  }

  #pub-filter {
    max-width: 100%;
  }
}
