html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family: Georgia, "Times New Roman", Times, "Noto Serif CJK SC", serif;
  font-size: 16px;
  line-height: 1.55;
}

.site-header {
  border-bottom: 1px solid #ddd;
  background: #fafafa;
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.nav a {
  color: #333;
  text-decoration: none;
}

.nav a:hover {
  color: #0b5cab;
  text-decoration: underline;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.profile {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.portrait-frame {
  position: relative;
  width: 126px;
  height: 126px;
  padding: 4px;
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0b5cab, #7a9cc6 45%, #d6e2ef) border-box;
  box-shadow: 0 10px 24px rgba(20, 45, 80, 0.14);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 92, 171, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  z-index: -1;
}

.portrait {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f8f8f8;
}

h1 {
  margin: 0 0 6px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
}

h1 span {
  color: #555;
  font-size: 24px;
  font-weight: 400;
}

.position {
  margin: 0 0 12px;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.interest {
  font-size: 17px;
}

p {
  margin: 0 0 12px;
}

a {
  color: #0b5cab;
}

.links {
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.stats {
  margin: 16px 0 24px;
  padding: 10px 14px;
  border: 1px solid #e3e3e3;
  background: #fbfbfb;
  display: grid;
  grid-template-columns: repeat(3, 90px) 1fr;
  gap: 12px;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}

.stats div {
  border-right: 1px solid #e4e4e4;
  padding-right: 12px;
}

.stats b {
  display: block;
  color: #111;
  font-size: 22px;
  line-height: 1;
}

.stats span {
  color: #666;
  font-size: 12px;
}

.stats p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.section {
  margin-top: 26px;
}

.section-note {
  margin-top: -4px;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0 0 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #ddd;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

h3 {
  margin: 18px 0 8px;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding-left: 22px;
}

.plain-list li {
  margin-bottom: 7px;
}

.pub-list {
  margin: 0 0 12px;
  padding-left: 22px;
}

.pub-list li {
  margin-bottom: 11px;
}

.pub-list .authors,
.pub-list .title,
.pub-list .venue {
  display: block;
}

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

.pub-list .venue {
  color: #555;
}

.timeline li {
  margin-bottom: 8px;
}

.footer {
  margin-top: 34px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  color: #777;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

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

  .portrait {
    width: 120px;
    height: 120px;
    font-size: 34px;
  }

  h1 {
    font-size: 30px;
  }

  h1 span {
    display: block;
    margin-top: 4px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats p {
    grid-column: 1 / -1;
  }
}
