
body {
	font-family: var(--serif);
	line-height: var(--lh-0);
	font-size: var(--fs-0);
	font-weight: 400;
	color: var(--text-primary);

	;
}

h1, .h1,
h2, .h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
	max-width: 50ch;
	font-family: var(--serif);
	margin-top: 1em;
	margin-bottom: 0.5em;
	color: var(--text-primary);
}

h1, .h1 {
	font-weight: 700;
	font-size: var(--fs-5);
	line-height: var(--lh-4);
	letter-spacing: 0.03em;
}

h2, .h2 {
	font-weight: 700;
	font-size: var(--fs-4);
	line-height: var(--lh-3);
	color: var(--cool1);
	letter-spacing: 0.01em;
}

h3 {
	font-weight: 500;
	font-size: var(--fs-3);
	line-height: var(--lh-2);
	color: var(--cool);
}

h4 {
	font-weight: 600;
	font-size: var(--fs-2);
	line-height: var(--lh-1);
	font-style: italic;
	color: var(--cool);
	letter-spacing: 0.02em;
}

h5 {
	font-weight: 700;
	font-size: var(--fs-1);
	line-height: var(--lh-0);
	color: var(--cool);
}

h6 {
	font-size: var(--fs-0);
	line-height: var(--lh-0);
	font-style: italic;
	font-weight: 700;
	color: var(--cool-1);
	letter-spacing: 0.02em;
}

h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
	margin-top: var(--space-s);
}

small,
figcaption {
	color: var(--text-muted);
}

small,
.f-small {
	font-size: var(--fs--1);
	line-height: var(--lh--1);
}

.f-smaller {
	font-size: var(--fs--2);
	line-height: var(--lh--2);
}

.f-big {
	font-size: var(--fs-1);
	line-height: var(--lh-1);
}

.f-bigger {
	font-size: var(--fs-2);
	line-height: var(--lh-2);
}

.f-biggest {
	font-size: var(--fs-3);
	line-height: var(--lh-3);
}

.f-300 {
	font-weight: 300;
}

.f-400 {
	font-weight: 400;
}

.f-500 {
	font-weight: 500;
}

.f-600 {
	font-weight: 600;
}

.f-700 {
	font-weight: 700;
}

.f-italics {
	font-style: italic;
}

.f-balance {
	display: block;
	text-wrap: balance;
}

p,
li,
td,
th,
pre,
blockquote {
	line-height: var(--lh-0);
	color: var(--text-primary);
}

p {
	padding-top: var(--space-s);
	padding-bottom: var(--space-s);

	&:first-of-type {
		padding-top: 0;
	}
	&:last-of-type {
		padding-bottom: 0;
	}
}

@media (min-width: 768px) {
	p:last-of-type {
		padding-bottom: var(--space-m);
	}
}

blockquote {
	font-style: italic;
	margin: var(--space-m) 0;
	padding: 0 var(--space-xs);
	border-left: 0.25rem solid var(--brand-accent);
	border-radius: var(--border-radius);
	color: var(--text-primary);
}

/**
 *  Basic Link Styling ******************************
 */
a {
	text-decoration: underline;
	color: var(--link-color);
	text-decoration-color: var(--link-color);
	transition: all 0.6s;
}

a:focus {
	outline: none;
	cursor: pointer;
}

a:active,
a:hover {
	color: var(--link-hover);
	text-decoration: none;
	outline: none;
	cursor: pointer;
}

b,
strong {
	font-weight: 700;
	color: var(--text-primary);
}

em {
	font-style: italic;
}
