* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-position: inside;
}

:root {
  --text: #2d2d2d;
  --text-light: #555;
  --accent: #1a5276;
  --bg: #fdfdfd;
  --border: #e0e0e0;
  --tag-bg: #eef3f7;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  padding: 32px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

nav .name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

nav .links {
  display: flex;
  gap: 24px;
}

nav .links a {
  color: var(--text-light);
  font-size: 0.95rem;
}

nav .links a:hover {
  color: var(--accent);
}

nav .links a.active {
  color: var(--accent);
  font-weight: 500;
}

/* Header / About */
.header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

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

.header .info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.header .info .affiliation {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.header .info .bio {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Social icons row */
.socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.socials a {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.socials a:hover {
  color: var(--accent);
}

.socials a svg,
.socials .email-obfuscated svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.socials .email-obfuscated {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Sections */
section {
  margin-bottom: 48px;
}

section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* News */
.news-list {
  list-style: none;
}

.news-list li {
  padding: 8px 0;
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
}

.news-list .date {
  color: var(--text-light);
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 90px;
}

/* Publication cards */
.pub {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.pub:last-child {
  border-bottom: none;
}

.pub .title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.pub .authors {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.pub .venue {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 8px;
}

.pub .venue .tag {
  font-style: normal;
  background: var(--tag-bg);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 8px;
}

.pub .note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 8px;
}

.pub .links {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}

.pub .authors .me {
  font-weight: 600;
  color: var(--text);
}

.pub .equal-contribution {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .socials {
    justify-content: center;
    flex-wrap: wrap;
  }

  nav .container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .news-list li {
    flex-direction: column;
    gap: 2px;
  }

  .news-list .date {
    min-width: auto;
  }
}
