@font-face {
  font-family: "feijoa-display";
  src: url("../fonts/feijoa-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "feijoa-display";
  src: url("../fonts/feijoa-display.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "feijoa-display";
  src: url("../fonts/feijoa-display.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Set Feijoa as the serif for all headlines that use the token */
:root {
  --font-serif: "feijoa-display", serif;
}

/* Enable optical spacing/kerning for Feijoa display headlines */
.ws-hero h1,
.ws-inline-title,
.ws-inline-title a,
.pattern-title,
.pattern-row h2,
.home-grid-title,
.article-title,
.wp-block-post-title,
.entry-content h2,
.entry-content h3,
.ws-page-header h1,
.ws-post-title,
.ws-more-places-title,
.ws-title-scale {
  /* Preserve ligatures/kerning; apply minimal tracking only if needed */
  letter-spacing: -0.01em !important;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "clig" 1, "calt" 1;
  font-variant-ligatures: common-ligatures contextual;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

/* Extra assurance for key headline selectors used in Wanders + Patterns */
.ws-hero h1,
.ws-inline-title,
.ws-inline-title a,
.pattern-title,
.pattern-row h2,
.home-grid-title,
.article-title,
.wp-block-post-title {
  font-family: var(--font-serif);
}


