/* Nature research article (2021 design). Measured from https://www.nature.com/articles/s41586-021-03819-2.pdf
   (AlphaFold, Nature 596, 583): 210 x 279mm trim, 521.6pt text block at 39.7pt left, two 255pt
   columns with an 11.3pt gutter, 8.5/10.74pt serif body (Harding Text; Tinos here), 65 lines per
   column from a 55.86pt first baseline, 8pt sans folio line at 769pt, 6pt sans affiliations and
   references (Graphik; Arimo here). Nature is not set in TeX, so these are plain PostScript points. */
@page {
  size: 210mm 279mm;
  margin: 47.49pt 33.98pt 44.87pt 39.69pt;
  @bottom-left { font-family: "Arimo", sans-serif; font-size: 8pt; line-height: 10.74pt; vertical-align: top; text-align: left; padding-top: 14.66pt; }
  @bottom-right { font-family: "Arimo", sans-serif; font-size: 8pt; line-height: 10.74pt; vertical-align: top; text-align: right; padding-top: 14.66pt; }
}
/* Page one: the kicker sits above the text area; affiliations run on in 6pt under a full-width
   rule, their last line on the columns' bottom line; the columns shorten to suit. */
@page :first {
  margin-top: 27.78pt;
  @bottom-right { width: 260pt; }
  @bottom-left { width: 521.61pt; font-size: 6pt; line-height: 8.99pt; white-space: normal; padding-top: 7.24pt; background: linear-gradient(#000, #000) 0 5.19pt / 100% 0.36pt no-repeat; }
}
@page notes1:first { margin-bottom: 61.45pt; @bottom-right { padding-top: 31.24pt; } }
@page notes2:first { margin-bottom: 70.44pt; @bottom-right { padding-top: 40.23pt; } }
@page notes3:first { margin-bottom: 79.43pt; @bottom-right { padding-top: 49.22pt; } }
@page notes4:first { margin-bottom: 88.42pt; @bottom-right { padding-top: 58.21pt; } }
@page notes5:first { margin-bottom: 97.41pt; @bottom-right { padding-top: 67.2pt; } }
@page notes6:first { margin-bottom: 106.4pt; @bottom-right { padding-top: 76.19pt; } }

body.t-nature { font-family: "Tinos", "Times New Roman", serif; font-size: 8.5pt; line-height: 10.74pt; }
.t-nature .mb-preload { font-family: "Arimo", sans-serif; }
.t-nature .paper-main { column-count: 2; column-gap: 11.31pt; column-fill: balance; }

/* title page: kicker and title across the full width over rules; then a 166pt column of
   metadata separated by hairlines beside the authors and the standfirst. */
.t-nature .title-block { display: grid; grid-template-columns: 166.32pt 1fr; column-gap: 11.31pt; align-items: start; text-align: left; margin: 0; }
.t-nature .article-type { grid-column: 1 / -1; font-weight: bold; font-size: 14pt; line-height: 14pt; padding-bottom: 2.85pt; border-bottom: 0.36pt solid #000; }
.t-nature .title { grid-column: 1 / -1; font-size: 26pt; line-height: 27.97pt; margin: 1.9pt 0 0; padding-bottom: 38.28pt; border-bottom: 0.36pt solid #000; letter-spacing: -0.01em; }
.t-nature .meta { grid-column: 1; margin-top: 2.64pt; font-family: "Arimo", sans-serif; font-size: 8pt; line-height: 10.74pt; }
.t-nature .meta-item { padding: 3.13pt 0 1.86pt; border-bottom: 0.36pt solid #000; }
.t-nature .meta-item:first-child { padding-top: 0; }
.t-nature .lead-col { grid-column: 2; margin-top: 2.64pt; }
.t-nature .authors { font-family: "Arimo", sans-serif; font-weight: bold; font-size: 8pt; line-height: 10.74pt; padding-bottom: 28.75pt; border-bottom: 0.36pt solid #000; }
.t-nature .standfirst { margin-top: 1.97pt; font-size: 9pt; line-height: 12.98pt; text-align: left; hyphens: manual; }
.t-nature .standfirst p { margin: 0; text-indent: 0; }
.t-nature .paper-head { border-bottom: 0.36pt solid #000; padding-bottom: 18.08pt; margin-bottom: 2.17pt; }

/* body: 1em indent; headings in bold serif, 9.5pt for sections and 8.5pt for Methods-style
   subheads; no numbers. */
.t-nature .paper-main p { text-indent: 8.5pt; }
.t-nature .paper-main h2 { font-size: 9.5pt; line-height: 10.74pt; margin: 19.47pt 0 1.99pt; }
.t-nature .paper-main > h2:first-child { margin-top: 0; }
.t-nature .paper-main h3 { font-size: 8.5pt; line-height: 10.74pt; margin: 9.74pt 0 0.99pt; }
.t-nature .paper-main h2 + h3 { margin-top: 1.99pt; }
.t-nature .paper-main h4 { font-size: 8.5pt; line-height: 10.74pt; font-style: italic; margin: 9.74pt 0 0.99pt; }
.t-nature .runin { font-weight: bold; }
.t-nature .cite-sup { font-size: 0.68em; line-height: 0; }

/* figures: 7pt legends on 10pt lines, "Fig. 1 |" bold. */
.t-nature figure { margin: 10.74pt 0; }
.t-nature figcaption { font-size: 7pt; line-height: 9.99pt; display: block; text-align: left; margin-top: 6pt; }
.t-nature figure.table figcaption { margin: 0 0 4pt; }
.t-nature figcaption .cap-label { font-weight: bold; }
.t-nature figure.table table { font-family: "Arimo", sans-serif; font-size: 7pt; line-height: 9pt; }

/* back matter: references and acknowledgements in 6/8pt sans; numbers flush left, text at 14pt. */
.t-nature .references h2 { font-size: 9.5pt; line-height: 10.74pt; margin: 19.47pt 0 1.99pt; }
.t-nature .references { font-family: "Arimo", sans-serif; font-size: 6pt; line-height: 8pt; text-align: left; }
.t-nature .references.numbered ol { display: grid; grid-template-columns: 14.17pt 1fr; }
.t-nature .references.numbered li { display: contents; }
.t-nature .references.numbered .ref-label { min-width: 0; text-align: left; }
.t-nature .acknowledgments { margin-top: 10.74pt; font-family: "Arimo", sans-serif; font-size: 6pt; line-height: 8pt; }
.t-nature .acknowledgments h2, .t-nature .acknowledgments h2 + p { display: inline; }
.t-nature .acknowledgments h2 { font-size: 6pt; line-height: 8pt; margin: 0 0.4em 0 0; }
.t-nature .acknowledgments p { text-indent: 0; }
.t-nature .endnotes { font-family: "Arimo", sans-serif; font-size: 6pt; line-height: 8pt; }
