/**
 * Autolevo Global Black Glass Header, Action Group & 100dvh Mobile Glass Drawer
 *
 * Permanent dark glass header across both Dark and Light modes, Uber-style left brand +
 * location selector pill, right-aligned Globe + Theme Toggle + Auth group, and < 1024px
 * slide-over glass navigation drawer.
 *
 * @package Autolevo\Core
 */

/* ==========================================================================
   1. PERMANENT STICKY BLACK GLASS HEADER (DARK & LIGHT MODES)
   ========================================================================== */
nav.navbar.fixed-top,
nav.autolevo-glass-header,
header nav.navbar,
.navbar.bg-transparent-until-scroll,
html[data-scroll="0"] body:not(.block-editor-iframe__body) nav.navbar.fixed-top,
html[data-scroll="0"] body:not(.block-editor-iframe__body) nav.autolevo-glass-header {
	background: rgba(0, 0, 0, 0.88) !important;
	background-color: rgba(0, 0, 0, 0.88) !important;
	backdrop-filter: blur(24px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(180%) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
	min-height: 56px;
	padding-top: env(safe-area-inset-top, 0px) !important;
	padding-bottom: 0 !important;
	z-index: 1040 !important;
	transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Darker translucent obsidian glass on Light Mode so white canvas never washes it out */
html[data-theme="light"] nav.navbar.fixed-top,
html[data-theme="light"] nav.autolevo-glass-header,
html[data-theme="light"] header nav.navbar,
html[data-theme="light"] .navbar.bg-transparent-until-scroll,
html[data-theme="light"][data-scroll="0"] body:not(.block-editor-iframe__body) nav.navbar.fixed-top,
html[data-theme="light"][data-scroll="0"] body:not(.block-editor-iframe__body) nav.autolevo-glass-header {
	background: rgba(0, 0, 0, 0.90) !important;
	background-color: rgba(0, 0, 0, 0.90) !important;
	backdrop-filter: blur(24px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(180%) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	nav.navbar.fixed-top,
	nav.autolevo-glass-header,
	header nav.navbar {
		background: #0B0B0B !important;
		background-color: #0B0B0B !important;
	}
}

nav.navbar.is-scrolled,
nav.autolevo-glass-header.is-scrolled,
html[data-theme="light"] nav.navbar.is-scrolled,
html[data-theme="light"] nav.autolevo-glass-header.is-scrolled {
	background: rgba(0, 0, 0, 0.94) !important;
	background-color: rgba(0, 0, 0, 0.94) !important;
	border-bottom-color: rgba(255, 255, 255, 0.14) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14) !important;
}

/* Inner container reset — zero nested backgrounds or borders */
.wp-block-blockstrap-blockstrap-widget-navbar,
nav.navbar .container,
nav.navbar .container-fluid,
.directory-menu-wrapper,
.wp-block-blockstrap-blockstrap-widget-nav,
nav.navbar ul.navbar-nav,
nav.navbar .navbar-brand {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

nav.navbar .container,
nav.navbar .container-fluid,
.wp-block-blockstrap-blockstrap-widget-navbar.container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: block !important;
	box-sizing: border-box !important;
}

.autolevo-header-shell {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.autolevo-header-tier-1,
nav.navbar .autolevo-header-tier-1.al-site-container,
nav.navbar .autolevo-subnav.al-site-container,
nav.navbar .autolevo-header-mobile-search.al-site-container {
	width: 100% !important;
	max-width: var(--al-site-width, 1480px) !important;
	margin-inline: auto !important;
	padding-inline: max(var(--al-site-gutter, 32px), env(safe-area-inset-left, 0px)) max(var(--al-site-gutter, 32px), env(safe-area-inset-right, 0px)) !important;
	box-sizing: border-box !important;
}

.autolevo-header-tier-1 {
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.autolevo-header-left {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.autolevo-header-center {
	flex: 1 1 560px;
	min-width: 240px;
	max-width: 560px;
	margin: 0 auto;
	overflow: visible !important;
}

.autolevo-header-right {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
}

@media (min-width: 1024px) {
	.autolevo-header-left {
		min-width: 0;
		gap: 16px;
	}

	.autolevo-header-left .autolevo-brand-cluster {
		gap: clamp(12px, 1.4vw, 22px);
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: clamp(12px, 1.5vw, 24px) !important;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-header-left {
		flex: 0 0 auto !important;
		min-width: 0;
		max-width: 100%;
		display: flex;
		align-items: center;
		gap: 0;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-brand-cluster {
		display: inline-flex;
		align-items: center;
		gap: clamp(10px, 1.3vw, 22px);
		min-width: 0;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-header-location-pill {
		margin: 0 !important;
		flex: 0 0 auto;
		min-width: 0;
		max-width: 100%;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-header-location-pill .autolevo-loc-label {
		max-width: none;
		min-width: 0;
		flex: 0 1 auto;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-header-center {
		flex: 1 1 560px !important;
		width: auto !important;
		min-width: 240px !important;
		max-width: 560px !important;
		margin: 0 auto !important;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-header-right {
		flex: 0 0 auto !important;
		margin-left: 0 !important;
		white-space: nowrap;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.autolevo-brand-link .autolevo-main-logo {
		height: 27px !important;
		max-width: 148px !important;
	}

	.autolevo-header-tier-1:has(.autolevo-header-center) .autolevo-header-location-pill {
		padding: 0 11px;
		gap: 5px;
		font-size: 0.8125rem !important;
	}

	header nav.navbar button.autolevo-header-scope-btn,
	.autolevo-header-scope-btn {
		padding: 0 10px 0 12px !important;
		font-size: 13px !important;
	}

	header nav.navbar button.autolevo-header-search-btn,
	.autolevo-header-search-btn {
		padding: 0 13px 0 11px !important;
		font-size: 13px !important;
	}

	.autolevo-header-actions-list {
		gap: 6px !important;
	}
}

.autolevo-header-actions-list {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.autolevo-header-actions-list > li.nav-item,
.autolevo-header-actions-list > li.autolevo-header-action-item {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Dark & Light Mode Responsive Inline Header Search Bar + Popover (Row 1 Center & Mobile Row 2) */
.autolevo-header-search-wrap {
	position: relative;
	width: 100%;
	overflow: visible !important;
}

header nav.navbar .autolevo-header-search-form,
header nav.navbar .al-header-search-shell,
.autolevo-header-search-form,
.al-header-search-shell {
	display: flex !important;
	align-items: stretch !important;
	width: 100% !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 9999px !important;
	overflow: visible !important;
	box-sizing: border-box !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
	transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (min-width: 1024px) and (max-width: 1279px) {
	header nav.navbar .autolevo-header-search-form,
	header nav.navbar .al-header-search-shell,
	.autolevo-header-search-form,
	.al-header-search-shell {
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
	}
}

header nav.navbar .autolevo-header-search-form:hover,
.autolevo-header-search-form:hover {
	background: rgba(255, 255, 255, 0.10) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
}

header nav.navbar .autolevo-header-search-form:focus-within,
.autolevo-header-search-form:focus-within {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 2px solid #276EF1 !important;
	box-shadow: 0 0 0 3px rgba(39, 110, 241, 0.28) !important;
}

header nav.navbar .autolevo-header-search-cat-wrap,
.autolevo-header-search-cat-wrap {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	height: 100% !important;
	min-height: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 9999px 0 0 9999px !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: background-color 150ms ease !important;
}

.autolevo-header-search-cat-wrap::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.16);
	pointer-events: none;
}

header nav.navbar .autolevo-header-search-cat-wrap:hover,
.autolevo-header-search-cat-wrap:hover {
	background: rgba(255, 255, 255, 0.08) !important;
}

header nav.navbar select.autolevo-header-target-select,
.autolevo-header-target-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
}

header nav.navbar button.autolevo-header-scope-btn,
.autolevo-header-scope-btn {
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 14px 0 16px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 9999px 0 0 9999px !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	outline: none !important;
}

header nav.navbar .autolevo-header-search-chevron,
.autolevo-header-search-chevron {
	position: static !important;
	transform: none !important;
	width: 13px !important;
	height: 13px !important;
	flex-shrink: 0 !important;
	pointer-events: none !important;
	color: rgba(255, 255, 255, 0.78) !important;
	stroke: rgba(255, 255, 255, 0.78) !important;
	opacity: 1 !important;
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.autolevo-header-scope-btn[aria-expanded="true"] .autolevo-header-search-chevron {
	transform: rotate(180deg) !important;
}

/* Custom Scope Dropdown Menu (Matches UI Floating Glass Cards) */
.autolevo-header-scope-menu {
	position: absolute !important;
	top: calc(100% + 10px) !important;
	left: 0 !important;
	min-width: 264px !important;
	padding: 6px !important;
	border-radius: 16px !important;
	background: rgba(18, 21, 27, 0.98) !important;
	backdrop-filter: blur(24px) saturate(160%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(160%) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.65) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 3px !important;
	z-index: 1090 !important;
	opacity: 1 !important;
	visibility: visible !important;
	animation: autolevoGlassDropIn 150ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.autolevo-header-scope-menu.is-open {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.autolevo-header-scope-menu[hidden] {
	display: none !important;
}

.autolevo-header-scope-option {
	appearance: none !important;
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	gap: 11px !important;
	padding: 9px 11px !important;
	border: 1px solid transparent !important;
	border-radius: 11px !important;
	background: transparent !important;
	color: #F1F5F9 !important;
	text-align: left !important;
	cursor: pointer !important;
	transition: background-color 140ms ease, border-color 140ms ease !important;
}

.autolevo-header-scope-option:hover,
.autolevo-header-scope-option:focus-visible {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.10) !important;
	outline: none !important;
}

.autolevo-header-scope-option.is-selected {
	background: rgba(39, 110, 241, 0.18) !important;
	border-color: rgba(39, 110, 241, 0.36) !important;
}

.autolevo-scope-opt-icon {
	width: 32px !important;
	height: 32px !important;
	border-radius: 9px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #93C5FD !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.autolevo-header-scope-option.is-selected .autolevo-scope-opt-icon {
	background: rgba(39, 110, 241, 0.28) !important;
	color: #FFFFFF !important;
}

.autolevo-scope-opt-text {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 1px !important;
}

.autolevo-scope-opt-title {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: #FFFFFF !important;
}

.autolevo-scope-opt-desc {
	font-size: 11.5px !important;
	line-height: 1.25 !important;
	color: #94A3B8 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.autolevo-scope-opt-check {
	flex-shrink: 0 !important;
	color: #60A5FA !important;
	opacity: 0 !important;
}

.autolevo-header-scope-option.is-selected .autolevo-scope-opt-check {
	opacity: 1 !important;
}

.autolevo-header-search-input-wrap {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	height: 100% !important;
	min-height: 0 !important;
	background: transparent !important;
	margin: 0 !important;
	border: none !important;
}

header nav.navbar input.autolevo-header-search-input,
.autolevo-header-search-input {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 42px 0 14px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	outline: none !important;
}

header nav.navbar input.autolevo-header-search-input:focus,
.autolevo-header-search-input:focus {
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.autolevo-header-search-input::-webkit-search-cancel-button,
.autolevo-header-search-input::-webkit-search-decoration {
	-webkit-appearance: none !important;
	appearance: none !important;
}

.autolevo-header-search-input::placeholder {
	color: #A1A1AA !important;
	opacity: 1 !important;
}

.autolevo-header-shortcut {
	position: absolute !important;
	right: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 22px !important;
	height: 22px !important;
	padding: 0 6px !important;
	border-radius: 6px !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #A1A1AA !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	pointer-events: none !important;
	transition: opacity 150ms ease !important;
}

.autolevo-header-search-form:focus-within .autolevo-header-shortcut,
.autolevo-header-search-wrap.has-value .autolevo-header-shortcut {
	opacity: 0 !important;
}

@media (max-width: 1279px) {
	.autolevo-header-shortcut {
		display: none !important;
	}
}

.autolevo-header-search-clear {
	position: absolute !important;
	right: 8px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 24px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.12) !important;
	color: #E2E8F0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: background-color 150ms ease, color 150ms ease !important;
}

.autolevo-header-search-clear[hidden] {
	display: none !important;
}

.autolevo-header-search-clear:hover {
	background: rgba(255, 255, 255, 0.24) !important;
	color: #FFFFFF !important;
}

header nav.navbar button.autolevo-header-search-btn,
.autolevo-header-search-btn {
	flex-shrink: 0 !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 0 18px 0 15px !important;
	border: none !important;
	border-radius: 0 9999px 9999px 0 !important;
	box-shadow: none !important;
	background: #276EF1 !important;
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background-color 160ms ease !important;
}

header nav.navbar button.autolevo-header-search-btn:hover,
header nav.navbar button.autolevo-header-search-btn:focus-visible,
.autolevo-header-search-btn:hover,
.autolevo-header-search-btn:focus-visible {
	background: #1E5AD6 !important;
	color: #FFFFFF !important;
}

.autolevo-header-search-spinner {
	display: none !important;
	width: 15px !important;
	height: 15px !important;
	border-radius: 50% !important;
	border: 2px solid rgba(255, 255, 255, 0.35) !important;
	border-top-color: #FFFFFF !important;
	animation: alHeaderSearchSpin 0.65s linear infinite !important;
}

.autolevo-header-search-form.is-submitting .autolevo-header-search-btn-icon {
	display: none !important;
}

.autolevo-header-search-form.is-submitting .autolevo-header-search-spinner {
	display: inline-block !important;
}

@keyframes alHeaderSearchSpin {
	to {
		transform: rotate(360deg);
	}
}

/* Light Mode Search Pill (crisp white surface with dark typography inside permanent dark glass header) */
html[data-theme="light"] header nav.navbar .autolevo-header-search-form,
html[data-theme="light"] header nav.navbar .al-header-search-shell,
html[data-theme="light"] .autolevo-header-search-form,
html[data-theme="light"] .al-header-search-shell {
	background: #FFFFFF !important;
	border: 1px solid rgba(15, 23, 42, 0.16) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] header nav.navbar .autolevo-header-search-form:hover,
html[data-theme="light"] .autolevo-header-search-form:hover {
	background: #FFFFFF !important;
	border-color: rgba(15, 23, 42, 0.28) !important;
}

html[data-theme="light"] header nav.navbar .autolevo-header-search-form:focus-within,
html[data-theme="light"] .autolevo-header-search-form:focus-within {
	background: #FFFFFF !important;
	border: 2px solid #276EF1 !important;
	box-shadow: 0 0 0 3px rgba(39, 110, 241, 0.28) !important;
}

html[data-theme="light"] header nav.navbar .autolevo-header-search-cat-wrap,
html[data-theme="light"] .autolevo-header-search-cat-wrap {
	background: #F1F5F9 !important;
}

html[data-theme="light"] .autolevo-header-search-cat-wrap::after {
	background: #CBD5E1 !important;
}

html[data-theme="light"] header nav.navbar .autolevo-header-search-cat-wrap:hover,
html[data-theme="light"] .autolevo-header-search-cat-wrap:hover {
	background: #E2E8F0 !important;
}

html[data-theme="light"] header nav.navbar button.autolevo-header-scope-btn,
html[data-theme="light"] .autolevo-header-scope-btn {
	color: #0F172A !important;
}

html[data-theme="light"] header nav.navbar .autolevo-header-search-chevron,
html[data-theme="light"] .autolevo-header-search-chevron {
	color: #0F172A !important;
	stroke: #0F172A !important;
}

html[data-theme="light"] header nav.navbar input.autolevo-header-search-input,
html[data-theme="light"] .autolevo-header-search-input {
	color: #0F172A !important;
}

html[data-theme="light"] .autolevo-header-search-input::placeholder {
	color: #64748B !important;
}

html[data-theme="light"] .autolevo-header-shortcut {
	background: #F1F5F9 !important;
	border-color: #CBD5E1 !important;
	color: #475569 !important;
}

html[data-theme="light"] .autolevo-header-search-clear {
	background: #E2E8F0 !important;
	color: #334155 !important;
}

html[data-theme="light"] .autolevo-header-search-clear:hover {
	background: #CBD5E1 !important;
	color: #0F172A !important;
}

html[data-theme="light"] .autolevo-header-scope-menu {
	background: #FFFFFF !important;
	border: 1px solid #E2E8F0 !important;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}

html[data-theme="light"] .autolevo-header-scope-option {
	color: #0F172A !important;
}

html[data-theme="light"] .autolevo-header-scope-option:hover,
html[data-theme="light"] .autolevo-header-scope-option:focus-visible {
	background: #F1F5F9 !important;
	border-color: #E2E8F0 !important;
}

html[data-theme="light"] .autolevo-header-scope-option.is-selected {
	background: #EFF6FF !important;
	border-color: rgba(39, 110, 241, 0.28) !important;
}

html[data-theme="light"] .autolevo-scope-opt-icon {
	background: #F1F5F9 !important;
	color: #1D4ED8 !important;
}

html[data-theme="light"] .autolevo-header-scope-option.is-selected .autolevo-scope-opt-icon {
	background: #DBEAFE !important;
	color: #1D4ED8 !important;
}

html[data-theme="light"] .autolevo-scope-opt-title {
	color: #0F172A !important;
}

html[data-theme="light"] .autolevo-scope-opt-desc {
	color: #475569 !important;
}

html[data-theme="light"] .autolevo-scope-opt-check {
	color: #276EF1 !important;
}

/* Yelp-Style Two-Column Search Dropdown Popover (Dark & Light Responsive) */
.autolevo-header-search-popover {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 1085;
	background: #12151B;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	overflow: hidden;
	/* 1:1 width parity with the search pill (wrap is position:relative, same width as the form). */
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
}

/* Deterministic row metrics so exactly 4 rows are visible (no half-cut 5th row). */
.autolevo-header-search-popover {
	--al-sug-row-h: 56px;
	--al-sug-prompt-h: 48px;
	--al-sug-visible: 4;
	--al-sug-thumb: rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .autolevo-header-search-popover {
	--al-sug-thumb: rgba(15, 23, 42, 0.28);
}

.autolevo-yelp-prompts-list,
.autolevo-yelp-entities-list {
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--al-sug-thumb) transparent;
}

.autolevo-yelp-prompts-list::-webkit-scrollbar,
.autolevo-yelp-entities-list::-webkit-scrollbar {
	width: 6px;
}

.autolevo-yelp-prompts-list::-webkit-scrollbar-track,
.autolevo-yelp-entities-list::-webkit-scrollbar-track {
	background: transparent;
}

.autolevo-yelp-prompts-list::-webkit-scrollbar-thumb,
.autolevo-yelp-entities-list::-webkit-scrollbar-thumb {
	background: var(--al-sug-thumb);
	border-radius: 9999px;
}

.autolevo-yelp-prompt-row.is-active,
.autolevo-yelp-entity-row.is-active {
	background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .autolevo-yelp-prompt-row.is-active,
html[data-theme="light"] .autolevo-yelp-entity-row.is-active {
	background: #F1F5F9;
}

.autolevo-yelp-search-cta .autolevo-yelp-entity-title {
	color: inherit !important;
	flex: 1 1 auto;
}

.autolevo-yelp-search-cta.is-active {
	outline: 2px solid #276EF1;
	outline-offset: -2px;
}

.autolevo-header-search-popover[hidden] {
	display: none !important;
}

html[data-theme="light"] .autolevo-header-search-popover {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
	color: #0F172A;
}

.autolevo-yelp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}

.autolevo-yelp-col {
	padding: 12px 12px;
	min-width: 0;
}

/* Pinned footer CTA: lives outside the scrolling list. */
.autolevo-yelp-footer {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.10);
}

html[data-theme="light"] .autolevo-yelp-footer {
	border-top-color: #E2E8F0;
}

.autolevo-yelp-grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.autolevo-yelp-col--left {
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .autolevo-yelp-col--left {
	border-right-color: #E2E8F0;
}

.autolevo-yelp-section-title {
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94A3B8;
	margin: 0 0 10px 0;
}

html[data-theme="light"] .autolevo-yelp-section-title {
	color: #475569;
}

.autolevo-yelp-recents-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.autolevo-yelp-recent-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #E2E8F0;
	font-size: 0.82rem;
	font-weight: 500;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.autolevo-yelp-recent-chip:hover {
	background: rgba(39, 110, 241, 0.18);
	border-color: rgba(39, 110, 241, 0.55);
	color: #FFFFFF;
}

html[data-theme="light"] .autolevo-yelp-recent-chip {
	background: #F8FAFC;
	border-color: #CBD5E1;
	color: #1E293B;
}

html[data-theme="light"] .autolevo-yelp-recent-chip:hover {
	background: #EFF6FF;
	border-color: #276EF1;
	color: #1E40AF;
}

.autolevo-yelp-prompts-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-height: calc(var(--al-sug-prompt-h) * var(--al-sug-visible));
	min-width: 0;
}

.autolevo-yelp-prompt-row {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0 0 var(--al-sug-prompt-h);
	height: var(--al-sug-prompt-h);
	min-width: 0;
	box-sizing: border-box;
	padding: 0 11px;
	border-radius: 10px;
	text-decoration: none !important;
	background: transparent;
	border: 1px solid transparent;
	transition: background-color 140ms ease, border-color 140ms ease;
}

.autolevo-yelp-prompt-row:hover,
.autolevo-yelp-prompt-row:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(39, 110, 241, 0.35);
	outline: none;
}

html[data-theme="light"] .autolevo-yelp-prompt-row:hover,
html[data-theme="light"] .autolevo-yelp-prompt-row:focus-visible {
	background: #F1F5F9;
	border-color: #CBD5E1;
}

.autolevo-yelp-prompt-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.autolevo-yelp-prompt-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #FFFFFF;
	line-height: 1.3;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.autolevo-yelp-prompt-top {
	min-width: 0;
}

html[data-theme="light"] .autolevo-yelp-prompt-title {
	color: #0F172A;
}

.autolevo-yelp-prompt-badge {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 0.7rem;
	font-weight: 600;
	background: rgba(39, 110, 241, 0.20);
	color: #93C5FD;
}

.autolevo-yelp-prompt-badge--rfi {
	background: rgba(16, 185, 129, 0.20);
	color: #34D399;
}

html[data-theme="light"] .autolevo-yelp-prompt-badge {
	background: #DBEAFE;
	color: #1D4ED8;
}

html[data-theme="light"] .autolevo-yelp-prompt-badge--rfi {
	background: #D1FAE5;
	color: #047857;
}

.autolevo-yelp-prompt-desc {
	font-size: 0.79rem;
	line-height: 1.38;
	color: #94A3B8;
}

html[data-theme="light"] .autolevo-yelp-prompt-desc {
	color: #475569;
}

.autolevo-yelp-entities-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	/* Shrinks to fit 1-4 rows (no scrollbar); caps at exactly 4 rows for 5-8 results. */
	max-height: calc(var(--al-sug-row-h) * var(--al-sug-visible));
}

.autolevo-yelp-entities-list > .autolevo-yelp-entity-meta {
	padding: 8px;
	white-space: normal;
}

.autolevo-yelp-entity-row {
	display: flex;
	align-items: center;
	gap: 11px;
	flex: 0 0 var(--al-sug-row-h);
	height: var(--al-sug-row-h);
	min-width: 0;
	box-sizing: border-box;
	padding: 0 8px;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background-color 140ms ease;
}

.autolevo-yelp-entity-row:hover {
	background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .autolevo-yelp-entity-row:hover {
	background: #F1F5F9;
}

/* Vertical pills (right-aligned) + text-only rows (no letter avatars). */
.autolevo-yelp-vpill {
	flex-shrink: 0;
	margin-left: auto;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.08);
}

.autolevo-yelp-vpill--business { color: #93B4F8; background: rgba(39, 110, 241, 0.16); }
.autolevo-yelp-vpill--specialist { color: #A7E3C0; background: rgba(34, 197, 94, 0.14); }
.autolevo-yelp-vpill--part { color: #F3C98B; background: rgba(245, 158, 11, 0.14); }

html[data-theme="light"] .autolevo-yelp-vpill--business { color: #1D4ED8; background: #EFF6FF; }
html[data-theme="light"] .autolevo-yelp-vpill--specialist { color: #15803D; background: #ECFDF3; }
html[data-theme="light"] .autolevo-yelp-vpill--part { color: #B45309; background: #FFF6E5; }

.autolevo-yelp-entity-row.is-textonly {
	padding-left: 10px;
}

.autolevo-yelp-entity-thumb {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(39, 110, 241, 0.18);
	color: #93C5FD;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
	flex-shrink: 0;
	overflow: hidden;
}

html[data-theme="light"] .autolevo-yelp-entity-thumb {
	background: #EFF6FF;
	color: #1D4ED8;
}

.autolevo-yelp-entity-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.autolevo-yelp-entity-info {
	min-width: 0;
	flex: 1 1 auto;
}

.autolevo-yelp-entity-title {
	font-size: 0.86rem;
	font-weight: 600;
	color: #FFFFFF;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

html[data-theme="light"] .autolevo-yelp-entity-title {
	color: #0F172A;
}

.autolevo-yelp-entity-meta {
	min-width: 0;
	font-size: 0.76rem;
	color: #94A3B8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

html[data-theme="light"] .autolevo-yelp-entity-meta {
	color: #64748B;
}

.autolevo-yelp-search-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
	padding: 9px 12px;
	border-radius: 10px;
	background: rgba(39, 110, 241, 0.14);
	color: #93C5FD !important;
	font-size: 0.83rem;
	font-weight: 600;
	text-decoration: none !important;
}

html[data-theme="light"] .autolevo-yelp-search-cta {
	background: #EFF6FF;
	color: #1D4ED8 !important;
}

.autolevo-yelp-popover-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	font-size: 0.8rem;
}

.autolevo-yelp-popover-footer a {
	color: #60A5FA !important;
	font-weight: 600;
	text-decoration: none !important;
}

.autolevo-yelp-popover-footer a:hover {
	text-decoration: none !important;
	color: #93C5FD !important;
}

html[data-theme="light"] .autolevo-yelp-popover-footer {
	border-top-color: #E2E8F0;
	background: #F8FAFC;
	color: #475569;
}

html[data-theme="light"] .autolevo-yelp-popover-footer a {
	color: #276EF1 !important;
}

.autolevo-yelp-group-label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94A3B8;
	margin: 6px 4px 4px;
}

html[data-theme="light"] .autolevo-yelp-group-label {
	color: #64748B;
}

@media (max-width: 767px) {
	.autolevo-yelp-grid {
		grid-template-columns: 1fr;
	}

	.autolevo-yelp-col--left {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	html[data-theme="light"] .autolevo-yelp-col--left {
		border-bottom-color: #E2E8F0;
	}
}

/* ==========================================================================
   2. LEFT BRAND CLUSTER: WHITE WORDMARK + LOCATION PILL + HAIRLINE DIVIDER
   ========================================================================== */
.autolevo-brand-cluster {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.autolevo-brand-link {
	display: inline-flex !important;
	align-items: center !important;
	flex-shrink: 0;
	text-decoration: none !important;
	min-height: 44px;
}

.autolevo-brand-link .autolevo-main-logo {
	height: 31px !important;
	width: auto !important;
	max-width: 192px !important;
	object-fit: contain !important;
}

.autolevo-header-location-pill {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px;
	height: 44px;
	min-height: 44px;
	min-width: 0;
	max-width: 100%;
	padding: 0 14px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.84rem !important;
	font-weight: 500 !important;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
	transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.autolevo-header-location-pill {
		height: 40px;
		min-height: 40px;
	}
}

.autolevo-header-location-pill .autolevo-loc-pin-svg,
.autolevo-header-location-pill .autolevo-loc-chevron-svg {
	flex-shrink: 0;
}

.autolevo-header-location-pill:hover,
.autolevo-header-location-pill:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.28);
	color: #FFFFFF !important;
}

.autolevo-header-location-pill:active {
	transform: scale(0.98);
}

.autolevo-header-location-pill .autolevo-loc-label {
	min-width: 0;
	flex: 0 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1023px) {
	.autolevo-header-location-pill .autolevo-loc-label {
		max-width: 240px;
	}
}

.autolevo-header-location-pill .autolevo-loc-chevron-svg {
	opacity: 0.72;
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.autolevo-header-location-pill:hover .autolevo-loc-chevron-svg {
	transform: translateY(1px);
	opacity: 1;
}

.autolevo-header-divider {
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.14);
	display: inline-block;
	margin-right: 4px;
}

/* ==========================================================================
   3. DESKTOP TWO-TIER SUB-NAV BAR (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
	.autolevo-drawer-open-btn,
	.autolevo-mobile-search-trigger,
	.autolevo-header-mobile-search,
	nav.navbar .navbar-toggler {
		display: none !important;
	}

	.autolevo-header-tier-2 {
		display: flex !important;
		align-items: center !important;
		width: 100% !important;
		min-height: 40px;
		padding: 3px 0 6px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.autolevo-subnav {
		display: flex;
		align-items: center;
		width: 100%;
	}

	.autolevo-subnav-list {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: calc(100% + 24px) !important;
		gap: 6px;
		margin: 0 -12px !important;
		padding: 0 !important;
		list-style: none !important;
	}

	.autolevo-subnav-list > li.nav-item {
		display: inline-flex !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.autolevo-subnav-list > li.nav-item.autolevo-subnav-right-first,
	.autolevo-subnav-list > li.nav-item:not(.autolevo-subnav-right-item):has(> a.autolevo-rfq-tile) {
		margin-left: auto !important;
	}

	.autolevo-subnav-list > li.nav-item > a.nav-link {
		color: rgba(255, 255, 255, 0.90) !important;
		font-family: 'Roboto', sans-serif !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		letter-spacing: 0.01em;
		padding: 6px 12px !important;
		border-radius: 9999px !important;
		min-height: 34px;
		display: inline-flex !important;
		align-items: center !important;
		position: relative;
		white-space: nowrap;
		text-decoration: none !important;
		transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
			color 180ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.autolevo-subnav-list > li.nav-item > a.nav-link:hover,
	.autolevo-subnav-list > li.nav-item > a.nav-link:focus-visible {
		background: rgba(255, 255, 255, 0.10) !important;
		color: #FFFFFF !important;
	}

	.autolevo-subnav-list > li.nav-item > a.nav-link.active {
		background: rgba(39, 110, 241, 0.18) !important;
		color: #FFFFFF !important;
	}

	.autolevo-subnav-list > li.nav-item > a.nav-link.active::after {
		content: '';
		position: absolute;
		bottom: 3px;
		left: 14px;
		right: 14px;
		height: 2px;
		border-radius: 2px;
		background: #276EF1;
	}
}

/* Right-Aligned Action Group Controls (Globe, Theme Toggle, Auth Pills) */
.autolevo-icon-pill-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	min-width: 38px;
	padding: 0 12px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	position: relative;
	transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.autolevo-theme-toggle-btn {
	width: 38px;
	height: 38px;
	padding: 0;
}

.autolevo-icon-pill-btn:hover,
.autolevo-icon-pill-btn:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.26);
	color: #FFFFFF !important;
}

.autolevo-icon-pill-btn:active {
	transform: scale(0.96);
}

.autolevo-lang-code {
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.03em;
}

/* Sun / Moon SVG 200ms Rotate + Opacity Crossfade */
.autolevo-drawer-theme-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

.autolevo-theme-svg {
	position: absolute;
	transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark mode active -> desktop toggle shows Sun (next action); drawer icon matches active Dark pill (Moon) */
:root .autolevo-theme-toggle-btn .autolevo-icon-sun,
html[data-theme="dark"] .autolevo-theme-toggle-btn .autolevo-icon-sun,
:root .autolevo-drawer-theme-icon .autolevo-icon-moon,
html[data-theme="dark"] .autolevo-drawer-theme-icon .autolevo-icon-moon {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

:root .autolevo-theme-toggle-btn .autolevo-icon-moon,
html[data-theme="dark"] .autolevo-theme-toggle-btn .autolevo-icon-moon,
:root .autolevo-drawer-theme-icon .autolevo-icon-sun,
html[data-theme="dark"] .autolevo-drawer-theme-icon .autolevo-icon-sun {
	opacity: 0;
	transform: rotate(-75deg) scale(0.6);
	pointer-events: none;
}

/* Light mode active -> desktop toggle shows Moon (next action); drawer icon matches active Light pill (Sun) */
html[data-theme="light"] .autolevo-theme-toggle-btn .autolevo-icon-sun,
html[data-theme="light"] .autolevo-drawer-theme-icon .autolevo-icon-moon {
	opacity: 0;
	transform: rotate(75deg) scale(0.6);
	pointer-events: none;
}

html[data-theme="light"] .autolevo-theme-toggle-btn .autolevo-icon-moon,
html[data-theme="light"] .autolevo-drawer-theme-icon .autolevo-icon-sun {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

/* Auth Action Pills (Log in Ghost Glass + Sign up #276EF1 Solid Pill) */
.autolevo-auth-pill {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px;
	min-height: 38px;
	padding: 7px 16px !important;
	border-radius: 9999px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.autolevo-auth-pill:hover,
.autolevo-auth-pill:focus-visible {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: rgba(255, 255, 255, 0.30) !important;
	color: #FFFFFF !important;
}

.autolevo-auth-pill:active {
	transform: scale(0.98);
}

.autolevo-auth-pill--primary,
a.autolevo-register-tile.autolevo-auth-pill--primary {
	background: #276EF1 !important;
	border-color: #276EF1 !important;
	color: #FFFFFF !important;
}

.autolevo-auth-pill--primary:hover,
.autolevo-auth-pill--primary:focus-visible,
a.autolevo-register-tile.autolevo-auth-pill--primary:hover {
	background: #1E54B7 !important;
	border-color: #1E54B7 !important;
	color: #FFFFFF !important;
}

.autolevo-auth-pill--primary:active,
a.autolevo-register-tile.autolevo-auth-pill--primary:active {
	background: #174291 !important;
	border-color: #174291 !important;
	transform: scale(0.98);
}

.autolevo-account-avatar-dot {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #276EF1;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.autolevo-caret-icon {
	opacity: 0.75;
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.autolevo-account-dropdown.show .autolevo-caret-icon {
	transform: rotate(180deg);
}

/* ==========================================================================
   4. FLOATING DARK GLASS DROPDOWN PANELS (LANGUAGE, NOTIFICATIONS, ACCOUNT)
   ========================================================================== */
.autolevo-dropdown-menu,
.autolevo-lang-menu {
	display: none !important;
	position: absolute !important;
	top: calc(100% + 10px) !important;
	right: 0 !important;
	left: auto !important;
	min-width: 265px !important;
	max-width: 340px !important;
	border-radius: 16px !important;
	background: rgba(18, 21, 27, 0.98) !important;
	backdrop-filter: blur(24px) saturate(160%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(160%) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 48px rgba(0, 0, 0, 0.60) !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	z-index: 99999 !important;
	color: #FFFFFF !important;
}

.autolevo-notification-drawer {
	width: 330px !important;
	max-width: 90vw !important;
}

.autolevo-dropdown-menu.show,
.autolevo-account-dropdown.show > .autolevo-dropdown-menu,
.autolevo-notification-dropdown.show > .autolevo-dropdown-menu,
.autolevo-lang-dropdown.show > .autolevo-lang-menu {
	display: block !important;
	animation: autolevoGlassDropIn 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes autolevoGlassDropIn {
	from {
		opacity: 0.96;
		transform: translateY(3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.autolevo-dropdown-header {
	padding: 14px 16px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	background: rgba(255, 255, 255, 0.03) !important;
	color: #FFFFFF !important;
}

.autolevo-dropdown-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #A6A6A6;
}

.autolevo-account-avatar-lg {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #276EF1;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.autolevo-dropdown-user-name {
	font-size: 0.92rem;
	font-weight: 700;
	color: #FFFFFF;
	max-width: 185px;
}

.autolevo-dropdown-role-pill {
	display: inline-block;
	margin-top: 2px;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 0.7rem;
	font-weight: 500;
	background: rgba(39, 110, 241, 0.22);
	color: #7AA7FF;
}

.autolevo-lang-list {
	padding: 6px;
}

.autolevo-dropdown-menu .dropdown-item,
.autolevo-lang-menu .dropdown-item {
	padding: 10px 14px !important;
	min-height: 40px;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #E5E5E5 !important;
	border-radius: 10px;
	margin: 2px 6px;
	width: auto;
	text-decoration: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between;
	transition: background-color 150ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

#autolevoUserDropdownMenu .dropdown-item {
	justify-content: flex-start;
}

.autolevo-dropdown-menu .dropdown-item:hover,
.autolevo-dropdown-menu .dropdown-item:focus,
.autolevo-lang-menu .dropdown-item:hover,
.autolevo-lang-menu .dropdown-item:focus {
	background: rgba(255, 255, 255, 0.09) !important;
	color: #FFFFFF !important;
}

.autolevo-lang-menu .dropdown-item.is-current {
	background: rgba(39, 110, 241, 0.18) !important;
	color: #FFFFFF !important;
}

.autolevo-lang-tag {
	font-size: 0.72rem;
	color: #A6A6A6;
	font-weight: 500;
}

.autolevo-dropdown-menu .dropdown-item.text-danger {
	color: #F87171 !important;
}

.autolevo-dropdown-menu .dropdown-item.text-danger:hover {
	background: rgba(239, 68, 68, 0.16) !important;
	color: #FCA5A5 !important;
}

.autolevo-dropdown-menu .dropdown-divider {
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	margin: 6px 10px !important;
}

.autolevo-dropdown-footer {
	padding: 10px 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	text-align: center;
}

.autolevo-dropdown-footer-link {
	font-size: 0.82rem;
	font-weight: 500;
	color: #6096FA !important;
	text-decoration: none !important;
}

.autolevo-dropdown-footer-link:hover {
	color: #93B8FD !important;
}

/* Notification Bell Badge & Drawer Items */
.autolevo-bell-badge {
	position: absolute;
	top: -3px;
	right: -4px;
	background: #EF4444;
	color: #FFFFFF;
	border-radius: 9999px;
	padding: 1px 5px;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1.1;
	min-width: 17px;
	text-align: center;
	border: 2px solid #000000;
}

.autolevo-mark-all-read-btn {
	color: #6096FA !important;
	font-size: 0.76rem;
}

.autolevo-notif-item {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	margin-bottom: 4px;
	text-decoration: none !important;
	color: #E5E5E5;
	transition: background-color 150ms ease;
	border-left: 3px solid transparent;
}

.autolevo-notif-item:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #FFFFFF;
}

.autolevo-notif-item.unread {
	background: rgba(39, 110, 241, 0.14);
	border-left-color: #276EF1;
}

.autolevo-notif-title {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
	color: #FFFFFF;
}

.autolevo-notif-message {
	font-size: 0.76rem;
	color: #A6A6A6;
	line-height: 1.35;
	margin-top: 2px;
}

.autolevo-notif-time {
	font-size: 0.68rem;
	color: #6B6B6B;
	margin-top: 3px;
}

/* ==========================================================================
   5. MOBILE & TABLET HEADER BAR, ROW-2 SEARCH & DRAWER (< 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
	.autolevo-navbar-actions-mobile,
	.autolevo-header-mobile-search {
		display: none !important;
	}
}

@media (max-width: 1023px) {
	.autolevo-header-divider,
	.autolevo-header-center,
	.autolevo-header-tier-2,
	.autolevo-brand-cluster .autolevo-header-location-pill,
	.autolevo-mobile-hide-action,
	.autolevo-header-actions-list > li.nav-item.autolevo-mobile-hide-action,
	.autolevo-header-actions-list > li.autolevo-lang-dropdown,
	.autolevo-header-actions-list > li:has(> .autolevo-theme-toggle-btn),
	nav.navbar .navbar-toggler {
		display: none !important;
	}

	.wp-block-blockstrap-blockstrap-widget-navbar.container,
	nav.navbar .container,
	nav.navbar .container-fluid {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.autolevo-header-tier-1 {
		min-height: 62px;
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		gap: 10px;
	}

	.autolevo-header-left {
		gap: 10px;
	}

	.autolevo-header-right {
		gap: 8px;
		margin-left: auto;
	}

	.autolevo-brand-link {
		min-height: 38px !important;
		height: 38px !important;
	}

	.autolevo-brand-link .autolevo-main-logo {
		height: 38px !important;
		width: auto !important;
		max-width: min(220px, 52vw) !important;
	}

	.autolevo-drawer-open-btn {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		padding: 0 !important;
		border-radius: 10px !important;
		border: 1px solid rgba(255, 255, 255, 0.16) !important;
		background: rgba(255, 255, 255, 0.08) !important;
		color: #FFFFFF !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		cursor: pointer;
		flex-shrink: 0;
		transition: background-color 160ms ease, transform 150ms ease;
	}

	.autolevo-drawer-open-btn:hover {
		background: rgba(255, 255, 255, 0.16) !important;
	}

	.autolevo-drawer-open-btn:active {
		transform: scale(0.95);
	}

	.autolevo-header-actions-list {
		gap: 8px !important;
	}

	.autolevo-header-actions-list > li:has(> .autolevo-register-tile),
	.autolevo-header-actions-list .autolevo-register-tile {
		display: none !important;
	}

	.autolevo-header-actions-list .autolevo-auth-pill {
		padding: 8px 16px !important;
		height: 38px !important;
		min-height: 38px !important;
		font-size: 13.5px !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
		border-radius: 9999px !important;
	}

	.autolevo-header-actions-list .autolevo-signin-tile {
		background: #276EF1 !important;
		border-color: #276EF1 !important;
		color: #FFFFFF !important;
	}

	.autolevo-header-actions-list .autolevo-signin-tile:hover,
	.autolevo-header-actions-list .autolevo-signin-tile:focus-visible {
		background: #1E54B7 !important;
		border-color: #1E54B7 !important;
		color: #FFFFFF !important;
	}

	header nav.navbar .autolevo-header-mobile-search .autolevo-header-search-form {
		height: 44px !important;
		min-height: 44px !important;
		max-height: 44px !important;
	}

	header nav.navbar .autolevo-header-mobile-search button.autolevo-header-scope-btn {
		padding: 0 11px 0 14px !important;
		font-size: 13px !important;
		gap: 5px !important;
	}

	.autolevo-header-mobile-search .autolevo-header-search-btn-label {
		display: none;
	}

	header nav.navbar .autolevo-header-mobile-search button.autolevo-header-search-btn {
		padding: 0 14px !important;
	}
}

.autolevo-mobile-search-trigger,
.autolevo-mobile-search-head {
	display: none !important;
}

.autolevo-mobile-search-trigger {
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	color: #FFFFFF !important;
	border-radius: 9999px !important;
}

/* Tablet & Mobile (< 1024px): compact single-row order (Logo -> Search icon -> Auth/Account -> Hamburger) with toggleable search overlay */
@media (max-width: 1023px) {
	.autolevo-mobile-search-trigger {
		width: 38px !important;
		height: 38px !important;
		border-radius: 9999px !important;
		border: 1px solid rgba(255, 255, 255, 0.16) !important;
		background: rgba(255, 255, 255, 0.08) !important;
		color: #FFFFFF !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		cursor: pointer !important;
		flex-shrink: 0 !important;
		transition: background-color 160ms ease, border-color 160ms ease !important;
	}

	.autolevo-mobile-search-trigger:hover,
	.autolevo-mobile-search-trigger[aria-expanded="true"] {
		background: rgba(39, 110, 241, 0.25) !important;
		border-color: #276EF1 !important;
	}

	.autolevo-header-mobile-search {
		display: none;
		width: 100%;
		padding: 10px 20px 14px !important;
		background: rgba(11, 11, 11, 0.96);
		backdrop-filter: blur(18px);
		-webkit-backdrop-filter: blur(18px);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
	}

	.autolevo-header-mobile-search.is-open {
		display: block !important;
		animation: alMobileSearchSlide 180ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.autolevo-mobile-search-head {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		margin-bottom: 10px;
	}

	.autolevo-mobile-loc-chip {
		height: 36px !important;
		min-height: 36px !important;
		font-size: 0.8rem !important;
		padding: 0 12px !important;
	}

	.autolevo-mobile-search-close {
		width: 36px;
		height: 36px;
		border-radius: 9999px;
		border: 1px solid rgba(255, 255, 255, 0.16);
		background: rgba(255, 255, 255, 0.08);
		color: #FFFFFF;
		font-size: 1.25rem;
		line-height: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
}

@media (max-width: 767px) {
	.autolevo-header-mobile-search {
		padding: 10px 16px 14px !important;
	}
}

@keyframes alMobileSearchSlide {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 599px) {
	.autolevo-header-tier-1 {
		min-height: 56px;
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}
	.autolevo-brand-link .autolevo-main-logo {
		height: 36px !important;
		max-width: min(172px, 47vw) !important;
	}
	.autolevo-header-right {
		gap: 7px;
	}
}

/* Mobile Glass Drawer Backdrop & Panel */
.autolevo-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99980;
	background: rgba(0, 0, 0, 0.60);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 220ms;
}

.autolevo-drawer-backdrop.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.autolevo-mobile-glass-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(380px, 92vw);
	height: 100vh;
	height: 100dvh;
	z-index: 99985;
	background: rgba(11, 11, 11, 0.92);
	backdrop-filter: blur(28px) saturate(160%);
	-webkit-backdrop-filter: blur(28px) saturate(160%);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: -20px 0 50px rgba(0, 0, 0, 0.65);
	display: flex;
	flex-direction: column;
	color: #FFFFFF;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 240ms;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.autolevo-mobile-glass-drawer {
		background: #0B0B0B !important;
	}
}

.autolevo-mobile-glass-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

/* 1. Drawer Top Bar */
.autolevo-drawer-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 20px)) 16px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.autolevo-drawer-close-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 150ms ease, transform 150ms ease;
}

.autolevo-drawer-close-btn:hover {
	background: rgba(255, 255, 255, 0.16);
}

.autolevo-drawer-close-btn:active {
	transform: scale(0.95);
}

/* 2. Scrollable Sectioned Navigation Body */
.autolevo-drawer-nav {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 14px 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.autolevo-drawer-section {
	display: flex;
	flex-direction: column;
}

.autolevo-drawer-section-title {
	font-family: 'Roboto', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #9CA3AF;
	padding: 2px 4px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	margin-bottom: 4px;
}

.autolevo-drawer-section--settings {
	gap: 8px;
}

.autolevo-drawer-nav-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	min-height: 52px;
	padding: 10px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: color 150ms ease, padding-left 150ms ease;
}

.autolevo-drawer-nav-row:hover,
.autolevo-drawer-nav-row:focus-visible {
	color: #276EF1 !important;
	padding-left: 12px;
}

/* 3. Pinned Bottom Utility Dock */
.autolevo-drawer-dock {
	flex-shrink: 0;
	padding: 16px max(20px, env(safe-area-inset-right, 20px)) calc(22px + env(safe-area-inset-bottom, 0px)) 20px;
	background: rgba(18, 18, 18, 0.90);
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.autolevo-drawer-utility-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 50px;
	padding: 8px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #FFFFFF !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none !important;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.autolevo-drawer-utility-row:hover {
	background: rgba(255, 255, 255, 0.09);
}

.autolevo-drawer-utility-meta {
	font-size: 0.8rem;
	color: #A6A6A6;
	white-space: nowrap;
}

.autolevo-drawer-theme-switch {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px;
	border-radius: 9999px;
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.10);
}

.autolevo-drawer-theme-opt {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 32px;
	padding: 4px 10px;
	border-radius: 9999px;
	border: none;
	background: transparent;
	color: #A6A6A6;
	font-size: 0.78rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.autolevo-drawer-theme-opt.is-active,
.autolevo-drawer-theme-opt[aria-pressed="true"] {
	background: #276EF1;
	color: #FFFFFF;
}

.autolevo-drawer-cta-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 4px;
}

.autolevo-drawer-cta {
	width: 100%;
	min-height: 48px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: background-color 180ms ease, transform 150ms ease;
}

.autolevo-drawer-cta--ghost {
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	color: #FFFFFF !important;
}

.autolevo-drawer-cta--ghost:hover {
	background: rgba(255, 255, 255, 0.14) !important;
}

.autolevo-drawer-cta--primary {
	background: #276EF1 !important;
	border: 1px solid #276EF1 !important;
	color: #FFFFFF !important;
}

.autolevo-drawer-cta--primary:hover {
	background: #1E54B7 !important;
	border-color: #1E54B7 !important;
}

/* ==========================================================================
   6. GLOBAL HEADER BOTTOM SPACING (TWO-TIER DESKTOP & CONDITIONAL MOBILE)
   ========================================================================== */
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout):not(.autolevo-fullbleed-editorial):not(.autolevo-404-body):not(.wp-admin):not(.block-editor-page) {
	padding-top: 126px !important;
}

body.home,
body.geodir-page-location,
body.autolevo-home-layout {
	padding-top: 0 !important;
	background-color: #000000 !important;
}

html[data-theme="light"] body.home,
html[data-theme="light"] body.geodir-page-location,
html[data-theme="light"] body.autolevo-home-layout {
	background-color: #FFFFFF !important;
}

.wp-site-blocks > header,
.wp-site-blocks > header.wp-block-template-part {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.autolevo-fullbleed-editorial:not(.wp-admin):not(.block-editor-page),
body.autolevo-404-body:not(.wp-admin):not(.block-editor-page) {
	padding-top: 126px !important;
}

body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout) .wp-site-blocks > header.site-header,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout) .wp-site-blocks > .site-header {
	margin: 0 !important;
	padding: 0 !important;
}

body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout):not(.autolevo-fullbleed-editorial):not(.autolevo-404-body) .wp-site-blocks > #main,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout):not(.autolevo-fullbleed-editorial):not(.autolevo-404-body) .wp-site-blocks > main,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout):not(.autolevo-fullbleed-editorial):not(.autolevo-404-body) .wp-site-blocks > .wp-block-blockstrap-blockstrap-widget-container,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout):not(.autolevo-fullbleed-editorial):not(.autolevo-404-body) .wp-site-blocks > .container,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout) .wp-site-blocks .mt-6,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout) .autolevo-directory-scope,
body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout) .wp-site-blocks > .autolevo-directory-scope {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

@media (max-width: 1023px) {
	body:not(.home):not(.geodir-page-location):not(.autolevo-home-layout):not(.autolevo-fullbleed-editorial):not(.autolevo-404-body):not(.wp-admin):not(.block-editor-page) {
		padding-top: 72px !important;
	}

	body.autolevo-fullbleed-editorial:not(.wp-admin):not(.block-editor-page),
	body.autolevo-404-body:not(.wp-admin):not(.block-editor-page) {
		padding-top: 72px !important;
	}
}

/* ==========================================================================
   7. GLOBAL REMOVAL OF REDUNDANT PAGE TITLES & GEODIRECTORY MAP CLUTTER
   ========================================================================== */
.entry-title,
.page-title,
.wp-block-post-title,
.wp-block-blockstrap-blockstrap-widget-post-title,
.hero-page,
header.entry-header,
header.entry-header h1,
.site-main > header > h1,
.site-main > .entry-header,
h1.entry-title,
h1.page-title,
h2.entry-title,
h2.page-title,
h1.mb-3.fw-bold.h2,
.geodir-archive-title,
.geodir-location-title,
.geodir-page-title,
.bs-page-title,
.wp-block-template-part[data-slug="hero-page"],
.wp-block-template-part[data-slug="hero-archive"],
.wp-block-template-part[data-slug="hero-post"],
.wp-block-blockstrap-blockstrap-widget-container:has(> h1.mb-3.fw-bold.h2),
.wp-block-blockstrap-blockstrap-widget-container:has(> .h2:first-child) {
	display: none !important;
}

.geodir-map-cat-filter-wrap,
.geodir_map_container [id$="_cat"],
.geodir_map_container .map_category,
.geodir-map-cat-filter,
.map-category-listing,
.stick_trigger_container .map_category,
.geodir_map_container .geodir-map-cat-filter-wrap,
.leaflet-control-layers,
.leaflet-control-layers-expanded,
.leaflet-control-geodir-cats {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* ==========================================================================
   8. COMPLETE SUPPRESSION OF SKIP-TO-MAIN-CONTENT BUTTON
   ========================================================================== */
.autolevo-skip-link,
.bs-skip-links,
.wp-block-blockstrap-blockstrap-widget-skip-links,
[class*="skip-link"],
[class*="skip-links"],
a[href="#main"].btn,
a[href="#main-content"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	z-index: -1 !important;
}

.autolevo-skip-link:focus,
.autolevo-skip-link:focus-visible,
.bs-skip-links:focus,
.bs-skip-links:focus-within,
.wp-block-blockstrap-blockstrap-widget-skip-links:focus,
.wp-block-blockstrap-blockstrap-widget-skip-links:focus-within,
[class*="skip-link"]:focus,
[class*="skip-link"]:focus-within {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	top: -9999px !important;
	transform: translateY(-9999px) !important;
	clip: rect(0, 0, 0, 0) !important;
}

/* =========================================================================
 * Row 2 Interactive Frosted-Glass Mega-Menus & Info Popovers (Desktop >= 1024px)
 * ========================================================================= */
.autolevo-subnav-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 5px;
	flex-shrink: 0;
	opacity: 0.72;
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 150ms ease;
}

.autolevo-subnav-panel {
	display: none;
}

@media (min-width: 1024px) {
	.autolevo-header-shell,
	.autolevo-header-tier-2,
	.autolevo-subnav,
	.autolevo-subnav-list,
	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel {
		overflow: visible !important;
	}

	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel {
		position: relative !important;
	}

	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel.is-open {
		z-index: 1065;
	}

	/* Invisible hover bridge so moving diagonally or vertically down never drops hover prematurely */
	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel.is-open::before {
		content: "";
		position: absolute;
		left: -10px;
		right: -10px;
		top: 100%;
		height: 14px;
		background: transparent;
		z-index: 1050;
	}

	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel.is-open > a.nav-link {
		background: rgba(255, 255, 255, 0.12) !important;
		color: #FFFFFF !important;
	}

	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel.is-open > a.nav-link::after {
		content: "";
		position: absolute;
		left: 10px;
		right: 10px;
		bottom: -6px;
		height: 2.5px;
		border-radius: 999px;
		background: #276EF1;
		z-index: 1070;
		pointer-events: none;
	}

	.autolevo-subnav-list > li.nav-item.autolevo-has-subnav-panel.is-open > a.nav-link .autolevo-subnav-chevron {
		transform: rotate(180deg);
		opacity: 1;
	}

	/* High-Opacity Frosted Panel Base (Dark Mode Default — ~2% transparency so hero text never bleeds through) */
	.autolevo-subnav-panel {
		display: block;
		position: absolute;
		top: calc(100% + 6px);
		z-index: 1060;
		border-radius: 14px;
		background: rgba(15, 23, 42, 0.98);
		backdrop-filter: blur(24px) saturate(160%);
		-webkit-backdrop-filter: blur(24px) saturate(160%);
		border: 1px solid rgba(255, 255, 255, 0.14);
		box-shadow: 0 22px 48px rgba(0, 0, 0, 0.60);
		color: #F8FAFC;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(6px);
		transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 150ms ease-out;
		text-align: left;
	}

	.autolevo-subnav-panel::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -12px;
		height: 12px;
		background: transparent;
	}

	.autolevo-subnav-panel--left {
		left: 0;
		right: auto;
	}

	.autolevo-subnav-panel--right {
		right: 0;
		left: auto;
	}

	li.autolevo-has-subnav-panel.is-open > .autolevo-subnav-panel {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	/* Light Mode High-Opacity Frosted Panel (~2% transparency) */
	html[data-theme="light"] .autolevo-subnav-panel {
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(24px) saturate(160%);
		-webkit-backdrop-filter: blur(24px) saturate(160%);
		border: 1px solid rgba(15, 23, 42, 0.10);
		box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
		color: #0F172A;
	}

	/* Mega-Menu Container Sizing & Multi-Column Grid */
	.autolevo-mega-menu {
		padding: 20px 24px;
	}

	.autolevo-mega-menu--cols-3 {
		width: min(740px, calc(100vw - 48px));
	}

	.autolevo-mega-menu--cols-2 {
		width: min(500px, calc(100vw - 48px));
	}

	.autolevo-mega-menu-grid {
		display: grid;
		gap: 6px 12px;
	}

	.autolevo-mega-menu--cols-3 .autolevo-mega-menu-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.autolevo-mega-menu--cols-2 .autolevo-mega-menu-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.autolevo-mega-item {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 9px 11px;
		border-radius: 10px;
		text-decoration: none !important;
		color: #E2E8F0;
		font-family: 'Roboto', sans-serif;
		font-size: 13.75px;
		font-weight: 500;
		line-height: 1.3;
		transition: background-color 140ms ease, color 140ms ease;
	}

	html[data-theme="light"] .autolevo-mega-item {
		color: #1E293B;
	}

	.autolevo-mega-item-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		border-radius: 8px;
		flex-shrink: 0;
		background: rgba(255, 255, 255, 0.06);
		color: #94A3B8;
		transition: background-color 140ms ease, color 140ms ease;
	}

	html[data-theme="light"] .autolevo-mega-item-icon {
		background: rgba(15, 23, 42, 0.05);
		color: #475569;
	}

	.autolevo-mega-item-label {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.autolevo-mega-item:hover,
	.autolevo-mega-item:focus-visible {
		background: rgba(56, 189, 248, 0.12);
		color: #60A5FA;
		outline: none;
	}

	.autolevo-mega-item:hover .autolevo-mega-item-icon,
	.autolevo-mega-item:focus-visible .autolevo-mega-item-icon {
		background: rgba(39, 110, 241, 0.22);
		color: #60A5FA;
	}

	html[data-theme="light"] .autolevo-mega-item:hover,
	html[data-theme="light"] .autolevo-mega-item:focus-visible {
		background: rgba(39, 110, 241, 0.08);
		color: #1D4ED8;
	}

	html[data-theme="light"] .autolevo-mega-item:hover .autolevo-mega-item-icon,
	html[data-theme="light"] .autolevo-mega-item:focus-visible .autolevo-mega-item-icon {
		background: rgba(39, 110, 241, 0.14);
		color: #276EF1;
	}

	.autolevo-mega-menu-divider {
		height: 1px;
		margin: 14px 0 12px;
		background: rgba(255, 255, 255, 0.10);
	}

	html[data-theme="light"] .autolevo-mega-menu-divider {
		background: rgba(15, 23, 42, 0.08);
	}

	.autolevo-mega-menu-footer {
		display: flex;
		align-items: center;
		justify-content: flex-start;
	}

	.autolevo-mega-view-all {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 5px 10px;
		margin-left: -10px;
		border-radius: 8px;
		font-family: 'Roboto', sans-serif;
		font-size: 13.5px;
		font-weight: 600;
		color: #60A5FA;
		text-decoration: none !important;
		transition: color 140ms ease, background-color 140ms ease;
	}

	.autolevo-mega-view-all:hover,
	.autolevo-mega-view-all:focus-visible {
		background: rgba(56, 189, 248, 0.12);
		color: #93C5FD;
		outline: none;
	}

	html[data-theme="light"] .autolevo-mega-view-all {
		color: #2563EB;
	}

	html[data-theme="light"] .autolevo-mega-view-all:hover,
	html[data-theme="light"] .autolevo-mega-view-all:focus-visible {
		background: rgba(39, 110, 241, 0.08);
		color: #1D4ED8;
	}

	.autolevo-mega-view-all-arrow {
		display: inline-block;
		transition: transform 160ms ease-out;
	}

	.autolevo-mega-view-all:hover .autolevo-mega-view-all-arrow,
	.autolevo-mega-view-all:focus-visible .autolevo-mega-view-all-arrow {
		transform: translateX(4px);
	}

	/* Compact Right-Aligned Hover Info Popovers (~290px) */
	.autolevo-info-popover {
		width: min(290px, calc(100vw - 32px));
		padding: 18px 20px;
	}

	.autolevo-popover-header {
		display: flex;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 8px;
	}

	.autolevo-popover-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		border-radius: 8px;
		flex-shrink: 0;
		background: rgba(39, 110, 241, 0.18);
		color: #60A5FA;
	}

	html[data-theme="light"] .autolevo-popover-icon {
		background: rgba(37, 99, 235, 0.10);
		color: #2563EB;
	}

	.autolevo-popover-title {
		font-family: 'Roboto', sans-serif;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.35;
		color: #FFFFFF;
	}

	html[data-theme="light"] .autolevo-popover-title {
		color: #0F172A;
	}

	.autolevo-popover-desc {
		margin: 0;
		font-family: 'Roboto', sans-serif;
		font-size: 13px;
		line-height: 1.48;
		color: rgba(226, 232, 240, 0.88);
	}

	.autolevo-popover-desc:not(:last-child) {
		margin-bottom: 12px;
	}

	html[data-theme="light"] .autolevo-popover-desc {
		color: #475569;
	}

	.autolevo-popover-footer {
		padding-top: 10px;
		border-top: 1px solid rgba(255, 255, 255, 0.10);
		display: flex;
		align-items: center;
	}

	html[data-theme="light"] .autolevo-popover-footer {
		border-top-color: rgba(15, 23, 42, 0.08);
	}

	.autolevo-popover-meta {
		font-family: 'Roboto', sans-serif;
		font-size: 12px;
		font-weight: 600;
		color: #93C5FD;
		letter-spacing: 0.01em;
	}

	html[data-theme="light"] .autolevo-popover-meta {
		color: #2563EB;
	}
}

@media (prefers-reduced-motion: reduce) {
	.autolevo-subnav-chevron,
	.autolevo-subnav-panel,
	.autolevo-mega-item,
	.autolevo-mega-item-icon,
	.autolevo-mega-view-all-arrow {
		transition: none !important;
	}

	.autolevo-subnav-panel {
		transform: none !important;
	}
}

html[data-a11y-motion="reduce"] .autolevo-subnav-chevron,
html[data-a11y-motion="reduce"] .autolevo-subnav-panel,
html[data-a11y-motion="reduce"] .autolevo-mega-item,
html[data-a11y-motion="reduce"] .autolevo-mega-item-icon,
html[data-a11y-motion="reduce"] .autolevo-mega-view-all-arrow {
	transition: none !important;
	transform: none !important;
}

/* ==========================================================================
   RTL Language Layout Support (Arabic ar, Hebrew he)
   ========================================================================== */
html[dir="rtl"] .autolevo-subnav-list > li.nav-item.autolevo-subnav-right-first,
html[dir="rtl"] .autolevo-subnav-list > li.nav-item:not(.autolevo-subnav-right-item):has(> a.autolevo-rfq-tile) {
	margin-left: 0 !important;
	margin-right: auto !important;
}

html[dir="rtl"] .autolevo-subnav-panel {
	text-align: right;
}

html[dir="rtl"] .autolevo-subnav-panel--left {
	right: 0;
	left: auto;
}

html[dir="rtl"] .autolevo-subnav-panel--right {
	left: 0;
	right: auto;
}

html[dir="rtl"] .autolevo-mega-view-all-arrow {
	transform: scaleX(-1);
}

html[dir="rtl"] .autolevo-header-scope-menu {
	left: auto;
	right: 0;
	text-align: right;
}

html[dir="rtl"] .autolevo-header-search-input {
	padding-left: 38px;
	padding-right: 16px;
}

html[dir="rtl"] .autolevo-header-search-clear {
	right: auto;
	left: 8px;
}

html[dir="rtl"] .autolevo-yelp-grid {
	direction: rtl;
	text-align: right;
}


/* ==========================================================================
   TWO-TIER STICKY HEADER (>= 1024px)
   Tier 1 (logo + search) is permanently fixed. Tier 2 (Businesses / Specialists /
   Auto Parts / Submit RFI / Request Hub) slides up behind tier 1 on scroll down and
   returns on scroll up (navbar.js toggles .is-subnav-hidden). The glass is painted by
   two separate bands, so hiding tier 2 never reflows anything: it is transform-only.
   ========================================================================== */
@media (min-width: 1024px) {
	/* The <nav> itself becomes an invisible, click-through frame; the bands below carry the glass. */
	html body nav.navbar.fixed-top.autolevo-glass-header.autolevo-glass-header.autolevo-glass-header {
		background: transparent !important;
		background-color: transparent !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		border-bottom: 0 !important;
		box-shadow: none !important;
		pointer-events: none;
	}

	/* Tier-1 glass band (sits above tier 2 so tier 2 slides behind it). */
	nav.navbar.fixed-top.autolevo-glass-header::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: calc(var(--al-tier1-h, 64px) + env(safe-area-inset-top, 0px));
		box-sizing: border-box;
		background: rgba(0, 0, 0, 0.88);
		backdrop-filter: blur(24px) saturate(180%);
		-webkit-backdrop-filter: blur(24px) saturate(180%);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		pointer-events: auto;
		z-index: -1;
	}

	html[data-theme="light"] nav.navbar.fixed-top.autolevo-glass-header::before {
		background: rgba(0, 0, 0, 0.90);
		border-bottom-color: rgba(255, 255, 255, 0.12);
	}

	nav.navbar.fixed-top.autolevo-glass-header.is-scrolled::before {
		background: rgba(0, 0, 0, 0.94);
		border-bottom-color: rgba(255, 255, 255, 0.14);
	}

	nav.navbar.fixed-top.autolevo-glass-header.is-scrolled.is-subnav-hidden::before {
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
	}

	nav.navbar.fixed-top .autolevo-header-tier-1 {
		pointer-events: auto;
	}

	/* Tier-2 glass band. z-index -2 keeps it under the tier-1 band (-1) and the tier-1 content. */
	nav.navbar.fixed-top .autolevo-header-tier-2 {
		position: relative;
		z-index: -2;
		pointer-events: auto;
		background: rgba(0, 0, 0, 0.88);
		backdrop-filter: blur(24px) saturate(180%);
		-webkit-backdrop-filter: blur(24px) saturate(180%);
		border-top: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
			opacity 180ms ease,
			visibility 0s linear 0s;
		will-change: transform;
	}

	html[data-theme="light"] nav.navbar.fixed-top .autolevo-header-tier-2 {
		background: rgba(0, 0, 0, 0.90);
		border-bottom-color: rgba(255, 255, 255, 0.12);
	}

	nav.navbar.fixed-top.is-scrolled .autolevo-header-tier-2 {
		background: rgba(0, 0, 0, 0.94);
		border-bottom-color: rgba(255, 255, 255, 0.14);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
	}

	nav.navbar.fixed-top.is-subnav-hidden .autolevo-header-tier-2 {
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
			opacity 180ms ease,
			visibility 0s linear 220ms;
	}
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	@media (min-width: 1024px) {
		nav.navbar.fixed-top.autolevo-glass-header::before,
		nav.navbar.fixed-top .autolevo-header-tier-2 {
			background: #0B0B0B;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	nav.navbar.fixed-top .autolevo-header-tier-2,
	nav.navbar.fixed-top.is-subnav-hidden .autolevo-header-tier-2 {
		transition: none;
	}
}
