:root {
  --text: #171717;
  --muted: #6b6b6b;
  --link: #073b83;
  --max-width: 980px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.wrap {
  width: min(calc(100% - 56px), var(--max-width));
  margin: 0 auto;
  padding: 44px 0 70px;
}

h1 {
  margin: 0 0 34px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 34px;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.intro p {
  margin: 0 0 16px;
}

.section {
  margin-top: 34px;
}

.section h2 {
  margin: 0 0 19px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.section > p {
  margin: 0 0 5px;
}

.paper {
  margin: 0 0 28px;
}

.paper p {
  margin: 0;
}

.paper-title {
  color: var(--link);
  font-size: 17px;
  font-weight: 700;
}

.coauthors {
  margin-top: 2px !important;
  padding-left: 0;
  font-style: italic;
}

.summary {
  margin-top: 3px !important;
  padding-left: 4px;
  color: var(--muted);
}

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

a:hover {
  text-decoration: underline;
}

.tag-link {
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max-width));
    padding-top: 30px;
  }

  h1 {
    margin-bottom: 26px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portrait {
    max-width: 430px;
  }
}
