/*
 * Self-hosted Poppins for PsyWellCare frontend widgets.
 *
 * The widget stylesheets set font-family:'Poppins' but previously relied on the
 * active theme loading the webfont from Google Fonts. With font-display:swap
 * that meant visitors whose browser was slow/blocked reaching fonts.gstatic.com
 * kept seeing the system fallback (Segoe UI etc.) instead of Poppins. Serving
 * the font from our own origin removes that dependency: same-origin woff2, no
 * third-party round-trip, consistent render for every visitor.
 *
 * IMPORTANT: the face is registered under the UNIQUE family name 'Poppins PW',
 * not 'Poppins'. The active theme also declares @font-face for 'Poppins' from
 * Google Fonts; when two faces share a family+weight the last-declared rule
 * wins the cascade, so a plain 'Poppins' face here got shadowed by the theme's
 * gstatic rule and our local woff2 was never fetched. A unique family cannot be
 * shadowed -- the widgets lead their font stack with 'Poppins PW' so this
 * same-origin face always wins, then fall back to 'Poppins' then the system UI.
 *
 * Weights bundled: 400 / 500 / 600 / 700 / 800 (the set the widgets use).
 * Subsets: latin + latin-ext. unicode-range keeps latin-ext lazy-loaded.
 * Source: Google Fonts (Poppins v24), latin & latin-ext woff2.
 *
 * Also self-hosts the site's heading face, Optima, as 'Optima PW' — the
 * Elementor kit sets Primary/Secondary typography to Optima, so widget
 * headings use this face to match the site. Single Medium (400) TTF copied
 * from the theme's own upload; heavier weights are synthesized by the
 * browser, exactly as the theme's 'Optima' face behaves.
 */

/* Optima Medium — heading face, matches the site's Elementor Primary typography */
@font-face {
  font-family: 'Optima PW';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/optima-medium.ttf) format('truetype');
}

/* poppins-400 - latin-ext */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/poppins-400-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins-400 - latin */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/poppins-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-500 - latin-ext */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/poppins-500-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/poppins-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-600 - latin-ext */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/poppins-600-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins-600 - latin */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-700 - latin-ext */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/poppins-700-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins-700 - latin */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* poppins-800 - latin-ext */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/poppins-800-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* poppins-800 - latin */
@font-face {
  font-family: 'Poppins PW';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/poppins-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
