/**
 * SDB One Foundation — SDB Header element (front end).
 *
 * A verbatim port of the Header2 template's header styling: the Bricks global
 * classes (site-header / nav / morph / mega / mnav families), the template's
 * HTML/CSS code element, and the two per-element rules that mattered. Design
 * tokens (--primary, --surface, --hh, --ease, …) come from the Bricks global
 * variables and ACSS, which are site-wide and independent of the template.
 *
 * The only additions: the .sdb-header-root wrapper (display:contents so the
 * sticky header still pins against #brx-header, not the element wrapper), the
 * .site-header--primary modifier that replaces the old conditional "Color
 * Header" section, and .sdb-loc-card, which replaces two per-element-ID rules
 * from the locations dropdown.
 */

.sdb-header-root {
	display: contents;
}

/*
 * A <button> with no colour of its own takes the browser's: black in Chrome,
 * but system blue in Safari on iPhone, which turned the hamburger and the
 * template's card buttons (the Milan feature section's) blue there. Give
 * every button its surroundings' colour instead. :where() keeps this at zero
 * specificity, so any rule that does set a button's colour still wins. Here,
 * not in a theme file, because this stylesheet is on every page.
 */
:where(button) {
	color: inherit;
}

/* ── Top bar ───────────────────────────────────────────────────────────────
   The band above the nav bar, from Header Menu → Top bar. Sized like the
   template's .top-bar block it replaces, coloured like Brand Setup's top bar
   rules (ACSS ultra-light background, the link colour for it, darkened). It
   carries the template's class names too, so a brand's own .top-bar rules
   keep applying. Icons draw in currentColor and follow their link. */

.sdb-topbar {
	display: flex;
	align-items: center;
	width: 100%;
	padding: calc(var(--space-xs, 1rem) / 2) var(--gutter, 24px);
	background-color: var(--bg-ultra-light, var(--primary-ultra-light, #f4f6f8));
	font-size: var(--text-s, .875rem);
	line-height: 1.4;
	--sdb-topbar-link: var(--bg-ultra-light-link, var(--link-color, var(--primary)));
	--sdb-topbar-color: var(--text-dark, #222);
	--sdb-topbar-hover: var(--text-dark, #000);
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.sdb-topbar {
		--sdb-topbar-color: color-mix(in srgb, var(--sdb-topbar-link) 60%, #000);
		--sdb-topbar-hover: color-mix(in srgb, var(--sdb-topbar-link) 40%, #000);
	}
}

.sdb-topbar__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 24px;
	padding: 0;
}

.sdb-topbar--full .sdb-topbar__inner {
	width: 100%;
	max-width: 100%;
}

.sdb-topbar__side {
	display: flex;
	align-items: center;
	min-width: 0;
	color: var(--sdb-topbar-color);
}

.sdb-topbar__side--right {
	margin-left: auto;
	justify-content: flex-end;
	text-align: right;
}

.sdb-topbar__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sdb-topbar__item {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

/* Items are 8px apart. A subtle divider stands between items, 8px either
   side of it, except between two icon-only links (the social profiles
   read as one group). Drawn in the link colour at low opacity, so it suits
   any brand. */
.sdb-topbar .sdb-topbar__item + .sdb-topbar__item:not(:has(> .sdb-topbar__icon-link:only-child))::before,
.sdb-topbar .sdb-topbar__item:not(:has(> .sdb-topbar__icon-link:only-child)) + .sdb-topbar__item::before {
	content: "";
	align-self: center;
	width: 1px;
	height: 1em;
	margin-right: 8px;
	background-color: currentColor;
	opacity: .3;
}

.sdb-topbar__text {
	margin: 0;
	max-width: none;
}

.sdb-topbar a,
.sdb-topbar .sdb-topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sdb-topbar-color);
	font-weight: 400;
	/* Every text link is underlined, not just on hover: on the tinted bar
	   colour alone doesn't say "link". An icon inside a link (the phone's)
	   isn't text, so the underline runs under the words only. */
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sdb-topbar .sdb-topbar__text a {
	display: inline;
}

.sdb-topbar a:hover,
.sdb-topbar a:focus-visible {
	color: var(--sdb-topbar-hover);
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

/* Icon-only links (social profiles, icon links without a visible label). */
.sdb-topbar .sdb-topbar__icon-link,
.sdb-topbar .sdb-topbar__icon-link:hover,
.sdb-topbar .sdb-topbar__icon-link:focus-visible {
	text-decoration: none;
}

.sdb-topbar .sdb-topbar__icon-link:hover .sdb-topbar__icon,
.sdb-topbar .sdb-topbar__icon-link:focus-visible .sdb-topbar__icon {
	opacity: .75;
}

.sdb-topbar__icon {
	flex-shrink: 0;
	width: var(--icon-size, 20px);
	height: var(--icon-size, 20px);
	max-width: 22px;
	max-height: 22px;
	color: inherit;
}

/* Uploaded SVGs bring their own colours; draw them in the link colour. */
.sdb-topbar svg.sdb-topbar__icon [stroke]:not([stroke="none"]),
.sdb-topbar svg.sdb-topbar__icon[stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.sdb-topbar svg.sdb-topbar__icon [fill]:not([fill="none"]),
.sdb-topbar svg.sdb-topbar__icon[fill]:not([fill="none"]) {
	fill: currentColor;
}

.sdb-topbar__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Icon-only links show their label on hover and keyboard focus: the same
   text screen readers get, as a small tooltip under the icon. The bar sits
   one level above the sticky header (z-index 999) so the tooltip isn't
   hidden behind it; the two never overlap otherwise. */
.sdb-topbar {
	position: relative;
	z-index: 1000;
}

.sdb-topbar .sdb-topbar__icon-link {
	position: relative;
}

.sdb-topbar .sdb-topbar__icon-link .sdb-topbar__sr {
	top: calc(100% + 8px);
	left: 50%;
	transform: translate(-50%, -4px);
	opacity: 0;
	transition: opacity .15s var(--ease, ease), transform .15s var(--ease, ease);
	pointer-events: none;
}

.sdb-topbar .sdb-topbar__icon-link:is(:hover, :focus-visible) .sdb-topbar__sr {
	width: auto;
	height: auto;
	margin: 0;
	padding: 4px 9px;
	overflow: visible;
	clip: auto;
	border-radius: 6px;
	background: var(--text-dark, #1d2327);
	color: var(--white, #fff);
	font-size: 12px;
	line-height: 1.4;
	font-weight: 500;
	text-decoration: none;
	opacity: 1;
	transform: translate(-50%, 0);
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}

/* The little arrow pointing at the icon. */
.sdb-topbar .sdb-topbar__icon-link:is(:hover, :focus-visible) .sdb-topbar__sr::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-bottom-color: var(--text-dark, #1d2327);
}

/* Once the header collapses to the menu button, the bar's items live in the
   menu drawer instead (.sdb-mnav-topbar, below). */
@media (max-width: 980px) {
	.sdb-topbar {
		display: none !important;
	}
}

/* ── Top bar items in the menu drawer ─────────────────────────────────────
   Under the menu rows, after a hairline: labelled links and the text line
   stack as quieter rows; icon-only links (the social profiles) gather into
   one row of icons at the end. */

.sdb-mnav-topbar {
	margin: 12px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--line, rgba(0, 0, 0, .1));
}

.sdb-mnav-topbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sdb-mnav-topbar__list > li {
	display: flex;
	flex: 0 0 100%;
	margin: 0;
	padding: 0;
}

.sdb-mnav-topbar__list > li:has(> .sdb-topbar__icon-link:only-child) {
	flex: 0 0 auto;
	order: 1;
	margin-top: 6px;
	margin-right: 6px; /* 8px between squares with the list's 2px gap */
	/* The first square's edge lines up with the rows' content (14px in). */
	position: relative;
	left: 14px;
}

.sdb-mnav-topbar .sdb-topbar__link {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 14px;
	border-radius: 9px;
	line-height: 1.4;
	color: var(--ink-soft, var(--text-dark));
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s var(--ease);
}

.sdb-mnav-topbar .sdb-topbar__link:hover,
.sdb-mnav-topbar .sdb-topbar__link:active {
	background: var(--line-soft, rgba(0, 0, 0, .05));
}

.sdb-mnav-topbar .sdb-topbar__icon-link {
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 8px;
	background: var(--primary-ultra-light, #eef3f8);
	color: var(--ink, var(--text-dark));
}

.sdb-mnav-topbar .sdb-topbar__icon-link:hover,
.sdb-mnav-topbar .sdb-topbar__icon-link:active {
	background: var(--primary-light, var(--line-soft, #dde6ef));
}

.sdb-mnav-topbar .sdb-topbar__icon {
	width: 20px;
	height: 20px;
	color: var(--muted, currentColor);
}

.sdb-mnav-topbar .sdb-topbar__icon-link .sdb-topbar__icon {
	width: 22px;
	height: 22px;
	color: inherit;
}

.sdb-mnav-topbar svg.sdb-topbar__icon [stroke]:not([stroke="none"]),
.sdb-mnav-topbar svg.sdb-topbar__icon[stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.sdb-mnav-topbar svg.sdb-topbar__icon [fill]:not([fill="none"]),
.sdb-mnav-topbar svg.sdb-topbar__icon[fill]:not([fill="none"]) {
	fill: currentColor;
}

.sdb-mnav-topbar__text p {
	margin: 0;
	padding: 9px 14px;
	color: var(--ink-soft, var(--text-dark));
	font-size: 15px;
	line-height: 1.7;
}

/* Links inside the text line (the {address} and {phone} tokens included,
   which carry the row class) stay inline, underlined, in the sentence. */
.sdb-mnav-topbar .sdb-mnav-topbar__text a {
	display: inline;
	width: auto;
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* ── Nav bar ─────────────────────────────────────────────────────────────── */

.site-header {
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
	background-color: var(--white);
	padding-right: var(--gutter);
	padding-left: var(--gutter);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	position: sticky !important;
	top: 0 !important;
	z-index: 999 !important;
}

.site-header--primary {
	background-color: var(--primary);
}

.site-header.is-stuck {
	border-bottom-color: var(--line);
	box-shadow: 0 1px 24px -16px rgba(21, 22, 26, .4);
}

.site-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--hh);
	gap: 28px;
}

@media (max-width: 767px) {
	.site-header__inner {
		justify-items: space-between;
		flex-direction: row;
	}
}

/* --sdb-logo-scale comes from the "Logo size" setting, set on .sdb-header-root
   only when it differs from 100%. The vw cap keeps a scaled-up logo from
   crowding the menu toggle on phones. */
.fr-nav-mm-alpha__logo-wrapper {
	position: relative;
	height: fit-content;
	width: calc(200px * var(--sdb-logo-scale, 1));
	max-width: 55vw;
	--focus-color: var(--nav-link-color);
	order: -1;
}

.fr-nav-mm-alpha__logo {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}

/* The logo never outgrows the bar: the width above is only a ceiling, and the
   height is capped at the bar height (--hh) less some breathing room, so tall
   or square logos shrink to fit instead of spilling into the page. */
.fr-nav-mm-alpha__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(var(--hh, 80px) - 16px);
	object-fit: contain;
	object-position: left center;
}

.nav {
	display: flex;
	align-items: center;
	justify-self: center;
	gap: 4px;
}

.nav__item {
	list-style: none;
}

.nav__trigger {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	transition: color .18s var(--ease), background .18s var(--ease);
	background-color: transparent;
	gap: 5px;
	color: var(--text-dark);
}

.nav__trigger:hover,
.nav__trigger[aria-expanded="true"] {
	background: var(--primary);
	color: var(--text-light);
}

.nav__trigger a {
	color: var(--text-dark) !important;
	text-decoration: none;
	transition: none;
}

.nav__trigger:hover a,
.nav__trigger[aria-expanded="true"] a {
	color: var(--text-light) !important;
}

.nav__trigger[aria-expanded="true"] .nav__caret {
	transform: rotate(180deg);
}

.nav__caret {
	transition: transform .25s var(--ease);
}

.nav__link {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: var(--text-dark);
	transition: color .18s var(--ease), background .18s var(--ease);
	gap: 5px;
}

.nav__link:hover {
	background: var(--primary);
	color: var(--white);
}

/* The primary-color header flips the hover colors: white pills, dark text. */

.nav__trigger-white {
	gap: 5px;
	color: var(--text-light);
}

.nav__trigger-white:hover,
.nav__trigger-white[aria-expanded="true"] {
	background: var(--white);
	color: var(--text-dark) !important;
}

.nav__trigger-white a {
	color: var(--text-light) !important;
	text-decoration: none;
	transition: none;
}

.nav__trigger-white:hover a,
.nav__trigger-white[aria-expanded="true"] a {
	color: var(--text-dark) !important;
}

.nav__trigger-white[aria-expanded="true"] .nav__caret {
	transform: rotate(180deg);
}

.nav__link-white {
	color: var(--white);
	gap: 5px;
}

.nav__link-white:hover {
	background: var(--white);
	color: var(--text-dark);
}

.actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	justify-self: end;
	gap: 8px;
}

/* Compact CTA size for crowded menus (standard is ~10px/20px at 13.5px).
   High-specificity + ACSS button vars so it wins regardless of sheet order. */
.sdb-header-root .actions .brxe-button.sdb-btn--compact {
	--btn-padding-block: 7px;
	--btn-padding-inline: 14px;
	--btn-font-size: 12.5px;
	padding: 7px 14px;
	font-size: 12.5px;
}

/* ── Desktop menu scales instead of wrapping (1.84.0) ─────────────────────
   Between the switch to the menu button (980px) and a wide screen, labels
   like "About Us" and the CTA text broke onto two lines: nothing kept them
   on one line, and the 1fr / auto / 1fr grid sized the logo column as wide
   as the buttons column, starving the menu. Now:
   - labels and buttons never wrap;
   - each side column is at least as wide as its content and they still
     share what's left equally, so the menu stays centred on wide screens
     and only drifts off-centre when space is short;
   - from 1440px down to 981px the menu text (15→13px), item padding, gaps,
     the logo (200→150px) and button padding shrink smoothly, so the bar
     keeps its shape until the menu button takes over. */
@media (min-width: 981px) {
	.sdb-header-root .site-header__inner {
		grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
		gap: clamp(12px, 3.5vw - 22px, 28px);
	}

	.sdb-header-root .nav {
		gap: clamp(0px, .9vw - 9px, 4px);
	}

	.sdb-header-root .nav__link,
	.sdb-header-root .nav__trigger {
		white-space: nowrap;
		font-size: clamp(13px, .48vw + 8.3px, 15px);
		padding-inline: clamp(6px, 1.75vw - 11.2px, 14px);
	}

	.sdb-header-root #siteHeader .fr-nav-mm-alpha__logo-wrapper {
		width: calc(clamp(150px, 10.9vw + 43px, 200px) * var(--sdb-logo-scale, 1));
	}

	/* Repeated class: outranks the compact size rule above. Each button keeps
	   its own size on wide screens (the var) and only gets smaller here. */
	.sdb-header-root .actions .brxe-button.brxe-button.brxe-button {
		white-space: nowrap;
		padding-inline: min(var(--btn-padding-inline, 20px), clamp(10px, 1.3vw - 2.7px, 20px));
		font-size: min(var(--btn-font-size, 13.5px), clamp(11.5px, .43vw + 7.3px, 13.5px));
	}
}

/* Full-width toggle: the inner bar spans the whole header instead of the
   content width. */
.site-header--full > .site-header__inner {
	width: 100%;
	max-width: 100%;
}

.btn--white {
	--btn-background-hover: var(--white);
	--btn-text-color-hover: var(--primary);
	--btn-border-color-hover: var(--primary-dark);
}

.menu-toggle {
	display: none;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	align-items: center;
	justify-content: center;
	transition: background .15s var(--ease);
	background-color: var(--white);
	color: var(--text-dark);
}

.menu-toggle:hover {
	background: var(--line-soft);
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
}

/* ── Morphing dropdown / mega panel ──────────────────────────────────────── */

.morph {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: 0;
	height: 0;
	border: none;
	border-radius: var(--radius);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform-origin: top center;
	transform: translateY(8px) scale(.99);
	background: var(--surface);
	box-shadow: var(--shadow);
	transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s, width .40s var(--ease), height .40s var(--ease), left .40s var(--ease);
}

.morph.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.morph.no-morph {
	transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}

.morph__content {
	position: absolute;
	top: 0;
	left: 0;
	max-width: none !important;
	opacity: 0;
	pointer-events: none;
	box-sizing: border-box;
	transform: translateX(0);
	will-change: opacity, transform;
}

.morph__content.is-active {
	pointer-events: auto;
}

.morph__content--drop {
	width: 224px !important;
	padding: 8px;
}

.drop-link {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	transition: background .15s var(--ease), color .15s var(--ease);
}

.drop-link:hover {
	color: var(--ink);
	background: var(--line-soft);
}

/* ── Mega panel ──────────────────────────────────────────────────────────── */

.morph__content--mega {
	width: min(1200px, calc(100vw - 32px)) !important;
	display: grid;
	grid-template-columns: 1.6fr .9fr;
}

.mega__cols {
	padding: 22px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px 22px;
}

/* Fewer than three service columns: shrink the panel so each column and the
   feature card keep their 3-column widths (~227px / 432px) instead of
   stretching over empty tracks. Widths and fr ratios derive from the
   1200px / 1.6fr .9fr / 22px-padding-and-gap layout above. */
.morph__content--mega-2 {
	width: min(952px, calc(100vw - 32px)) !important;
	grid-template-columns: 1.08fr .9fr;
}

.morph__content--mega-2 .mega__cols {
	grid-template-columns: repeat(2, 1fr);
}

.morph__content--mega-1 {
	width: min(704px, calc(100vw - 32px)) !important;
	grid-template-columns: .565fr .9fr;
}

.morph__content--mega-1 .mega__cols {
	grid-template-columns: 1fr;
}

.morph__content--mega-0 {
	width: min(432px, calc(100vw - 32px)) !important;
	grid-template-columns: 1fr;
}

.mega__col {
	position: relative;
}

.mega__group-title {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 6px 10px 8px;
}

.mega-link {
	display: block;
	padding: 8px 10px;
	border-radius: 9px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	transition: background .15s var(--ease), color .15s var(--ease);
	position: relative;
}

.mega-link:hover {
	color: var(--ink);
	background: var(--line-soft);
}

.mega-link span {
	display: block;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--muted);
}

.mega-link:has(~ div .sub-megalink) {
	position: relative;
}

.mega-link:has(~ div .sub-megalink)::after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	border-bottom: 1px solid var(--neutral-light);
}

.mega-link:hover:has(~ div .sub-megalink)::after {
	opacity: 0;
}

/* A group label (1.82.5): a dropdown parent with no page behind it. */
.sdb-menu-group,
.sdb-menu-group:hover {
	cursor: default;
	background: none;
	color: var(--ink-soft);
}

.sdb-menu-group:hover::after {
	opacity: 1;
}

.sub-megalink {
	margin-left: var(--space-xs);
}

.has-sublinks::after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	border-bottom: 1px solid var(--neutral-light);
}

/* Background image comes inline from the configured card image. */
.mega__feature {
	color: #fff;
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-color: var(--primary);
	background-position: center center;
	border: 10px solid var(--white);
	border-radius: var(--radius);
	row-gap: var(--space-xs);
}

.mega__feature::before {
	position: absolute;
	background-image: linear-gradient(0deg, var(--primary-dark-trans-70), var(--primary-trans-90));
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	pointer-events: none;
}

:where(.mega__feature > *:not(figcaption)) {
	position: relative;
}

.mega__feature-eyebrow {
	position: relative;
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-light-muted);
}

.mega__feature-title {
	position: relative;
	font-size: var(--text-l);
	font-weight: 700;
	line-height: 1.15;
	color: var(--text-light);
}

.mega__feature-text {
	position: relative;
	font-size: var(--text-s);
	color: var(--text-light-muted);
}

.mega__feature-link {
	position: relative;
	margin-top: 6px;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	font-size: var(--text-s);
	font-weight: 600;
	text-decoration: none;
	padding-bottom: 1px;
	flex-direction: row-reverse;
	gap: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.mega__feature-link .icon > svg {
	fill: var(--white);
	color: var(--white);
}

.mega__feature-link span {
	color: var(--white);
	text-decoration: none;
}

.mega__feature-link span:hover {
	color: var(--primary-semi-light);
	text-decoration: none !important;
}

/* ── Locations dropdown cards ────────────────────────────────────────────── */

.sdb-loc-card .sdb-loc-card__title {
	flex-direction: row-reverse;
}

.sdb-loc-card .sdb-loc-card__title .icon > svg {
	fill: var(--primary);
	color: var(--primary);
}

/* ── Mobile menu ─────────────────────────────────────────────────────────── */

.mnav {
	position: fixed;
	z-index: 200;
	display: flex;
	flex-direction: column;
	transition: transform .42s var(--ease);
	visibility: hidden;
	inset: 0;
	background: var(--surface);
	transform: translateX(100%);
}

.mnav.is-open {
	transform: translateX(0);
	visibility: visible;
}

.mnav__bar {
	height: var(--hh);
	flex-shrink: 0;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--primary);
	border-bottom: 1px solid var(--line);
}

.mnav__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mnav__close {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	color: var(--ink-soft);
	transition: background .15s var(--ease);
}

.mnav__close:hover {
	background: var(--line-soft);
}

.mnav__close svg {
	width: 24px;
	height: 24px;
}

.mnav__viewport {
	position: relative;
	overflow: hidden;
	flex: 1;
}

.mnav__footer {
	flex-shrink: 0;
	padding: 16px;
	display: grid;
	grid-template-columns: var(--grid-1);
	border-top: 1px solid var(--line);
	gap: 10px;
	background: var(--surface);
}

.mnav__footer .btn {
	width: 100%;
	padding: 14px;
}

/* ── Ported from the template's HTML/CSS code element ────────────────────── */

@media (max-width: 980px) {
	.nav,
	.actions {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.site-header__inner {
		display: flex;
		justify-content: space-between;
		gap: 0;
		flex-direction: row;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition-duration: .01ms !important;
	}
}

.mnav__view {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 14px 16px 32px;
}

.mnav__panel {
	transform: translateX(100%);
	transition: transform .4s var(--ease);
	background: var(--surface);
	z-index: 2;
}

.mnav__panel.is-open {
	transform: translateX(0);
}

.mnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mnav__row {
	width: 100%;
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 14px;
	border-radius: 13px;
	text-decoration: none;
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	transition: background .15s var(--ease);
	background-color: transparent;
}

.mnav__row:hover,
.mnav__row:active {
	background: var(--line-soft);
}

.mnav__row .chev {
	color: var(--muted);
	flex-shrink: 0;
}

.mnav__back {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px 8px 6px;
	margin-bottom: 8px;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-soft);
	transition: background .15s var(--ease);
}

.mnav__back:hover {
	background: var(--line-soft);
	color: var(--ink);
}

.mnav__back svg {
	width: 22px;
	height: 22px;
}

.mnav__heading {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 14px 14px 6px;
}

.mnav__heading:first-child {
	padding-top: 4px;
}

.mnav__sublink {
	display: block;
	padding: 13px 14px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink-soft);
	transition: background .15s var(--ease), color .15s var(--ease);
}

.mnav__sublink:hover,
.mnav__sublink:active {
	background: var(--line-soft);
	color: var(--ink);
}

.mnav__sublink small {
	display: block;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--muted);
	margin-top: 1px;
}

.mnav__panel .drop-link {
	display: block;
	padding: 14px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink-soft);
	transition: background .15s var(--ease), color .15s var(--ease);
}

.mnav__panel .drop-link:hover,
.mnav__panel .drop-link:active {
	background: var(--line-soft);
	color: var(--ink);
}

.mnav__panel .mega__cols {
	display: block;
	padding: 0;
}

.mnav__panel .mega__cols > div + div {
	margin-top: 4px;
}

.mnav__panel .mega__group-title {
	padding: 16px 14px 6px;
}

.mnav__panel .mega-link {
	padding: 13px 14px;
	border-radius: 12px;
	font-size: 16px;
}

.mnav__panel .mega-link span {
	font-size: 13.5px;
}

.mnav__panel .mega__feature {
	margin-top: 14px;
	border-radius: 16px;
	padding: 22px;
	min-height: 0;
}

body.is-locked {
	overflow: hidden;
}

/* The footer's Mobile CTA bar (z-index 999) and the cookie banner sit above
   the menu's 200, so they covered the menu footer's buttons. Hide them while
   the menu is open. */
body.is-locked .mobile_cta,
body.is-locked .sdb-of-cookie-banner {
	visibility: hidden;
}

.hover-bridge {
	position: fixed;
	left: 0;
	right: 0;
	height: 0;
	pointer-events: none;
	z-index: 998; /* one below .morph's z-index */
}

.hover-bridge.is-active {
	pointer-events: auto;
}

/* ── Grouped dropdowns (1.82.6, balanced in 1.82.7) ─────────────────────────
   A parent with sub-links reads as a small heading. One that is a page is
   underlined in --primary so it reads as a link; a group label (no page) is
   plain. Sub-links hang off a rail lined up under the heading's text, which
   lights up on hover; groups after the first are set apart by a hairline with
   even space either side. A dropdown with sub-links is a little wider so long
   labels don't wrap, and a panel taller than the window scrolls inside itself
   (the morph panel takes its height from the content). The services mega
   menu's sub-services use the same rail. */
.morph__content--drop {
	/* --hh is the nav bar alone; the top bar and the panel's 12px offset sit above it too. */
	max-height: calc(100dvh - var(--hh, 80px) - 72px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.morph__content--drop:has(.sub-megalink) {
	width: 264px !important;
	padding: 12px;
}

:is(.morph__content--drop, .mnav__panel) .has-sublinks {
	display: block;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	background: none;
}

:is(.morph__content--drop, .mnav__panel) a.has-sublinks {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

:is(.morph__content--drop, .mnav__panel) a.has-sublinks:hover {
	color: var(--primary);
	background: none;
	text-decoration-thickness: 2px;
}

:is(.morph__content--drop, .mnav__panel) .has-sublinks::after,
.mega-link:has(~ div .sub-megalink)::after {
	content: none;
}

:is(.morph__content--drop, .mnav__panel) .has-sublinks + .sub-megalink {
	margin-top: 4px;
}

:is(.morph__content--drop, .mnav__panel) .sub-megalink + .has-sublinks,
:is(.morph__content--drop, .mnav__panel) .drop-link:not(.sub-megalink) + .has-sublinks {
	margin-top: 10px;
	padding-top: 16px;
	border-top: 1px solid var(--line-soft);
	border-radius: 0;
}

:is(.morph__content--drop, .mnav__panel, .mega__col) .sub-megalink {
	margin-left: 12px;
	padding: 8px 12px;
	border-left: 2px solid var(--line-soft);
	border-radius: 0 10px 10px 0;
	transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}

.mega__col .sub-megalink {
	padding-block: 6px;
}

:is(.morph__content--drop, .mnav__panel, .mega__col) .sub-megalink:hover {
	border-left-color: var(--primary);
}

/* ── Empty top bar (1.82.11) ────────────────────────────────────────────────
   The header template's top bar holds two query loops: the social icons
   (.fr-social-alpha) and Site Settings' top-bar links (.top-bar-links). With
   neither set it was an empty coloured strip above the nav. An empty Bricks
   loop still prints its hidden .brx-query-trail item, and an empty row in
   the top-bar links repeater prints an item whose link has no address or
   text (1.82.12), so only an item holding a link with an address counts.
   Both the template's fr- and the renamed sdb- class names. The SDB Header's
   own top bar (.sdb-topbar, 1.84.0) prints nothing when empty, so it's left
   out: its items aren't in those lists. */
.top-bar:not(.sdb-topbar):not(:has(:is(.fr-social-alpha, .sdb-social-alpha, .top-bar-links) > :not(.brx-query-trail) a[href]:not([href=""]):not([href="#"]))) {
	display: none;
}
