@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Source Serif 4";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
}

body {
	max-width: 36rem;
	margin-inline: auto;
	padding-inline: 1rem;
	font-family: "Source Serif 4", Georgia, serif;
}

h2 {
	font-size: 1rem;
	font-weight: 400;
}

article h1 {
	font-weight: 400;
}

/* A post's title and date sit at opposite ends of its row. */
.box {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

ul {
	list-style: "- ";
}

blockquote {
	margin-inline: 0;
	padding-inline-start: 1rem;
	border-inline-start: 1.5px solid #666666;
	color: #555555;
}

.name {
	font-weight: 400;
}

.hero {
	display: block;
	width: 100%;
	height: auto;
}

/* The home page is narrower than a post. */
.page:not(.post) {
	max-width: 24rem;
	margin-inline: auto;
}

.post {
	padding-bottom: 12rem;
}

.meta {
	margin-block: 1.5rem 2rem;
	font-style: italic;
}

.detail {
	font-style: italic;
}

body:has(> .note) {
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - 1rem);
}

.note {
	margin-top: auto;
	padding-block: 2rem 1rem;
	color: #777;
	font-style: italic;
	text-align: center;
}

.back {
	display: inline-block;
	margin-top: 2rem;
}
