/* York Spectrum typography: Joomla template style options select allowlisted fonts.
   System fonts are always available and Google Fonts uses font-display:swap. */
body.ys-site {
  --ys-font-body: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ys-font-heading: var(--ys-font-body);
  font-family: var(--ys-font-body);
}

body.ys-site.ys-font-body-inter { --ys-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-heading-inter { --ys-font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-body-dm-sans { --ys-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-heading-dm-sans { --ys-font-heading: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-body-source-sans-3 { --ys-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-heading-source-sans-3 { --ys-font-heading: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-body-open-sans { --ys-font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-heading-open-sans { --ys-font-heading: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-body-nunito-sans { --ys-font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-heading-nunito-sans { --ys-font-heading: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.ys-site.ys-font-body-lora { --ys-font-body: "Lora", Georgia, "Times New Roman", serif; }
body.ys-site.ys-font-heading-lora { --ys-font-heading: "Lora", Georgia, "Times New Roman", serif; }
body.ys-site.ys-font-body-merriweather { --ys-font-body: "Merriweather", Georgia, "Times New Roman", serif; }
body.ys-site.ys-font-heading-merriweather { --ys-font-heading: "Merriweather", Georgia, "Times New Roman", serif; }
body.ys-site.ys-font-body-playfair-display { --ys-font-body: "Playfair Display", Georgia, "Times New Roman", serif; }
body.ys-site.ys-font-heading-playfair-display { --ys-font-heading: "Playfair Display", Georgia, "Times New Roman", serif; }
body.ys-site :is(h1, h2, h3, h4, h5, h6),
body.ys-site .ys-wordmark {
  font-family: var(--ys-font-heading);
}
