html {
	scroll-behavior: smooth;
}

body.rh-site {
	color: var(--rh-color-text);
	font-family: var(--rh-font-body);
	line-height: var(--rh-leading-body);
}

.rh-site :where(img, svg, video, iframe) {
	max-width: 100%;
}

.rh-site :where(button, input, select, textarea) {
	font: inherit;
}

.rh-site :where(a) {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

.rh-site :where(.post-content, .entry-content) p a:not([class]) {
	color: var(--rh-color-dark-primary);
	text-decoration-line: underline;
}

.rh-site :where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--rh-color-focus);
	outline-offset: 3px;
}

.rh-site :where(.skip-link, .fusion-skip-link) {
	background: var(--rh-color-surface);
	color: var(--rh-color-dark-primary);
	font-weight: 700;
	left: var(--rh-space-4);
	padding: var(--rh-space-3) var(--rh-space-4);
	position: fixed;
	top: var(--rh-space-4);
	z-index: 100000;
}

.rh-site :where(.skip-link, .fusion-skip-link):not(:focus) {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.rh-site :where(input, select, textarea) {
	border: 1px solid var(--rh-color-border);
	border-radius: var(--rh-radius-small);
	min-height: 44px;
	padding: var(--rh-space-3) var(--rh-space-4);
}

.rh-site :where([aria-invalid="true"], .has-error input, .has-error textarea) {
	border-color: var(--rh-color-error);
	box-shadow: 0 0 0 1px var(--rh-color-error);
}

.rh-site :where(.error, .validation_error, .gfield_error .validation_message) {
	color: var(--rh-color-error);
	font-weight: 700;
}

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

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