/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
	font-size: 125%;
}

body {
	font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-size: 1em;
	font-weight: 400;
	color: var(--color-text-body);
}

/* 1024px */
@media (max-width: 64em) {

	html {
		font-size: 112.5%;
	}

}

/* 900px */
@media (max-width: 56.25em) {

	html {
		font-size: 100%;
	}

}


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5 {
	margin: 2rem 0 1rem;
	font-family: inherit;
	font-weight: 700;
}

h1, .h1 {
	margin-top: 0;
	font-size: 2rem;
}

h2, .h2 {
	font-size: 1.75rem;
}

h3, .h3 {
	font-size: 1.5rem;
}

h4, .h4 {
	font-size: 1.25rem;
}

h5, .h5 {
	font-size: 1.125rem;
}

p {
	margin-top: 1rem;
}

small {
	font-size: 0.833em;
}

.font-xl {
	font-size: 3rem;
	line-height: 1.1;
}

.font-l {
	font-size: 2.5rem;
	line-height: 1.1;
}


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
	color: var(--color-primary);
	text-decoration-thickness: 10%;
	text-underline-offset: 25%;
	text-decoration-color: rgb(0, 0, 0, 16%);
	cursor: pointer;
	transition: 0.2s ease text-decoration-color;
}

a:hover {
	text-decoration-color: var(--color-primary);
}


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul, ol {
	padding: 0 0 0 1.5rem;
	margin-top: 1rem;
}

li + li {
	margin-top: 0.375em;
}

li > ul,
li > ol {
	margin-top: 0.375em;
}


/* Utility Classes
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.txt-center {
	text-align: center;
}

.txt-flow > * + *:not(h1, h2, h3, h4, h5),
.entry-content > * + *:not(h1, h2, h3, h4, h5) {
	margin-top: 1rem;
}

.txt-flow > *:first-child,
.entry-content > *:first-child {
	margin-top: 0;
}