body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

#title-block-header {
  display: none;
}

h1 {
  margin-bottom: 0.5rem;
  color: #17365d;
}

h1[id] {
  scroll-margin-top: 11rem;
}

h2 {
  margin-top: 0;
  color: #49647f;
  font-weight: 400;
}

a {
  color: #1b5e9b;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.home-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 4px;
  background-color: #eef3f8;
}

.home-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.home-slide.is-active {
  opacity: 1;
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.6rem 1rem;
  color: #fff;
  background-color: rgb(0 0 0 / 60%);
}

.slideshow-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 2.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  color: #fff;
  background-color: rgb(0 0 0 / 45%);
  font-size: 1.75rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.slideshow-button:hover,
.slideshow-button:focus-visible {
  background-color: rgb(0 0 0 / 70%);
}

.slideshow-prev {
  left: 0;
}

.slideshow-next {
  right: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-slide {
    transition: none;
  }
}

.math,
math {
  font-family: "Times New Roman", Times, serif;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  background-color: #f2f2f2;
}

code {
  padding: 0.1em 0.3em;
  background-color: #f2f2f2;
}

pre code {
  display: block;
  min-width: max-content;
  padding: 0;
  background-color: inherit;
}

div.sourceCode {
  background-color: #f2f2f2;
}

div.sourceCode pre.sourceCode {
  background-color: inherit;
}

aside {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #17365d;
  border-radius: 0 4px 4px 0;
  background-color: #eef3f8;
}

aside p {
  margin: 0.5rem 0;
}

aside p:first-child {
  margin-top: 0;
  font-size: 1.25rem;
}

aside p:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  margin-bottom: 2rem;
  padding: 1rem;
  color: #fff;
  background-color: #17365d;
  box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
}

.header-title-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.site-title,
.site-header .university-link {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header a {
  color: #fff;
}

.site-header .university-link {
  margin-left: auto;
}

.site-footer {
  margin-top: 3rem;
  padding: 1rem;
  color: #fff;
  background-color: #17365d;
  font-size: 0.9rem;
  text-align: center;
}

.news-content {
  height: 8.5em;
  padding: 0.75rem 1rem;
  overflow-y: auto;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.news-content p {
  margin: 0.4rem 0;
}
