body {
  color: #222;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

h4 {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1.8rem;
}

.container {
  max-width: 820px;
}

.header {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 5.5rem;
  margin-bottom: 5rem;
  text-align: left;
}

.profile-photo {
  flex: 0 0 150px;
}

.profile-photo img {
  width: 150px;
  height: 150px;
  border-radius: 6px;
  object-fit: cover;
}

.main-description h1 {
  margin-bottom: 0.6rem;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0;
}

.main-description p {
  margin-bottom: 0.2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1.2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: #fff;
  background: #777;
  font-size: 1.8rem;
  line-height: 1;
}

.social-links a:hover {
  color: #fff;
  background: #555;
  text-decoration: none;
}

.social-links .ai {
  font-size: 1.9rem;
}

.docs-section {
  border-top: 1px solid #eee;
  padding: 3.6rem 0;
  margin-bottom: 0;
}

.section-note,
.muted {
  color: rgba(0, 0, 0, 0.62);
}

.paper {
  margin-bottom: 2.2rem;
}

.publication {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 3rem;
}

.publication-thumb {
  width: 210px;
  height: auto;
  max-height: 170px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.publication-body p {
  margin-bottom: 0.25rem;
}

.paper p {
  margin-bottom: 0.25rem;
}

.paper .title,
.entry .title {
  margin-bottom: 0.2rem;
}

.paper-buttons {
  margin-top: 0.6rem;
}

.paper .button,
.paper-buttons .button {
  display: inline-block;
  height: 26px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 24px;
  text-transform: none;
}

.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  margin-bottom: 2rem;
}

.entry.compact {
  margin-bottom: 1.2rem;
}

.entry p {
  margin-bottom: 0.2rem;
}

.entry-date {
  color: rgba(0, 0, 0, 0.62);
  text-align: right;
  font-size: 1.45rem;
}

.project-entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 1.8rem;
}

.project-thumb {
  width: 120px;
  height: 78px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  object-fit: cover;
  background: #f8f8f8;
}

.project-body .entry {
  margin-bottom: 0;
}

.footer {
  text-align: center;
  color: rgba(0, 0, 0, 0.48);
  border-top: 1px solid #eee;
  padding: 18px 0 42px 0;
  margin-bottom: 0;
}

.credit {
  margin-top: 0.3rem;
  font-size: 1.25rem;
}

.navbar {
  display: none;
}

@media (min-width: 750px) {
  .navbar + .docs-section {
    border-top-width: 0;
  }

  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.2rem;
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .navbar-spacer {
    display: none;
  }

  .navbar > .container {
    width: 100%;
  }

  .navbar-list {
    list-style: none;
    margin-bottom: 0;
  }

  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0;
  }

  .navbar-link {
    text-transform: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    margin-right: 26px;
    text-decoration: none;
    line-height: 6.2rem;
    color: #222;
  }

  .navbar-link.active {
    color: #1f6feb;
  }

  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
  }

  .has-docked-nav .navbar-spacer {
    display: block;
  }

  .has-docked-nav .navbar > .container {
    width: 80%;
  }
}

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

  .header {
    display: block;
    margin-top: 3.6rem;
    margin-bottom: 3.6rem;
  }

  .profile-photo {
    margin-bottom: 2rem;
  }

  .main-description h1 {
    font-size: 3.2rem;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .publication-thumb {
    width: 100%;
    max-height: none;
  }

  .project-entry {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .project-thumb {
    width: 92px;
    height: 68px;
  }

  .entry-date {
    text-align: left;
  }

  .docs-section {
    padding: 3rem 0;
  }
}
