:root {
  color-scheme: light;
  --ink: #191919;
  --muted-ink: #555;
  --paper: #e9e9e7;
  --rule: #c9c9c5;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  font-size: 12pt;
  line-height: 1.55;
}

main {
  width: calc(100% - 48px);
  max-width: 927px;
  margin: 0 auto;
  padding: 64px 0 80px;
}

a {
  color: #333;
  text-underline-offset: 0.14em;
}

a:hover {
  color: #000;
}

.profile {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 42px;
}

.portrait-link {
  display: block;
  color: inherit;
  line-height: 0;
  text-decoration: none;
}

.portrait {
  display: block;
  width: 210px;
  height: 210px;
  border: 1px solid #b8b8b4;
  object-fit: cover;
}

.identity p {
  margin: 5px 0;
}

.identity {
  min-width: 0;
}

.identity .name {
  margin: 0 0 13px;
  font-size: 21pt;
  font-weight: 700;
  line-height: 1.2;
}

.identity .chinese-name {
  margin-left: 0.45em;
  color: inherit;
  text-decoration: none;
}

.identity .position {
  color: #2f2f2f;
  overflow-wrap: anywhere;
}

.identity .email {
  overflow-wrap: anywhere;
}

.identity .profile-links {
  margin-top: 11px;
}

.profile-links .separator {
  margin: 0 0.35em;
  color: var(--muted-ink);
}

.introduction {
  margin-bottom: 45px;
}

.introduction p {
  margin: 0 0 14px;
}

.section-heading {
  margin: 0 0 21px;
  font-size: 17pt;
  font-weight: 700;
}

.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.publication {
  margin: 0 0 29px;
}

.paper-title {
  margin: 0 0 3px;
  font-size: 14pt;
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
}

.paper-authors,
.paper-venue,
.paper-links {
  margin: 2px 0;
}

.paper-links a + a::before {
  content: " / ";
  color: var(--muted-ink);
  text-decoration: none;
}

.empty-state {
  color: var(--muted-ink);
  font-style: italic;
}

@media (max-width: 600px) {
  main {
    width: calc(100% - 32px);
    padding-top: 34px;
  }

  .profile {
    grid-template-columns: 132px 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }

  .portrait {
    width: 132px;
    height: 162px;
  }

  .identity .name {
    font-size: 17pt;
  }

}

@media (max-width: 410px) {
  .profile {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portrait {
    width: min(210px, 100%);
    height: auto;
  }
}
