* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f4f4f4;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 52px 30px;
  background: #ffffff;
  min-height: 100vh;
}

.hero {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-bottom: 52px;
}

.profile-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
  flex-shrink: 0;
}

.hero-text {
  flex: 1;
}

h1 {
  font-size: 46px;
  margin: 0 0 8px;
}

.subtitle {
  font-size: 18px;
  color: #555;
  margin: 0 0 16px;
}

.intro {
  max-width: 690px;
  margin-bottom: 18px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a,
.paper-links a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #222;
  border-radius: 999px;
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.links a:hover,
.paper-links a:hover {
  background: #222;
  color: #fff;
}

section {
  margin-top: 40px;
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.item,
.publication {
  margin-bottom: 30px;
}

.item-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.item-header span {
  color: #666;
  white-space: nowrap;
}

.publication h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.publication p,
.item p {
  margin: 6px 0;
}

.description {
  color: #444;
}

.meta {
  color: #666;
  font-size: 14px;
}

.paper-links {
  margin-top: 10px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

a {
  color: #0645ad;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 14px;
}

@media (max-width: 760px) {
  .container {
    padding: 36px 22px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-photo {
    width: 170px;
    height: 170px;
  }

  h1 {
    font-size: 36px;
  }

  .item-header {
    flex-direction: column;
    gap: 2px;
  }
}
