/* ==========================================================================
   READEX PRO LOCAL FONT DEFINITIONS (ENMA.SA MATCH)
   ========================================================================== */

@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('ReadexPro-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('ReadexPro-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('ReadexPro-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('ReadexPro-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('ReadexPro-Bold.woff2') format('woff2');
}

/* Alias ReadexPro for 100% compatibility */
@font-face {
  font-family: 'ReadexPro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('ReadexPro-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'ReadexPro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('ReadexPro-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'ReadexPro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('ReadexPro-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'ReadexPro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('ReadexPro-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'ReadexPro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('ReadexPro-Bold.woff2') format('woff2');
}

/* Enforce Readex Pro across all UI elements */
:root {
  --font-primary: 'Readex Pro', 'ReadexPro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-arabic: 'Readex Pro', 'ReadexPro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body, html, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, li, label, section, article, main, header, footer, nav, td, th {
  font-family: 'Readex Pro', 'ReadexPro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
