.paper-page {
  padding-top: clamp(3rem, 7vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.papers-heading,
.papers-toolbar,
#publication-filters,
.paper-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.papers-heading {
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.papers-heading h1 {
  margin: 0;
  font-size: clamp(3.15rem, 8vw, 7.5rem);
  line-height: 1;
  letter-spacing: -.07em;
  font-weight: 400;
}

.papers-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}

.papers-profiles a,
.paper-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

.papers-toolbar {
  justify-content: space-between;
  gap: .85rem 1.5rem;
  margin-bottom: 1.25rem;
}

#publication-filters {
  gap: .4rem;
}

#publication-filters[hidden],
.paper-list [hidden] {
  display: none;
}

#publication-filters button {
  border: 1px solid #8b8b85;
  border-radius: 3rem;
  padding: .53rem .95rem;
  min-height: 2.75rem;
  color: inherit;
  font: inherit;
  font-size: .95rem;
  background: transparent;
  cursor: pointer;
}

#publication-filters button:hover,
#publication-filters button[aria-pressed="true"] {
  border-color: #333331;
  color: #fff;
  background: #333331;
}

#paper-count {
  margin: 0;
  color: #555550;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

.paper-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid #90908a;
}

.paper-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 4fr);
  gap: 1.5rem;
  padding-block: clamp(1.65rem, 3.4vw, 3.25rem);
  border-top: 1px solid #90908a;
}

.paper-label {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: .3rem;
}

.paper-label time {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.paper-label span,
.paper-links {
  font-size: .9rem;
}

.paper-label span,
.paper-authors,
.paper-venue {
  color: #50504d;
}

.paper-details {
  max-width: 61rem;
}

.paper-details h2 {
  font-size: clamp(1.45rem, 2.15vw, 2.3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.038em;
  margin: 0 0 .8rem;
}

.paper-details h2 a {
  color: inherit;
  text-decoration: none;
}

.paper-details h2 a:hover {
  text-decoration: underline;
  text-underline-offset: .12em;
  text-decoration-thickness: .06em;
}

.paper-authors,
.paper-venue,
.paper-note {
  margin: .3rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.paper-authors strong {
  color: #333331;
  font-weight: 650;
}

.paper-venue cite {
  font-style: italic;
}

.paper-note {
  max-width: 59ch;
  margin-block: .75rem;
}

.paper-original-title {
  margin: 0 0 .75rem;
  font-size: 1rem;
  line-height: 1.55;
}

.paper-links {
  gap: .35rem 1.25rem;
  margin-top: .85rem;
  line-height: 1.5;
}

.paper-links a {
  overflow-wrap: anywhere;
}

@media (max-width: 42rem) {
  .paper-row {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .paper-label {
    flex-direction: row;
    align-items: baseline;
    gap: .75rem;
  }

  .paper-label time {
    font-size: 1rem;
  }
}
