body .ax-sechead {
	--ax-purple: #444192;
	--ax-green: #00bd87;
	--ax-sechead-top: 0px;
	position: fixed;
	left: 0;
	right: 0;
	top: var(--ax-sechead-top);
	z-index: 9999999999;
	height: 39px;
	background: #fff;
	-webkit-backdrop-filter: blur(84px);
	backdrop-filter: blur(84px);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.35s ease, visibility 0s linear 0.35s, top 0.25s ease;
}
body .ax-sechead.is-visible {
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.35s ease, visibility 0s, top 0.25s ease;
}
body .ax-sechead__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	max-width: 1530px;
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
}
body .ax-sechead__label {
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--ax-purple);
	white-space: nowrap;
}
/* ---- trigger pill --------------------------------------------------- */
body .ax-sechead__select {
	position: relative;
}
body .ax-sechead__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	box-sizing: border-box;
	width: 178px;
	height: 25px;
	padding: 0 12px;
	border: 0;
	border-radius: 77px;
	background: var(--ax-purple);
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s ease;
}
/* A sector is chosen: the pill goes green. */
body .ax-sechead__trigger.is-selected {
	background: var(--ax-green);
}
/* Open: the pill becomes the head of the panel — same width, top corners
   only, bottom edge shared with the menu below it. */
body .ax-sechead__trigger[aria-expanded="true"] {
	width: 208px;
	height: 25px;
	padding: 0 16px;
	background: #fff;
	border: 1px solid var(--ax-purple);
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	color: var(--ax-purple);
}
body .ax-sechead__chev {
	flex: 0 0 auto;
	width: 9.395px;
	height: 4.723px;
	transition: transform 0.25s ease;
}
body .ax-sechead__trigger[aria-expanded="true"] .ax-sechead__chev {
	transform: rotate(180deg);
}
/* ---- menu ----------------------------------------------------------- */
/* Hangs directly off the trigger's bottom edge — no gap, matching widths,
   bottom corners only. Together they read as one panel. */
body .ax-sechead__menu {
    position: absolute;
    left: 0;
    top: 101%;
    z-index: 2;
    box-sizing: border-box;
    width: 208px;
    margin: 0;
    padding: 6px;
    border: 1px solid var(--ax-purple) !important;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 12px 34px -8px rgba(0, 0, 0, 0.18);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
body .ax-sechead__select.is-open .ax-sechead__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
body .ax-sechead__opt {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: 39px;
	padding: 0 14px;
	border-radius: 32px;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	color: #000;
	transition: background-color 0.2s ease, color 0.2s ease;
}
body .ax-sechead__opt:hover,
body .ax-sechead__opt:focus-visible {
	background: #00BD87;
	color: #ffffff;
}
body .ax-sechead__opt.is-active {
	background: var(--ax-green);
	font-weight: 700;
	color: #fff;
}
/* ---- close ---------------------------------------------------------- */
body .ax-sechead__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--ax-purple);
	border-radius: 77px;
	position: relative;
	background: #fff;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
	color: var(--ax-purple);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
body.ax-sechead-visible#top .ax-nav { top: 39px; }
body .ax-sechead__close svg {
    width: 12px;
    height: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
body .ax-sechead__close:hover {
	background: var(--ax-purple);
	color: #fff;
}
/* ---- dim the page behind the open menu ------------------------------ */
/* Above .ax-nav (9999) and below .ax-sechead (999999), so the bar and its
   open panel stay lit while the nav and the page behind them dim. */
body .ax-sechead-overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
}
body .ax-sechead-overlay.is-open {
	opacity: 1;
}
/* ---- responsive ----------------------------------------------------- */
@media only screen and (max-width: 767px) {
	body .ax-sechead {
		height: 48px;
	}

	/* Label + pill sit centred; the close button pins to the right edge. */
	body .ax-sechead__inner {
		position: relative;
		justify-content: flex-start;
		gap: 10px;
		padding: 0 20px;
	}

	/* "Choose a Sector to Explore Jobs:" → "Explore Jobs:" */
	body .ax-sechead__label-long {
		display: none;
	}

	body .ax-sechead__label {
		font-size: 13px;
		line-height: 1;
	}

	body .ax-sechead__trigger {
        width: 176px;
        line-height: 1;
    }

	body .ax-sechead__close {
		position: absolute;
		right: 14px;
		top: 50%;
		margin-left: 0;
		transform: translateY(-50%);
	}

	body.ax-sechead-visible#top .ax-nav { top: 48px; }
	
	body .ax-sechead {
		z-index: 999999;
	}
}
@media (prefers-reduced-motion: reduce) {
	body .ax-sechead,
	body .ax-sechead__menu,
	body .ax-sechead__trigger,
	body .ax-sechead__chev,
	body .ax-sechead-overlay {
		transition: none;
	}
}