/*
 * MaHe LIVE – Self-hosted Fonts
 * Merriweather (400, 700, 900) + Source Sans 3 (400, 600, 700)
 *
 * INSTALLATION:
 * 1. Download fonts from Google Fonts:
 *    - Merriweather: https://fonts.google.com/specimen/Merriweather
 *    - Source Sans 3: https://fonts.google.com/specimen/Source+Sans+3
 * 2. Convert with https://transfonter.org/ (select WOFF2 + WOFF)
 * 3. Place files in: /wp-content/themes/mahe-live-news/assets/fonts/
 * 4. The declarations below will work automatically.
 *
 * Alternatively, use the Google Fonts API (external request):
 * Replace this file with @import url('https://fonts.googleapis.com/css2?...')
 *
 * === MERRIWEATHER ===
 */

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-regular.woff2') format('woff2'),
       url('../fonts/merriweather-regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-italic.woff2') format('woff2'),
       url('../fonts/merriweather-italic.woff')  format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-bold.woff2') format('woff2'),
       url('../fonts/merriweather-bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-black.woff2') format('woff2'),
       url('../fonts/merriweather-black.woff')  format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === SOURCE SANS 3 === */

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/sourcesans3-regular.woff2') format('woff2'),
       url('../fonts/sourcesans3-regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/sourcesans3-semibold.woff2') format('woff2'),
       url('../fonts/sourcesans3-semibold.woff')  format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/sourcesans3-bold.woff2') format('woff2'),
       url('../fonts/sourcesans3-bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
 * FALLBACK: If font files are not yet installed, the theme will
 * fall back to Georgia (serif) and Helvetica/Arial (sans-serif).
 * The design will look correct once the WOFF2 files are uploaded.
 *
 * QUICK START without self-hosting:
 * Add to functions.php enqueue:
 *   wp_enqueue_style('google-fonts',
 *     'https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Source+Sans+3:wght@400;600;700&display=swap',
 *     [], null);
 * Then remove the mahe-fonts enqueue (or keep both).
 */
