/* Set the baseline from the uppercase slide copy at the hero's .94 line-height. */
@font-face {
  font-family: "Hero Junicode";
  src: url("../../../../assets/fonts/junicode.woff2") format("woff2");
  font-weight: 300 700;
  ascent-override: 80.5%;
  descent-override: 13.5%;
  line-gap-override: 0%;
  font-display: swap;
}

@font-face {
  font-family: "Hero STIX Two Text";
  src: url("../home-current/selected-serif-fonts/stix-two-text.woff2") format("woff2");
  font-weight: 400 700;
  ascent-override: 79.5%;
  descent-override: 14.5%;
  line-gap-override: 0%;
  font-display: swap;
}

html[data-selected-serif="en"] { --hero-slide-serif: "Hero Junicode"; }
html[data-selected-serif="el"] { --hero-slide-serif: "Hero STIX Two Text"; }

html:not([data-centered-hero]) #homepage-hero .reference-split-title {
  --selected-serif-family: var(--hero-slide-serif);
}

html:not([data-centered-hero]) .ribbon #ribbon-heading {
  font-family: var(--hero-slide-serif), Georgia, serif;
}
