/* Mainfranken layout — boxed widths, type, buttons. Colors hardcoded. */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	font-family: "Source Sans 3", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	background: #fff;
}

.site {
	margin: 0;
	max-width: none;
}

.site-content,
.content-area,
.site-main {
	margin: 0;
	padding: 0;
	max-width: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

h1 {
	font-size: inherit;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
	color: inherit;
}

.theme-footer ul,
.theme-header-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.page,
body.home,
.page {
	margin: 0;
}

:root {
	--global-width-boxed: 1352px; /* Figma 1312 + 20 + 20 pad */
	--global-width-boxed-2: 1000px; /* Figma 960 + 20 + 20 pad */
	--global-width-full: 100%;
}

.page-width-full {
	width: var(--global-width-full);
	position: relative;
	overflow: hidden;
}

.page-width-boxed {
	width: var(--global-width-boxed);
	padding-left: 20px;
	padding-right: 20px;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

.theme-empty {
	padding: 80px 0 120px;
}

.theme-empty .theme-text {
	margin: 16px 0 32px;
}

.error-page {
	overflow: hidden;
}

.error-hero {
	background: #012e55;
	padding: 72px 0 80px;
	position: relative;
	overflow: hidden;
}

.error-hero-cloud-tr {
	width: 280px;
	right: -40px;
	top: 20px;
	opacity: 0.55;
}

.error-hero-cloud-bl {
	width: 320px;
	left: -80px;
	bottom: -40px;
	opacity: 0.45;
}

.error-hero .page-width-boxed {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	text-align: left;
}

.error-hero-crumb {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	color: #c7d2de;
	margin: 0;
}

.error-hero-crumb a,
.error-hero-crumb a:visited,
.error-hero-crumb a:hover,
.error-hero-crumb a:focus {
	color: #c7d2de;
}

.error-hero .theme-overline {
	margin: 0;
}

.error-hero .theme-title-xl {
	margin: 0;
	max-width: 900px;
}

.error-hero .error-hero-lead {
	margin: 0;
	max-width: 640px;
	color: #c7d2de;
}

.error-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.error-links {
	background: #fff;
	padding: 56px 0 80px;
}

.error-links .theme-title-sm {
	margin: 0 0 20px;
}

.error-links-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.error-links-list a,
.error-links-list a:visited {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	color: #012e55;
}

.error-links-list a:hover,
.error-links-list a:focus {
	color: #f04;
}

@media (max-width: 1024px) {
	.error-hero-cloud-tr,
	.error-hero-cloud-bl {
		opacity: 0.3;
	}
}

@media (max-width: 767px) {
	.error-hero {
		padding: 40px 0 48px;
	}

	.error-hero .theme-title-xl {
		font-size: 32px;
		line-height: 1.1;
	}

	.error-hero-buttons {
		flex-direction: column;
		width: 100%;
	}

	.error-hero-buttons .theme-button {
		width: 100%;
	}

	.error-hero .theme-cloud {
		display: none;
	}

	.error-links {
		padding: 40px 0 64px;
	}
}

@media (max-width: 1392px) {
	.page-width-boxed {
		width: 100% !important;
	}
}

.page-width-boxed-2 {
	width: var(--global-width-boxed-2);
	padding-left: 20px;
	padding-right: 20px;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

@media (max-width: 1040px) {
	.page-width-boxed-2 {
		width: 100% !important;
	}
}

.theme-overline {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: #f04;
}

.theme-title-xl {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 65px;
	line-height: 1.1;
	color: #fff;
}

.theme-title-lg {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 47px;
	line-height: 1.15;
	color: #012e55;
}

.theme-title-md {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 34px;
	line-height: 1.2;
}

.theme-title-sm {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 26px;
	line-height: 1.3;
	color: #012e55;
}

.theme-title-xs {
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 1.4;
	color: #012e55;
	text-transform: uppercase;
}

.theme-text {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.theme-text-lg {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.6;
}

.theme-text-sm {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.theme-label {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.theme-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 26px;
	border-radius: 10px;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	border: 1.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	box-sizing: border-box;
}

.theme-button-primary,
.theme-button-primary:visited,
.theme-button-primary:hover,
.theme-button-primary:focus,
.theme-button-primary:active {
	background: #f04;
	color: #fff;
	border-color: #f04;
}

.theme-button-primary:hover,
.theme-button-primary:focus {
	background: #e0003c;
	border-color: #e0003c;
	color: #fff;
}

.theme-button-ghost,
.theme-button-ghost:visited,
.theme-button-ghost:hover,
.theme-button-ghost:focus,
.theme-button-ghost:active {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

.theme-button-ghost:hover,
.theme-button-ghost:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-color: #fff;
}

.theme-button-outline,
.theme-button-outline:visited,
.theme-button-outline:hover,
.theme-button-outline:focus,
.theme-button-outline:active {
	background: transparent;
	color: #012e55;
	border-color: #012e55;
}

.theme-button-outline:hover,
.theme-button-outline:focus {
	background: rgba(1, 46, 85, 0.08);
	color: #012e55;
	border-color: #012e55;
}

.theme-button-secondary,
.theme-button-secondary:visited,
.theme-button-secondary:hover,
.theme-button-secondary:focus,
.theme-button-secondary:active {
	background: #fff;
	color: #012e55;
	border-color: #fff;
}

.theme-button-secondary:hover,
.theme-button-secondary:focus {
	background: #f2f4f7;
	border-color: #f2f4f7;
	color: #012e55;
}

.theme-card-shadow {
	box-shadow: 0 10px 26px 0 rgba(1, 46, 84, 0.07);
}

.theme-cloud {
	position: absolute;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: luminosity;
	z-index: 0;
	max-width: none;
}

.theme-glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0; /* behind .page-width-boxed (z-index: 1); never raise this */
}

.theme-glow-pink {
	background: #fde8ed;
}

.theme-glow-blue {
	background: #e8eef5;
}

.theme-check-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f04;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	flex-shrink: 0;
}

/* Crop any upload into a designed slot. Slot size is on the page class. */
.theme-media-fill {
	overflow: hidden;
	position: relative;
}

.theme-media-fill > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Hide Underscores leftovers */
.site-branding,
.site-info {
	display: none;
}

@media (max-width: 1024px) {
	.theme-title-xl {
		font-size: 44px;
	}

	.theme-title-lg {
		font-size: 34px;
	}

	.theme-title-sm {
		font-size: 22px;
	}
}

@media (max-width: 767px) {
	.theme-title-xl,
	.theme-title-lg {
		font-size: 30px;
		line-height: 1.1;
	}

	.theme-title-md {
		font-size: 25px;
	}

	.theme-button {
		white-space: normal;
		text-align: center;
	}
}

/* Skip link (header.php) — keep after stripping Underscores style.css. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}
