/* =======================================================
   Devora - Local Typography Definition (Thmanyah Typeface)
   Strictly Local - Zero External Font CDNs
   ======================================================= */

/* Thmanyah Sans - Primary UI & Body Font */
@font-face {
    font-family: 'ThmanyahSans';
    src: url('../fonts/thmanyahsans/woff2/thmanyahsans-Light.woff2') format('woff2'),
         url('../fonts/thmanyahsans/otf/thmanyahsans-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSans';
    src: url('../fonts/thmanyahsans/woff2/thmanyahsans-Regular.woff2') format('woff2'),
         url('../fonts/thmanyahsans/otf/thmanyahsans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSans';
    src: url('../fonts/thmanyahsans/woff2/thmanyahsans-Medium.woff2') format('woff2'),
         url('../fonts/thmanyahsans/otf/thmanyahsans-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSans';
    src: url('../fonts/thmanyahsans/woff2/thmanyahsans-Bold.woff2') format('woff2'),
         url('../fonts/thmanyahsans/otf/thmanyahsans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSans';
    src: url('../fonts/thmanyahsans/woff2/thmanyahsans-Black.woff2') format('woff2'),
         url('../fonts/thmanyahsans/otf/thmanyahsans-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Thmanyah Serif Display - Headings & Brand Accents */
@font-face {
    font-family: 'ThmanyahSerifDisplay';
    src: url('../fonts/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Light.woff2') format('woff2'),
         url('../fonts/thmanyahserifdisplay/otf/thmanyahserifdisplay-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSerifDisplay';
    src: url('../fonts/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Regular.woff2') format('woff2'),
         url('../fonts/thmanyahserifdisplay/otf/thmanyahserifdisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSerifDisplay';
    src: url('../fonts/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Medium.woff2') format('woff2'),
         url('../fonts/thmanyahserifdisplay/otf/thmanyahserifdisplay-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSerifDisplay';
    src: url('../fonts/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Bold.woff2') format('woff2'),
         url('../fonts/thmanyahserifdisplay/otf/thmanyahserifdisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSerifDisplay';
    src: url('../fonts/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Black.woff2') format('woff2'),
         url('../fonts/thmanyahserifdisplay/otf/thmanyahserifdisplay-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Thmanyah Serif Text - Long Editorial Text */
@font-face {
    font-family: 'ThmanyahSerifText';
    src: url('../fonts/thmanyahseriftext/woff2/thmanyahseriftext-Regular.woff2') format('woff2'),
         url('../fonts/thmanyahseriftext/otf/thmanyahseriftext-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSerifText';
    src: url('../fonts/thmanyahseriftext/woff2/thmanyahseriftext-Medium.woff2') format('woff2'),
         url('../fonts/thmanyahseriftext/otf/thmanyahseriftext-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ThmanyahSerifText';
    src: url('../fonts/thmanyahseriftext/woff2/thmanyahseriftext-Bold.woff2') format('woff2'),
         url('../fonts/thmanyahseriftext/otf/thmanyahseriftext-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global Font Enforcement */
:root {
    --font-primary: 'ThmanyahSans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'ThmanyahSerifDisplay', 'ThmanyahSans', serif;
    --font-editorial: 'ThmanyahSerifText', 'ThmanyahSans', serif;
}

body, html, button, input, select, textarea, table, th, td, h1, h2, h3, h4, h5, h6, .badge, .toast, .modal, .tooltip {
    font-family: var(--font-primary) !important;
}

h1, h2, .display-font {
    font-family: var(--font-display) !important;
}

.editorial-text {
    font-family: var(--font-editorial) !important;
}
