@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

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

body {
  font-family: 'Source Sans 3', 'Helvetica Neue', Helvetica, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.65;
  font-size: 16px;
}

.page {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}

/* Header */
.header {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

.photo {
  width: 160px;
  height: 200px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
}

.header-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.header-text p {
  font-size: 15px;
  color: #444;
  margin-bottom: 3px;
}

.header-text .research-interests {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

.header-text a {
  color: #1a0dab;
  text-decoration: none;
}

.header-text a:hover {
  text-decoration: underline;
}

.header-text .links {
  margin-top: 6px;
  font-size: 14px;
}

.header-text .links a {
  color: #1a0dab;
  text-decoration: none;
  margin-right: 12px;
}

.header-text .links a:hover {
  text-decoration: underline;
}

/* Bio */
.bio {
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
}

.bio:first-of-type {
  margin-top: 10px;
}

.bio a {
  color: #1a0dab;
  text-decoration: none;
}

.bio a:hover {
  text-decoration: underline;
}

/* Sections */
h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #ddd;
}

/* Papers */
.paper {
  margin-bottom: 18px;
}

.paper .title {
  font-weight: 600;
  color: #111;
}

.paper .title a {
  color: #1a0dab;
  text-decoration: none;
}

.paper .title a:hover {
  text-decoration: underline;
}

.paper .authors {
  font-size: 14px;
  color: #555;
  font-style: italic;
}

.paper .description {
  font-size: 14px;
  color: #555;
}

.paper-link {
  font-size: 13px;
  color: #1a0dab;
  text-decoration: none;
}

.paper-link:hover {
  text-decoration: underline;
}

/* Abstract fold */
.paper details {
  margin-top: 4px;
}

.paper details summary {
  font-size: 13px;
  color: #555;
  cursor: pointer;
  list-style: none;
  display: inline;
}

.paper details summary::-webkit-details-marker {
  display: none;
}

.paper details summary::before {
  content: '▸ ';
  font-size: 11px;
}

.paper details[open] summary::before {
  content: '▾ ';
}

.paper details .abstract-text {
  font-size: 14px;
  color: #444;
  margin-top: 8px;
  line-height: 1.65;
  padding-left: 12px;
  border-left: 2px solid #e0e0e0;
}

/* Contact */
.contact-info {
  font-size: 15px;
  color: #444;
}

.contact-info a {
  color: #1a0dab;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

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

  .header-text .links {
    justify-content: center;
  }
}
