/* ===== Divi icon fonts (ETmodules) ===== */
/* Keep icons from flashing wrong glyphs: use 'fallback' (short block, then swap) */
@font-face {
  font-family: 'ETmodules';
  src: url('/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: fallback; /* safer for icon fonts */
}

@font-face {
  font-family: 'ETmodules';
  src: url('/wp-content/themes/Divi/core/admin/fonts/modules/social/modules.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: fallback; /* same family, different file subset */
}

/* ===== Font Awesome (used by Divi) ===== */
/* Brands */
@font-face {
  font-family: 'Font Awesome 5 Brands';
  src: url('/wp-content/themes/Divi/core/admin/fonts/fontawesome/fa-brands-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback; /* icons: prefer fallback */
}

/* Regular (400) */
@font-face {
  font-family: 'Font Awesome 5 Free';
  src: url('/wp-content/themes/Divi/core/admin/fonts/fontawesome/fa-regular-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
}

/* ===== Text font (Roboto example) ===== */
/* For text we prefer instant paint, so use 'swap' */
@font-face {
  font-family: 'Roboto';
  src: url('https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* text should show immediately */
}

/* (Optional) Apply Roboto globally if you actually use it site-wide:
body { font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
*/
