
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --heading-font: 'Crimson Text', Georgia, serif;
  --body-font: 'Manrope', Arial, sans-serif;
  --heading-weight: 600;
  --body-weight: 400;

  --h1-size: 56px;
  --h2-size: 36px;
  --h3-size: 24px;
  --h4-size: 20px;
  --h5-size: 18px;
  --h6-size: 16px;

  --body-size: 16px;
  --body-line-height: 1.7;
}

/* Global body typography */
html,
body {
  font-family: var(--body-font);
}

body {
  font-weight: var(--body-weight);
}
/* Single blog post body typography */
.article-content p,
.article-content li,
.article-content blockquote,
.article-content td,
.article-content th,
.article-content figcaption,
.article-content summary,
.article-content .lead {
  font-family: var(--body-font) !important;
}
/* All heading levels throughout the website */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font) !important;
  font-weight: var(--heading-weight) !important;
}

/* Responsive heading type scale */
h1 {
  font-size: var(--h1-size) !important;
}

h2 {
  font-size: var(--h2-size) !important;
}

h3 {
  font-size: var(--h3-size) !important;
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(28px, 8vw, var(--h1-size)) !important;
  }

  h2 {
    font-size: clamp(22px, 6vw, var(--h2-size)) !important;
  }

  h3 {
    font-size: clamp(18px, 5vw, var(--h3-size)) !important;
  }
}

h4 {
  font-size: var(--h4-size) !important;
}

h5 {
  font-size: var(--h5-size) !important;
}

h6 {
  font-size: var(--h6-size) !important;
}

/* Preserve blog card heading sizes */
.blog-post-card h3,
.related-grid .blog-post-card h3 {
  font-size: clamp(19px, 2vw, 24px) !important;
}

/* Global body text */
body {
  font-size: var(--body-size);
  line-height: var(--body-line-height);
}

/* Main article reading text */
.article-content > p,
.article-content > ul > li,
.article-content > ol > li,
.article-content > blockquote {
  font-size: var(--body-size) !important;
  line-height: var(--body-line-height);
}

/* Forms, buttons and navigation */
button,
input,
select,
textarea,
.site-header nav,
.header-cta,
.button,
.filter,
.tool-filter {
  font-family: var(--body-font);
}

/* Elements with previously hardcoded font families */
.logo,
.trust-grid > div > b,
.resource-number,
.product-logo,
.stats-list > div > b,
.process-grid > div > b,
.tool-badge {
  font-family: var(--body-font);
}
