/* Jost Font Faces */
@font-face {
  font-family: 'Jost';
  src: url('/assets/shared/fonts/jost/Jost-300-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/assets/shared/fonts/jost/Jost-400-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/assets/shared/fonts/jost/Jost-500-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/assets/shared/fonts/jost/Jost-600-Semi.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/assets/shared/fonts/jost/Jost-700-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('/assets/shared/fonts/jost/Jost-800-Heavy.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Global Font Override untuk Menggantikan Font Bawaan Bethany & Lovering */
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
p, li, label, small, strong, b, td, th {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

div:not([class*="ti-"]):not([class*="fa-"]),
span:not([class*="ti-"]):not([class*="fa-"]),
a:not([class*="ti-"]):not([class*="fa-"]) {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Pastikan Font Icon Themify dan Font Awesome Memiliki Priority dan Font-Family Aslinya */
[class^="ti-"]:before, [class*=" ti-"]:before,
i[class*="ti-"]:before, span[class*="ti-"]:before, a[class*="ti-"]:before {
  font-family: 'themify' !important;
}

[class^="fa-"]:before, [class*=" fa-"]:before,
.fas:before, .far:before, .fal:before, .fab:before, .fa:before,
i[class*="fa-"]:before, span[class*="fa-"]:before, a[class*="fa-"]:before {
  font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free', 'Font Awesome 5 Brands' !important;
}

