/******/
/*** TYPOGRAPHY ***/
/******/

body {
	font-family: "Sora", sans-serif;
	font-size: var(--text-lg);
	font-weight: var(--font-weight-normal);
	line-height: var(--leading-normal);
	font-style: normal;
	font-optical-sizing: auto;
	padding: 0;
	margin: 0;
    position: relative;
}

h1, h2, h3 {
	line-height: var(--leading-snug);
	font-weight: var(--font-weight-normal);
	text-wrap: balance;
	-moz-osx-font-smoothing: grayscale; /*(For Firefox)*/
	-webkit-font-smoothing: antialiased; /*(For Chrome and Safari)*/
}

h1 {
	font-size: var(--text-7xl);
	font-weight: var(--font-weight-normal);
	margin-block-start: .75rem;
	margin-block-end: .75rem;
}

h2 {
	font-size: var(--text-5xl);
	font-weight: var(--font-weight-medium);
	margin-block-start: .625rem;
	margin-block-end: .625rem;
}

h3 {
	font-size: var(--text-2xl);
	font-weight: var(--font-weight-medium);
	margin-block-start: .5rem;
	margin-block-end: .5rem;
}

h4 {
	font-size: var(--text-xl);
	font-weight: var(--font-weight-medium);
	margin-block-start: .375rem;
	margin-block-end: .375rem;
}

h5 {
	font-size: var(--text-lg);
	font-weight: var(--font-weight-medium);
	margin-block-start: .25rem;
	margin-block-end: .25rem;
}

h6 {
	font-size: var(--text-base);
	font-weight: var(--font-weight-medium);
	margin-block-start: .125rem;
	margin-block-end: .125rem;
}

em {
	font-style: italic;
}

p, blockquote, ul, li, .gform-theme--framework .gform-field-label, .gform_footer input.gform_button, #field_submit .gform-button.gform-button--white.button {
	margin-block-start: 0;
	margin-block-end: .5rem;
}

p, ul, li {
	font-size: var(--text-base);
	margin-block-start: .625rem;
	margin-block-end: .625rem;
}

nav li {
	margin-block-start: 0!important;
	margin-block-end: 0!important;
}

nav li a {
	padding: .625rem 0;
}

.h1, .h2, .h3 {
	line-height: var(--leading-snug);
	font-weight: var(--font-weight-normal);
	-moz-osx-font-smoothing: grayscale; /*(For Firefox)*/
	-webkit-font-smoothing: antialiased; /*(For Chrome and Safari)*/
}

.h1 {
	font-size: var(--text-7xl);
	font-weight: var(--font-weight-normal);
	margin-block-start: .75rem;
	margin-block-end: .75rem;
}

.h2 {
	font-size: var(--text-5xl);
	font-weight: var(--font-weight-medium);
	margin-block-start: .625rem;
	margin-block-end: .625rem;
}

.h3 {
	font-size: var(--text-2xl);
	font-weight: var(--font-weight-medium);
	margin-block-start: .5rem;
	margin-block-end: .5rem;
}

.h4 {
	font-size: var(--text-xl);
	font-weight: var(--font-weight-medium);
	margin-block-start: .375rem;
	margin-block-end: .375rem;
}

.h5 {
	font-size: var(--text-lg);
	font-weight: var(--font-weight-medium);
	margin-block-start: .25rem;
	margin-block-end: .25rem;
}

.h6 {
	font-size: var(--text-base);
	font-weight: var(--font-weight-medium);
	margin-block-start: .125rem;
	margin-block-end: .125rem;
}

.p {
	font-size: var(--text-base);
	font-weight: var(--font-weight-medium);
	line-height: var(--leading-normal);	
}

.eyebrow, p.text-link, a.text-link {
	font-size: var(--text-2xl);
	font-weight: var(--font-weight-semibold);
}

p.small {
	font-size: var(--text-xs);
}

p.large {
	font-size: var(--text-2xl);
}

p.text-link, a.text-link {
	font-size: var(--text-base);
	text-transform: uppercase;
	text-decoration: none;
}

.jumbo {
	font-size: 8rem;
}

.crb_case_study-template-default .sticky-article h2, .crb_case_study-template-default .sticky-article h3, .single-post .sticky-article h2, .single-post .sticky-article h3 {
	font-size: 120%;
}

/* BLOG */

/* GRAVITY FORMS */

legend.gform-field-label, label.gform-field-label, div.gfield_description {
	font-size: var(--text-lg);
}

/******/
/* MEDIA QUERIES */
/******/

@media screen and (max-width: 47.9375rem) {
	
	h1 {
		font-size: var(--text-3xl);
	}

	h2 {
		font-size: var(--text-2xl);
	}

	h3 {
		font-size: var(--text-xl);
	}

	h4 {
		font-size: var(--text-lg);
	}

	h5 {
		font-size: var(--text-base);
	}

	h6 {
		font-size: var(--text-sm);
	}
	
	.h1 {
		font-size: var(--text-3xl);
	}

	.h2 {
		font-size: var(--text-2xl);
	}

	.h3 {
		font-size: var(--text-xl);
	}

	.h4 {
		font-size: var(--text-lg);
	}

	.h5 {
		font-size: var(--text-base);
	}

	.h6 {
		font-size: var(--text-sm);
	}
	
	.jumbo {
		font-size: 6rem;
	}
	
	.eyebrow, p.text-link, a.text-link {
		font-size: var(--text-lg);
	}

}