*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	color: var(--color-text);
	background: var(--color-white);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.is-locked,
body.is-search-open {
	overflow: hidden;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe,
embed,
object {
	max-width: 100%;
}

.wp-has-aspect-ratio,
.wp-embed-responsive .wp-block-embed__wrapper,
.wp-block-embed__wrapper {
	position: relative;
}

figure {
	margin: 0;
}

a {
	color: var(--color-blue);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 700;
	color: var(--color-navy);
	line-height: 1.25;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

[role="list"] {
	list-style: none;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: var(--focus);
	outline-offset: var(--focus-offset);
}

.skip-link {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 200;
	padding: 0.75rem 1rem;
	background: var(--color-blue);
	color: var(--color-white);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 0.75rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(100% - (var(--gutter) * 2), var(--container));
	margin-inline: auto;
}
