/* KalbeHelix Font Family */
/* Variable Font */
@font-face {
    font-family: 'KalbeHelix';
    src: url('../font/KalbeHelix/wght.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* Static Font Faces */
@font-face {
    font-family: 'KalbeHelix';
    src: url('../font/KalbeHelix/ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

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

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

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

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

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

@font-face {
    font-family: 'KalbeHelix';
    src: url('../font/KalbeHelix/ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Apply KalbeHelix font to all elements */
html,
body {
    font-family: 'KalbeHelix', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Apply font to common text elements */
p, span, div, h1, h2, h3, h4, h5, h6, a, label, input, textarea, select, button, td, th, li, dt, dd, blockquote, pre, code, small, strong, em, b, u, i:not([data-feather]):not([class*="icon"]):not([class*="fa"]):not([class*="bi"]):not([class*="ficon"]), table, form, section, article, aside, header, footer, nav, main {
    font-family: 'KalbeHelix', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Exclude pseudo-elements from font override - they use SVG backgrounds for icons */
*::before,
*::after {
    font-family: inherit !important;
}

/* Preserve icon fonts - exclude icon-related elements from font override */
svg,
[data-feather],
[class*="feather"],
.feather,
[class*="bi-"],
[class*="ficon"],
i[data-feather],
i[class*="icon"]:not([class*="fa"]),
i[class*="bi"],
i[class*="ficon"],
i[class*="feather"] {
    font-family: inherit !important;
}

/* Font Awesome icons - must use their default font-family, not inherit */
/* Font Awesome solid icons (fas) - font-weight: 900 */
.fas,
i[class*="fa"].fas,
[class*="fa-"].fas {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

/* Font Awesome regular icons (far) - font-weight: 400 */
.far,
i[class*="fa"].far,
[class*="fa-"].far {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 400 !important;
}

/* Font Awesome brand icons (fab) - font-weight: 400, different font-family */
.fab,
i[class*="fa"].fab,
[class*="fa-"].fab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

/* Default Font Awesome icons (fa class only, no fas/far/fab) - font-weight: 900 */
.fa:not(.fas):not(.far):not(.fab):not(.fal):not(.fad),
i.fa:not(.fas):not(.far):not(.fab):not(.fal):not(.fad),
[class*="fa-"]:not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fas"]):not([class*="far"]):not([class*="fab"]) {
    font-family: 'Font Awesome 5 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
}

/* All elements with fa- class (legacy support) */
i[class*="fa-"]:not(.fas):not(.far):not(.fab):not(.fal):not(.fad) {
    font-family: 'Font Awesome 5 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
}

/* Preserve menu indicator icons and other icon fonts */
.navigation li.has-sub > a::after,
.navigation li.has-sub > a::before,
.menu-item [class*="icon"],
.menu-item [class*="chevron"],
.has-sub [class*="icon"],
.has-sub [class*="chevron"],
.navigation [class*="icon"],
.navigation [class*="chevron"] {
    font-family: inherit !important;
}

