/* Readex Pro Font Declarations - Main CSS */

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/Readex_Pro/static/ReadexPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/Readex_Pro/static/ReadexPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/Readex_Pro/static/ReadexPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/Readex_Pro/static/ReadexPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/Readex_Pro/static/ReadexPro-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('../fonts/Readex_Pro/static/ReadexPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Readex Pro Variable';
    src: url('../fonts/Readex_Pro/ReadexPro-VariableFont_HEXP,wght.ttf') format('truetype-variations');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

/* Override existing font families to use Readex Pro */
* {
    font-family: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Override specific font classes */
.font-body {
    font-family: 'Readex Pro' !important;
}

.font-display {
    font-family: 'Readex Pro' !important;
}

/* Override CSS variables */
:root {
    --body: 'Readex Pro', sans-serif !important;
    --heading: 'Readex Pro', sans-serif !important;
}

/* Override body and common elements */
body {
    font-family: 'Readex Pro', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Readex Pro', sans-serif !important;
}

p, span, div, a, button, input, textarea, label {
    font-family: 'Readex Pro', sans-serif !important;
}

/* Override cursor font */
.c-cursor__inner {
    font-family: 'Readex Pro' !important;
}

/* Override any remaining font references */
[class*="font-"] {
    font-family: 'Readex Pro', sans-serif !important;
}