/* ==========================================================================
   SolaimanLipi High Performance Typography Engine
   Local + Cloud CDN Resilient Dual Fallback
   Safely Preserves FontAwesome & Boxicons Glyphs
   ========================================================================== */

@font-face {
  font-family: 'SolaimanLipi';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/solaimanlipi/solaimanlipi-bold-v1.0.woff2') format('woff2'),
       url('https://fonts.maateen.me/solaiman-lipi/solaimanlipi-bold-v1.0.woff2') format('woff2');
}

@font-face {
  font-family: 'SolaimanLipi';
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/solaimanlipi/solaimanlipi-bold-v1.0.woff2') format('woff2'),
       url('https://fonts.maateen.me/solaiman-lipi/solaimanlipi-bold-v1.0.woff2') format('woff2');
}

@font-face {
  font-family: 'SolaimanLipi';
  font-display: swap;
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/solaimanlipi/solaimanlipi-normal-v1.0.woff2') format('woff2'),
       url('https://fonts.maateen.me/solaiman-lipi/solaimanlipi-normal-v1.0.woff2') format('woff2');
}

@font-face {
  font-family: 'SolaimanLipi';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/solaimanlipi/solaimanlipi-normal-v1.0.woff2') format('woff2'),
       url('https://fonts.maateen.me/solaiman-lipi/solaimanlipi-normal-v1.0.woff2') format('woff2');
}

/* Base text typography without clobbering icon fonts */
body, html, button, input, select, textarea, .nav-link,
h1, h2, h3, h4, h5, h6, p, label, .form-control {
    font-family: 'SolaimanLipi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

span:not([class*="fa"]):not([class*="bx"]):not(.fa):not(.bx),
div:not([class*="fa"]):not([class*="bx"]):not(.fa):not(.bx),
a:not([class*="fa"]):not([class*="bx"]):not(.fa):not(.bx) {
    font-family: 'SolaimanLipi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

span.menu-title {
    font-family: 'SolaimanLipi', Arial, sans-serif !important;
    font-size: 14.5px !important;
    letter-spacing: 0.2px;
}

/* Explicit FontAwesome Icon Protections */
.fa, .fa-solid, .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.fa-regular, .far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.bx, [class^="bx-"], [class*=" bx-"] {
    font-family: 'boxicons' !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Pseudo element font inheritance protection */
.fa::before, .fa-solid::before, .fas::before,
.fa-regular::before, .far::before,
.fa-brands::before, .fab::before,
.bx::before {
    font-family: inherit !important;
}
