/* AiRISTA Nav — V2 white main / orange utility (configurable) */

.airista-nav,
.airista-nav * { box-sizing: border-box; }

.airista-nav {
	position: relative;
	z-index: 100;
	font-family: 'Inter Tight', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
	color: #0b1020;
	--an-orange: #f06a2a;
	--an-navy: #1a2a52;
	--an-navy-deep: #0f1a38;
	--an-line: #e6e8ef;
	--an-ink: #0b1020;
	--an-ink2: #3b4255;
	--an-muted: #6b7289;
	--an-bg-soft: #f7f8fb;
}

.airista-nav a { text-decoration: none; color: inherit; }

/* ---------- Utility bar ---------- */
.an-utility {
	background: var(--an-utility-bg);
	color: var(--an-utility-fg);
	font-size: 12.5px;
	font-weight: 500;
	padding: 8px 0;
}
.an-utility-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: var(--an-max, 1280px);
	margin: 0 auto;
	width: 100%;
	padding: 0 32px;
}
.an-util-orange .an-utility { color: rgba(255,255,255,0.88); }
.an-promo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.an-promo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-badge {
	background: rgba(255,255,255,0.25);
	color: #fff;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	flex-shrink: 0;
}
.an-util-cream .an-badge,
.an-util-light .an-badge { background: var(--an-navy); color: #fff; }
.an-promo-text a { text-decoration: underline; cursor: pointer; }
.an-util-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.an-util-sep { opacity: 0.4; }
.an-util-link,
.an-phone {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.15s ease, opacity 0.15s ease;
}
.an-phone { gap: 6px; }
.an-util-link:hover,
.an-phone:hover {
	color: var(--an-ink, #0b1020);
	opacity: 1;
}
.an-util-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.an-util-link svg { transition: transform 0.15s ease; }
.an-util-link:hover svg { transform: translateX(2px); }

/* ---------- Main bar ---------- */
.an-main {
	background: var(--an-main-bg);
	border-bottom: 1px solid var(--an-line);
	position: relative; /* anchor for mega-menu absolute positioning */
}
.an-dark .an-main { border-bottom-color: rgba(255,255,255,0.08); }
.an-light .an-main { box-shadow: 0 1px 0 rgba(15,26,56,0.04); }

.an-main-inner {
	display: flex;
	align-items: center;
	gap: 36px;
	padding: 14px 32px;
	max-width: var(--an-max, 1280px);
	margin: 0 auto;
	width: 100%;
	position: relative; /* containing block for dropdowns */
}

.an-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-left: -14px;
}
.an-logo img { display: block; height: 56px; width: auto; }
.an-dark .an-logo img { filter: brightness(0) invert(1); }

/* ---------- Top-level menu ---------- */
.an-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2px;
	align-items: stretch;
}
.an-item {
	position: relative; /* default; mega items get position:static below */
	display: flex;
	align-items: center;
}
.an-item.an-top-featured,
.an-item.an-top-mega.an-top-mega-featured,
.an-item.an-top-mega.an-top-mega-wide { position: static; }

.an-top-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: 0;
	color: var(--an-main-fg);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 14px;
	cursor: pointer;
	border-radius: 6px;
	position: relative;
	text-align: left;
	line-height: 1.2;
	white-space: nowrap;
}
.an-top-link:focus { outline: none; }
.an-top-link:focus-visible { outline: 2px solid var(--an-orange); outline-offset: 2px; }

.an-top-link:hover,
.an-item.is-open > .an-top-link,
.an-item:hover > .an-top-link {
	background: var(--an-main-hov-bg);
	color: var(--an-main-fg-hov);
}

/* Orange underline under active item — sits inside the link so it doesn't break hover */
.an-top-link::after {
	content: '';
	position: absolute;
	left: 14px; right: 14px;
	bottom: -8px;
	height: 2px;
	background: var(--an-orange);
	border-radius: 2px;
	opacity: 0;
	transform: scaleX(0.6);
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.an-item:hover > .an-top-link::after,
.an-item.is-open > .an-top-link::after,
.an-item.an-current > .an-top-link::after {
	opacity: 1;
	transform: scaleX(1);
}
.an-item.an-current > .an-top-link {
	color: var(--an-main-fg-hov);
	font-weight: 600;
}

.an-caret { transition: transform 0.15s ease; flex-shrink: 0; }
.an-item:hover .an-caret,
.an-item.is-open .an-caret { transform: rotate(180deg); }

.an-spacer { flex: 1; }

/* ---------- Search ---------- */
.an-search-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 10px;
	padding: 0;
	width: 42px;
	height: 42px;
	color: var(--an-main-fg);
	flex-shrink: 0;
	cursor: pointer;
	font: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.an-search-trigger:hover,
.an-search-trigger:focus-visible,
.an-search-trigger[aria-expanded="true"] {
	border-color: rgba(255,255,255,0.38);
	background: rgba(255,255,255,0.08);
	box-shadow: 0 0 0 3px rgba(240,106,42,0.16);
	outline: none;
}
.an-dark .an-search-trigger {
	border-color: rgba(255,255,255,0.12);
	color: rgba(255,255,255,0.88);
}
.an-dark .an-search-trigger:hover,
.an-dark .an-search-trigger:focus-visible,
.an-dark .an-search-trigger[aria-expanded="true"] {
	background: rgba(255,255,255,0.14);
	border-color: rgba(255,255,255,0.3);
	box-shadow: 0 0 0 3px rgba(240,106,42,0.25);
}
.an-search-icon {
	flex-shrink: 0;
	stroke: currentColor;
}
.an-search-modal[hidden] { display: none; }
.an-search-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}
body.an-search-open { overflow: hidden; }
.an-search-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15,26,56,0.62);
	border: 0;
	padding: 0;
	cursor: pointer;
}
.an-search-dialog {
	position: relative;
	width: min(680px, calc(100vw - 32px));
	margin: clamp(72px, 12vh, 120px) auto 0;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 28px 60px -18px rgba(15,26,56,0.45);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.an-search-dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.an-search-title {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--an-ink);
}
.an-search-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(15,26,56,0.1);
	background: #fff;
	color: var(--an-ink);
	cursor: pointer;
}
.an-search-close:hover,
.an-search-close:focus-visible {
	background: var(--an-bg-soft);
	outline: none;
}
.an-search-form {
	display: flex;
	align-items: center;
	gap: 14px;
}
.an-search-field {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	background: var(--an-bg-soft);
	border: 1px solid var(--an-line);
	border-radius: 14px;
	padding: 14px 16px;
	color: var(--an-muted);
}
.an-search-field:focus-within {
	border-color: var(--an-ink2);
	box-shadow: 0 0 0 3px rgba(240,106,42,0.12);
	background: #fff;
}
.an-search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	margin: 0;
	background: var(--an-orange);
	border: 0;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
	font: inherit;
	font-weight: 600;
}
.an-search-submit:hover { background: #d85a1f; }
.an-search-submit:focus { outline: none; }
.an-search-submit:focus-visible {
	outline: 2px solid var(--an-orange);
	outline-offset: 2px;
	border-radius: 4px;
}
.airista-nav .an-search-field input[type="search"],
.airista-nav .an-search-field input {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}
.airista-nav .an-search-field input::placeholder { color: currentColor !important; opacity: 1 !important; }
/* Remove WebKit's default search cancel button so it doesn't peek through */
.an-search-field input::-webkit-search-cancel-button,
.an-search-field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.an-search-field input:focus { color: var(--an-ink); }

/* ---------- CTAs ---------- */
.an-ctas { display: flex; gap: 8px; flex-shrink: 0; }
.an-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: pointer;
	border: 1px solid transparent;
	line-height: 1;
	transition: background 0.15s ease, transform 0.05s ease;
	white-space: nowrap;
}
.an-btn-secondary {
	background: transparent;
	color: var(--an-ink);
	border-color: var(--an-line);
}
.an-dark .an-btn-secondary {
	color: #fff;
	border-color: rgba(255,255,255,0.22);
}
.an-btn-secondary:hover { background: var(--an-bg-soft); }
.an-dark .an-btn-secondary:hover { background: rgba(255,255,255,0.08); }
.an-btn-primary {
	background: var(--an-orange);
	color: #fff;
	padding: 10px 18px;
	box-shadow: 0 8px 20px -6px rgba(240,106,42,0.53);
}
.an-btn-primary:hover { background: #d85a1f; }

/* ---------- Dropdowns ---------- */
.an-dropdown {
	position: absolute;
	top: 100%;
	background: #fff;
	border: 1px solid var(--an-line);
	border-radius: 12px;
	box-shadow: 0 18px 40px -12px rgba(15,26,56,0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
	z-index: 50;
	color: var(--an-ink);
}
/* Invisible bridge so cursor can cross from trigger to dropdown without losing hover */
.an-dropdown::before {
	content: '';
	position: absolute;
	left: 0; right: 0;
	top: -10px;
	height: 10px;
}
.an-item:hover > .an-dropdown,
.an-item:focus-within > .an-dropdown,
.an-item.is-open > .an-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s, 0s, 0s;
}

/* Simple dropdown */
.an-dropdown.an-simple {
	left: 0;
	margin-top: 8px;
	padding: 8px;
	min-width: 240px;
}
.an-dropdown.an-simple.an-simple-has-featured {
	left: 32px;
	right: auto;
	width: fit-content;
	max-width: min(calc(100vw - 64px), 760px);
	display: grid;
	grid-template-columns: minmax(220px, max-content) minmax(260px, 320px);
	gap: 24px;
	padding: 24px 28px;
	min-width: 0;
	align-items: start;
}
.an-simple-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 220px;
}
.an-simple-link {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--an-ink);
	transition: color 0.15s ease, background 0.15s ease;
}
.airista-nav .an-simple-link:hover { background: var(--an-bg-soft); color: var(--an-orange); text-decoration: underline; text-underline-offset: 4px; }
.an-simple-link.an-current {
	color: var(--an-orange);
	font-weight: 600;
	background: var(--an-bg-soft);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Mega dropdown — spans full main-bar width */
.an-dropdown.an-mega {
	left: 32px;
	right: 32px;
	margin-top: 8px;
	padding: 28px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
}
.an-dropdown.an-mega.an-mega-has-featured {
	grid-template-columns: 2.1fr 1.1fr;
}
.an-dropdown.an-mega.an-mega-no-featured-wide {
	left: 32px;
	right: 32px;
	max-width: none;
}
.an-dropdown.an-mega.an-mega-no-featured-compact {
	left: 0;
	width: max-content;
	right: auto;
	max-width: min(calc(100vw - 64px), 1120px);
}
.an-mega-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
}
.an-dropdown.an-mega.an-mega-no-featured-wide .an-mega-grid {
	width: 100%;
	max-width: 100%;
	grid-template-columns: repeat(4, minmax(180px, 1fr));
	grid-auto-flow: row;
	justify-content: start;
	align-items: start;
}
.an-dropdown.an-mega.an-mega-no-featured-compact .an-mega-grid {
	width: auto;
	max-width: none;
	grid-auto-flow: column;
	grid-auto-columns: minmax(220px, 280px);
	grid-template-columns: none;
	justify-content: start;
	align-items: start;
}
.an-mega-col { min-width: 0; }
.airista-nav .an-mega-head,
.airista-nav a.an-mega-head {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--an-orange) !important;
	margin-bottom: 12px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}
.airista-nav a.an-mega-head:hover { opacity: 0.75; text-decoration: underline; text-underline-offset: 3px; }
.an-mega-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.an-mega-list li a {
	display: block;
	padding: 9px 10px;
	margin: 0 -10px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--an-ink);
	text-decoration: none;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: color 0.15s ease, background 0.15s ease;
}
.airista-nav .an-mega-list li a:hover { background: var(--an-bg-soft); color: var(--an-orange); text-decoration: underline; text-underline-offset: 4px; }
.an-mega-list li.an-current > a {
	color: var(--an-orange);
	font-weight: 600;
	background: var(--an-bg-soft);
	text-decoration: underline;
}
.airista-nav .an-mega-col.an-current > .an-mega-head,
.airista-nav a.an-mega-head.an-current {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.airista-nav .an-mega-standalone.an-current {
	color: var(--an-orange);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* Depth-1 mega item with no children — render as a single bold link */
.an-mega-standalone {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--an-orange);
	padding: 4px 0 12px;
}
.an-mega-standalone-arrow {
	display: inline-block;
	color: currentColor;
	transition: transform 0.15s ease;
}
.an-mega-standalone:hover { opacity: 0.75; }
.an-mega-standalone:hover .an-mega-standalone-arrow { transform: translateX(3px); }

/* Featured card */
.airista-nav .an-featured {
	display: block;
	background: linear-gradient(135deg, var(--an-navy), var(--an-navy-deep));
	border-radius: 10px;
	padding: 22px;
	color: #fff !important;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	min-height: 240px;
}
.airista-nav .an-featured * { color: inherit; }
.an-featured-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0;
	height: 100%;
	min-height: 196px;
	max-width: 280px;
}
.airista-nav .an-featured .an-featured-eyebrow { color: var(--an-orange) !important; }
.airista-nav .an-featured .an-featured-title { color: #fff !important; }
.airista-nav .an-featured .an-featured-btn { color: #fff !important; }
.an-featured-glow {
	position: absolute;
	right: -40px; top: -40px;
	width: 160px; height: 160px;
	background: radial-gradient(circle, rgba(240,106,42,0.27), transparent 60%);
	pointer-events: none;
}
.an-featured-eyebrow {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--an-orange);
	margin-bottom: 10px;
	position: relative;
}
.an-featured-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 14px;
	letter-spacing: -0.01em;
	position: relative;
}
.an-featured-btn {
	display: inline-block;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.2);
	color: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
	position: relative;
}
.an-featured:hover .an-featured-btn { background: rgba(255,255,255,0.2); }
.an-featured-pos-top-left .an-featured-content {
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}
.an-featured-pos-center-left .an-featured-content {
	justify-content: center;
	align-items: flex-start;
	text-align: left;
}
.an-featured-pos-bottom-left .an-featured-content {
	justify-content: flex-end;
	align-items: flex-start;
	text-align: left;
}
.an-featured-pos-top-right .an-featured-content {
	justify-content: flex-start;
	align-items: flex-end;
	text-align: right;
	margin-left: auto;
}
.an-featured-pos-center-right .an-featured-content {
	justify-content: center;
	align-items: flex-end;
	text-align: right;
	margin-left: auto;
}
.an-featured-pos-bottom-right .an-featured-content {
	justify-content: flex-end;
	align-items: flex-end;
	text-align: right;
	margin-left: auto;
}

.an-menu-empty {
	font-size: 13px;
	color: var(--an-muted);
	padding: 8px 12px;
}

/* ---------- Hamburger button (mobile only) ---------- */
.an-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	margin-left: auto;
	cursor: pointer;
	color: var(--an-main-fg-hov);
	border-radius: 6px;
}
.an-toggle:hover { background: var(--an-main-hov-bg); }
.an-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.an-toggle-bar + .an-toggle-bar { margin-top: 5px; }
.airista-nav.is-mobile-open .an-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.airista-nav.is-mobile-open .an-toggle-bar:nth-child(2) { opacity: 0; }
.airista-nav.is-mobile-open .an-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
	.an-utility-inner {
		padding: 0 20px;
	}
	.an-main-inner {
		gap: 16px;
		padding: 14px 20px;
	}
	.an-logo img { height: 46px; }
	.an-menu { gap: 0; }
	.an-top-link {
		padding: 8px 10px;
		font-size: 13px;
	}
	.an-search-trigger {
		width: 40px;
		height: 40px;
	}
	.an-ctas { gap: 6px; }
	.an-btn {
		padding: 9px 12px;
		font-size: 12.5px;
	}
}

@media (max-width: 1280px) {
	.an-utility-inner {
		padding: 0 22px;
	}
	.an-search-trigger {
		width: 40px;
		height: 40px;
	}
	.an-main-inner { gap: 20px; padding: 14px 22px; }
	.an-menu { gap: 0; }
	.an-top-link { padding: 9px 10px; font-size: 13.5px; }
	.an-dropdown.an-mega { left: 22px; right: 22px; }
}

@media (max-width: 960px) {
	.an-search-trigger { display: none; }
	.an-btn-secondary { display: none; }
}

/* ---------- Mobile (≤768px) — full-screen dark panel ---------- */
@media (max-width: 768px) {
	/* Promo/utility strip is collapsed on mobile; its links live in the panel. */
	.an-utility { display: none; }

	/* Anchor the nav to the top of the viewport on mobile so it stays visible
	   while the page scrolls. */
	.airista-nav {
		position: sticky;
		top: 0;
		z-index: 100;
	}

	/* The theme pulls page content up under a tall fixed header via
	   "#container #content { margin-top: -287px }". That offset is calibrated to
	   the desktop header height, so on the shorter mobile bar it over-pulls and
	   the hero ends up hidden behind the nav. Neutralize it on mobile. */
	#container #content { margin-top: 0 !important; }

	/* A leading <p> wrapping an inline <script> (added by wpautop) sits at the
	   top of the content with a default 16px bottom margin, leaving a white gap
	   under the nav. Collapse it so the hero sits flush. */
	#container #content .entry-content > p:first-child { margin-top: 0; margin-bottom: 0; }

	/* Hamburger as a bordered square; becomes an orange tile with an X when open. */
	.an-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 42px;
		height: 42px;
		padding: 0;
		margin-left: auto;
		order: 2;
		border: 1px solid rgba(255,255,255,0.22);
		border-radius: 10px;
		color: #fff;
		background: transparent;
	}
	/* Spacer/search/ctas not needed inline on mobile — toggle sits at the right. */
	.an-main-inner > .an-spacer { display: none; }
	.airista-nav.is-mobile-open .an-toggle {
		background: var(--an-orange);
		border-color: var(--an-orange);
		color: #fff;
	}

	.an-main-inner { gap: 12px; padding: 14px 18px; }
	.an-logo img { height: 40px; }

	/* Hide desktop CTAs + search trigger on the bar — they live in the panel. */
	.an-main-inner > .an-ctas { display: none; }
	.an-main-inner > .an-search-trigger { display: none; }

	body.an-mobile-menu-open { overflow: hidden; }

	/* While the menu is open, pin the bar to the top so it doesn't scroll away. */
	.airista-nav.is-mobile-open .an-main {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 70;
	}

	/* Full-screen panel anchored under the bar (top set by JS via --an-mobile-top). */
	.an-main-inner > .an-menu {
		position: fixed;
		top: var(--an-mobile-top, 64px);
		left: 0; right: 0; bottom: 0;
		flex-direction: column;
		align-items: stretch;
		background: var(--an-main-bg);
		padding: 16px 18px 28px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		display: none;
		z-index: 60;
	}
	.airista-nav.is-mobile-open .an-main-inner > .an-menu { display: flex; }

	/* Search trigger button at the top of the panel (opens the search modal) */
	.an-mobile-search { list-style: none; padding: 2px 0 14px; }
	.an-mobile-search-btn {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		background: rgba(255,255,255,0.06);
		border: 1px solid rgba(255,255,255,0.14);
		border-radius: 12px;
		padding: 14px;
		color: rgba(255,255,255,0.55);
		font: inherit;
		font-size: 15px;
		text-align: left;
		cursor: pointer;
	}
	.an-mobile-search-btn:hover,
	.an-mobile-search-btn:focus-visible {
		border-color: rgba(255,255,255,0.28);
		background: rgba(255,255,255,0.09);
		outline: none;
	}
	.an-mobile-search-btn svg { color: rgba(255,255,255,0.6); stroke: currentColor; flex-shrink: 0; }
	.an-mobile-search-btn span { color: rgba(255,255,255,0.55); }

	/* Top-level rows */
	.an-item { display: block; border-bottom: 1px solid rgba(255,255,255,0.08); }
	.an-top-link {
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		padding: 16px 2px;
		color: #fff !important;
		font-size: 17px;
		font-weight: 600;
		border-radius: 0;
		background: transparent !important;
	}
	.an-top-link::after { display: none; }
	.an-top-link .an-caret {
		width: 16px;
		height: 16px;
		opacity: 0.85;
		transform: rotate(-90deg);
		transition: transform 0.2s ease;
	}
	.an-item.is-open > .an-top-link .an-caret { transform: rotate(0deg); }

	/* Inline (accordion) submenu — dark, click-toggled */
	.an-dropdown {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		background: transparent;
		margin: 0 !important;
		padding: 2px 0 14px !important;
		display: none;
	}
	.an-dropdown::before { display: none; }
	.airista-nav.an-js-ready .an-item > .an-dropdown { display: none !important; }
	.airista-nav.an-js-ready .an-item.is-open > .an-dropdown { display: block !important; }

	.an-dropdown.an-mega { grid-template-columns: 1fr; gap: 8px; }
	.an-dropdown.an-mega.an-mega-no-featured-wide,
	.an-dropdown.an-mega.an-mega-no-featured-compact {
		width: auto; max-width: none; left: auto; right: auto;
	}
	.an-dropdown.an-simple.an-simple-has-featured {
		grid-template-columns: 1fr;
		min-width: 0;
		padding: 2px 0 14px !important;
		gap: 8px;
	}
	.an-mega-grid,
	.an-dropdown.an-mega.an-mega-no-featured-wide .an-mega-grid,
	.an-dropdown.an-mega.an-mega-no-featured-compact .an-mega-grid {
		width: auto;
		max-width: none;
		grid-template-columns: 1fr;
		grid-auto-flow: row;
		grid-auto-columns: auto;
		gap: 4px;
	}

	/* Orange section headings (BY CAPABILITY / BY INDUSTRY) */
	.airista-nav .an-mega-head,
	.airista-nav a.an-mega-head { margin: 10px 0 4px; }

	/* Submenu links — light on dark, orange when active/hovered, no highlight box */
	.airista-nav .an-simple-link,
	.airista-nav .an-mega-list li a {
		color: rgba(255,255,255,0.78) !important;
		padding: 9px 2px;
		font-size: 15px;
		margin: 0;
		border-radius: 0;
	}
	.airista-nav .an-simple-link:hover,
	.airista-nav .an-mega-list li a:hover,
	.airista-nav .an-simple-link.an-current,
	.airista-nav .an-mega-list li.an-current > a {
		background: transparent !important;
		color: var(--an-orange) !important;
	}

	/* Featured card inside the accordion */
	.an-featured { padding: 18px; margin-top: 6px; }
	.an-featured-title { font-size: 15px; }

	/* Desktop search-modal form stacks on small screens */
	.an-search-form { flex-direction: column; align-items: stretch; }
	.an-search-submit { width: 100%; }

	/* CTA stack at the bottom of the panel */
	.an-mobile-ctas {
		display: block;
		list-style: none;
		margin-top: 8px;
		padding: 18px 0 4px;
		border-top: 1px solid rgba(255,255,255,0.08);
		background: transparent;
	}
	.an-mobile-ctas .an-btn-primary {
		display: flex;
		width: 100%;
		justify-content: center;
		padding: 15px 16px;
		font-size: 15px;
	}
	.an-mobile-cta-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin-top: 10px;
	}
	.an-mobile-cta-row .an-btn { justify-content: center; padding: 13px 14px; }

	/* Toll-free phone box */
	.an-mobile-phone {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-top: 14px;
		padding: 14px 16px;
		border-radius: 12px;
		background: rgba(255,255,255,0.05);
		border: 1px solid rgba(255,255,255,0.10);
		color: #fff;
	}
	.an-mobile-phone svg { color: var(--an-orange); flex-shrink: 0; }
	.an-mobile-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
	/* High enough specificity to beat ".airista-nav a { color: inherit }" and the theme's link color. */
	.airista-nav .an-mobile-phone,
	.airista-nav .an-mobile-phone .an-mobile-phone-num { color: #fff; }
	.airista-nav .an-mobile-phone .an-mobile-phone-label { color: rgba(255,255,255,0.55); font-size: 11px; }
	.an-mobile-phone-num { font-size: 15px; font-weight: 600; }
}

@media (min-width: 769px) {
	.an-mobile-ctas,
	.an-mobile-search { display: none !important; }
}
