*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	overflow-x: hidden; /* prevents 100vw alignfull blocks from creating horizontal scroll */
	font-family: "BarlowSCK-Light", "Barlow Semi Condensed", "Segoe UI", Tahoma, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: #656565;
	background: #ffffff;
	text-rendering: optimizeLegibility;
}

strong,
b {
	font-family: "BarlowSCK-SemiBold", "Barlow Semi Condensed", "Segoe UI", Tahoma, Arial, sans-serif;
	font-weight: 600;
}

a {
	color: #003c76;
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

a:hover {
	color: #002d59;
}

a:visited {
	color: #003c76;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #f8002e;
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Playfair Display", "Times New Roman", Georgia, serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75em;
	color: #003c76;
}

h1 { font-size: clamp(1.8rem, 3vw, 2.25rem); }
h2 {
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin-bottom: 1.35rem;
}
h3 {
	font-size: clamp(1.1rem, 1.8vw, 1.5rem);
	text-transform: uppercase;
	margin-bottom: 1rem;
}
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p,
ul,
ol,
dl,
blockquote,
table,
figure {
	margin: 0 0 1rem;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin-left: 0;
	margin-right: 0;
}

iframe {
	max-width: 100%;
}

table {
	border-collapse: collapse;
	width: 100%;
}

th,
td {
	padding: 0.625rem;
	border: 1px solid #d2d6db;
	text-align: left;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
.wp-element-button,
.wp-block-button__link {
	min-height: 0;
	padding: 0.3rem 1.1rem 0.3rem 0.85rem;
	border-radius: 999px;
	border: 1px solid #f8002e;
	background: #f8002e;
	color: #ffffff;
	cursor: pointer;
	font-family: "BarlowSCK-SemiBold", "Barlow Semi Condensed", "Segoe UI", Tahoma, Arial, sans-serif;
	font-weight: 600;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.55;
}

button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: #ce0026;
	border-color: #ce0026;
}

button:disabled,
.wp-element-button:disabled,
.wp-block-button__link:disabled,
button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.skip-link {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 9999;
	padding: 0.5rem 0.75rem;
	background: #ffffff;
	color: #003c76;
	text-decoration: none;
	transform: translateY(-200%);
}

.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;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	margin: 0;
	overflow: visible;
	padding: 0.5rem 0.75rem;
	position: static;
	width: auto;
}

.skip-link:focus {
	transform: translateY(0);
}

::selection {
	background: #003c76;
	color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
