/* ===========================================
   DM Sans Font Family - Local Files
   =========================================== */

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Apply DM Sans globally with !important to override inline styles */
html, body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
    font-style: normal !important;
}

/* Force normal font style on all elements to prevent unintended italic */
* {
    font-style: inherit;
}

/* Override any accidental italic inheritance */
body * {
    font-style: normal;
}

/* Only allow italic when explicitly requested */
.italic, em, i:not([class*="fa-"]) {
    font-style: italic;
}
