/* Font fix for cumparlegume.com - fruitsauvage.co style */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@300;400;600;700&display=swap');

/* Primary font stacking - Lato for body */
body, 
p, 
span, 
div, 
a, 
label, 
input, 
select, 
textarea, 
button {
  font-family: 'Lato', sans-serif !important;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Poppins for headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
}

/* Ensure consistent rendering across all elements */
* {
  font-kerning: auto;
  -webkit-font-feature-settings: 'liga' on;
  -moz-font-feature-settings: 'liga=1';
  -ms-font-feature-settings: liga on;
  font-feature-settings: 'liga' on;
}

/* Fix for theme default font overrides */
.ast-entry-content,
 .ast-single-content .ast-entry-content,
 .astra-loop-content,
 .astra-outer-header {
  font-family: 'Lato', sans-serif !important;
}

/* Make sure mu-plugin or custom CSS doesn't override */
#submit-form-php * {
  font-family: 'Lato', sans-serif !important;
}

/* Fallback stack */
html {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Improve text rendering */
body {
  -webkit-text-size-adjust: 100%;
  -webkit-text-stroke: 0.2px;
}
