/**
 * Base
 */

html {
	font-size: 62.5%;
}

* {
	box-sizing: border-box;
}

body {
	background-color: #f4ecd8;
	color: #2b2926;
	margin: 0;
	padding: 0;
	font-family: "Iowan Old Style", "Charter", "Cambria", Georgia, "Times New Roman", serif;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.page {
	width: 100%;
	padding-top: 6vh;
	padding-top: 6dvh;
}

a:active {
	opacity: 0.7;
}

.page a.active {
	opacity: 1;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}

s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
	max-width: 100%;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 2em;
}

hr {
	background: rgba(188, 188, 188, 1);
	border: 0;
	height: 1px;
	display: block;
	margin-bottom: 1.2rem;
}

.content img {
	margin-bottom: 0;
}

p {
	margin: 0 0 1.2rem 0;
}

p:last-child {
	margin-bottom: 1.2rem;
}

bodycopy p.asterism {
	text-align: center;
	letter-spacing: 0.3em;
	margin-top: 1.2rem;
}

/**
 * CTA Button
 */

.cta-button {
	background-color: rgb(58, 67, 109);
	color: white;
	border: none;
	border-radius: 12px;
	padding: 20px 40px;
	cursor: pointer;
	font-size: 20px;
	font-weight: bold;
	text-align: left;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
	display: block;
	font-size: 1.6rem;
	font-weight: 400;
	color: #2b2926;
	font-family: "Iowan Old Style", "Charter", "Cambria", Georgia, "Times New Roman", serif;
	font-style: normal;
	line-height: 1.55;
}

[data-predefined-style="true"] bodycopy a {
	color: #2b2926;
	padding-bottom: 0em;
	text-decoration: underline;
}

[data-predefined-style="true"] bodycopy a:hover {
	color: #8a7a55;
}

[data-predefined-style="true"] h1 {
	font-family: "Iowan Old Style", "Charter", "Cambria", Georgia, "Times New Roman", serif;
	font-style: normal;
	font-weight: 700;
	padding: 0;
	margin: 0 0 1.2rem 0;
	font-size: 3.4rem;
	line-height: 1.1;
	color: #2b2926;
	letter-spacing: -.005em;
}

[data-predefined-style="true"] h1 a {
	color: rgb(23, 127, 245);
	border-bottom: 0;
}

[data-predefined-style="true"] h2 {
	font-family: "Diatype Variable", -apple-system, sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	padding: 0;
	margin: 0;
	color: rgb(29, 31, 41);
	line-height: 1.3;
	letter-spacing: 0.01em;
	font-style: normal;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h2 a {
	color: rgb(23, 127, 245);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.3rem;
	line-height: 1.3;
	font-family: "Diatype Variable", -apple-system, sans-serif;
	font-style: normal;
	font-weight: 400;
	color: rgb(0, 0, 0);
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] small a {
	color: rgb(23, 127, 245);
	border-bottom-width: 0em;
	text-decoration: none;
}

/**
 * Layout
 */

[data-css-preset] .page {
	background-color: initial;
}

[data-css-preset] .container {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

[data-css-preset] body {
	background-color: #f4ecd8;
}

[data-css-preset] .container_width {
	width: 38%;
}

[data-css-preset] .content_padding {
	padding-top: 1.7rem;
	padding-bottom: 1.7rem;
	padding-left: 1.7rem;
	padding-right: 1.7rem;
}

/**
 * Site nav
 */

.site-nav {
	font-size: 1.5rem;
	line-height: 1.4;
	margin-bottom: 2rem;
	display: flex;
	gap: 1.2rem;
}

.site-nav a {
	color: #2b2926;
	text-decoration: underline;
}

.site-nav a:hover {
	color: #8a7a55;
}

.site-nav a.active {
	color: #8a7a55;
}

/**
 * Plain list (homepage links)
 */

bodycopy ul.plain-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.2rem 0;
}

bodycopy ul.plain-list li {
	margin: 0;
	padding: 0;
}

bodycopy p.centered-image {
	text-align: center;
}

/**
 * Contact form
 */

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-top: 0.4rem;
}

.contact-form label {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 1.5rem;
	color: #2b2926;
}

.contact-form input,
.contact-form textarea {
	font-family: inherit;
	font-size: 1.5rem;
	line-height: 1.5;
	color: #2b2926;
	background-color: #fbf6e9;
	border: 1px solid #c9bf9f;
	border-radius: 3px;
	padding: 0.6rem 0.8rem;
	width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #2b2926;
}

.contact-form textarea {
	resize: vertical;
	min-height: 8rem;
}

.contact-submit {
	align-self: flex-start;
	font-family: inherit;
	font-size: 1.5rem;
	color: #2b2926;
	background: transparent;
	border: 1px solid #2b2926;
	border-radius: 3px;
	padding: 0.6rem 1.4rem;
	cursor: pointer;
}

.contact-submit:hover {
	color: #f4ecd8;
	background: #2b2926;
}

.contact-submit:disabled {
	opacity: 0.5;
	cursor: default;
}

.contact-form .hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.form-status {
	margin: 0;
	font-size: 1.4rem;
	color: #6b6359;
	min-height: 1.4em;
}

.form-status[data-state="ok"] {
	color: #2b2926;
}

.form-status[data-state="err"] {
	color: #8a3a2e;
}

/**
 * Mobile
 */

@media (max-width: 900px) {
	[data-css-preset] .container_width {
		width: 100%;
	}
}
