:root {
  --text: #1f2933;
  --muted: #5f6c7b;
  --link: #1f5f99;
  --rule: #d9e1e8;
  --background: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.58;
}

.page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 48px 0 32px;
}

.site-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.header-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.profile-photo-frame {
  width: 150px;
  height: 190px;
  overflow: hidden;
  border: 1px solid var(--rule);
  flex: 0 0 auto;
}

.profile-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 18%;
  transform: scale(1.14);
  transform-origin: 58% 18%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 2.35rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin-bottom: 14px;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

.position {
  margin-bottom: 2px;
  font-size: 1.08rem;
}

.affiliation {
  margin-bottom: 14px;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

.summary {
  max-width: 680px;
  margin-bottom: 0;
}

.publications {
  margin: 0 0 4px 21px;
  padding: 0;
}

.publications li {
  margin-bottom: 9px;
  padding-left: 3px;
}

.paper-title {
  display: block;
}

.paper-meta {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.compact-list {
  margin: 0 0 4px 20px;
  padding: 0;
}

.compact-list li {
  margin-bottom: 5px;
}

.site-footer {
  margin-top: 38px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 760px);
    padding-top: 30px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    margin-top: 28px;
  }

  .links {
    gap: 4px 12px;
  }

  .header-content {
    display: block;
  }

  .profile-photo-frame {
    width: 128px;
    height: 162px;
    margin-top: 14px;
  }
}
