:root { --max: 900px; }
body { font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; margin: 0; background: #fff; color: #222; line-height: 1.7; }
.container { max-width: var(--max); margin: 0 auto; padding: 24px; }
.header { border-bottom: 1px solid #eee; background: #fff; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.nav a { text-decoration: none; color: #444; padding: 8px 12px; border-radius: 8px; }
.nav a.active, .nav a:hover { background: #f2f3f5; color: #111; }
.hero { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.hero img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 1px solid #eee; }
h1 { font-size: 28px; margin: 0 0 6px; }
h2 { margin-top: 28px; font-size: 22px; }
p { margin: 10px 0; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid #eee; border-radius: 12px; padding: 16px; background: #fff; }
.card h3 { margin: 0 0 6px; }
footer { border-top: 1px solid #eee; margin-top: 36px; padding: 16px 0; color: #777; font-size: 14px; text-align: center; }
.news-list { display: grid; gap: 14px; }
.news-item { border: 1px solid #eee; border-radius: 12px; padding: 14px; }
.news-item h3 { margin: 0 0 6px; font-size: 18px; }
/* ------- Research page styles ------- */
.paper {
  margin-bottom: 2rem;
}

.paper h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.paper h3 a {
  color: #00748c;      /* 和你截图里类似的蓝绿色 */
  text-decoration: none;
}

.paper h3 a:hover {
  text-decoration: underline;
}

.paper-label {
  font-weight: 600;
  margin-left: 0.25rem;
}

.paper-meta {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  color: #555;
}

.abstract-toggle {
  display: inline-block;
  margin: 0.3rem 0 0.6rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  color: #333;
}

.abstract-text {
  display: none;               /* 默认收起 */
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.news-photo {
  margin-top: 15px;
  text-align: center;
}

.news-photo img {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.news-photo figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}

.paper h3 a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}


/* 基础布局 */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #fafafa;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 顶部导航 */
.header {
  border-bottom: 1px solid #eee;
  background-color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav strong {
  font-size: 1.1rem;
}

.nav a {
  margin-left: 16px;
  font-size: 0.95rem;
}

/* 主体两列布局 */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 32px 16px 48px;
}

/* 左侧栏 */
.profile-sidebar {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 20px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  text-align: center;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  object-position: center 15%;
}

.name {
  margin: 8px 0 4px;
  font-size: 1.4rem;
}

.role {
  margin: 0 0 4px;
  color: #555;
}

.location {
  margin: 4px 0;
  color: #666;
}

.affiliation {
  margin: 8px 0 16px;
  color: #444;
}

.affiliation span {
  margin-right: 4px;
}

.contact-links p {
  margin: 4px 0;
}

/* 右侧主体 */
.profile-main {
  padding-top: 8px;
}

.welcome-title {
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.about-block h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.about-block p {
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 页脚 */
footer {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 16px 0 20px;
  font-size: 0.85rem;
  color: #777;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-sidebar {
    max-width: 360px;
    margin: 0 auto;
  }

  .welcome-title {
    text-align: left;
  }
}

