/*
 * NFHB Umsjón 1.1.0: Microsoft Forms registration buttons (#_NFHBSKRANING / [nfhb_skraning]) on
 * public event pages. Same box as the site's nfhb-next buttons (45px, 12px 19px, 5px radius,
 * Merriweather Sans 800 14px); NFHB red #B22F31 (white text 6.3:1). Scoped to .nfhb-skraning.
 */
:root .nfhb-skraning {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0;
}

:root .nfhb-skraning .nfhb-skraning__takki,
:root .nfhb-skraning .nfhb-skraning__takki:visited {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 12px 19px;
	border: 1px solid #B22F31;
	border-radius: 5px;
	background: #B22F31;
	color: #FFFFFF;
	font-family: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

:root .nfhb-skraning .nfhb-skraning__takki:hover,
:root .nfhb-skraning .nfhb-skraning__takki:focus-visible {
	background: #8F2527;
	border-color: #8F2527;
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: 0 6px 18px 0 rgba(5, 50, 83, 0.18);
}

:root .nfhb-skraning .nfhb-skraning__takki:focus {
	color: #FFFFFF;
	outline: 3px solid #084B7F;
	outline-offset: 2px;
}

:root .nfhb-skraning .nfhb-skraning__takki:focus:not(:focus-visible) {
	outline: none;
}

/* Announced to screen readers only. */
:root .nfhb-skraning .nfhb-skraning__nytt {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 420px) {
	:root .nfhb-skraning .nfhb-skraning__takki {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	:root .nfhb-skraning .nfhb-skraning__takki {
		transition: none;
	}
}

@media (forced-colors: active) {
	:root .nfhb-skraning .nfhb-skraning__takki {
		border-color: ButtonText;
	}
}
