/* Clean academic page — refined minimalism */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: #2c2c2c;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #2c2c2c; text-decoration-color: #bbb; text-underline-offset: 2px; }
a:hover { text-decoration-color: #2c2c2c; }

.wrap { max-width: 970px; margin: 0 auto; padding: 0 36px; }

/* ===== HEADER ===== */
.header {
  padding: 64px 0 48px;
}

.header-grid {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.header-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.header-info h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.cn {
  font-weight: 400;
  font-size: 1rem;
  color: #888;
}

.title-line {
  font-size: 0.84rem;
  color: #777;
  margin-bottom: 14px;
}

.bio {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  font-size: 0.82rem;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 18px;
}

.contact-list strong {
  font-weight: 600;
  color: #444;
}

/* ===== SECTIONS ===== */
.section {
  padding: 36px 0;
}

.section h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 24px;
}

.section h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #d0d0d0;
  margin-top: 8px;
}

/* ===== ENTRIES ===== */
.entry {
  margin-bottom: 28px;
  padding-left: 0;
}

.entry:last-child { margin-bottom: 0; }

.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 3px;
}

.entry-title {
  font-weight: 600;
  font-size: 0.93rem;
  color: #1a1a1a;
}

.entry-date {
  font-size: 0.78rem;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-date a {
  color: #999;
  font-weight: 500;
}

.entry-date a:hover {
  color: #2c2c2c;
}

.org {
  font-size: 0.84rem;
  color: #777;
  font-style: italic;
  margin-bottom: 6px;
}

.entry > p {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.65;
}

.detail {
  font-size: 0.82rem !important;
  color: #888 !important;
  margin-top: 3px;
}

.entry ul {
  margin: 8px 0 0 18px;
  font-size: 0.86rem;
  color: #444;
  line-height: 1.65;
}

.entry li {
  margin-bottom: 5px;
  padding-left: 2px;
}

.entry li::marker {
  color: #ccc;
}

.pi {
  font-size: 0.82rem;
  color: #888;
  font-style: italic;
  margin-bottom: 6px;
}

/* ===== EDUCATION WITH ICONS ===== */
.edu-entry {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.edu-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 4px;
}

.edu-body {
  flex: 1;
  min-width: 0;
}

.skills {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.8;
}

.skills-list {
  list-style: none;
  font-size: 0.86rem;
  color: #444;
  line-height: 1.7;
}

.skills-list li {
  margin-bottom: 4px;
}

.skills-list strong {
  color: #2c2c2c;
}

.pubs {
  list-style: none;
  font-size: 0.86rem;
  color: #444;
  line-height: 1.7;
}

.pubs li {
  margin-bottom: 10px;
  padding-left: 0;
}

.pubs em {
  color: #888;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0 48px;
  font-size: 0.76rem;
  color: #bbb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .header { padding: 40px 0 32px; }
  .header-grid { flex-direction: column; gap: 20px; }
  .header-photo img { width: 110px; height: 110px; }
  .header-info h1 { font-size: 1.4rem; }
  .entry-head { flex-direction: column; gap: 0; }
  .contact-list { flex-direction: column; gap: 2px; }
}
