/* League Spartan override and utility classes */
/* Local @font-face declarations (use licensed files in assets/fonts/league-spartan) */
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/league-spartan/LeagueSpartan-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Fallback to Google CDN only if local faces fail */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
  --font-primary: 'League Spartan', sans-serif;
  --font-secondary: 'League Spartan', sans-serif;
}

/* Force primary headings to use League Spartan 900 */
h1, h1[class], .h1, .page-title, .entry-title, .post-title {
  font-family: 'League Spartan', var(--font-primary), sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility classes for explicit weights */
.league-spartan-100{font-family:'League Spartan',sans-serif;font-weight:100;font-style:normal}
.league-spartan-200{font-family:'League Spartan',sans-serif;font-weight:200;font-style:normal}
.league-spartan-300{font-family:'League Spartan',sans-serif;font-weight:300;font-style:normal}
.league-spartan-400{font-family:'League Spartan',sans-serif;font-weight:400;font-style:normal}
.league-spartan-500{font-family:'League Spartan',sans-serif;font-weight:500;font-style:normal}
.league-spartan-600{font-family:'League Spartan',sans-serif;font-weight:600;font-style:normal}
.league-spartan-700{font-family:'League Spartan',sans-serif;font-weight:700;font-style:normal}
.league-spartan-800{font-family:'League Spartan',sans-serif;font-weight:800;font-style:normal}
.league-spartan-900{font-family:'League Spartan',sans-serif;font-weight:900;font-style:normal}

/* Override common headline and title selectors used across the site */
h1,h2,h3,h4,h5,h6,
.widget-title,.menu-title,.welcome-title,.universe-end-text,.custom-hero-font-2,.experience-title,.blog-title,.footer-title,.section-title,.card-title,.heading,.title,.site-title,.page-title,.post-title,.entry-title,.hero-title,.banner-title,.feature-title,.service-title,.project-title,.team-title,.testimonial-title{
  font-family: 'League Spartan', sans-serif !important;
  font-weight: 900 !important;
}

/* Ensure body and content text use League Spartan as well (normal weight) */
body,p,span,li,blockquote,.text,.content,.description,.card-description,.blog-content,.post-content,.page-content,.entry-content{
  font-family: 'League Spartan', sans-serif !important;
  font-weight: 400 !important;
}

/* Final fallback: remove global inheritance rule */
