/* Font families only. Keep sizes, line breaks and spacing intact. */
body.emf-font-content {
  font-family: var(--emf-content-font);
}

body.emf-font-content .emf-cart-preview {
  font-family: var(--emf-content-font);
}

/* Slider copy retains the original Bootstrap body stack. */
body.emf-font-content :is(.slider-container, .homepage-slide) {
  font-family: var(--bs-font-sans-serif, system-ui, sans-serif);
}

body.emf-font-headings :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:where(.slider-container *, .homepage-slide *, .conference-landing *)) {
  font-family: var(--emf-heading-font);
}

/* Match the ordinary article default when either font selector is unchanged. */
.ck.ck-content {
  font-family: var(--emf-content-font, var(--bs-body-font-family, system-ui, sans-serif));
}
.ck.ck-content :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--emf-heading-font, var(--emf-content-font, var(--bs-body-font-family, system-ui, sans-serif)));
}
