:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #444;
  background: #247bb5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: #247bb5;
  font-size: 15px;
  line-height: 1.65;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1000px);
  min-height: 242px;
  margin: 0 auto;
  background: #2389c9 url("assets/images/brand/header-background.png") center / cover no-repeat;
}

.brand {
  display: block;
  width: min(82%, 640px);
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  width: min(100% - 32px, 1000px);
  min-height: 520px;
  margin: 0 auto 36px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(9 50 82 / 15%);
}

.sidebar {
  padding: 22px 24px 36px 20px;
}

.sidebar h2 {
  margin: 4px 0 14px;
  color: #22a8b0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.sidebar ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.sidebar ul ul {
  margin: 0 0 8px;
  padding-left: 10px;
}

.sidebar li {
  border-bottom: 1px solid #eee;
}

.sidebar li.has-children {
  border-bottom: 0;
}

.sidebar li.has-children > a {
  padding-bottom: 0;
}

.sidebar a {
  display: block;
  padding: 3px 8px;
  color: #555;
  text-decoration: none;
  transition: color 120ms ease, background 120ms ease;
}

.sidebar a:hover,
.sidebar a[aria-current="page"] {
  color: #138f9b;
  background: #f1fbfb;
}

#main-content {
  min-width: 0;
  padding: 21px 38px 52px;
}

#main-content:focus {
  outline: none;
}

article h1,
.load-error h1 {
  margin: 0 0 20px;
  color: #555;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

article h2,
article h3,
article h4 {
  margin: 1.65em 0 0.6em;
  color: #444;
  line-height: 1.3;
}

article h2 {
  font-size: 23px;
}

article h3 {
  font-size: 19px;
}

article h4 {
  font-size: 16px;
}

article p {
  margin: 0 0 1.1em;
}

article a {
  color: #168d9c;
  overflow-wrap: anywhere;
}

article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto 24px;
}

article .youtube-embed {
  display: block;
  width: min(100%, 400px);
  aspect-ratio: 4 / 3;
  border: 0;
}

.image-lightbox-trigger {
  display: block;
  max-width: 100%;
  margin: 12px auto 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-lightbox-trigger img {
  margin: 0;
}

.image-lightbox {
  position: relative;
  max-width: min(96vw, 1400px);
  max-height: 94vh;
  padding: 48px 16px 16px;
  overflow: visible;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 64px rgb(0 0 0 / 35%);
}

.image-lightbox::backdrop {
  background: rgb(0 0 0 / 78%);
}

.image-lightbox img {
  display: block;
  max-width: calc(96vw - 32px);
  max-height: calc(94vh - 64px);
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  color: #333;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

article ul,
article ol {
  padding-left: 24px;
}

article li {
  margin: 0.25em 0;
}

article hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: #e5e5e5;
}

article blockquote {
  margin: 18px 0;
  padding: 4px 18px;
  border-left: 3px solid #22a8b0;
  color: #666;
}

article pre,
article code {
  font-family: Consolas, "Liberation Mono", monospace;
}

article code {
  padding: 0.12em 0.35em;
  border-radius: 3px;
  background: #f2f5f7;
}

article pre {
  overflow-x: auto;
  padding: 14px;
  border-radius: 5px;
  background: #f2f5f7;
}

article pre code {
  padding: 0;
  background: transparent;
}

.table-scroll {
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
}

article table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

article th,
article td {
  min-width: 75px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  vertical-align: top;
}

article th {
  background: #f5f7f8;
}

.lecture-page .table-scroll {
  margin: 0 0 28px;
}

.lecture-page table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.lecture-page th,
.lecture-page td {
  min-width: 0;
  padding: 4px 12px 4px 0;
  border: 0;
  vertical-align: top;
}

.lecture-page th {
  padding-bottom: 8px;
  background: transparent;
}

.lecture-page th:first-child,
.lecture-page td:first-child {
  width: 58%;
}

.lecture-page td a::before {
  content: "\2022";
  display: inline-block;
  width: 1em;
  color: #555;
  text-decoration: none;
}

.staff-directory .table-scroll {
  margin: 0 0 30px;
  overflow: visible;
}

.staff-directory table {
  table-layout: fixed;
}

.staff-directory thead {
  display: none;
}

.staff-directory td {
  padding: 14px 8px;
  border: 0;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.staff-directory td:first-child {
  padding-left: 0;
}

.staff-directory td:last-child {
  width: 136px;
  padding-right: 0;
  text-align: right;
}

.staff-directory td img {
  width: 120px;
  max-width: 100%;
  margin: 0 0 0 auto;
}

.staff-directory td strong {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 17px;
}

.staff-directory td a {
  overflow-wrap: anywhere;
}

.loading {
  color: #777;
}

.load-error {
  padding: 12px 0;
}

.site-footer {
  padding: 0 16px 22px;
  color: rgb(255 255 255 / 85%);
  text-align: center;
  font-size: 13px;
}

.mobile-nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .hero {
    min-height: 150px;
  }

  .brand {
    width: min(88%, 520px);
  }

  .site-card {
    display: block;
    width: min(100% - 20px, 620px);
    min-height: 0;
    margin-bottom: 22px;
    border-radius: 14px;
  }

  .mobile-nav-toggle {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #168f9c;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .sidebar {
    padding: 18px 20px 4px;
    border-bottom: 1px solid #eee;
  }

  #main-content {
    padding: 23px 22px 36px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 120px;
  }

  #main-content {
    padding-right: 17px;
    padding-left: 17px;
  }
}
