:root {
	/* Brand colors */
	--color-purple: #7a2f7e;
	--color-mauve: #8d4982;
	--color-navy: #004477;
	--color-blue: #0063be;
	--color-light-blue: #73bbfd;
	--color-amber: #f6a03b;

	/* Text colors */
	--color-text: #333;
	--color-text-muted: #666;
	--color-text-light: #999;

	/* Fonts */
	--font-serif: "Bitter", serif;
	--font-sans: "Montserrat", sans-serif;
	--font-body: "Lato", sans-serif;

	/* Shadows */
	--shadow-sharp: 0 1px 1px rgba(0, 0, 0, 0.25), 0 2px 2px rgba(0, 0, 0, 0.2), 0 4px 4px rgba(0, 0, 0, 0.15), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.05);
}


/* Skip to content link ??? visible only on focus */
.skip-to-content {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	padding: 0.75em 1.5em;
	background: var(--color-navy);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.skip-to-content:focus {
	left: 0;
	outline: 3px solid #fff;
	outline-offset: 2px;
}

@view-transition {
	navigation: auto;
}

html {
	font-size: 1em;
	height: 100%;
	min-height: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	background-color: #472d5b;
	background-image: url("/images/patterns/classy-fabric.png");
	color: var(--color-text);
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: clamp(1.125em, calc(0.8125em + 0.6vw), 1.25em);
	min-height: 100vh;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

@media (min-width: 768px) {
	p {
		line-height: 1.4em;
	}
}

@media (min-width: 992px) {
	p {
		line-height: 1.6em;
	}
}

img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

footer ul,
footer ol {
	padding: 0;
}

p.larger {
	color: var(--color-text-muted);
	font-size: 1.125em;
	line-height: 30px;
	margin: 0 0 25px 0;
}

p.darker {
	color: #555258;
}

a.larger {
	display: inline-block;
	font-size: 1.125em;
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-text);
	margin: 1em 0 1em 0;
}

p {
	margin: 1em 0 1em 0;
}

h1 {
	color: var(--color-purple);
	font-size: 2em;
}

h2 {
	color: var(--color-purple);
	font-family: var(--font-sans);
	font-size: 1.75em;
}

h4 {
	font-size: 1.125em;
	line-height: 24px;
}

h4 span {
	display: block;
	color: var(--color-text-light);
	font-weight: 400;
	font-size: 0.8125em;
	line-height: 14px;
	padding-top: 5px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

h5 {
	font-size: 1.125em;
	line-height: 21px;
	margin: 15px 0 12px 0;
}

h5 + p {
	margin-bottom: 40px;
}

.main-content {
	margin-bottom: 20px;
}

.main-content p,
.main-content h2,
.main-content ul {
	max-width: 60ch;
}

.main-content li {
	margin-bottom: 10px;
	font-size: 0.9em;
	max-width: 50ch;
}

.page-header {
	border: 0;
	margin: 0;
	padding: 0;
}

.page-header h2 {
	margin-bottom: 40px;
}

.page-header h2 + .larger {
	position: relative;
	margin-top: -24px;
	margin-bottom: 40px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.page-header h2 + p {
	margin-top: -20px;
}

.page-header p {
	color: var(--color-text-muted);
}

.page-header .btn {
	margin-top: 8px;
}

.page-header h2 + .btn {
	margin-top: -12px;
}

.page-header + .larger {
	margin-top: -10px;
}

.page-header .larger + .btn {
	margin-top: -15px;
}

p.date {
	font-size: 0.8em;
	font-weight: bold;
	color: var(--color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 2em 0 0 0;
}

#news-events img {
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.07),
		0 2px 4px rgba(0, 0, 0, 0.07),
		0 4px 8px rgba(0, 0, 0, 0.07),
		0 8px 16px rgba(0, 0, 0, 0.07),
		0 16px 32px rgba(0, 0, 0, 0.07),
		0 32px 64px rgba(0, 0, 0, 0.07);
}

hr {
	background: none;
	border-top: 1px solid #bfbfbf;
}

.widget-title {
	font-size: 0.8125em;
	line-height: 16px;
	color: var(--color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 8px 0;
	font-weight: 600;
}

blockquote {
	border-left: 10px solid #ccc;
	margin: 1.5em 10px;
	padding: 0.5em 10px;
	quotes: "\201C" "\201D" "\2018" "\2019";
	color: var(--color-navy);
	text-align: right;
	font-family: var(--font-sans);
	font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
}

blockquote:before {
	color: var(--color-navy);
	content: "\201C";
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
}

blockquote p {
	display: inline;
	font-style: italic;
}

.affix {
	top: 20px;
	z-index: 9999;
}

a,
a .btn:hover {
	transition: color 0.25s linear;
}

.main-content a,
.main-content ul li a {
	text-decoration: underline;
	color: var(--color-purple);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-decoration-skip-ink: auto;
	text-decoration-color: var(--color-mauve);
	text-decoration-style: solid;
	transition:
		color 0.2s ease,
		text-decoration-color 0.2s ease,
		text-decoration-thickness 0.2s ease,
		text-underline-offset 0.2s ease;
}

.main-content a:hover,
.main-content ul li a:hover {
	color: var(--color-mauve);
	text-decoration-color: var(--color-purple);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

ol > li {
	padding-bottom: 15px;
	line-height: 1.5em;
}

figcaption {
	color: var(--color-text-muted);
	font-family: var(--font-body);
	font-size: .85em;
}

#newsletter p {
	line-height: 1.5em;
}

