/* ============================================================
   BEGRAVNINGJURIDIK – HEADER 2026
   Scoped till #bj-header. Värden hämtade från Elementor-mallen
   "header 2026" och live-sajten (#3B4856, Poppins och
   Cormorant Garamond i megamenyn).
============================================================ */
#bj-header {
	--slate:        #3B4856;   /* headerbakgrund, knappar, rubriker (global c7315d6) */
	--slate-dark:   #2f3a46;
	--slate-90:     rgba(59, 72, 86, 0.92);
	--blue:         #537DA4;   /* "Ring när som helst", hover på länkar */
	--blue-light:   #eef3f8;
	--ink:          #1d232b;
	--ink-soft:     #333333;
	--link:         #020101;
	--menu-text:    #EEEEEE;
	--white:        #ffffff;
	--line:         #e6e9ed;
	--panel-bg:     #f5f7f9;
	--sans:         'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--serif:        'Cormorant Garamond', Georgia, serif;
	--serif-caps:   'Cormorant', 'Cormorant Garamond', Georgia, serif;
	--accent:       #537DA4;   /* punkt, etiketter, understrykning (byt till t.ex. #B08D57 för guld) */
	--top-h:        96px;      /* vit topprad: loggor + byråtext, jour, boka */
	--main-h:       58px;      /* mörk menyrad */
	--main-h-stuck: 76px;      /* menyraden i scrollat läge – lite mer luft när den är ensam */
	--bar-h:        154px;     /* spacer = topprad + menyrad */
	--bar-h-mobile: 84px;
	--logo-h:       44px;
	--inner-w:      1340px;
	--radius-btn:   15px;
	--ease:         cubic-bezier(0.23, 1, 0.32, 1);
	--speed:        220ms;

	/* #bj-header är en spacer med samma höjd som raden; själva raden är fixed (som Elementors sticky). */
	position: relative;
	z-index: 999;
	height: var(--bar-h);
	font-family: var(--sans);
	color: var(--ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

#bj-header, #bj-header *, #bj-header *::before, #bj-header *::after {
	box-sizing: border-box;
}
#bj-header ul, #bj-header li, #bj-header p, #bj-header h2 {
	margin: 0;
	padding: 0;
	list-style: none;
}
#bj-header img {
	display: block;
	max-width: 100%;
	height: auto;
}
#bj-header button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}
#bj-header a {
	color: inherit;
	text-decoration: none;
}
#bj-header :focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}
#bj-header [hidden] {
	display: none !important;
}
#bj-header .bjh-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------
   Headerraden – två rader på desktop: vit topprad (loggor + ring)
   och mörk menyrad (länkar + knappar). Raden är fixed, #bj-header
   är spacern.
------------------------------------------------------------ */
#bj-header .bjh-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--slate);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
	transform: translateY(0);
	transition: transform 260ms var(--ease);
}
/* WordPress adminrad för inloggade. */
body.admin-bar #bj-header .bjh-bar { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar #bj-header .bjh-bar { top: 46px; }
}

#bj-header .bjh-inner {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: var(--inner-w);
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
}

/* Topprad (vit): loggor + byråtext på vänsterlinjen, jour + boka på högerlinjen */
#bj-header .bjh-top {
	height: var(--top-h);
	overflow: hidden;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
#bj-header .bjh-top .bjh-inner {
	justify-content: space-between;
	gap: 32px;
}
#bj-header .bjh-bar.is-stuck {
	transform: translateY(calc(-1 * var(--top-h)));
}

/* Loggor sida vid sida med tunn avdelare, byråtext under */
#bj-header .bjh-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
#bj-header .bjh-logos {
	display: flex;
	align-items: center;
	gap: 18px;
}
#bj-header .bjh-logos__img {
	width: auto;
	height: 58px;
	max-width: 190px;
	object-fit: contain;
}
#bj-header .bjh-logos__sep {
	width: 1px;
	height: 36px;
	background: var(--line);
}
#bj-header .bjh-brand__caption {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--accent);
}

/* Jour-nummer + Boka rådgivning */
#bj-header .bjh-contact {
	display: flex;
	align-items: center;
	gap: 30px;
}
#bj-header .bjh-jour {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0;
	color: var(--ink);
	text-align: left;
}
#bj-header .bjh-jour__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1;
}
#bj-header .bjh-jour__label {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
}
#bj-header .bjh-jour__number {
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--slate);
	transition: color var(--speed) var(--ease);
}
#bj-header .bjh-jour:hover .bjh-jour__number,
#bj-header .bjh-jour:focus-visible .bjh-jour__number {
	color: var(--blue);
}
#bj-header .bjh-book {
	display: inline-flex;
	align-items: center;
	padding: 15px 28px;
	background: var(--slate);
	color: var(--white);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	border-radius: 3px;
	transition: background-color var(--speed) var(--ease);
}
#bj-header .bjh-book:hover,
#bj-header .bjh-book:focus-visible {
	background: var(--blue);
}

/* Menyrad (mörk): meny till vänster, textlänk till höger */
#bj-header .bjh-main {
	height: var(--main-h);
	transition: height 260ms var(--ease);
}
#bj-header .bjh-bar.is-stuck .bjh-main {
	height: var(--main-h-stuck);
}
#bj-header .bjh-main .bjh-inner {
	justify-content: space-between;
	gap: 24px;
}
#bj-header .bjh-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
}
#bj-header .bjh-menu {
	display: flex;
	align-items: center;
	gap: 30px;
}
#bj-header .bjh-menu__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--menu-text);
	white-space: nowrap;
	transition: color var(--speed) var(--ease);
}
/* Understrykning: syns på hover, öppen megameny och aktuell sida */
#bj-header .bjh-menu__link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--white);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--speed) var(--ease);
}
#bj-header .bjh-menu__link:hover,
#bj-header .bjh-menu__link:focus-visible,
#bj-header .bjh-menu__link.is-current,
#bj-header .bjh-menu__item--mega.is-open .bjh-menu__link {
	color: var(--white);
}
#bj-header .bjh-menu__link:hover::after,
#bj-header .bjh-menu__link:focus-visible::after,
#bj-header .bjh-menu__link.is-current::after,
#bj-header .bjh-menu__item--mega.is-open .bjh-menu__link::after {
	transform: scaleX(1);
}
#bj-header .bjh-menu__toggle .bjh-icon {
	width: 14px;
	height: 14px;
	opacity: 0.8;
	transition: transform var(--speed) var(--ease);
}
#bj-header .bjh-menu__item--mega.is-open .bjh-menu__toggle .bjh-icon {
	transform: rotate(180deg);
}

#bj-header .bjh-main__right {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	align-self: stretch;
}
#bj-header .bjh-analysis {
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	color: var(--white);
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
	transition: color var(--speed) var(--ease), opacity 200ms ease;
}
#bj-header .bjh-analysis:hover,
#bj-header .bjh-analysis:focus-visible {
	color: var(--white);
	text-decoration-thickness: 2px;
}
#bj-header .bjh-bar.is-stuck .bjh-analysis {
	opacity: 0;
	visibility: hidden;
}

/* Kompakt CTA – tar textlänkens plats när toppraden glidit bort */
#bj-header .bjh-stuck-cta {
	position: absolute;
	right: 0;
	top: 50%;
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translate(8px, -50%);
	transition: opacity 220ms ease, transform 260ms var(--ease), visibility 0s linear 220ms;
}
#bj-header .bjh-bar.is-stuck .bjh-stuck-cta {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
	transition: opacity 220ms ease 120ms, transform 260ms var(--ease) 120ms, visibility 0s;
}
#bj-header .bjh-stuck-cta__book {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	background: var(--white);
	color: var(--slate);
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	border-radius: 3px;
	transition: background-color var(--speed) var(--ease);
}
#bj-header .bjh-stuck-cta__book:hover,
#bj-header .bjh-stuck-cta__book:focus-visible {
	background: var(--blue-light);
}
#bj-header .bjh-stuck-cta__book .bjh-icon {
	width: 15px;
	height: 15px;
}
#bj-header .bjh-stuck-cta__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	transition: background-color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
#bj-header .bjh-stuck-cta__phone:hover,
#bj-header .bjh-stuck-cta__phone:focus-visible {
	background: var(--blue);
	border-color: var(--blue);
}
#bj-header .bjh-stuck-cta__phone .bjh-icon {
	width: 15px;
	height: 15px;
}

/* ------------------------------------------------------------
   Megameny
------------------------------------------------------------ */
#bj-header .bjh-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 998;
	display: none;
	max-height: calc(100vh - var(--bar-h));
	overflow-y: auto;
	background: var(--white);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}
#bj-header .bjh-menu__item--mega.is-open .bjh-mega {
	display: block;
	animation: bjh-mega-in 200ms var(--ease);
}
@keyframes bjh-mega-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}
#bj-header .bjh-mega__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 20px;
	max-width: 1300px;
	margin: 0 auto;
	padding: 34px 20px 40px;
}
#bj-header .bjh-mega__intro {
	padding-right: 12px;
}
#bj-header .bjh-mega__title {
	display: block;
	margin-bottom: 14px;
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #000000;
}
#bj-header .bjh-mega__text {
	margin-bottom: 22px;
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.5;
	color: var(--ink-soft);
}

#bj-header .bjh-btn {
	display: inline-block;
	padding: 15px 20px;
	background: var(--slate);
	color: var(--white);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	border-radius: var(--radius-btn);
	transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
#bj-header .bjh-btn:hover,
#bj-header .bjh-btn:focus-visible {
	background: var(--blue);
}
#bj-header .bjh-btn--small {
	padding: 12px 18px;
	font-size: 15px;
}
#bj-header .bjh-btn--outline {
	background: var(--white);
	color: var(--slate);
	border: 1px solid var(--slate);
}
#bj-header .bjh-btn--outline:hover,
#bj-header .bjh-btn--outline:focus-visible {
	background: var(--slate);
	color: var(--white);
}

#bj-header .bjh-group + .bjh-group {
	margin-top: 30px;
}
#bj-header .bjh-group__heading {
	display: block;
	margin-bottom: 14px;
	font-family: var(--serif-caps);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--slate);
}
#bj-header .bjh-group__links li + li {
	margin-top: 14px;
}
#bj-header .bjh-group__links a {
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.5;
	color: var(--link);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color var(--speed) var(--ease);
}
#bj-header .bjh-group__links a:hover,
#bj-header .bjh-group__links a:focus-visible {
	color: var(--blue);
}

/* ------------------------------------------------------------
   Mobilrad (< 1100 px)
------------------------------------------------------------ */
/* Logga + namn till vänster, Boka och hamburgare till höger */
#bj-header .bjh-mobile {
	display: none;
	grid-template-columns: minmax(0, 1fr) auto auto;
	grid-template-areas: "brand book burger";
	align-items: center;
	gap: 12px;
	min-height: var(--bar-h-mobile);
	padding: 8px 16px;
	background: var(--white);
	box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.07);
}
#bj-header .bjh-burger {
	grid-area: burger;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	color: var(--ink);
	border-radius: 8px;
}
#bj-header .bjh-burger .bjh-icon {
	width: 34px;
	height: 34px;
	stroke-width: 2.2;
}
#bj-header .bjh-mobile__logos {
	grid-area: brand;
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
/* "GGVV" på egen rad, resten under – samma blå som på desktop */
#bj-header .bjh-mobile__caption {
	min-width: 0;
	font-size: 10px;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-align: left;
}
#bj-header .bjh-mobile__caption b {
	display: block;
	font-size: 14px;
	font-weight: inherit;
	letter-spacing: 0.24em;
}
#bj-header .bjh-mobile__img {
	flex: 0 0 auto;
	width: auto;
	height: 48px;
	max-height: 48px;
	object-fit: contain;
}
#bj-header .bjh-mobile__book-short { display: none; }
#bj-header .bjh-mobile__book {
	grid-area: book;
	padding: 10px 14px;
	background: var(--slate);
	color: var(--white);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	border-radius: 8px;
	transition: background-color var(--speed) var(--ease);
}
#bj-header .bjh-mobile__book:hover,
#bj-header .bjh-mobile__book:focus-visible {
	background: var(--blue);
}

@media (max-width: 1099px) {
	#bj-header { height: var(--bar-h-mobile); }
	#bj-header .bjh-desktop { display: none; }
	#bj-header .bjh-mobile  { display: grid; }
	#bj-header .bjh-bar     { background: var(--white); transform: none; transition: none; }
	#bj-header .bjh-bar.is-stuck { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 480px) {
	#bj-header { height: 72px; }
	#bj-header .bjh-mobile { min-height: 72px; padding: 6px 12px; }
	#bj-header .bjh-burger .bjh-icon { width: 30px; height: 30px; }
	#bj-header .bjh-mobile__img { height: 36px; max-height: 36px; }
	#bj-header .bjh-mobile__logos { gap: 10px; }
	#bj-header .bjh-mobile__caption { font-size: 9px; }
	#bj-header .bjh-mobile__caption b { font-size: 13px; }
	#bj-header .bjh-mobile__book { padding: 10px 14px; font-size: 13px; }
	#bj-header .bjh-mobile__book-full  { display: none; }
	#bj-header .bjh-mobile__book-short { display: inline; }
}
/* Riktigt små skärmar */
@media (max-width: 360px) {
	#bj-header .bjh-mobile { gap: 8px; }
	#bj-header .bjh-mobile__book { padding: 10px 12px; }
	#bj-header .bjh-mobile__img + .bjh-mobile__img { display: none; }
}

/* Mellanläge 1100–1400 px: tätare så att allt ryms. */
@media (min-width: 1100px) and (max-width: 1400px) {
	#bj-header .bjh-logos { gap: 12px; }
	#bj-header .bjh-logos__img { height: 58px; max-width: 160px; }
	#bj-header .bjh-contact { gap: 20px; }
	#bj-header .bjh-jour__number { font-size: 26px; }
	#bj-header .bjh-book { padding: 13px 20px; font-size: 14px; }
	#bj-header .bjh-menu { gap: 22px; }
	#bj-header .bjh-menu__link { font-size: 15px; }
}

/* ------------------------------------------------------------
   Mobilmeny (panel från vänster)
------------------------------------------------------------ */
#bj-header .bjh-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}
#bj-header .bjh-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(29, 35, 43, 0.55);
	opacity: 0;
	transition: opacity 250ms ease;
}
#bj-header .bjh-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(420px, 100%);
	display: flex;
	flex-direction: column;
	background: var(--white);
	overflow-y: auto;
	overscroll-behavior: contain;
	box-shadow: 8px 0 40px rgba(0, 0, 0, 0.2);
	transform: translateX(-100%);
	transition: transform 300ms var(--ease);
}
#bj-header .bjh-drawer.is-open .bjh-drawer__backdrop { opacity: 1; }
#bj-header .bjh-drawer.is-open .bjh-drawer__panel   { transform: translateX(0); }

#bj-header .bjh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
}
#bj-header .bjh-drawer__logos {
	display: flex;
	align-items: center;
	gap: 16px;
}
#bj-header .bjh-drawer__logos img {
	width: auto;
	height: 48px;
	max-height: 48px;
	object-fit: contain;
}
#bj-header .bjh-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-right: -8px;
	color: var(--ink);
	border-radius: 8px;
}
#bj-header .bjh-drawer__close .bjh-icon {
	width: 26px;
	height: 26px;
}

#bj-header .bjh-drawer__list {
	padding: 6px 0;
}
#bj-header .bjh-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 15px 20px;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	text-align: left;
	border-bottom: 1px solid #eef0f3;
	transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
#bj-header .bjh-drawer__link:hover,
#bj-header .bjh-drawer__link:focus-visible {
	color: var(--blue);
	background: #fafbfc;
}
#bj-header .bjh-acc__toggle .bjh-icon {
	width: 18px;
	height: 18px;
	color: var(--blue);
	transition: transform var(--speed) var(--ease);
}
#bj-header .bjh-acc__toggle[aria-expanded="true"] {
	color: var(--blue);
}
#bj-header .bjh-acc__toggle[aria-expanded="true"] .bjh-icon {
	transform: rotate(180deg);
}
#bj-header .bjh-acc__panel {
	padding: 18px 20px 22px;
	background: var(--panel-bg);
	border-bottom: 1px solid #eef0f3;
}
#bj-header .bjh-acc__panel .bjh-group + .bjh-group {
	margin-top: 22px;
}
#bj-header .bjh-acc__panel .bjh-group__heading {
	font-size: 16px;
	margin-bottom: 8px;
}
#bj-header .bjh-acc__panel .bjh-group__links li + li {
	margin-top: 0;
}
#bj-header .bjh-acc__panel .bjh-group__links a {
	display: block;
	padding: 6px 0;
	font-size: 18px;
	text-decoration: none;
}
#bj-header .bjh-acc__panel .bjh-btn {
	display: block;
	margin-top: 22px;
}

#bj-header .bjh-drawer__cta {
	display: grid;
	gap: 10px;
	padding: 20px;
}
#bj-header .bjh-drawer__cta .bjh-btn {
	display: block;
}

#bj-header .bjh-drawer__phone {
	margin-top: auto;
	padding: 4px 20px 32px;
}
#bj-header .bjh-drawer__phone-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--blue);
}
#bj-header .bjh-drawer__phone-title .bjh-icon {
	width: 16px;
	height: 16px;
}
#bj-header .bjh-drawer__jour {
	display: inline-block;
	margin: 6px 0 12px;
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--ink);
}

/* Kontorslista (delas av mobilmeny och telefonruta) */
#bj-header .bjh-offices li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	font-family: var(--sans);
	font-size: 14px;
}
#bj-header .bjh-offices li span {
	color: #555;
}
#bj-header .bjh-offices li a {
	font-weight: 500;
	color: var(--slate);
	white-space: nowrap;
}
#bj-header .bjh-offices li a:hover,
#bj-header .bjh-offices li a:focus-visible {
	color: var(--blue);
}

/* ------------------------------------------------------------
   Telefonruta ("Ring när som helst")
------------------------------------------------------------ */
#bj-header .bjh-modal {
	position: fixed;
	inset: 0;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
#bj-header .bjh-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(29, 35, 43, 0.6);
	opacity: 0;
	transition: opacity 250ms ease;
}
#bj-header .bjh-modal__card {
	position: relative;
	width: min(460px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 44px 32px 32px;
	background: var(--white);
	border-radius: var(--radius-btn);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
	text-align: center;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
#bj-header .bjh-modal.is-open .bjh-modal__backdrop { opacity: 1; }
#bj-header .bjh-modal.is-open .bjh-modal__card     { opacity: 1; transform: none; }

#bj-header .bjh-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--ink);
	border-radius: 50%;
	transition: background-color var(--speed) var(--ease);
}
#bj-header .bjh-modal__close:hover,
#bj-header .bjh-modal__close:focus-visible {
	background: var(--blue-light);
}
#bj-header .bjh-modal__close .bjh-icon {
	width: 22px;
	height: 22px;
}
#bj-header .bjh-modal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 14px;
	background: var(--blue-light);
	color: var(--blue);
	border-radius: 50%;
}
#bj-header .bjh-modal__icon .bjh-icon {
	width: 24px;
	height: 24px;
}
#bj-header .bjh-modal__title {
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--ink);
}
#bj-header .bjh-modal__lead {
	margin-top: 8px;
	font-family: var(--serif);
	font-size: 18px;
	color: var(--ink-soft);
}
#bj-header .bjh-modal__jour {
	display: inline-block;
	margin: 12px 0 22px;
	padding: 14px 26px;
	background: var(--slate);
	color: var(--white);
	font-family: var(--sans);
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
	border-radius: 3px;
	transition: background-color var(--speed) var(--ease);
}
#bj-header .bjh-modal__jour:hover,
#bj-header .bjh-modal__jour:focus-visible {
	background: var(--blue);
}
#bj-header .bjh-offices--modal {
	text-align: left;
	border-bottom: 1px solid var(--line);
}
#bj-header .bjh-offices--modal li span {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
}
#bj-header .bjh-offices--modal li a {
	font-size: 15px;
}
#bj-header .bjh-modal__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-family: var(--sans);
	font-size: 14px;
	color: var(--blue);
}
#bj-header .bjh-modal__mail .bjh-icon {
	width: 16px;
	height: 16px;
}

/* Låser sidans scroll när panel/ruta är öppen (sätts på <html>). */
html.bjh-lock {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	#bj-header *, #bj-header *::before, #bj-header *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
