:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #e3e3e3;
  --link: #1a5fb4;
  --panel: #fafafa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1080px, calc(100vw - 48px));
  margin: 40px auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 24px;
}

.profile-block {
  margin-bottom: 28px;
}

.avatar {
  width: 132px;
  height: 132px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Crimson Text", serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.05;
}

.name-cn {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

.title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.sidebar-section {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sidebar-section h2,
.section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.plain-list li {
  margin: 0 0 14px;
  color: var(--text);
}

.content {
  min-width: 0;
}

.intro {
  font-size: 1.14rem;
  margin-bottom: 36px;
}

.intro p {
  margin: 0;
}

.intro-underline {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.section {
  margin-bottom: 28px;
}

.publication {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.publication + .publication {
  margin-top: 16px;
}

.publication h3 {
  font-family: "Crimson Text", serif;
  font-size: 1.75rem;
  line-height: 1.2;
}

.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d7dce3;
  background: #f3f6fa;
  color: #41556b;
  font-size: 0.84rem;
  font-weight: 700;
}

.tag-strong {
  border-color: #bcd0ea;
  background: #eaf2fd;
  color: #184e9e;
}

.authors,
.venue,
.summary,
.links {
  margin: 10px 0 0;
}

.authors {
  color: var(--text);
}

.venue {
  color: var(--muted);
  font-weight: 600;
}

.summary {
  color: #333333;
}

.links {
  font-weight: 600;
}

.links span {
  color: var(--muted);
  margin: 0 6px;
}

@media (max-width: 860px) {
  .container {
    width: min(100vw - 32px, 1080px);
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 24px auto 40px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.2rem;
  }

  .avatar {
    width: 112px;
    height: 112px;
  }

  .publication h3 {
    font-size: 1.45rem;
  }

  .intro {
    font-size: 1.02rem;
  }
}
