/* Owlsora Elements — Site Header widget
 * All colors/sizes are CSS variables set by the widget controls on .sp-header.
 */

.sp-header {
	--sp-bg: #0b1a3d;
	--sp-bg-stuck: var(--sp-bg);
	--sp-max: 1200px;
	--sp-pad-x: 16px;
	--sp-height: 92px;
	--sp-height-shrink: 72px;
	--sp-gap: 16px;
	--sp-logo-h: 46px;
	--sp-logo-h-shrink: 38px;
	--sp-menu-align: flex-end;
	--sp-item-gap: 6px;
	--sp-item-radius: 8px;
	--sp-link: #f7fafd;
	--sp-link-hover: #ffffff;
	--sp-link-hover-bg: rgba(255, 255, 255, .08);
	--sp-link-active: #5cc2ff;
	--sp-drop-bg: #ffffff;
	--sp-drop-hover-color: #0b6bf0;
	--sp-drop-group: #2d8cff;
	--sp-drop-link: #060f24;
	--sp-drop-hover-bg: #eef5fc;
	--sp-drop-w: 260px;
	--sp-drop-radius: 14px;
	--sp-btn-bg: #0b6bf0;
	--sp-btn-bg-hover: #2f7ff5;
	--sp-btn-color: #ffffff;
	--sp-btn-color-hover: var(--sp-btn-color);
	--sp-btn-edge: #0845b0;
	--sp-btn-radius: 10px;
	--sp-toggle: #f7fafd;
	--sp-toggle-border: rgba(255, 255, 255, .3);
	--sp-panel-bg: var(--sp-bg);
	--sp-panel-link: var(--sp-link);
	--sp-admin-offset: 0px;

	position: relative;
	z-index: 999;
	background: var(--sp-bg);
	border-radius: var(--sp-radius, 0);
	box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
	transition: background-color .25s ease;
}

.sp-header *,
.sp-header *::before,
.sp-header *::after { box-sizing: border-box; }

.sp-header__inner {
	max-width: var(--sp-max);
	margin: 0 auto;
	padding-left: max(var(--sp-pad-x), env(safe-area-inset-left, 0px));
	padding-right: max(var(--sp-pad-x), env(safe-area-inset-right, 0px));
	min-height: var(--sp-height);
	display: flex;
	align-items: center;
	gap: var(--sp-gap);
	transition: min-height .25s ease;
}

/* ---------- top bar ---------- */
.sp-topbar { position: relative; z-index: 1000; background: #0b6bf0; color: #ffffff; font-size: 14px; font-weight: 700; line-height: 1.3; }
.sp-topbar.owe-stretch { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.sp-topbar__inner {
	max-width: 1200px;
	min-height: 38px;
	margin: 0 auto;
	padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px));
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
}
.sp-topbar__left { display: inline-flex; align-items: center; gap: 8px; }
.sp-topbar__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; animation: sp-blink 1.6s infinite; }
.sp-topbar a { color: inherit; text-decoration: none; }
.sp-topbar a:hover { text-decoration: underline; color: inherit; }
@keyframes sp-blink { 50% { opacity: .25; } }
@media (max-width: 640px) {
	.sp-topbar__right { display: none; }
	.sp-topbar__inner { justify-content: center; text-align: center; }
}

/* ---------- logo ---------- */
.sp-header--content-full .sp-header__inner { max-width: none; }

/* Full width: stretch past a boxed section (JS sets the exact size) */
.owe-stretch { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }

.sp-header__logo { display: flex; align-items: center; flex: none; line-height: 0; }
.sp-header__logo img {
	height: var(--sp-logo-h);
	width: auto;
	max-width: none;
	display: block;
	transition: height .25s ease;
}

/* ---------- desktop menu ---------- */
.sp-header__nav { flex: 1 1 auto; display: flex; justify-content: var(--sp-menu-align); min-width: 0; }

.sp-menu,
.sp-menu .sub-menu { list-style: none; margin: 0; padding: 0; }

.sp-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--sp-item-gap); }
.sp-header--bp-none .sp-menu { flex-wrap: wrap; }
.sp-menu li { position: relative; margin: 0; }

.sp-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 10px;
	border-radius: var(--sp-item-radius);
	color: var(--sp-link);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.sp-menu > li > a:hover,
.sp-menu > li > a:focus-visible,
.sp-menu > li:hover > a { color: var(--sp-link-hover); background: var(--sp-link-hover-bg); }

.sp-menu > li.current-menu-item > a,
.sp-menu > li.current-menu-ancestor > a,
.sp-menu > li.current_page_item > a { color: var(--sp-link-active); }

.sp-menu a:focus-visible,
.sp-header__cta:focus-visible,
.sp-header__toggle:focus-visible,
.sp-sub-toggle:focus-visible { outline: 3px solid var(--sp-btn-bg); outline-offset: 2px; }

/* dropdown arrow */
.sp-header--arrows .sp-menu .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .15s ease;
	flex: none;
}
.sp-header--arrows .sp-menu > .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(-135deg); }
.sp-header--arrows .sp-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-left: auto; }

/* dropdown panel */
.sp-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	min-width: var(--sp-drop-w);
	padding: 8px;
	background: var(--sp-drop-bg);
	border-radius: var(--sp-drop-radius);
	box-shadow: 0 18px 44px rgba(11, 26, 61, .32);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* hover bridge so the menu doesn't close crossing the gap */
.sp-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

.sp-menu li:hover > .sub-menu,
.sp-menu li:focus-within > .sub-menu,
.sp-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.sp-menu .sub-menu .sub-menu { top: -8px; left: calc(100% + 8px); }
.sp-menu .sub-menu .sub-menu::before { top: 0; bottom: 0; left: -10px; width: 10px; height: auto; right: auto; }

.sp-menu .sub-menu a {
	width: 100%;
	padding: 11px 12px;
	color: var(--sp-drop-link);
	font-size: 15px;
	border-radius: calc(var(--sp-drop-radius) - 4px);
	white-space: normal;
}
.sp-menu .sub-menu a:hover,
.sp-menu .sub-menu a:focus-visible,
.sp-menu .sub-menu .current-menu-item > a { background: var(--sp-drop-hover-bg); color: var(--sp-drop-hover-color); }

/* keep the last dropdown inside the screen */
.sp-menu > li:last-child > .sub-menu,
.sp-menu > li:nth-last-child(2) > .sub-menu { left: auto; right: 0; }

/* ---------- two-column dropdowns (desktop menu only) ----------
 * Auto: any dropdown with 8+ links. An odd last link (e.g. "See the service
 * area map") spans both columns under a divider; so does any item with the
 * CSS class sp-menu-all.
 */
@media (min-width: 1025px) {
	.sp-header--bp-tablet:not(.is-collapsed).sp-header--drop-auto .sp-menu > li > .sub-menu:has(> li:nth-child(8)),
	.sp-header--bp-tablet:not(.is-collapsed).sp-header--drop-always .sp-menu > li > .sub-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 4px;
		min-width: calc(var(--sp-drop-w) * 1.8);
	}
	.sp-header--bp-tablet:not(.is-collapsed).sp-header--drop-auto .sp-menu > li > .sub-menu:has(> li:nth-child(8)) > li:last-child:nth-child(odd),
	.sp-header--bp-tablet:not(.is-collapsed).sp-header--drop-always .sp-menu > li > .sub-menu > li:last-child:nth-child(odd),
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu .sub-menu > li.sp-menu-all {
		grid-column: 1 / -1;
		margin-top: 4px;
		padding-top: 4px;
		border-top: 1px solid rgba(6, 15, 36, .12);
	}
}
@media (min-width: 768px) {
	.sp-header--bp-mobile:not(.is-collapsed).sp-header--drop-auto .sp-menu > li > .sub-menu:has(> li:nth-child(8)),
	.sp-header--bp-mobile:not(.is-collapsed).sp-header--drop-always .sp-menu > li > .sub-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 4px;
		min-width: calc(var(--sp-drop-w) * 1.8);
	}
	.sp-header--bp-mobile:not(.is-collapsed).sp-header--drop-auto .sp-menu > li > .sub-menu:has(> li:nth-child(8)) > li:last-child:nth-child(odd),
	.sp-header--bp-mobile:not(.is-collapsed).sp-header--drop-always .sp-menu > li > .sub-menu > li:last-child:nth-child(odd),
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu .sub-menu > li.sp-menu-all {
		grid-column: 1 / -1;
		margin-top: 4px;
		padding-top: 4px;
		border-top: 1px solid rgba(6, 15, 36, .12);
	}
}
	.sp-header--bp-none.sp-header--drop-auto .sp-menu > li > .sub-menu:has(> li:nth-child(8)),
.sp-header--bp-none.sp-header--drop-always .sp-menu > li > .sub-menu {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2px 4px;
min-width: calc(var(--sp-drop-w) * 1.8);
}
.sp-header--bp-none.sp-header--drop-auto .sp-menu > li > .sub-menu:has(> li:nth-child(8)) > li:last-child:nth-child(odd),
.sp-header--bp-none.sp-header--drop-always .sp-menu > li > .sub-menu > li:last-child:nth-child(odd),
.sp-header--bp-none .sp-menu .sub-menu > li.sp-menu-all {
grid-column: 1 / -1;
margin-top: 4px;
padding-top: 4px;
border-top: 1px solid rgba(6, 15, 36, .12);
}

.sp-menu .sub-menu > li.sp-menu-all > a { color: var(--sp-drop-hover-color); }
.sp-header.is-mobile .sp-menu .sub-menu > li.sp-menu-all > a { color: var(--sp-link-active); }
.sp-menu .sub-menu > li.sp-menu-all > a::after { content: " →"; }
.sp-menu .sub-menu > li.sp-menu-all.sp-no-arrow > a::after { content: none; }

/* ---------- grouped dropdowns (desktop) ----------
 * A dropdown whose items have their own sub-items (e.g. Service Areas →
 * county → towns) shows each group as a column with a small heading.
 */
@media (min-width: 1025px) {
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) {
		display: flex;
		flex-wrap: wrap;
		gap: 2px 8px;
		min-width: 620px;
		padding: 10px;
	}
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) { flex: 1 1 170px; min-width: 0; }
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0;
		margin: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: inherit;
		transform: none;
		pointer-events: inherit;
	}
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sub-menu::before { display: none; }
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a,
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sp-menu-heading {
		display: block;
		padding: 12px 12px 6px;
		background: none;
		color: var(--sp-drop-group);
		font-size: 12px;
		font-weight: 800;
		letter-spacing: .1em;
		line-height: 1;
		text-transform: uppercase;
		pointer-events: none;
	}
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a::after { display: none !important; }
	.sp-header--bp-tablet:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:not(:has(> .sub-menu)) {
		flex: 1 0 100%;
		margin-top: 6px;
		padding-top: 4px;
		border-top: 1px solid rgba(6, 15, 36, .12);
	}
}
@media (min-width: 768px) {
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) {
		display: flex;
		flex-wrap: wrap;
		gap: 2px 8px;
		min-width: 620px;
		padding: 10px;
	}
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) { flex: 1 1 170px; min-width: 0; }
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0;
		margin: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: inherit;
		transform: none;
		pointer-events: inherit;
	}
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sub-menu::before { display: none; }
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a,
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sp-menu-heading {
		display: block;
		padding: 12px 12px 6px;
		background: none;
		color: var(--sp-drop-group);
		font-size: 12px;
		font-weight: 800;
		letter-spacing: .1em;
		line-height: 1;
		text-transform: uppercase;
		pointer-events: none;
	}
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a::after { display: none !important; }
	.sp-header--bp-mobile:not(.is-collapsed) .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:not(:has(> .sub-menu)) {
		flex: 1 0 100%;
		margin-top: 6px;
		padding-top: 4px;
		border-top: 1px solid rgba(6, 15, 36, .12);
	}
}
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	min-width: 620px;
	padding: 10px;
}
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) { flex: 1 1 170px; min-width: 0; }
	.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sub-menu {
	position: static;
	display: block;
	min-width: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sub-menu::before { display: none; }
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a,
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li > .sp-menu-heading {
	display: block;
	padding: 12px 12px 6px;
	background: none;
	color: var(--sp-drop-group);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
	pointer-events: none;
}
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a::after { display: none !important; }
.sp-header--bp-none .sp-menu > li > .sub-menu:has(> li > .sub-menu) > li:not(:has(> .sub-menu)) {
	flex: 1 0 100%;
	margin-top: 6px;
	padding-top: 4px;
	border-top: 1px solid rgba(6, 15, 36, .12);
}

.sp-menu-heading { display: block; padding: 12px 12px 6px; color: var(--sp-drop-group); font-size: 12px; font-weight: 800; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }

/* grouped dropdowns inside the mobile menu: groups stay open */
.sp-menu .sub-menu > li.sp-menu-group > .sub-menu,
.sp-header.is-mobile .sp-menu .sub-menu:has(> li > .sub-menu) > li > .sub-menu { display: block !important; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding-left: 0; margin: 0; }
.sp-header.is-mobile .sp-menu .sub-menu:has(> li > .sub-menu) > li > .sp-sub-toggle { display: none !important; }
.sp-header.is-mobile .sp-menu .sub-menu:has(> li > .sub-menu) > li:has(> .sub-menu) > a { pointer-events: none; color: var(--sp-drop-group); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* submenu toggle buttons (added by JS, shown in the mobile menu only) */
.sp-sub-toggle { display: none; }

/* ---------- call button ---------- */
.sp-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: none;
	padding: 12px 18px;
	border-radius: var(--sp-btn-radius);
	background: var(--sp-btn-bg);
	color: var(--sp-btn-color);
	box-shadow: 0 4px 0 var(--sp-btn-edge);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.sp-header__cta:hover,
.sp-header__cta:focus-visible {
	background: var(--sp-btn-bg-hover);
	color: var(--sp-btn-color-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 0 var(--sp-btn-edge);
}
.sp-header__cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sp-btn-edge); }
.sp-header__cta-icon { display: inline-flex; font-size: .85em; }
.sp-header__cta-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- mobile toggle ---------- */
.sp-header__toggle {
	display: none;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 2px solid var(--sp-toggle-border);
	border-radius: 10px;
	color: var(--sp-toggle);
	cursor: pointer;
}
.sp-header__toggle:hover { background: rgba(255, 255, 255, .06); color: var(--sp-toggle); border-color: var(--sp-toggle-border); }
.sp-header__bars { position: relative; width: 22px; height: 16px; display: block; }
.sp-header__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.sp-header__bars span:nth-child(1) { top: 0; }
.sp-header__bars span:nth-child(2) { top: 6.75px; }
.sp-header__bars span:nth-child(3) { top: 13.5px; }
.sp-header.is-open .sp-header__bars span:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.sp-header.is-open .sp-header__bars span:nth-child(2) { opacity: 0; }
.sp-header.is-open .sp-header__bars span:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }

/* ---------- sticky + shrink ---------- */
.sp-header-wrap { position: relative; }
.sp-header.is-stuck {
	position: fixed;
	top: var(--sp-admin-offset);
	left: 0;
	right: 0;
	background: var(--sp-bg-stuck);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
	animation: sp-drop-in .3s ease both;
}
.sp-header.is-stuck.sp-header--shrink .sp-header__inner { min-height: var(--sp-height-shrink); }
.sp-header.is-stuck.sp-header--shrink .sp-header__logo img { height: var(--sp-logo-h-shrink); }
@keyframes sp-drop-in { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- mobile layout ----------
 * Same rules twice: once for "tablet" (≤1024px) and once for "mobile" (≤767px).
 */
@media (max-width: 1024px) {
	.sp-header--bp-tablet .sp-header__toggle { display: inline-flex; }
	.sp-header--bp-tablet .sp-header__cta { margin-left: auto; }
	.sp-header--bp-tablet .sp-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 12px max(var(--sp-pad-x), env(safe-area-inset-right, 0px)) 20px max(var(--sp-pad-x), env(safe-area-inset-left, 0px));
		background: var(--sp-panel-bg);
		border-radius: 0 0 var(--sp-radius, 0) var(--sp-radius, 0);
		box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
		max-height: calc(100vh - var(--sp-height));
		max-height: calc(100dvh - var(--sp-height));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.sp-header--bp-tablet.is-open .sp-header__nav { display: block; animation: sp-panel-in .2s ease both; }
	.sp-header--bp-tablet .sp-menu { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 2px; max-width: var(--sp-max); margin: 0 auto; }
	.sp-header--bp-tablet .sp-menu li { display: flex; flex-wrap: wrap; align-items: center; }
	.sp-header--bp-tablet .sp-menu a,
	.sp-header--bp-tablet .sp-menu .sub-menu a { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 18px; color: var(--sp-panel-link); white-space: normal; background: none; }
	.sp-header--bp-tablet .sp-menu a:hover,
	.sp-header--bp-tablet .sp-menu .sub-menu a:hover { background: var(--sp-link-hover-bg); color: var(--sp-link-hover); }
	.sp-header--bp-tablet .sp-menu > li.current-menu-item > a { color: var(--sp-link-active); }
	.sp-header--bp-tablet .sp-menu .menu-item-has-children > a::after { display: none; }
	.sp-header--bp-tablet .sp-menu .sub-menu,
	.sp-header--bp-tablet .sp-menu .sub-menu .sub-menu {
		position: static;
		flex: 1 0 100%;
		display: none;
		min-width: 0;
		margin: 2px 0 6px;
		padding: 4px 0 4px 12px;
		background: rgba(255, 255, 255, .06);
		border-radius: 10px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.sp-header--bp-tablet .sp-menu .sub-menu::before { display: none; }
	.sp-header--bp-tablet .sp-menu li.is-open > .sub-menu { display: block; }
	.sp-header--bp-tablet .sp-sub-toggle { display: inline-flex; }
}

/* Same mobile layout, switched on by JS when the menu doesn't fit on one line */
.sp-header.is-collapsed .sp-header__toggle { display: inline-flex; }
.sp-header.is-collapsed .sp-header__cta { margin-left: auto; }
.sp-header.is-collapsed .sp-header__nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	padding: 12px max(var(--sp-pad-x), env(safe-area-inset-right, 0px)) 20px max(var(--sp-pad-x), env(safe-area-inset-left, 0px));
	background: var(--sp-panel-bg);
	border-radius: 0 0 var(--sp-radius, 0) var(--sp-radius, 0);
	box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
	max-height: calc(100vh - var(--sp-height));
	max-height: calc(100dvh - var(--sp-height));
	overflow-y: auto;
	overscroll-behavior: contain;
}
.sp-header.is-collapsed.is-open .sp-header__nav { display: block; animation: sp-panel-in .2s ease both; }
.sp-header.is-collapsed .sp-menu { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 2px; max-width: var(--sp-max); margin: 0 auto; }
.sp-header.is-collapsed .sp-menu li { display: flex; flex-wrap: wrap; align-items: center; }
.sp-header.is-collapsed .sp-menu a,
.sp-header.is-collapsed .sp-menu .sub-menu a { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 18px; color: var(--sp-panel-link); white-space: normal; background: none; }
.sp-header.is-collapsed .sp-menu a:hover,
.sp-header.is-collapsed .sp-menu .sub-menu a:hover { background: var(--sp-link-hover-bg); color: var(--sp-link-hover); }
.sp-header.is-collapsed .sp-menu > li.current-menu-item > a { color: var(--sp-link-active); }
.sp-header.is-collapsed .sp-menu .menu-item-has-children > a::after { display: none; }
.sp-header.is-collapsed .sp-menu .sub-menu,
.sp-header.is-collapsed .sp-menu .sub-menu .sub-menu {
	position: static;
	flex: 1 0 100%;
	display: none;
	min-width: 0;
	margin: 2px 0 6px;
	padding: 4px 0 4px 12px;
	background: rgba(255, 255, 255, .06);
	border-radius: 10px;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: none;
}
.sp-header.is-collapsed .sp-menu .sub-menu::before { display: none; }
.sp-header.is-collapsed .sp-menu li.is-open > .sub-menu { display: block; }
.sp-header.is-collapsed .sp-sub-toggle { display: inline-flex; }

@media (max-width: 767px) {
	.sp-header--bp-mobile .sp-header__toggle { display: inline-flex; }
	.sp-header--bp-mobile .sp-header__cta { margin-left: auto; }
	.sp-header--bp-mobile .sp-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 12px max(var(--sp-pad-x), env(safe-area-inset-right, 0px)) 20px max(var(--sp-pad-x), env(safe-area-inset-left, 0px));
		background: var(--sp-panel-bg);
		border-radius: 0 0 var(--sp-radius, 0) var(--sp-radius, 0);
		box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
		max-height: calc(100vh - var(--sp-height));
		max-height: calc(100dvh - var(--sp-height));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.sp-header--bp-mobile.is-open .sp-header__nav { display: block; animation: sp-panel-in .2s ease both; }
	.sp-header--bp-mobile .sp-menu { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 2px; }
	.sp-header--bp-mobile .sp-menu li { display: flex; flex-wrap: wrap; align-items: center; }
	.sp-header--bp-mobile .sp-menu a,
	.sp-header--bp-mobile .sp-menu .sub-menu a { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 18px; color: var(--sp-panel-link); white-space: normal; background: none; }
	.sp-header--bp-mobile .sp-menu a:hover,
	.sp-header--bp-mobile .sp-menu .sub-menu a:hover { background: var(--sp-link-hover-bg); color: var(--sp-link-hover); }
	.sp-header--bp-mobile .sp-menu > li.current-menu-item > a { color: var(--sp-link-active); }
	.sp-header--bp-mobile .sp-menu .menu-item-has-children > a::after { display: none; }
	.sp-header--bp-mobile .sp-menu .sub-menu,
	.sp-header--bp-mobile .sp-menu .sub-menu .sub-menu {
		position: static;
		flex: 1 0 100%;
		display: none;
		min-width: 0;
		margin: 2px 0 6px;
		padding: 4px 0 4px 12px;
		background: rgba(255, 255, 255, .06);
		border-radius: 10px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.sp-header--bp-mobile .sp-menu .sub-menu::before { display: none; }
	.sp-header--bp-mobile .sp-menu li.is-open > .sub-menu { display: block; }
	.sp-header--bp-mobile .sp-sub-toggle { display: inline-flex; }

	/* compact call button on phones */
	.sp-header--cta-compact .sp-header__cta { padding: 0; width: 48px; height: 48px; font-size: 20px; }
	.sp-header--cta-compact .sp-header__cta-icon { font-size: 1em; }
	.sp-header--cta-compact .sp-header__cta-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.sp-sub-toggle {
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: var(--sp-panel-link);
	cursor: pointer;
}
.sp-sub-toggle:hover { background: var(--sp-link-hover-bg); color: var(--sp-panel-link); }
.sp-sub-toggle span {
	width: 9px;
	height: 9px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .15s ease;
}
.sp-menu li.is-open > .sp-sub-toggle span { transform: translateY(2px) rotate(-135deg); }

@keyframes sp-panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.sp-header,
	.sp-header * { animation: none !important; transition: none !important; }
}

/* Full width: when this widget is alone in an Elementor container/column,
 * drop that container's padding so no gap shows above, below or beside it. */
.e-con:has(> .elementor-widget-ow-header:only-child .owe-stretch),
.e-con:has(> .e-con-inner > .elementor-widget-ow-header:only-child .owe-stretch) {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--margin-top: 0px;
	--margin-bottom: 0px;
	padding: 0;
}
.elementor-widget-wrap:has(> .elementor-widget-ow-header:only-child .owe-stretch) { padding: 0 !important; }
.elementor-section:has(.elementor-widget-wrap > .elementor-widget-ow-header:only-child .owe-stretch) { padding-top: 0; padding-bottom: 0; }
.elementor-widget-ow-header:has(.owe-stretch) { margin-top: 0; margin-bottom: 0; --kit-widget-spacing: 0px; }

/* Menu too wide for one line: the call button shrinks to its icon first */
.sp-header.is-tight .sp-header__cta { padding: 0; width: 48px; height: 48px; font-size: 20px; }
.sp-header.is-tight .sp-header__cta-icon { font-size: 1em; }
.sp-header.is-tight .sp-header__cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A closed dropdown must never catch the mouse (grouped dropdowns have visible-by-default
 * inner lists; without this the invisible Industries panel opened when the pointer crossed it). */
@media (min-width: 768px) {
	.sp-menu > li > .sub-menu { pointer-events: none; }
	.sp-menu > li:hover > .sub-menu,
	.sp-menu > li:focus-within > .sub-menu,
	.sp-menu > li.is-open > .sub-menu { pointer-events: auto; }
}
