@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap");

* {
  box-sizing: border-box;
}

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

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

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

body {
  margin: 0;
  color: #333333;
  background: #ffffff;
}

strong {
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: normal;
}

p {
  margin-top: 0;
}

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

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

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

.photo-cell {
  width: 37%;
  max-width: 37%;
  padding: 2.5%;
  vertical-align: middle;
}

.name {
  margin: 0;
  padding-top: 20px;
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 32px;
  text-align: center;
}

.links {
  line-height: 1.8;
  text-align: center;
}

.last-updated {
  display: table;
  margin: 8px auto 0;
  padding: 3px 8px;
  color: #777777;
  background: #f5f5f5;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 12px;
}

.profile-photo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

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

.paper-table {
  border-spacing: 0 10px;
}

.paper-row td {
  vertical-align: middle;
}

.highlighted {
  background: #ffffd0;
}

.thumb-cell {
  width: 20%;
  padding: 16px;
}

.paper-info {
  width: 80%;
  padding: 8px;
}

.paper-info p {
  margin-top: 10px;
  margin-bottom: 0;
}

.papertitle {
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.star-badge {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -4px;
}

.star-badge img {
  display: inline-block;
  width: auto;
  height: 20px;
}

.thumb {
  display: block;
  width: 160px;
  height: 160px;
  overflow: hidden;
}

.thumb img,
img.thumb {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

.paper-thumb {
  object-position: top center;
}

.image-thumb {
  object-fit: cover;
}

.logo-thumb {
  display: grid;
  place-items: center;
  background: #eef3f6;
}

.logo-thumb img {
  width: 82%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.logo-thumb.warm {
  background: #f7f1e8;
}

.logo-thumb.cool {
  background: #e9f1f5;
}

.strip-thumb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
}

.strip-thumb img {
  width: 100%;
  height: 160px;
  border-right: 1px solid #dddddd;
  object-fit: cover;
  object-position: top center;
}

.strip-thumb img:last-child {
  border-right: 0;
}

.publication-table {
  border-spacing: 0 8px;
}

.publication-table td {
  padding: 8px 16px;
  vertical-align: top;
}

.year {
  width: 110px;
  color: #777777;
  white-space: nowrap;
}

span.highlight {
  background: #ffffd0;
}

@media (max-width: 700px) {
  .intro-table,
  .intro-table tbody,
  .intro-table tr,
  .intro-table td,
  .paper-table,
  .paper-table tbody,
  .paper-table tr,
  .paper-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .intro-text,
  .photo-cell {
    padding: 16px;
  }

  .photo-cell {
    text-align: center;
  }

  .profile-photo {
    width: 210px;
    margin-right: auto;
    margin-left: auto;
  }

  .name {
    padding-top: 12px;
  }

  .thumb-cell {
    padding: 16px 16px 4px;
  }

  .paper-info {
    padding: 8px 16px 16px;
  }

  .thumb,
  .thumb img,
  img.thumb {
    width: 160px;
    height: 160px;
  }

  .publication-table td {
    display: block;
    width: 100%;
    padding: 2px 16px;
  }

  .publication-table tr {
    display: block;
    padding-bottom: 10px;
  }

  .year {
    padding-top: 8px;
  }

}
