.page-main:is(.pa-standard-page, .pa-not-found) {
	padding-block: 150px clamp(54px, 7vw, 100px);
	overflow-wrap: anywhere;
}

.pa-standard-page .wp-block-post-content :is(h1, h2, h3, h4, h5, h6) {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--brown);
}

.pa-standard-page .wp-block-post-content h1 {
	font-size: clamp(42px, 5vw, 70px);
	line-height: 1.05;
}

.pa-standard-page .wp-block-post-content [id] {
	/* Add to the site's 114px scroll padding to clear the fixed header. */
	scroll-margin-block-start: 26px;
}

.pa-standard-page .wp-block-post-content a {
	text-decoration: underline;
	text-underline-offset: .16em;
}

.error404 .wp-site-blocks:has(> .pa-not-found) {
	display: flex;
	flex-direction: column;
	min-height: 100svh;
}

.page-main.pa-not-found {
	display: grid;
	align-items: center;
	flex: 1;
	min-height: 0;
	text-align: center;
}

.pa-not-found .eyebrow {
	font-size: clamp(18px, 2vw, 24px);
}

.pa-not-found .section-title {
	font-size: clamp(40px, 5vw, 68px);
	margin-bottom: 18px;
}

.pa-not-found .outline-button {
	justify-content: center;
}

.pa-not-found .outline-button:focus-visible {
	outline: 2px solid var(--brown);
}

@media (max-width: 780px) {
	.page-main:is(.pa-standard-page, .pa-not-found) {
		padding-block-start: 120px;
	}
}
