/* MolMed owns the type scale; other journals keep their shared theme. */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../assets/fonts/ibm-plex-sans/ibm-plex-sans-roman.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../assets/fonts/ibm-plex-sans/ibm-plex-sans-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
}

body.mm-presentation {
  --rv-font-interface: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --rv-font-heading: var(--rv-font-interface);
  --rv-font-ui: var(--rv-font-interface);
  font-family: var(--rv-font-interface);
  font-weight: 400;
}

/* Some older components in the shared theme set their own font shorthand. */
.mm-presentation :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea,
  .journal-mark, .journal-mark small, .compact-mark, .eyebrow, .utility-title,
  .references summary, .identity-current a, .hero-metrics strong, .issue-tile strong,
  .type-cover > strong, .cover-number, .directory-item, .language-links .language-marker) {
  font-family: var(--rv-font-interface);
}
.mm-presentation .identity-copy h1, .mm-presentation .rv-internal-hero h1 {
  font-weight: 700;
}
