/* Defaults
---------------------------------------------------------------------------- */

/* Variables
--------------------------------------------- */

:root {
	--color-blue: #232e69;
	--color-gold: #c97d2e;
	--color-charcoal: #444444;
	--color-light-gray: #d5d9dc;
	--color-gray: #afafaf;

	--font-family-serif: "EB Garamond", serif;
	--font-family-sans-serif: "Jost", sans-serif;

	--wrapper-width: 1600px;
	--wrapper-edge-padding: 20px;
	--header-logo-width: 240px;
	--header-logo-height: 50px;
}

@media (min-width: 1280px) {
	:root {
		--header-logo-width: 380px;
		--header-logo-height: 80px;
	}
}

/* Typographical Elements
--------------------------------------------- */

html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
	background-color: #fff;
	color: var(--color-charcoal);
	font-family: var(--font-family-sans-serif);
	font-optical-sizing: auto;
	font-size: clamp(1.25rem, 1.0417rem + 0.8333vw, 1.875rem);
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
	overflow-x: hidden;
}

a {
	color: var(--color-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:focus,
a:hover {
	color: #000;
}

/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-serif);
	font-weight: 400;
	line-height: 0.98;
	margin: 0 0 15px;
}

h1 {
	font-size: clamp(2.5rem, 1.8333rem + 2.6667vw, 4.5rem);
}

h2 {
	font-size: clamp(2.5rem, 1.8333rem + 2.6667vw, 4.5rem);
}

h3 {
	font-size: clamp(1.625rem, 1.4167rem + 0.8333vw, 2.25rem);
}

h4 {
	font-size: 28px;
}

h5 {
	font-size: 24px;
}

h6 {
	font-size: 20px;
}

p {
	margin: 0 0 30px;
	padding: 0;
}

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

li {
	list-style-type: none;
}

hr {
	border: 0;
	border-collapse: collapse;
	border-bottom: 1px solid currentColor;
	clear: both;
	color: #eee;
	margin: 1.65em auto;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid #ddd;
	color: #333;
	font-size: 18px;
	font-weight: 400;
	padding: 15px;
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid #999;
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

:-ms-input-placeholder {
	color: #333;
	opacity: 1;
}

::placeholder {
	color: #333;
	opacity: 1;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	background-color: #333;
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.button:focus,
.button:hover {
	background-color: #0073e5;
	border-width: 0;
	color: #fff;
}

.button {
	display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

/* Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 40px;
	width: 100%;
	word-break: break-all;
}

tbody {
	border-bottom: 1px solid #eee;
}

td,
th {
	line-height: 2;
	text-align: left;
	vertical-align: top;
}

td {
	padding: 0.5em;
}

tr {
	border-top: 1px solid #eee;
}

th {
	font-weight: 600;
	padding: 0.5em;
}



/* Utility Classes
---------------------------------------------------------------------------- */

.wrap {
	margin: 0 auto;
	max-width: var(--wrapper-width);
	padding: 0 var(--wrapper-edge-padding);
}

.section-header {
	margin-bottom: 50px;
}

.section-header *:last-child {
	margin-bottom: 0;
}

.section-title {
	color: var(--color-blue);
	text-transform: uppercase;
}

.section-footer {
	font-size: 1.4em;
	margin-top: 60px;
}

.section-footer *:last-child {
	margin-bottom: 0;
}

.text-center {
	text-align: center;
}
