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

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	color: var(--moweb-color-text);
	background: var(--moweb-color-surface);
	font-family: var(--moweb-font-family);
	font-size: var(--moweb-font-size-base);
	line-height: var(--moweb-line-height-base);
	text-rendering: optimizeLegibility;
}

body.has-open-mobile-menu {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--moweb-color-brand);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--moweb-color-accent-hover);
}

button,
input,
textarea,
select {
	font: inherit;
}

.container,
.container-fluid {
	width: min(100% - (var(--moweb-container-padding) * 2), var(--moweb-container-width));
	margin-inline: auto;
}

.site-main {
	flex: 1 0 auto;
	min-height: 60vh;
}

.site-main--page {
	padding-block: var(--moweb-space-6) var(--moweb-space-8);
}

.screen-reader-text,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	inset-inline-start: 12px;
	width: auto;
	height: auto;
	padding: 8px 12px;
	clip: auto;
	color: #ffffff;
	background: #111111;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--moweb-color-focus) 75%, white);
	outline-offset: 3px;
}

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

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