/* The Scrantonian Lexicon: one plain stylesheet. The mockup workstream replaces this. */
:root {
	--ink: #1f1b16;
	--paper: #fbf8f1;
	--muted: #6b6257;
	--rule: #d9d0c1;
	--accent: #7a2e1f;
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font:
		18px/1.6 Georgia,
		'Times New Roman',
		serif;
}

a {
	color: var(--accent);
}

.site-header,
main,
.site-footer {
	max-width: 42rem;
	margin: 0 auto;
	padding: 1rem;
}

.site-header {
	border-bottom: 1px solid var(--rule);
}

.site-title {
	font-variant: small-caps;
	font-size: 1.4rem;
	text-decoration: none;
	color: var(--ink);
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0.5rem 0;
}

.search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.search label {
	color: var(--muted);
}

.search input {
	flex: 1;
	min-width: 10rem;
	font: inherit;
}

.phrase {
	font-style: italic;
}

h1.phrase {
	margin-bottom: 0;
}

.meaning {
	color: var(--muted);
}

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

.example {
	margin: 1rem 0;
	padding-left: 1rem;
	border-left: 3px solid var(--rule);
}

.speaker {
	font-variant: small-caps;
}

.entry-list {
	list-style: none;
	padding: 0;
}

.entry-list li {
	margin: 0.4rem 0;
}

.letters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.empty {
	color: var(--muted);
	font-style: italic;
}

.site-footer {
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font-size: 0.85rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #ece6da;
		--paper: #1b1915;
		--muted: #a89d8d;
		--rule: #3a352d;
		--accent: #e09a7e;
		color-scheme: dark;
	}
}
