:root {
  /*--text: #1f2933;
  --muted: #667085;
  --link: #1a5fb4;
  --border: #e5e7eb;
  --background: #ffffff;
  --surface: #f8fafc;*/

  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --link: #1f5f8b;
  --border: #d9ded7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
}

.container {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.site-title {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--link);
}

main {
  padding: 48px 0;
}

h1, h2, h3 {
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: 2.2rem;
  margin-top: 0;
}

h2 {
  margin-top: 2.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

a {
  color: var(--link);
}

.profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 0;
}

.profile img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.meta {
  color: var(--muted);
  margin-top: 0;
}

.news-list li,
.publication-list li {
  margin-bottom: 1rem;
}

.pub-title {
  font-weight: 700;
}

.pub-venue {
  font-style: italic;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 24px 0;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .profile img {
    width: 150px;
    height: 190px;
  }
}
