#main.paper-shell {
  margin: 1.75rem auto 4rem;
  max-width: 1120px;
  padding: 0 1rem;
}

.paper-document {
  --paper-measure: 78ch;
  --paper-wide-measure: 86ch;
  background: #fffef9;
  border: 1px solid #ddd5c6;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 14px 34px rgba(35, 32, 26, 0.08);
  margin: 0 auto;
  padding: clamp(1.4rem, 2.2vw, 2.4rem) clamp(1rem, 2.5vw, 2.4rem);
  width: 100%;
}

.paper-header {
  border-bottom: 1px solid #ddd5c6;
  display: grid;
  justify-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.paper-kicker {
  color: #446452;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
  text-align: center;
  text-transform: uppercase;
}

.paper-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
  text-align: center;
}

.paper-byline {
  color: #6b655a;
  display: flex;
  flex-wrap: wrap;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  margin: 0;
}

.paper-abstract h2,
.paper-content h2,
.paper-footer h2 {
  color: #365847;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  margin: 1.1rem 0 0.35rem;
  text-transform: uppercase;
}

.paper-header > *,
.paper-footer > * {
  margin-left: auto;
  margin-right: auto;
  width: min(100%, var(--paper-measure));
  max-width: var(--paper-measure);
}

.paper-content {
  font-family: "Source Serif 4", "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.74;
}

.paper-content > :where(h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, pre) {
  margin-left: auto;
  margin-right: auto;
  width: min(100%, var(--paper-measure));
  max-width: var(--paper-measure);
}

.paper-content > :is(h1, h2, h3, h4, h5, h6):nth-child(-n+3) {
  text-align: center;
}

.paper-content p {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: left;
}

.paper-content > :where(table, figure, .table-wrapper) {
  margin-left: auto;
  margin-right: auto;
  width: min(100%, var(--paper-wide-measure));
  max-width: var(--paper-wide-measure);
}

.paper-content blockquote {
  background: #f8f3e8;
  border-left: 3px solid #446452;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
}

.paper-content table {
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  width: 100%;
}

.paper-content th,
.paper-content td {
  border-bottom: 1px solid #ddd5c6;
  padding: 0.5rem 0.35rem;
  text-align: left;
}

.paper-footer {
  border-top: 1px solid #ddd5c6;
  color: #6b655a;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
}

.masthead__title-inline {
  color: #7a8288;
}

.masthead__title-inline .masthead__title-link,
.masthead__title-inline .masthead__title-link:visited,
.masthead__title-inline .masthead__title-link:hover,
.masthead__title-inline .masthead__title-link:focus,
.masthead__title-inline .masthead__title-separator {
  color: inherit;
}

.masthead__title-inline .masthead__title-link {
  text-decoration: underline;
}

@media (max-width: 760px) {
  #main.paper-shell {
    padding: 0 0.75rem;
  }

  .paper-document {
    padding: 1.25rem 1rem;
  }

  .paper-content {
    font-size: 1rem;
  }

  .paper-content p {
    hyphens: none;
    text-align: left;
  }
}
