/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

a {
  color: #1565c0;
  text-decoration: none;
}
a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* ===== Navigation ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

nav .nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-name {
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
}
.nav-name:hover {
  text-decoration: none;
  color: #1565c0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.02em;
}
nav ul a:hover {
  color: #1565c0;
  text-decoration: none;
}

/* ===== Main ===== */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 48px 0 24px;
  border-bottom: 1px solid #eee;
}
section:last-child {
  border-bottom: none;
}

h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1565c0;
  display: inline-block;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin-top: 18px;
  margin-bottom: 6px;
}

/* ===== Profile / About ===== */
.profile-section {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding-top: 56px;
}

.profile-left {
  flex-shrink: 0;
  width: 200px;
  text-align: center;
}

.avatar-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #e3f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-fallback {
  font-size: 4rem;
  font-weight: 700;
  color: #1565c0;
}

.profile-left h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.cn-name {
  font-weight: 400;
  font-size: 1.1rem;
  color: #666;
}

.profile-left .title {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2px;
}
.profile-left .affiliation {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 12px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.contact-icons a:hover {
  background: #1565c0;
  color: #fff;
  text-decoration: none;
}

.profile-right {
  flex: 1;
  min-width: 0;
}
.profile-right p {
  margin-bottom: 12px;
  color: #444;
}

.edu-list {
  list-style: none;
  padding: 0;
}
.edu-list li {
  padding: 4px 0 4px 18px;
  position: relative;
  color: #444;
  font-size: 0.95rem;
}
.edu-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1565c0;
}

/* ===== News ===== */
.news-list {
  max-height: 320px;
  overflow-y: auto;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.95rem;
}
.news-item:last-child {
  border-bottom: none;
}

.news-date {
  flex-shrink: 0;
  width: 90px;
  font-weight: 700;
  color: #1565c0;
  font-size: 0.9rem;
}
.news-text {
  color: #444;
}

/* ===== Publications ===== */
.pub-note {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 16px;
}

.pub-year {
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1565c0;
  margin-top: 28px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.pub-item {
  margin-bottom: 22px;
  padding-left: 16px;
  border-left: 3px solid #e3f2fd;
}
.pub-item:hover {
  border-left-color: #1565c0;
}

.pub-title {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
  margin-bottom: 3px;
}

.pub-authors {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 2px;
}

.pub-venue {
  font-size: 0.88rem;
  color: #777;
  font-style: italic;
  margin-bottom: 6px;
}

.pub-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 10px;
}

.pub-links {
  display: flex;
  gap: 12px;
}
.pub-links a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  background: #f5f5f5;
  color: #1565c0;
  transition: all 0.15s;
}
.pub-links a:hover {
  background: #1565c0;
  color: #fff;
  text-decoration: none;
}
.pub-links a i {
  margin-right: 4px;
}

/* ===== Experience ===== */
.exp-list {
  position: relative;
  padding-left: 24px;
}
.exp-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e0e0e0;
}

.exp-item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}
.exp-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1565c0;
  z-index: 1;
}

.exp-period {
  flex-shrink: 0;
  width: 120px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1565c0;
  padding-top: 2px;
}

.exp-role {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
}
.exp-org {
  font-size: 0.92rem;
  color: #555;
}
.exp-desc {
  font-size: 0.88rem;
  color: #777;
  margin-top: 2px;
}

/* ===== Awards ===== */
.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.award-category h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #1565c0;
  margin-bottom: 8px;
}

.award-category ul {
  list-style: none;
  padding: 0;
}
.award-category li {
  font-size: 0.92rem;
  color: #444;
  padding: 4px 0 4px 16px;
  position: relative;
}
.award-category li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #bbb;
}

/* ===== Footer ===== */
footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .profile-left {
    width: auto;
  }
  .profile-right {
    text-align: left;
  }
  nav ul {
    gap: 14px;
  }
  nav ul a {
    font-size: 0.82rem;
  }
  .awards-grid {
    grid-template-columns: 1fr;
  }
  .exp-item {
    flex-direction: column;
    gap: 4px;
  }
  .exp-period {
    width: auto;
  }
}
