.kanit-light {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}

.kanit-regular {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

.kanit-medium {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
}

@font-face {
    font-family: 'latobold';
    src: url('../fonts/lato-bold-webfont.woff2') format('woff2'),
         url('../fonts/lato-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latobold_italic';
    src: url('../fonts/lato-bolditalic-webfont.woff2') format('woff2'),
         url('../fonts/lato-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latolight';
    src: url('../fonts/lato-light-webfont.woff2') format('woff2'),
         url('../fonts/lato-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latolight_italic';
    src: url('../fonts/lato-lightitalic-webfont.woff2') format('woff2'),
         url('../fonts/lato-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latoregular';
    src: url('../fonts/lato-regular-webfont.woff2') format('woff2'),
         url('../fonts/lato-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoregular';
    src: url('../fonts/Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomedium';
    src: url('../fonts/Roboto-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotobold';
    src: url('../fonts/Roboto-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotocondensedmedium';
    src: url('../fonts/RobotoCondensed-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotocondensedregular';
    src: url('../fonts/RobotoCondensed-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotolight';
    src: url('../fonts/Roboto-Light.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotothin';
    src: url('../fonts/Roboto-Thin.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoblack';
    src: url('../fonts/Roboto-Black.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomediumitalic';
    src: url('../fonts/Roboto-MediumItalic.ttf');
    font-weight: normal;
    font-style: normal;
}

.roboto-regular {
    font-family: 'robotoregular', sans-serif;
}

.roboto-medium {
    font-family: 'robotomedium', sans-serif;
}

.roboto-bold {
    font-family: 'robotobold', sans-serif;
}
.roboto-condensed-regular {
    font-family: 'robotocondensedregular';
}
.roboto-condensed-medium{
    font-family: 'robotocondensedmedium';
}

.roboto-light {
    font-family: 'robotolight', sans-serif;
} 

.roboto-thin {
    font-family: 'robotothin', sans-serif;
}

.roboto-black {
    font-family: 'robotoblack', sans-serif;
}

.roboto-medium-italic {
    font-family: 'robotomediumitalic', sans-serif;
}

.lato-bold {
    font-family: 'latobold', sans-serif;
}

.lato-bold-italic {
    font-family: 'latobold_italic', sans-serif;
}

.lato-light {
    font-family: 'latolight', sans-serif;
}

.lato-ligh-italic {
    font-family: 'latolight_italic', sans-serif;
}

.lato-regular {
    font-family: 'latoregular', sans-serif;
}

/* ==========================================
   GLOBAL OVERRIDES (Poppins & Nunito Sans)
   ========================================== */

/* Default body & html */
body, html {
    font-family: 'Nunito Sans', sans-serif !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
}

/* Map existing classes to Poppins (Heading) */
.roboto-condensed-regular,
.roboto-condensed-medium,
.roboto-medium,
.roboto-bold,
.roboto-black,
.lato-bold,
.lato-bold-italic,
.kanit-medium,
.kanit-regular {
    font-family: 'Poppins', sans-serif !important;
}

/* Map existing classes to Nunito Sans (Body) */
.roboto-regular,
.roboto-light,
.roboto-thin,
.roboto-medium-italic,
.lato-light,
.lato-ligh-italic,
.lato-regular,
.kanit-light {
    font-family: 'Nunito Sans', sans-serif !important;
}

/* Preserve Font Weights */
.roboto-light, .lato-light, .kanit-light, .roboto-thin {
    font-weight: 300 !important;
}
.roboto-regular, .lato-regular, .kanit-regular {
    font-weight: 400 !important;
}
.roboto-medium, .kanit-medium, .roboto-condensed-medium {
    font-weight: 500 !important;
}
.roboto-bold, .lato-bold, .lato-bold-italic {
    font-weight: 700 !important;
}
.roboto-black {
    font-weight: 900 !important;
}

/* Optimized Justify Styles */
.text-justify {
    text-align: justify !important;
    text-justify: inter-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}