/*
 * TRY-OUT: body text in Inter Variable (free, SIL Open Font License) with the single-storey "a" (cv11), in the style of
 * plasma.org. Replaces the Aeonik trial font for all text; headings keep their own font (heading-font.css).
 * To go back, remove "homes_abroad/body-font" from homes_abroad.info.yml.
 */
@font-face {
  font-family: "Inter";
  src: url("../../fonts/inter/InterVariable-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root { --ha-body-tracking: -0.02em; }

html body {
  font-feature-settings: "cv11";
  letter-spacing: var(--ha-body-tracking);
}

html body,
html body *:not(#toolbar-administration *),
html body .ts-wrapper .ts-control,
html body .ts-dropdown {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

/* A word inside a heading keeps the heading font (heading-font.css). */
html body :is(h1, h2, h3, h4, h5, h6) *:not(#toolbar-administration *) {
  font-family: inherit !important;
}
