a {
  color: #1772d0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

body {
  margin: 0;
}

h2 {
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 8px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

.compact-list li {
  margin-bottom: 9px;
}

.page {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
  width: 100%;
}

.intro,
.section,
.papers {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.intro-text {
  padding: 2.5%;
  vertical-align: middle;
  width: 66%;
}

.intro-photo {
  padding: 2.5%;
  vertical-align: middle;
  width: 34%;
}

.intro-photo img {
  border-radius: 50%;
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.name {
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 12px;
  text-align: center;
}

.links {
  text-align: center;
}

.muted-link {
  color: #666;
}

.find-me {
  color: #555;
  margin-top: 8px;
  text-align: center;
}

.intro-photo .find-me {
  line-height: 1.6;
  margin: 12px auto 0;
}

.accent {
  color: #c40000;
}

.section td {
  padding: 14px 20px;
  vertical-align: middle;
  width: 100%;
}

.papers {
  border-spacing: 0 10px;
}

.papers tr {
  transition: background 120ms ease;
}

.papers tr:hover {
  background: #fff8d8;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:focus {
  background: #fff8d8;
  outline: 2px solid #1772d0;
  outline-offset: -2px;
}

.paper-thumb {
  padding: 12px 16px 12px 20px;
  vertical-align: middle;
  width: 22%;
}

.paper-info {
  padding: 8px 20px 8px 8px;
  vertical-align: middle;
  width: 78%;
}

.papertitle {
  color: #1772d0;
  font-size: 15px;
  font-weight: 700;
}

.paper-figure {
  background: #fff;
  border-radius: 8px;
  display: block;
  height: 96px;
  object-fit: contain;
  width: 128px;
}

.video-thumb {
  align-items: center;
  background: linear-gradient(135deg, #e7f0ff, #ffffff);
  border-radius: 8px;
  color: #222;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  height: 96px;
  justify-content: center;
  line-height: 1.25;
  text-align: center;
  width: 128px;
  overflow: hidden;
}

.video-thumb:hover,
.video-thumb:focus {
  background: linear-gradient(135deg, #ffe4c4, #ffffff);
  color: #222;
}

.video-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-box {
  border: 1px solid #ddd;
  border-left: 4px solid #1772d0;
  max-height: 132px;
  overflow-y: auto;
  padding: 10px 12px 4px;
  scrollbar-color: #1772d0 #f0f0f0;
}

.news-box:focus {
  outline: 2px solid #1772d0;
  outline-offset: 2px;
}

.news-box ul {
  list-style: none;
  padding-left: 0;
}

.news-box li {
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.news-box li:last-child {
  border-bottom: 0;
}

.date {
  color: #b85f4a;
  font-weight: 700;
  margin-right: 6px;
}

.back-to-top {
  align-items: center;
  background: #1772d0;
  border: 0;
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 20px;
  transform: translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease;
  width: 42px;
  z-index: 10;
}

.back-to-top:hover,
.back-to-top:focus {
  background: #f09228;
  outline: 0;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 650px) {
  .intro-text,
  .intro-photo,
  .paper-thumb,
  .paper-info {
    display: block;
    width: 100%;
  }

  .intro-photo img {
    margin: 0 auto;
    max-width: 210px;
  }

  .paper-thumb {
    padding-bottom: 0;
  }

  .back-to-top {
    bottom: 14px;
    height: 38px;
    right: 14px;
    width: 38px;
  }
}
