:root {
	--text: #1f2933;
	--muted: #52606d;
	--border: #e4e7eb;
	--accent: #1a4b9b;
	--accent-hover: #c8102e;
	--serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--text);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.7;
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration: none;
}

hr {
	margin: 1.5rem 0;
	border: 0;
	border-top: 1px solid var(--border);
}


.site-nav,
main h3,
aside h3,
article time {
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.supporters,
.pagination,
footer {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.8rem;
	line-height: 1.5;
}

.page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 1.25rem 2rem;
}

@media (min-width: 768px) {
	.page {
		display: grid;
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 2.5rem;
		align-items: start;
	}

	.site-nav {
		flex-direction: column;
	}
}

.site-header {
	text-align: center;
}

.site-header img {
	display: block;
	margin: 1rem auto;
}

.logo img {
	width: 160px;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.25;
}

.site-title a,
.site-nav a {
	color: var(--text);
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem 1rem;
	margin: 1rem 0 1.5rem;
	padding: 0.6rem 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.site-nav a[aria-current] {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 0.4em;
}

.supporters {
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

.supporters img {
	width: 100%;
	max-width: 260px;
}

.supporters img.round {
	width: 150px;
}

main {
	max-width: 42rem;
	padding: 1rem 0;
}

main h1,
main h2 {
	letter-spacing: -0.01em;
	line-height: 1.25;
	text-wrap: balance;
}

main h1 {
	margin: 0 0 1.5rem;
	font-size: 2.25rem;
}

main h1::after {
	content: "";
	display: block;
	width: 3rem;
	height: 3px;
	margin-top: 0.75rem;
	background: var(--accent);
}

main h2 {
	margin: 2rem 0 0.5rem;
	font-size: 1.5rem;
}

main h3 {
	margin: 2rem 0 0.25rem;
}

main h3,
aside h3 {
	color: var(--accent);
}

main p {
	text-align: justify;
	hyphens: auto;
}

main a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

main h1 a,
main h2 a {
	color: var(--text);
	text-decoration: none;
}

article {
	margin-bottom: 1.5rem;
}

article time {
	display: block;
	margin-top: 1.5rem;
	color: var(--muted);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin: 1.5rem 0;
}

aside {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

aside h3 {
	margin: 0 0 0.5rem;
}

footer {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	text-align: center;
}

footer a {
	color: var(--muted);
}

a:hover,
a:focus {
	color: var(--accent-hover);
}
