/* Paper pages: the home page's typography, with full-width figures. */
.paper-page .section {
  max-width: 48.5rem;
  margin-left: auto;
  margin-right: auto;
}

.paper-page .profile-header {
  gap: 0.9rem;
}

.paper-title {
  max-width: 40rem;
  line-height: 1.25;
  text-wrap: balance;
}

.paper-authors {
  font-size: 1.1rem;
  line-height: 1.55;
}

.paper-affiliations {
  font-size: 0.95rem;
  line-height: 1.55;
}

.paper-authors sup,
.paper-affiliations sup {
  font-size: 0.7em;
  line-height: 0;
}

.paper-venue {
  max-width: 40rem;
  line-height: 1.55;
}

.paper-page .social-links {
  margin-top: 0.35rem;
}

.paper-figure {
  margin: 0 0 2.75rem;
}

.paper-figure:last-child {
  margin-bottom: 0;
}

.paper-figure .pub-figure {
  aspect-ratio: auto;
  overflow: visible;
}

.paper-figure .pub-figure img {
  height: auto;
}

.paper-figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
  hyphens: auto;
}

.paper-figure figcaption sub,
.paper-figure figcaption sup,
.bio-content sub,
.bio-content sup {
  font-size: 0.72em;
  line-height: 0;
}

.paper-authors a {
  white-space: nowrap;
}

/* Brand icons before the header links, at emoji size. */
.paper-page .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.link-icon {
  flex: none;
  width: auto;
  height: 1.25em;
}

/* Institution logos in place of affiliation names. */
.paper-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 2.25rem;
  margin: 0.4rem 0 0.3rem;
  list-style: none;
}

.paper-logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.3em;
  font-size: 0.95rem;
}

.paper-logo sup {
  font-size: 0.7em;
  line-height: 1;
}

.paper-logo img {
  display: block;
  width: auto;
  height: var(--logo-height, 2.25rem);
}
