/* One reading rhythm for the article and embedded narrative paragraphs.
   Captions, control labels and diagram annotations keep their own type scale. */
@font-face {
  font-family: Montserrat;
  src: url("../brand/montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --prose-face: Montserrat, system-ui, sans-serif;
  --prose-size: 1.125rem;
  --prose-leading: 1.75;
  --prose-color: var(--ink, currentColor);
  --prose-measure: 60rem;
  --prose-gap: 1em;
}

.mw-prose-group,
#moraworld-article .mw-prose-group {
  box-sizing: border-box;
  width: 100%;
  max-inline-size: var(--prose-measure);
  margin-inline: auto;
}

p.mw-prose,
#moraworld-article p.mw-prose {
  box-sizing: border-box;
  max-inline-size: var(--prose-measure);
  margin-block: var(--prose-gap) 0;
  margin-inline: 0;
  color: var(--prose-color);
  font: 400 var(--prose-size)/var(--prose-leading) var(--prose-face);
  letter-spacing: normal;
  word-spacing: normal;
  text-align: justify;
  text-align-last: start;
  text-wrap: pretty;
  hyphens: auto;
  overflow-wrap: break-word;
}

.prose > p.mw-prose:first-child,
.mw-prose-group > p.mw-prose:first-child,
.pipeline-notes p.mw-prose,
#moraworld-article .mw-overview-intro > p.mw-prose {
  margin-block-start: 0;
}
