:root {
  --background: #ffffff;
  --text: #1f2933;
  --muted: #5f6b7a;
  --border: #d9e2ec;
  --link: #224b8d;
  --link-hover: #0f2f64;
  --soft: #f6f8fb;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

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

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

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

.page {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.profile {
  position: sticky;
  top: 32px;
  align-self: start;
  text-align: center;
}

.avatar {
  display: block;
  width: 91px;
  height: 110px;
  margin: 0 auto 20px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.profile h1 {
  margin: 0 0 20px;
  color: #043361;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.profile p {
  margin: 5px 0;
  color: var(--muted);
}

.profile .position {
  color: var(--text);
  font-size: 1.05rem;
}

.content {
  min-width: 0;
  padding-top: 2px;
}

.section {
  margin-bottom: 34px;
}

.section h2 {
  margin: 0 0 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0;
}

.section p {
  margin: 0 0 12px;
}

.pub-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.news-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 9px;
}

.news-list strong {
  white-space: nowrap;
}

.publication {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.publication:first-of-type {
  padding-top: 2px;
}

.publication:last-child {
  border-bottom: 0;
}

.publication h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: 0;
}

.authors,
.venue {
  color: var(--muted);
  font-size: 0.96rem;
}

.authors strong {
  color: var(--text);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--soft);
  color: var(--link);
  font-size: 0.86rem;
  line-height: 1;
}

.links a:hover,
.links a:focus {
  border-color: var(--link);
  text-decoration: none;
}

@media (max-width: 760px) {
  .page {
    display: block;
    width: min(100% - 32px, 680px);
    padding: 28px 0 44px;
  }

  .profile {
    position: static;
    margin-bottom: 34px;
  }

  .avatar {
    width: 80px;
    height: 97px;
  }

  .section h2 {
    font-size: 1.32rem;
  }

  .news-list li {
    display: block;
  }

  .news-list strong {
    display: block;
  }
}
