/**
 * Local font definitions for Rubik and Dosis.
 * Files already exist in theme /fonts/ directory (woff2, latin subset).
 *
 * This file replaces the blocking Google Fonts request in header.php,
 * providing ~200-400ms improvement in FCP (First Contentful Paint)
 * by eliminating:
 *   1. DNS lookup to fonts.googleapis.com
 *   2. TLS handshake to fonts.googleapis.com
 *   3. CSS file download (blocking)
 *   4. DNS lookup to fonts.gstatic.com
 *   5. TLS handshake to fonts.gstatic.com
 *   6. woff2 files download
 *
 * After this change: browser loads local woff2 directly from theme directory
 * (same origin, already-open connection, no DNS/TLS overhead).
 *
 * font-display: swap keeps text visible during font load, preventing FOIT.
 *
 * @package kidzly
 * @since   1.1.184
 */

/* ==========================================================================
   Rubik — latin subset
   ========================================================================== */

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/rubik-v28-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/rubik-v28-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/rubik-v28-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/rubik-v28-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/rubik-v28-latin-900.woff2') format('woff2');
}

/* ==========================================================================
   Dosis — latin subset
   ========================================================================== */

@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dosis-v27-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dosis-v27-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dosis-v27-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dosis-v27-latin-700.woff2') format('woff2');
}
