body {
  margin: 0;
  padding: 0 0 40px;
  background: #fff;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: #2766a6;
  text-decoration: none;
}

a:hover {
  border-bottom: 1px dotted #777;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

#dhead {
  margin-top: 22px;
}

#dpic {
  grid-column: span 6;
  text-align: right;
}

#ddesc {
  grid-column: span 6;
  padding-top: 72px;
  padding-left: 22px;
}

#dpic img {
  width: 240px;
  height: 240px;
  border-radius: 120px;
  object-fit: cover;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: 34px;
  font-weight: normal;
  line-height: 1.1;
}

h2 {
  max-width: 360px;
  margin: 6px 0 12px;
  padding: 0;
  color: #888;
  font-size: 18px;
  font-style: italic;
  font-weight: normal;
  line-height: 1.35;
}

.tagline {
  max-width: 430px;
  margin: 8px 0 12px;
  color: #666;
  font-size: 18px;
  line-height: 1.35;
}

#dlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 470px;
  margin-top: 12px;
}

#dlinks a {
  color: #2766a6;
}

#dlinks a.current {
  color: #333;
}

.text-link {
  line-height: 40px;
}

.icon-link,
#email-drop summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.icon-link:hover,
#email-drop summary:hover {
  border-bottom: 0;
}

.icon-link img,
#email-drop img {
  width: 40px;
  height: 40px;
}

#email-drop {
  position: relative;
}

#email-drop summary {
  cursor: pointer;
  list-style: none;
}

#email-drop summary::-webkit-details-marker {
  display: none;
}

.email-panel {
  position: absolute;
  top: 48px;
  left: 50%;
  z-index: 1;
  width: max-content;
  transform: translateX(-50%);
  padding: 6px 9px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  color: #555;
  font-size: 14px;
}

hr {
  height: 1px;
  margin: 22px 0;
  padding: 0;
  border: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

.entry {
  margin-bottom: 0;
}

.timespan {
  grid-column: span 1;
  padding-right: 8px;
  color: #aaa;
  font-size: 14px;
  text-align: right;
}

.ico {
  position: relative;
  grid-column: span 1;
  border-left: 2px solid #d2d2d2;
}

.entry-dot {
  position: absolute;
  top: 0;
  left: -8px;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 8px;
  background: #cfcfcf;
}

.affiliation-logo {
  display: block;
  width: 58px;
  height: 58px;
  margin-left: 12px;
  object-fit: contain;
}

.desc {
  grid-column: span 10;
  padding-left: 20px;
  padding-bottom: 24px;
  font-size: 17px;
}

.funding-list {
  margin-top: 16px;
}

.funding-list ul {
  margin: 6px 0 0 20px;
  padding: 0;
}

.ctitle {
  margin-top: 42px;
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.1;
}

p {
  margin-top: 0;
}

.band {
  margin-top: 30px;
  padding: 1px 0 28px;
  background: #eee;
}

.project {
  margin-bottom: 12px;
  padding: 0 0 12px 10px;
  border-left: 4px solid #aaa;
  background: #fff;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: -8px 0 18px;
  font-size: 15px;
}

.project .pdesc {
  padding: 8px 10px 4px;
}

.plink {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 4px;
  font-size: 14px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  display: block;
  min-width: 0;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
}

.card:hover {
  border-color: #aaa;
}

.ccimg {
  background: #eee;
}

.ccimg img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cdesc {
  padding: 8px 10px 10px;
  font-size: 15px;
  line-height: 1.3;
}

.page-head {
  margin-top: 28px;
}

.page-head h2 {
  max-width: none;
}

.publications {
  padding-bottom: 20px;
}

.pub {
  margin-bottom: 12px;
  padding: 4px 0 4px 12px;
  border-left: 4px solid #aaa;
  font-size: 14px;
}

.pub-title {
  color: #333;
  font-weight: bold;
}

.pub-venue {
  color: #08710c;
}

.pub-authors {
  color: #444;
}

.pub-note {
  color: #777;
  font-size: 13px;
}

@media (max-width: 991px) {
  #dpic {
    grid-column: span 12;
    text-align: center;
  }

  #ddesc {
    grid-column: span 12;
    padding-top: 20px;
    padding-left: 0;
    text-align: center;
  }

  h2,
  #dlinks {
    max-width: none;
    justify-content: center;
  }

  .timespan {
    grid-column: span 3;
  }

  .ico {
    grid-column: span 1;
  }

  .desc {
    grid-column: span 8;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  #dpic img {
    width: 190px;
    height: 190px;
    border-radius: 95px;
  }

  h1 {
    font-size: 30px;
  }

  .ctitle {
    font-size: 29px;
  }

  .row {
    grid-template-columns: repeat(6, 1fr);
  }

  .timespan {
    grid-column: span 6;
    padding-right: 0;
    text-align: left;
  }

  .ico {
    grid-column: span 1;
  }

  .affiliation-logo {
    width: 44px;
    height: 44px;
    margin-left: 10px;
  }

  .desc {
    grid-column: span 5;
    padding-left: 14px;
    font-size: 16px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }
}
