/* Applies the tuning custom properties of the selected heading font (set inline in <head> from the Panel setting).
   Unlayered on purpose: it must win over component rules that set font-weight/line-height on headings. */
:where(h1, h2, h3, h4, .heading-xl, .heading-l, .heading-m, .heading-s, .person-card__name, .block-quote__text, .block-cta__text, .mobile-menu__heading, .video-card__title, .date-row__name) {
  font-variation-settings: var(--heading-variation, normal);
  letter-spacing: var(--heading-letter-spacing, normal);
}

/* Group headings are regular weight in every preset: the tuned axes (weight, softness) do not apply, letter spacing does. */
.group-heading {
  font-variation-settings: normal;
}
