* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

a {
  color: #1a6bb8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 18px;
  margin-bottom: 36px;
}

.site-name {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #111;
}

.site-description {
  margin: 2px 0 0;
  color: #888;
  font-size: 15px;
}

.masthead nav {
  display: flex;
  gap: 18px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: #999;
  vertical-align: middle;
  transition: fill 0.15s;
}

.icon:hover {
  fill: #1a6bb8;
}

/* About */
.about {
  overflow: hidden;
}

.portrait {
  float: right;
  width: 168px;
  height: 168px;
  margin: 4px 0 12px 24px;
  border-radius: 6px;
}

/* Sections */
h2 {
  margin: 40px 0 16px;
  font-size: 19px;
  font-weight: 600;
  color: #111;
}

section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* News / honors */
.news li {
  margin-bottom: 8px;
  padding-left: 58px;
  position: relative;
}

.news .date {
  position: absolute;
  left: 0;
  color: #999;
  font-variant-numeric: tabular-nums;
}

/* Publications */
.pubs li {
  margin-bottom: 22px;
}

.pub-title {
  font-weight: 600;
  color: #111;
}

.pub-authors {
  color: #555;
  font-size: 15px;
}

.pub-authors u {
  text-decoration: none;
  font-weight: 600;
  color: #333;
}

.pub-venue {
  color: #777;
  font-size: 15px;
  font-style: italic;
}

.highlight {
  color: #b03030;
  font-style: normal;
  font-weight: 600;
}

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #f2f2f2;
  color: #666;
  font-size: 12.5px;
  font-style: normal;
  vertical-align: 1px;
}

.pub-links {
  font-size: 15px;
}

.footnote {
  color: #999;
  font-size: 14px;
  margin-top: 14px;
}

.updated {
  margin-top: 48px;
  color: #bbb;
  font-size: 13px;
}

@media (max-width: 560px) {
  .container {
    padding-top: 28px;
  }

  .masthead {
    flex-direction: column;
    gap: 10px;
  }

  .portrait {
    float: none;
    display: block;
    margin: 0 0 16px;
  }
}
