/*
Theme Name: Barentsmessa 2026
Theme URI: https://barentsmessa.no
Author: Barentsmessa
Description: A lightweight aurora-inspired theme for Barentsmessa.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: barentsmessa
*/

:root {
	--bm-night: #020c1d;
	--bm-deep: #04243a;
	--bm-blue: #07506a;
	--bm-teal: #00bfa6;
	--bm-mint: #67ffc2;
	--bm-ice: #f4fbff;
	--bm-cloud: #c8deec;
	--bm-gold: #f2cc73;
	--bm-coral: #ff7a66;
	--bm-shadow: rgba(0, 7, 20, 0.42);
	--bm-radius: 8px;
	--bm-radius-sm: 6px;
	--bm-max: 1180px;
	--bm-header-height: 82px;
	--bm-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	overflow-x: hidden;
	background:
		radial-gradient(circle at 12% 16%, rgba(0, 191, 166, 0.16), transparent 28rem),
		radial-gradient(circle at 88% 5%, rgba(103, 255, 194, 0.13), transparent 24rem),
		linear-gradient(180deg, var(--bm-night) 0%, #03192b 44%, #03101e 100%);
	color: var(--bm-ice);
	font-family: var(--bm-font);
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.wp-theme-barentsmessa-2026 {
	background:
		radial-gradient(circle at 12% 16%, rgba(0, 191, 166, 0.16), transparent 28rem),
		radial-gradient(circle at 88% 5%, rgba(103, 255, 194, 0.13), transparent 24rem),
		linear-gradient(180deg, var(--bm-night) 0%, #03192b 44%, #03101e 100%) !important;
	color: var(--bm-ice) !important;
	font-family: var(--bm-font) !important;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	content: "";
	background-image:
		radial-gradient(circle at 6% 12%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
		radial-gradient(circle at 18% 31%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
		radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
		radial-gradient(circle at 86% 45%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
		radial-gradient(circle at 44% 74%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px);
	background-size: 220px 220px, 310px 310px, 260px 260px, 360px 360px, 290px 290px;
	opacity: 0.42;
}

body::after {
	position: fixed;
	inset: -20% -10% auto -12%;
	z-index: -1;
	height: 70vh;
	min-height: 520px;
	pointer-events: none;
	content: "";
	background:
		linear-gradient(116deg, transparent 0 23%, rgba(0, 149, 151, 0.18) 27%, rgba(103, 255, 194, 0.44) 34%, rgba(0, 191, 166, 0.18) 42%, transparent 50%),
		linear-gradient(124deg, transparent 0 39%, rgba(5, 105, 127, 0.24) 43%, rgba(103, 255, 194, 0.28) 50%, rgba(0, 191, 166, 0.14) 58%, transparent 66%);
	filter: blur(1px);
	opacity: 0.75;
	transform: skewY(-5deg);
}

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

a {
	color: var(--bm-mint);
	text-decoration-color: rgba(103, 255, 194, 0.45);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--bm-ice);
	text-decoration-color: var(--bm-gold);
}

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

input,
textarea,
select {
	max-width: 100%;
}

table {
	max-width: 100%;
}

::selection {
	background: rgba(103, 255, 194, 0.34);
	color: var(--bm-ice);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.screen-reader-text:focus {
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	clip: auto;
	border-radius: var(--bm-radius-sm);
	background: var(--bm-mint);
	color: var(--bm-night);
	padding: 0.6rem 0.8rem;
}

.skip-link {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 100;
	transform: translateY(-180%);
	border-radius: var(--bm-radius-sm);
	background: var(--bm-mint);
	color: var(--bm-night);
	font-weight: 800;
	padding: 0.65rem 1rem;
	transition: transform 0.18s ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(200, 222, 236, 0.12);
	background: rgba(2, 12, 29, 0.78);
	backdrop-filter: blur(18px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2rem);
	width: min(var(--bm-max), calc(100% - 2rem));
	min-height: var(--bm-header-height);
	margin: 0 auto;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	color: var(--bm-ice);
	text-decoration: none;
}

.site-branding img {
	display: block;
	width: min(265px, 48vw);
	max-height: 58px;
	object-fit: contain;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.site-branding__text {
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: 0;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border: 1px solid rgba(200, 222, 236, 0.2);
	border-radius: var(--bm-radius-sm);
	background: rgba(244, 251, 255, 0.06);
	color: var(--bm-ice);
	cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
	display: block;
	width: 19px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle__lines {
	position: relative;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
	position: absolute;
	left: 0;
}

.nav-toggle__lines::before {
	top: -6px;
}

.nav-toggle__lines::after {
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
	transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-left: auto;
}

.primary-menu,
.primary-menu ul {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	border-radius: var(--bm-radius-sm);
	color: rgba(244, 251, 255, 0.86);
	font-size: 0.94rem;
	font-weight: 750;
	padding: 0.25rem 0.7rem;
	text-decoration: none;
	white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	background: rgba(103, 255, 194, 0.11);
	color: var(--bm-ice);
}

.header-cta,
.bm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: var(--bm-radius-sm);
	background: linear-gradient(135deg, var(--bm-mint), var(--bm-teal));
	box-shadow: 0 14px 36px rgba(0, 191, 166, 0.22);
	color: var(--bm-ice);
	font-weight: 900;
	line-height: 1.1;
	padding: 0.82rem 1.1rem;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-cta:hover,
.bm-button:hover {
	box-shadow: 0 18px 46px rgba(103, 255, 194, 0.28);
	color: #fff;
	transform: translateY(-1px);
}

.bm-button--ghost {
	border: 1px solid rgba(200, 222, 236, 0.22);
	background: rgba(244, 251, 255, 0.08);
	box-shadow: none;
	color: var(--bm-ice);
}

.bm-button--ghost:hover {
	background: rgba(244, 251, 255, 0.12);
	color: var(--bm-ice);
	box-shadow: none;
}

.bm-button--compact {
	min-height: 42px;
	padding: 0.74rem 1rem;
}

.bm-card .bm-button,
.entry-content .bm-button {
	color: var(--bm-ice);
	text-decoration: none;
}

.bm-card .bm-button:hover,
.entry-content .bm-button:hover {
	color: #fff;
}

.bm-page:not(.bm-page--pamelding) .entry-content a[href*="pamelding"]:not(.bm-button),
body.home .bm-card a[href*="pamelding"]:not(.bm-button),
body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-card a[href*="pamelding"]:not(.bm-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 0;
	border-radius: var(--bm-radius-sm);
	background: linear-gradient(135deg, var(--bm-mint), var(--bm-teal));
	box-shadow: 0 14px 36px rgba(0, 191, 166, 0.22);
	color: var(--bm-ice);
	font-weight: 900;
	line-height: 1.1;
	padding: 0.74rem 1rem;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bm-page:not(.bm-page--pamelding) .entry-content a[href*="pamelding"]:not(.bm-button):hover,
body.home .bm-card a[href*="pamelding"]:not(.bm-button):hover,
body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-card a[href*="pamelding"]:not(.bm-button):hover {
	box-shadow: 0 18px 46px rgba(103, 255, 194, 0.28);
	color: #fff;
	transform: translateY(-1px);
}

.site-main {
	min-height: 68vh;
}

.bm-section {
	position: relative;
	padding: clamp(4rem, 8vw, 7rem) 0;
}

.bm-section--compact {
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.bm-section h2 {
	margin: 0;
	font-size: clamp(2.1rem, 5vw, 4.2rem);
	font-weight: 920;
	letter-spacing: 0;
	line-height: 0.98;
}

.bm-section--light {
	background:
		linear-gradient(180deg, rgba(244, 251, 255, 0.98), rgba(224, 242, 246, 0.98)),
		radial-gradient(circle at 82% 20%, rgba(0, 191, 166, 0.16), transparent 22rem);
	color: #07182a;
}

.bm-section--light a {
	color: #006b69;
}

.bm-container {
	width: min(var(--bm-max), calc(100% - 2rem));
	margin: 0 auto;
}

.bm-narrow {
	width: min(820px, calc(100% - 2rem));
	margin: 0 auto;
}

.bm-eyebrow {
	margin: 0 0 0.7rem;
	color: var(--bm-gold);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.bm-section--light .bm-eyebrow {
	color: #a66d00;
}

.bm-display,
.entry-title {
	margin: 0;
	color: var(--bm-ice);
	font-size: clamp(3.1rem, 8vw, 7rem);
	font-weight: 950;
	letter-spacing: 0;
	line-height: 0.9;
}

.entry-title {
	font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.bm-section--light h1,
.bm-section--light h2,
.bm-section--light h3 {
	color: #061729;
}

.bm-lead {
	max-width: 720px;
	margin: 1.2rem 0 0;
	color: rgba(244, 251, 255, 0.84);
	font-size: clamp(1.1rem, 2vw, 1.38rem);
	line-height: 1.55;
}

.bm-section--light .bm-lead {
	color: #315066;
}

.bm-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: calc(100vh - var(--bm-header-height));
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(2, 12, 29, 0.88) 0%, rgba(2, 12, 29, 0.68) 42%, rgba(2, 12, 29, 0.1) 100%),
		linear-gradient(180deg, rgba(2, 12, 29, 0.16), rgba(2, 12, 29, 0.9)),
		var(--hero-image);
	background-position: center;
	background-size: cover;
}

.bm-hero::before,
.bm-aurora-panel::before {
	position: absolute;
	inset: -8% -10%;
	content: "";
	background:
		linear-gradient(118deg, transparent 4%, rgba(4, 80, 106, 0.2) 18%, rgba(0, 191, 166, 0.5) 28%, rgba(103, 255, 194, 0.66) 35%, rgba(0, 191, 166, 0.32) 43%, transparent 58%),
		linear-gradient(126deg, transparent 20%, rgba(6, 92, 120, 0.26) 38%, rgba(0, 191, 166, 0.42) 46%, rgba(103, 255, 194, 0.28) 54%, transparent 68%),
		linear-gradient(112deg, transparent 36%, rgba(0, 191, 166, 0.14) 48%, rgba(103, 255, 194, 0.26) 56%, transparent 69%);
	mix-blend-mode: screen;
	opacity: 0.78;
	transform: rotate(-5deg);
	animation: bmAuroraDrift 18s ease-in-out infinite alternate;
}

.bm-hero::after {
	position: absolute;
	inset: 0;
	content: "";
	background:
		radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
		radial-gradient(circle at 23% 9%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
		radial-gradient(circle at 82% 23%, rgba(255, 255, 255, 0.78) 0 1px, transparent 2px),
		radial-gradient(circle at 92% 54%, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px);
	background-size: 260px 260px, 340px 340px, 310px 310px, 390px 390px;
	opacity: 0.62;
}

.bm-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: clamp(2.2rem, 5vw, 4rem);
	width: min(var(--bm-max), calc(100% - 2rem));
	margin: 0 auto;
	padding: clamp(5rem, 12vh, 9rem) 0 clamp(2.5rem, 7vh, 5rem);
}

.bm-hero__copy {
	max-width: 780px;
}

.bm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
}

.bm-inline-action {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.5rem;
}

.bm-hero__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	width: min(860px, 100%);
	border: 1px solid rgba(200, 222, 236, 0.16);
	border-radius: var(--bm-radius);
	overflow: hidden;
	background: rgba(244, 251, 255, 0.1);
	backdrop-filter: blur(18px);
}

.bm-stat {
	min-height: 116px;
	padding: 1.25rem;
	background: rgba(2, 12, 29, 0.56);
}

.bm-stat strong {
	display: block;
	color: var(--bm-mint);
	font-size: clamp(1.65rem, 3.5vw, 2.65rem);
	font-weight: 950;
	line-height: 1;
}

.bm-stat span {
	display: block;
	margin-top: 0.35rem;
	color: rgba(244, 251, 255, 0.78);
	font-size: 0.93rem;
	line-height: 1.35;
}

.bm-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.bm-split--reverse {
	grid-template-columns: minmax(280px, 1fr) minmax(0, 0.9fr);
}

.bm-photo {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(200, 222, 236, 0.12);
	border-radius: var(--bm-radius);
	box-shadow: 0 28px 80px var(--bm-shadow);
	background: var(--bm-deep);
}

.bm-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bm-photo::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent 42%, rgba(2, 12, 29, 0.4));
	pointer-events: none;
}

.bm-kicker-list {
	display: grid;
	gap: 1rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.bm-kicker-list li {
	position: relative;
	padding-left: 1.55rem;
	color: rgba(244, 251, 255, 0.84);
}

.bm-section--light .bm-kicker-list li {
	color: #315066;
}

.bm-kicker-list li::before {
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--bm-mint);
	box-shadow: 0 0 18px rgba(103, 255, 194, 0.75);
	content: "";
	transform: translateY(-50%);
}

.bm-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

.bm-card {
	position: relative;
	overflow: hidden;
	min-height: 285px;
	border: 1px solid rgba(200, 222, 236, 0.14);
	border-radius: var(--bm-radius);
	background: rgba(244, 251, 255, 0.07);
	box-shadow: 0 24px 70px rgba(0, 7, 20, 0.18);
	padding: clamp(1.35rem, 2.6vw, 1.9rem);
}

.bm-card::before {
	position: absolute;
	inset: 0;
	content: "";
	background:
		radial-gradient(circle at 18% 0%, rgba(103, 255, 194, 0.14), transparent 16rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
	pointer-events: none;
}

.bm-card > * {
	position: relative;
}

.bm-card h3 {
	margin: 0 0 0.75rem;
	color: var(--bm-ice);
	font-size: 1.3rem;
	line-height: 1.2;
}

.bm-card p {
	margin: 0;
	color: rgba(244, 251, 255, 0.76);
}

.bm-card .bm-eyebrow {
	margin-bottom: 0.75rem;
	color: var(--bm-gold);
}

.bm-card a {
	display: inline-flex;
	margin-top: 1.3rem;
	font-weight: 850;
	text-decoration: none;
}

.bm-section--light .bm-card {
	border-color: rgba(4, 36, 58, 0.12);
	background: rgba(255, 255, 255, 0.68);
	box-shadow: 0 18px 60px rgba(5, 50, 70, 0.12);
}

.bm-section--light .bm-card h3 {
	color: #07182a;
}

.bm-section--light .bm-card p {
	color: #315066;
}

.bm-schedule {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 2rem;
	overflow: hidden;
	border: 1px solid rgba(200, 222, 236, 0.14);
	border-radius: var(--bm-radius);
	background: rgba(200, 222, 236, 0.14);
}

.bm-schedule__item {
	background: rgba(2, 12, 29, 0.72);
	padding: clamp(1.2rem, 2.8vw, 1.7rem);
}

.bm-schedule__item strong {
	display: block;
	color: var(--bm-mint);
	font-size: 1.05rem;
}

.bm-schedule__item span {
	display: block;
	margin-top: 0.45rem;
	color: rgba(244, 251, 255, 0.76);
}

.bm-aurora-panel {
	position: relative;
	overflow: hidden;
	border-top: 1px solid rgba(200, 222, 236, 0.12);
	border-bottom: 1px solid rgba(200, 222, 236, 0.12);
	background:
		linear-gradient(135deg, rgba(2, 12, 29, 0.92), rgba(4, 36, 58, 0.88)),
		radial-gradient(circle at 85% 0%, rgba(103, 255, 194, 0.22), transparent 28rem);
}

.bm-aurora-panel > .bm-container {
	position: relative;
	z-index: 2;
}

.bm-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.bm-logo-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	min-height: 100px;
	border: 1px solid rgba(200, 222, 236, 0.12);
	border-radius: var(--bm-radius);
	background: rgba(255, 255, 255, 0.94);
	padding: 0.9rem;
}

.bm-logo-tile img {
	display: block;
	max-width: 145px;
	max-height: 76px;
	object-fit: contain;
}

.entry-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4.8rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
	border-bottom: 1px solid rgba(200, 222, 236, 0.12);
	background:
		linear-gradient(180deg, rgba(2, 12, 29, 0.44), rgba(2, 12, 29, 0.96)),
		radial-gradient(circle at 78% 8%, rgba(103, 255, 194, 0.24), transparent 26rem),
		radial-gradient(circle at 18% 24%, rgba(0, 191, 166, 0.17), transparent 22rem);
}

.entry-hero::before {
	position: absolute;
	inset: -22% -10%;
	content: "";
	background: linear-gradient(120deg, transparent 20%, rgba(0, 191, 166, 0.14) 35%, rgba(103, 255, 194, 0.26) 43%, rgba(0, 191, 166, 0.1) 54%, transparent 68%);
	transform: rotate(-6deg);
}

.entry-hero .bm-container {
	position: relative;
	z-index: 2;
}

.bm-page-hero .bm-lead {
	max-width: 780px;
}

.bm-page-actions {
	margin-top: 1.7rem;
}

.bm-page-section {
	padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.bm-page-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: 1rem;
	overflow: hidden;
	border: 1px solid rgba(200, 222, 236, 0.14);
	border-radius: var(--bm-radius);
	background: rgba(200, 222, 236, 0.14);
	box-shadow: 0 22px 70px rgba(0, 7, 20, 0.2);
}

.bm-fact {
	min-height: 106px;
	background:
		radial-gradient(circle at 14% 0%, rgba(103, 255, 194, 0.12), transparent 14rem),
		rgba(244, 251, 255, 0.07);
	padding: 1.1rem 1.25rem;
}

.bm-fact strong {
	display: block;
	color: var(--bm-mint);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 940;
	line-height: 1.05;
}

.bm-fact span {
	display: block;
	margin-top: 0.35rem;
	color: rgba(244, 251, 255, 0.76);
	font-size: 0.94rem;
	line-height: 1.35;
}

.bm-page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
	gap: 1rem;
	align-items: start;
}

.bm-page-layout--wide {
	grid-template-columns: 1fr;
}

.bm-content-panel.entry-content {
	width: auto;
	margin: 0;
	border: 1px solid rgba(200, 222, 236, 0.14);
	border-radius: var(--bm-radius);
	background:
		linear-gradient(180deg, rgba(244, 251, 255, 0.08), rgba(244, 251, 255, 0.045)),
		radial-gradient(circle at 100% 0%, rgba(103, 255, 194, 0.11), transparent 24rem);
	box-shadow: 0 24px 80px rgba(0, 7, 20, 0.2);
	padding: clamp(1.2rem, 3vw, 2.3rem);
}

.bm-page-layout--wide .bm-content-panel.entry-content {
	padding: clamp(0.75rem, 2vw, 1.4rem);
}

.bm-page-aside {
	position: sticky;
	top: calc(var(--bm-header-height) + 1rem);
}

.bm-aside-card {
	border: 1px solid rgba(200, 222, 236, 0.14);
	border-radius: var(--bm-radius);
	background:
		radial-gradient(circle at 12% 0%, rgba(103, 255, 194, 0.13), transparent 14rem),
		rgba(244, 251, 255, 0.07);
	box-shadow: 0 24px 80px rgba(0, 7, 20, 0.18);
	padding: 1.25rem;
}

.bm-link-list {
	display: grid;
	gap: 0.45rem;
}

.bm-link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	border: 1px solid rgba(200, 222, 236, 0.12);
	border-radius: var(--bm-radius-sm);
	background: rgba(2, 12, 29, 0.28);
	color: rgba(244, 251, 255, 0.88);
	font-weight: 820;
	padding: 0.72rem 0.85rem;
	text-decoration: none;
}

.bm-link-list a::after {
	content: ">";
	color: var(--bm-mint);
	font-weight: 900;
}

.bm-link-list a:hover {
	background: rgba(103, 255, 194, 0.12);
	color: var(--bm-ice);
}

.entry-content {
	width: min(980px, calc(100% - 2rem));
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--bm-ice);
	line-height: 1.15;
	letter-spacing: 0;
}

.entry-content h2 {
	margin-top: 2.8rem;
	font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.entry-content h3 {
	margin-top: 2rem;
	font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

.entry-content p,
.entry-content li {
	color: rgba(244, 251, 255, 0.8);
}

.entry-content [style*="color"] {
	color: inherit !important;
}

.entry-content [style*="background-color: #ffffff"],
.entry-content [style*="background-color:#ffffff"],
.entry-content [style*="background: #ffffff"],
.entry-content [style*="background:#ffffff"] {
	background: transparent !important;
}

.entry-content img {
	border-radius: var(--bm-radius);
}

.entry-content hr {
	height: 1px;
	border: 0;
	background: rgba(200, 222, 236, 0.15);
	margin: 2rem 0;
}

.entry-content .wp-block-image,
.entry-content figure {
	margin: 1.5rem 0;
}

.entry-content .wp-block-image img,
.entry-content figure img {
	box-shadow: 0 24px 70px rgba(0, 7, 20, 0.28);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	border: 1px solid rgba(200, 222, 236, 0.16);
	padding: 0.75rem;
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="number"],
.entry-content textarea,
.entry-content select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	border: 1px solid rgba(200, 222, 236, 0.24);
	border-radius: var(--bm-radius-sm);
	background: rgba(244, 251, 255, 0.08);
	color: var(--bm-ice);
	padding: 0.82rem 0.95rem;
}

.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	outline: 2px solid rgba(103, 255, 194, 0.56);
	outline-offset: 2px;
}

.entry-content input[type="submit"],
.entry-content button,
.wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: var(--bm-radius-sm);
	background: linear-gradient(135deg, var(--bm-mint), var(--bm-teal));
	color: #021222;
	font-weight: 900;
	padding: 0.82rem 1.15rem;
	cursor: pointer;
}

.entry-content label,
.wpcf7 label {
	color: rgba(244, 251, 255, 0.82);
	font-weight: 750;
}

.wpcf7 form {
	display: grid;
	gap: 1rem;
}

.wpcf7 p {
	margin: 0;
}

.wpcf7-response-output {
	border-radius: var(--bm-radius-sm);
	color: var(--bm-ice);
}

.bm-page--pamelding .elementor-element-735a373 {
	display: none;
}

.bm-page--pamelding .elementor-section,
.bm-page--pamelding .elementor-container,
.bm-page--pamelding .elementor-widget-wrap,
.bm-page--pamelding .elementor-widget-container,
.bm-page--pamelding .textwidget {
	width: 100% !important;
	max-width: none !important;
}

.bm-page--pamelding .booking-wrapper {
	max-width: none !important;
	margin: 0 auto 1.8rem !important;
	color: var(--bm-ice);
}

.bm-booking-map {
	width: 100%;
	overflow-y: visible;
	padding: 0 0 1rem;
}

.bm-booking-map .booking-wrapper {
	max-width: 1191px !important;
	min-width: 0 !important;
	width: 100% !important;
}

.bm-page--pamelding .legend,
.bm-page--pamelding .legend-grid {
	border: 1px solid rgba(200, 222, 236, 0.16);
	border-radius: var(--bm-radius);
	background:
		radial-gradient(circle at 16% 0%, rgba(103, 255, 194, 0.13), transparent 14rem),
		rgba(2, 12, 29, 0.72);
	box-shadow: 0 20px 60px rgba(0, 7, 20, 0.22);
	color: rgba(244, 251, 255, 0.86);
}

.bm-page--pamelding .legend-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	padding: 1rem;
}

.bm-page--pamelding .legend span,
.bm-page--pamelding .legend-details,
.bm-page--pamelding .legend-status-row,
.bm-page--pamelding .legend-price,
.bm-page--pamelding .legend-size,
.bm-page--pamelding .legend small {
	color: rgba(244, 251, 255, 0.82) !important;
}

.bm-page--pamelding .legend-item {
	border: 1px solid rgba(200, 222, 236, 0.1);
	border-radius: var(--bm-radius-sm);
	background: rgba(244, 251, 255, 0.055);
	padding: 0.75rem;
}

.bm-page--pamelding #kart-outer {
	justify-content: flex-start;
	overflow: visible;
	width: 100%;
	margin-bottom: 1.2rem;
	padding: 0 0 1rem;
}

.bm-page--pamelding #kart-container {
	position: relative !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 1191px !important;
	margin: 1rem auto 1rem !important;
	border: 1px solid rgba(200, 222, 236, 0.16) !important;
	border-radius: var(--bm-radius) !important;
	background: #fff !important;
	box-shadow: 0 26px 80px rgba(0, 7, 20, 0.25) !important;
}

.bm-page--pamelding #kart-bilde {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	display: block !important;
	border-radius: var(--bm-radius) !important;
	box-shadow: none !important;
}

.bm-page--pamelding .stand-btn {
	z-index: 2;
	border-width: 1px !important;
	border-color: rgba(2, 12, 29, 0.6) !important;
	border-radius: 4px !important;
	box-shadow: 0 8px 18px rgba(0, 7, 20, 0.22);
}

.bm-page--pamelding .stand-btn:hover:not([disabled]) {
	box-shadow: 0 0 0 3px rgba(103, 255, 194, 0.45), 0 12px 28px rgba(0, 7, 20, 0.28);
}

.bm-page--pamelding .stand-btn.lys-bla {
	background: linear-gradient(135deg, #78c8ff, #2f83c8) !important;
	color: #021222 !important;
}

.bm-page--pamelding .stand-btn.lys-gul {
	background: linear-gradient(135deg, #fff7c7, #f2cc73) !important;
	color: #021222 !important;
}

.bm-page--pamelding .stand-btn.mork-bla {
	background: linear-gradient(135deg, #5b8dff, #2642a4) !important;
	color: #f4fbff !important;
}

.bm-page--pamelding .stand-btn.mork-gul {
	background: linear-gradient(135deg, #55ffc2, #00a58e) !important;
	color: #021222 !important;
}

.bm-page--pamelding .stand-btn.lokal-mat {
	background: linear-gradient(135deg, #dfff7a, #95d83f) !important;
	color: #021222 !important;
}

.bm-page--pamelding .stand-btn.grå,
.bm-page--pamelding .stand-btn.forespurt {
	background: linear-gradient(135deg, #ffb469, #cc6f18) !important;
	color: #021222 !important;
}

.bm-page--pamelding .stand-btn.opptatt,
.bm-page--pamelding .stand-btn.reservert,
.bm-page--pamelding .stand-btn[disabled] {
	background: linear-gradient(135deg, #6a7c89, #354552) !important;
	color: rgba(244, 251, 255, 0.76) !important;
}

.bm-page--pamelding #kart-container .stand-btn {
	display: block !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 3px solid #333 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.13) !important;
}

.bm-page--pamelding #kart-container .stand-btn.lys-bla {
	background: #8bc0fc !important;
	color: #000 !important;
}

.bm-page--pamelding #kart-container .stand-btn.lys-gul {
	background: #fff !important;
	color: #000 !important;
}

.bm-page--pamelding #kart-container .stand-btn.mork-bla {
	background: #e600ff !important;
	color: #fff !important;
}

.bm-page--pamelding #kart-container .stand-btn.mork-gul {
	background: #004aff !important;
	color: #fff !important;
}

.bm-page--pamelding #kart-container .stand-btn.lokal-mat {
	background: #e4ff00 !important;
	color: #000 !important;
}

.bm-page--pamelding #kart-container .stand-btn.grå,
.bm-page--pamelding #kart-container .stand-btn.forespurt,
.bm-page--pamelding #kart-container .stand-btn.forespurt[disabled] {
	background: #ff9100 !important;
	color: #fff !important;
}

.bm-page--pamelding #kart-container .stand-btn.opptatt,
.bm-page--pamelding #kart-container .stand-btn.reservert,
.bm-page--pamelding #kart-container .stand-btn.reservert[disabled],
.bm-page--pamelding #kart-container .stand-btn[disabled] {
	background: #797979 !important;
	color: #fff !important;
}

	.bm-page--pamelding #kart-container .stand-btn span {
		color: inherit !important;
		text-shadow: none !important;
	}

	.bm-page--pamelding #kart-container .stand-btn.selected {
		border-color: #ff2f55 !important;
		box-shadow: 0 0 0 4px rgba(255, 47, 85, 0.34), 0 0 0 8px rgba(255, 255, 255, 0.92), 0 8px 18px rgba(0, 0, 0, 0.34) !important;
		color: #fff !important;
		overflow: visible !important;
		transform: translateY(-1px);
		z-index: 30;
	}

	.bm-page--pamelding #kart-container .stand-btn.selected::after {
		position: absolute;
		top: -7px;
		right: -7px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 20px;
		height: 20px;
		border: 2px solid #fff;
		border-radius: 999px;
		background: #ff2f55;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
		color: #fff;
		content: "✓";
		font-size: 11px;
		font-weight: 900;
		line-height: 1;
	}

	.bm-page--pamelding #kart-container .stand-btn.selected span {
		color: #fff !important;
		text-shadow: 0 1px 3px rgba(0, 27, 53, 0.82) !important;
	}

	body #barentsmesse-modal-bg {
		background: rgba(2, 12, 29, 0.84) !important;
	backdrop-filter: blur(12px);
}

body #barentsmesse-modal {
	max-width: 560px !important;
	border: 1px solid rgba(200, 222, 236, 0.18) !important;
	border-radius: var(--bm-radius) !important;
	background:
		linear-gradient(180deg, rgba(4, 36, 58, 0.98), rgba(2, 12, 29, 0.98)),
		radial-gradient(circle at 90% 0%, rgba(103, 255, 194, 0.18), transparent 18rem) !important;
	box-shadow: 0 26px 90px rgba(0, 7, 20, 0.5) !important;
	color: var(--bm-ice) !important;
	font-family: var(--bm-font) !important;
}

body #barentsmesse-modal h3,
body #barentsmesse-modal label,
body #barentsmesse-modal .vilkar-label,
body #barentsmesse-modal .vilkar-tekst,
body #barentsmesse-modal .standplass-info-box strong {
	color: var(--bm-ice) !important;
}

body #barentsmesse-modal .vilkar-label a {
	color: var(--bm-mint) !important;
}

body #barentsmesse-modal input,
body #barentsmesse-modal textarea {
	border-color: rgba(200, 222, 236, 0.26) !important;
	background: rgba(244, 251, 255, 0.08) !important;
	color: var(--bm-ice) !important;
	font-family: var(--bm-font) !important;
}

body #barentsmesse-modal input:focus,
body #barentsmesse-modal textarea:focus {
	outline: 2px solid rgba(103, 255, 194, 0.56);
	outline-offset: 2px;
}

body #barentsmesse-modal .standplass-info-box {
	max-width: none;
	border-color: rgba(103, 255, 194, 0.26);
	background: rgba(103, 255, 194, 0.08);
	color: rgba(244, 251, 255, 0.82);
	box-shadow: none;
}

.bm-page--contact .bm-content-panel,
.bm-page--overnatting .bm-content-panel {
	max-width: 820px;
}

.barentsmesse-success-message {
	border-radius: var(--bm-radius) !important;
	box-shadow: 0 20px 60px rgba(0, 7, 20, 0.2) !important;
}

.modal-bg {
	background: rgba(2, 12, 29, 0.82) !important;
	backdrop-filter: blur(10px);
}

.modal,
.barentsmesse-modal {
	border-radius: var(--bm-radius) !important;
}

	.site-footer {
		position: relative;
		overflow: hidden;
		border-top: 1px solid rgba(200, 222, 236, 0.12);
		background: #020915;
		padding: 2rem 0;
	}

.site-footer::before {
	position: absolute;
	inset: -20% -10%;
	content: "";
	background: linear-gradient(110deg, transparent 28%, rgba(0, 191, 166, 0.16) 42%, rgba(103, 255, 194, 0.14) 49%, transparent 63%);
	opacity: 0.55;
}

	.site-footer__inner {
		position: relative;
		z-index: 2;
		display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	width: min(var(--bm-max), calc(100% - 2rem));
	margin: 0 auto;
		color: rgba(244, 251, 255, 0.72);
	}

	.site-footer__inner p {
		margin: 0;
	}

	.site-footer a {
		color: var(--bm-ice);
		font-weight: 800;
		text-decoration: none;
	}

	.site-footer__credit {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.55rem;
		font-size: 0.95rem;
	}

	.site-footer__credit img {
		display: block;
		width: auto;
		height: 34px;
		object-fit: contain;
	}

	.not-found {
		text-align: center;
	}

@keyframes bmAuroraDrift {
	from {
		transform: rotate(-5deg) translate3d(-1%, -1%, 0);
	}

	to {
		transform: rotate(-3deg) translate3d(2%, 1%, 0);

	body.home .bm-hero,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child {
		min-height: calc(100svh - var(--bm-header-height));
		align-items: end;
		background:
			linear-gradient(180deg, rgba(2, 12, 29, 0.38) 0%, rgba(2, 12, 29, 0.82) 48%, rgba(2, 12, 29, 0.97) 100%),
			var(--hero-image);
		background-position: 58% center;
		background-size: cover;
	}

	body.home .bm-hero__inner,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__inner {
		gap: 1.35rem;
		padding: clamp(4.5rem, 16vh, 7rem) 0 1.15rem;
	}

	body.home .bm-hero__copy,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__copy {
		max-width: none;
		border: 1px solid rgba(200, 222, 236, 0.14);
		border-radius: var(--bm-radius);
		background: linear-gradient(180deg, rgba(2, 12, 29, 0.72), rgba(2, 12, 29, 0.48));
		box-shadow: 0 18px 60px rgba(0, 7, 20, 0.28);
		padding: 1rem;
		backdrop-filter: blur(10px);
	}

	body.home .bm-hero .bm-eyebrow,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-eyebrow {
		margin-bottom: 0.45rem;
		font-size: 0.7rem;
		letter-spacing: 0.11em;
	}

	body.home .bm-display,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-display {
		font-size: clamp(2.1rem, 12vw, 4.55rem);
		white-space: nowrap;
	}

	body.home .bm-hero .bm-lead,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-lead {
		margin-top: 0.75rem;
		font-size: 1rem;
		line-height: 1.48;
	}

	body.home .bm-hero__actions,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__actions {
		gap: 0.65rem;
		margin-top: 1.15rem;
	}

	body.home .bm-hero__meta,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__meta {
		gap: 0.55rem;
		border: 0;
		background: transparent;
		backdrop-filter: none;
	}

	body.home .bm-stat,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-stat {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 0.75rem;
		border: 1px solid rgba(200, 222, 236, 0.14);
		border-radius: var(--bm-radius-sm);
		background: rgba(2, 12, 29, 0.74);
		box-shadow: 0 12px 34px rgba(0, 7, 20, 0.2);
	}

	body.home .bm-stat strong,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-stat strong {
		font-size: 1.45rem;
		white-space: nowrap;
	}

	body.home .bm-stat span,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-stat span {
		margin-top: 0;
		font-size: 0.88rem;
	}

	body.home .bm-section:not(.bm-section--light) .bm-split,
	body.home .bm-section:not(.bm-section--light) .bm-split--reverse,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section:not(.bm-section--light) .bm-split,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section:not(.bm-section--light) .bm-split--reverse {
		gap: 1.35rem;
	}

	body.home .bm-section:not(.bm-section--light) .bm-split > div:first-child,
	body.home .bm-aurora-panel .bm-split > div:first-child,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section:not(.bm-section--light) .bm-split > div:first-child,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-aurora-panel .bm-split > div:first-child {
		border: 1px solid rgba(200, 222, 236, 0.12);
		border-radius: var(--bm-radius);
		background: rgba(244, 251, 255, 0.055);
		padding: 1rem;
	}

	body.home .bm-section--light,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section--light {
		background:
			linear-gradient(180deg, rgba(244, 251, 255, 0.98), rgba(229, 246, 248, 0.98)),
			radial-gradient(circle at 90% 0%, rgba(0, 191, 166, 0.2), transparent 18rem);
	}

	body.home .bm-card-grid,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-card-grid {
		gap: 0.85rem;
		margin-top: 1.3rem;
	}

	body.home .bm-card,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-card {
		border-radius: var(--bm-radius);
		box-shadow: 0 16px 46px rgba(0, 7, 20, 0.16);
	}

	body.home .bm-section--light .bm-card,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section--light .bm-card {
		background: rgba(255, 255, 255, 0.9);
	}

	body.home .bm-schedule,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-schedule {
		gap: 0.55rem;
		border: 0;
		background: transparent;
	}

	body.home .bm-schedule__item,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-schedule__item {
		border: 1px solid rgba(200, 222, 236, 0.14);
		border-radius: var(--bm-radius-sm);
		background: rgba(2, 12, 29, 0.68);
	}

	body.home .bm-logos,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section .bm-logos {
		margin-top: 1.2rem;
	}
	}
}

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

	.bm-hero::before,
	.bm-aurora-panel::before {
		animation: none;
	}
}

@media (max-width: 1080px) {
	.header-cta {
		display: none;
	}

	.primary-menu a {
		padding-inline: 0.55rem;
	}
}

@media (max-width: 1080px) {
	:root {
		--bm-header-height: 72px;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		right: 1rem;
		left: 1rem;
		display: none;
		align-items: stretch;
		max-height: calc(100vh - var(--bm-header-height) - 1.5rem);
		overflow-y: auto;
		border: 1px solid rgba(200, 222, 236, 0.16);
		border-radius: var(--bm-radius);
		background: rgba(2, 12, 29, 0.96);
		box-shadow: 0 24px 70px rgba(0, 7, 20, 0.35);
		padding: 0.6rem;
	}

	.site-nav.is-open {
		display: block;
	}

	.primary-menu,
	.primary-menu ul {
		display: grid;
		gap: 0.2rem;
	}

	.primary-menu a {
		justify-content: flex-start;
		width: 100%;
		min-height: 46px;
	}

	.bm-hero {
		min-height: auto;
		background-position: 62% center;
	}

	.bm-hero__inner {
		padding-top: clamp(4rem, 9vw, 6rem);
	}

	.bm-hero__meta,
	.bm-card-grid,
	.bm-schedule,
	.bm-split,
	.bm-split--reverse {
		grid-template-columns: 1fr;
	}

	.bm-page:not(.bm-page--pamelding) .bm-page-facts,
	.bm-page:not(.bm-page--pamelding) .bm-page-layout {
		grid-template-columns: 1fr;
	}

	.bm-page:not(.bm-page--pamelding) .bm-page-aside {
		position: static;
	}

	.bm-card {
		min-height: auto;
	}
}

@media (max-width: 640px) {
	:root {
		--bm-header-height: 64px;
	}

	body {
		font-size: 16px;
		line-height: 1.6;
		background:
			radial-gradient(circle at 50% 0%, rgba(0, 191, 166, 0.13), transparent 18rem),
			linear-gradient(180deg, var(--bm-night) 0%, #03192b 44%, #03101e 100%);
	}

	body::after {
		inset: -8% -45% auto -45%;
		height: 46vh;
		min-height: 300px;
		opacity: 0.48;
	}

	.site-header__inner {
		width: min(100% - 1rem, var(--bm-max));
		min-height: var(--bm-header-height);
		gap: 0.65rem;
	}

	.site-branding img {
		width: min(190px, 58vw);
		max-height: 48px;
	}

	.nav-toggle {
		width: 42px;
		height: 42px;

	body.home .bm-hero__copy,
	body.home .bm-section:not(.bm-section--light) .bm-split > div:first-child,
	body.home .bm-aurora-panel .bm-split > div:first-child,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__copy,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-section:not(.bm-section--light) .bm-split > div:first-child,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child ~ .bm-aurora-panel .bm-split > div:first-child {
		padding: 0.85rem;
	}

	body.home .bm-stat,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-stat {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}
		flex: 0 0 auto;
	}

	.site-nav {
		right: 0.5rem;
		left: 0.5rem;
		border-radius: 0 0 var(--bm-radius) var(--bm-radius);
	}

	.primary-menu a {
		min-height: 48px;
		font-size: 1rem;
		padding: 0.55rem 0.85rem;
	}

	.bm-container,
	.bm-narrow,
	.entry-content,
	.bm-hero__inner {
		width: min(100% - 1.25rem, var(--bm-max));
	}

	.bm-section {
		padding: 3rem 0;
	}

	.bm-section--compact {
		padding: 2.5rem 0;
	}

	.bm-section h2 {
		font-size: clamp(2rem, 13vw, 3rem);
		line-height: 1.04;
	}

	.bm-display,
	.entry-title {
		font-size: clamp(2.35rem, 16vw, 4.1rem);
		line-height: 0.95;
		overflow-wrap: anywhere;
	}

	body.home .bm-hero .bm-display,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-display {
		font-size: clamp(1.95rem, 11vw, 3rem);
		line-height: 1;
		overflow-wrap: normal;
		word-break: normal;
		white-space: nowrap;
	}

	.bm-lead {
		font-size: 1.04rem;
		line-height: 1.55;
	}

	.bm-hero {
		background:
			linear-gradient(180deg, rgba(2, 12, 29, 0.72), rgba(2, 12, 29, 0.94)),
			var(--hero-image);
		background-position: center;
		background-size: cover;
	}

	.bm-hero::before {
		opacity: 0.42;
	}

	.bm-hero::after {
		opacity: 0.32;
	}

	.bm-hero__inner {
		padding: 3.2rem 0 2.4rem;
	}

	.bm-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.bm-button {
		width: 100%;
		min-height: 48px;
		padding: 0.92rem 1rem;
	}

	.bm-stat {
		min-height: auto;
		padding: 1rem;
	}

	.bm-photo {
		border-radius: var(--bm-radius-sm);
	}

	.bm-photo img {
		aspect-ratio: 16 / 11;
	}

	.bm-card {
		padding: 1.1rem;
	}

	.bm-logo-tile {
		width: 100%;
		min-width: 0;
	}

	.bm-page:not(.bm-page--pamelding) .entry-hero {
		padding: 3.4rem 0 2.3rem;
	}

	.bm-page:not(.bm-page--pamelding) .bm-page-section {
		padding: 2rem 0 3rem;
	}

	.bm-page:not(.bm-page--pamelding) .bm-content-panel.entry-content,
	.bm-page:not(.bm-page--pamelding) .bm-page-layout--wide .bm-content-panel.entry-content {
		padding: 1rem;
	}

	.entry-content h2 {
		margin-top: 2rem;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.entry-content th,
	.entry-content td {
		padding: 0.6rem;
	}

	.site-footer__inner {
		display: grid;
		width: min(100% - 1.25rem, var(--bm-max));
		gap: 0.35rem;
		text-align: center;
	}
}

@media (max-width: 380px) {
	.site-branding img {
		width: min(165px, 54vw);
	}

	.bm-display,
	.entry-title {
		font-size: clamp(2.05rem, 15vw, 3.2rem);
	}

	body.home .bm-hero .bm-display,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-display {
		font-size: clamp(1.7rem, 10vw, 2.35rem);
	}

	.bm-page:not(.bm-page--pamelding) .bm-content-panel.entry-content,
	.bm-card,
	.bm-aside-card {
		padding: 0.85rem;
	}
}

body.home .bm-hero__copy,
body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__copy {
	transform: translateY(-clamp(1.5rem, 6vh, 4.5rem));
}

.bm-hero__date {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0.5rem 0 0;
	border: 1px solid rgba(200, 222, 236, 0.22);
	border-radius: 999px;
	background: rgba(2, 12, 29, 0.52);
	box-shadow: 0 10px 30px rgba(0, 7, 20, 0.24);
	color: #f4fbff;
	font-size: clamp(1.1rem, 2.4vw, 1.55rem);
	font-weight: 800;
	line-height: 1.1;
	padding: 0.45rem 0.9rem;
	text-shadow: 0 2px 18px rgba(0, 7, 20, 0.55);
}

body.home .bm-hero .bm-lead,
body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-lead {
	margin-top: 1rem;
}

@media (max-width: 760px) {
	body.home .bm-hero__copy,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__copy {
		transform: translateY(-1.4rem);
	}

	.bm-hero__date {
		font-size: 1rem;
		margin-top: 0.45rem;
		padding: 0.42rem 0.78rem;
	}
}

@media (max-width: 380px) {
	body.home .bm-hero__copy,
	body:not(.bm-page--pamelding) .site-main > .bm-hero:first-child .bm-hero__copy {
		transform: translateY(-0.9rem);
	}
}
