@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..600&display=swap');

/*
	Scriptura theme.

	This file only handles the chrome around the plugin's pages: a header,
	a footer, and prose styling for anything the site owner writes. The
	reading experience itself lives in the plugin's stylesheet, so the two
	can be updated independently.
*/

:root {
	--st-ink: #14161a;
	--st-body: #2b2e34;
	--st-muted: #6b6f76;
	--st-paper: #fcfbf8;
	--st-rule: #e3ded4;
	--st-accent: #2e6f7e;
	--st-ui: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--st-text: 'Newsreader', Georgia, 'Times New Roman', serif;
}

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

body {
	margin: 0;
	background: var(--st-paper);
	color: var(--st-body);
	font-family: var(--st-text);
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

.st-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--st-ink);
	color: #fff;
	padding: 12px 20px;
	font: 500 .9rem/1 var(--st-ui);
	z-index: 999;
}
.st-skip:focus { left: 0; }

/* ---------- header ---------- */

.st-header {
	border-bottom: 1px solid var(--st-rule);
	background: var(--st-paper);
}
.st-header__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.st-brand {
	font: 400 1.32rem/1 var(--st-text);
	letter-spacing: -0.01em;
	color: var(--st-ink);
	text-decoration: none;
}
.st-brand:hover { color: var(--st-accent); }

.st-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
	font: 500 .92rem/1 var(--st-ui);
}
.st-menu a {
	color: var(--st-ink);
	text-decoration: none;
	padding: 6px 0;
	display: inline-block;
	border-bottom: 1px solid transparent;
}
.st-menu a:hover,
.st-menu .current-menu-item > a {
	border-bottom-color: var(--st-accent);
	color: var(--st-accent);
}
.st-menu .st-cta {
	background: var(--st-ink);
	color: #fff;
	padding: 9px 18px;
	border-radius: 3px;
	border-bottom: none;
}
.st-menu .st-cta:hover { background: var(--st-accent); color: #fff; border-bottom: none; }

/* ---------- generic pages ---------- */

.st-main { min-height: 60vh; }

.st-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 56px 22px 80px;
}
.st-page__title {
	font: 300 clamp(2.1rem, 5vw, 3rem)/1.14 var(--st-text);
	letter-spacing: -0.018em;
	color: var(--st-ink);
	margin: 0 0 .6em;
}
.st-entry { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--st-rule); }
.st-entry__title { font: 400 1.6rem/1.2 var(--st-text); margin: 0 0 .4em; }
.st-entry__title a { color: var(--st-ink); text-decoration: none; }
.st-entry__title a:hover { color: var(--st-accent); }

.st-prose p { margin: 0 0 1.25em; max-width: 68ch; }
.st-prose a { color: var(--st-accent); text-underline-offset: 2px; }
.st-prose h2 { font: 400 1.7rem/1.25 var(--st-text); color: var(--st-ink); margin: 1.8em 0 .5em; }
.st-prose h3 { font: 600 1.05rem/1.35 var(--st-ui); color: var(--st-ink); margin: 1.6em 0 .5em; }
.st-prose blockquote {
	margin: 1.6em 0;
	padding: 2px 0 2px 22px;
	border-left: 3px solid var(--st-accent);
	font-style: italic;
	color: var(--st-ink);
}
.st-prose ul, .st-prose ol { max-width: 66ch; padding-left: 1.3em; }
.st-prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */

.st-footer {
	border-top: 1px solid var(--st-rule);
	margin-top: 40px;
	background: #f6f2ea;
}
.st-footer__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 40px 22px 52px;
}
.st-footer__name { font: 400 1.15rem/1.3 var(--st-text); color: var(--st-ink); margin: 0 0 .5em; }
.st-footer__note { font: 400 .88rem/1.65 var(--st-ui); color: var(--st-muted); max-width: 62ch; margin: 0 0 1.4em; }
.st-footer__meta { font: 400 .82rem/1.5 var(--st-ui); color: var(--st-muted); margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 620px) {
	body { font-size: 17px; }
	.st-header__inner { padding: 16px 18px; gap: 14px; }
	.st-menu { gap: 16px; font-size: .86rem; }
	.st-page { padding: 40px 18px 60px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}
