/* Bien Navigation 1.0.0 */

/* Focused Bien Member flows: remove the theme masthead as one unit. */
.bien-nav-focused-flow #masthead,
.bien-member-profile-required #masthead {
	display: none !important;
}

/* Public visitors use the Bien acquisition header instead of the theme masthead. */
.bien-nav-public #masthead {
	display: none !important;
}

.bien-nav-public-header,
.bien-nav-public-header * {
	box-sizing: border-box;
}

.bien-nav-public-header {
	position: relative;
	z-index: 999;
	font-family: inherit;
	color: var(--bn-header-text, #1f2937);
}

.bn-container {
	width: min(100% - 40px, 1280px);
	margin-inline: auto;
}

.bn-audience-bar {
	background: var(--bn-topbar-bg, #f7f8fa);
	color: var(--bn-topbar-text, #3f4650);
	border-bottom: 1px solid rgba(20, 32, 43, .07);
}

.bn-audience-bar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 38px;
}

.bn-audience-nav {
	display: flex;
	align-items: stretch;
	gap: 0;
	font-size: 13px;
	line-height: 1;
}

.bn-audience-nav a,
.bn-audience-nav span {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	transition: background-color .16s ease, color .16s ease;
}

.bn-audience-nav a:hover,
.bn-audience-nav a:focus-visible {
	background: rgba(255, 255, 255, .82);
	color: var(--bn-cta-bg, #004583);
	outline: none;
}

.bn-audience-nav a.is-active,
.bn-audience-nav a[aria-current="page"] {
	background: #fff;
	color: var(--bn-header-text, #1f2937);
	box-shadow: inset 0 -3px var(--bn-cta-bg, #004583);
	font-weight: 650;
}

.bn-mainbar {
	overflow: visible;
	background: var(--bn-header-bg, #fff);
	border-bottom: 1px solid rgba(20, 32, 43, .09);
	box-shadow: 0 1px 0 rgba(20, 32, 43, .02);
}

.bien-nav-public-home-sticky .bn-mainbar {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.bn-mainbar__inner {
	overflow: visible;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: 78px;
}

.bn-logo {
	position: relative;
	display: block;
	width: var(--bn-logo-desktop, 235px);
	height: 70px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	z-index: 4;
}

.bn-logo img {
	position: absolute;
	left: 0;
	top: 50%;
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: left center;
	transform: translateY(-45%);
}

.bn-logo span {
	font-size: 20px;
	font-weight: 700;
}

.bn-desktop-nav {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.bn-explore {
	position: relative;
	flex: 0 0 auto;
}

.bn-explore__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(31, 41, 55, .22);
	border-radius: 8px;
	background: #fff;
	color: var(--bn-header-text, #1f2937);
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	cursor: pointer;
}

.bn-explore__toggle:hover,
.bn-explore__toggle:focus-visible,
.bn-explore.is-open .bn-explore__toggle {
	border-color: var(--bn-cta-bg, #004583);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bn-cta-bg, #004583) 12%, transparent);
	outline: none;
}

.bn-explore__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.bn-explore__panel {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: min(560px, calc(100vw - 48px));
	padding: 22px;
	background: #fff;
	border: 1px solid rgba(31, 41, 55, .12);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(18, 35, 50, .16);
}

.bn-explore__content {
	display: grid;
	gap: 13px;
}

.bn-explore__heading {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6b7280;
}

.bn-explore__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 15px;
	border-radius: 9px;
	background: rgba(0, 69, 131, .07);
	color: var(--bn-cta-bg, #004583);
	font-weight: 700;
	text-decoration: none;
}

.bn-explore__all:hover,
.bn-explore__all:focus-visible {
	background: rgba(0, 69, 131, .12);
	outline: none;
}

.bn-explore__categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 20px;
}

.bn-explore__categories a {
	padding: 9px 8px;
	border-radius: 6px;
	color: #28323d;
	text-decoration: none;
	font-size: 14px;
}

.bn-explore__categories a:hover,
.bn-explore__categories a:focus-visible {
	background: #f6f8fa;
	color: var(--bn-cta-bg, #004583);
	outline: none;
}

.bn-search {
	position: relative;
	flex: 1 1 420px;
	min-width: 170px;
	max-width: 620px;
	margin: 0;
}

.bn-search__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: #6b7280;
	pointer-events: none;
}

.bn-search input[type="search"] {
	width: 100%;
	height: 44px;
	padding: 0 16px 0 43px;
	border: 1px solid rgba(31, 41, 55, .2);
	border-radius: 999px;
	background: #fff;
	color: #1f2937;
	font: inherit;
	font-size: 14px;
	line-height: 1;
	box-shadow: none;
}

.bn-search input[type="search"]:focus {
	border-color: var(--bn-cta-bg, #004583);
	box-shadow: 0 0 0 3px rgba(0, 69, 131, .1);
	outline: none;
}

.bn-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bn-login,
.bn-join {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

.bn-login {
	border: 1px solid transparent;
	color: var(--bn-header-text, #1f2937);
	background: transparent;
}

.bn-login:hover,
.bn-login:focus-visible {
	background: #f6f8fa;
	color: var(--bn-cta-bg, #004583);
	outline: none;
}

.bn-join {
	border: 1px solid var(--bn-cta-bg, #004583);
	background: var(--bn-cta-bg, #004583);
	color: var(--bn-cta-text, #fff) !important;
}

.bn-join:hover,
.bn-join:focus-visible {
	filter: brightness(.94);
	color: var(--bn-cta-text, #fff) !important;
	outline: none;
}

.bn-mobile-actions,
.bn-mobile-search,
.bn-mobile-menu {
	display: none;
}

@media (max-width: 960px) {
	.bn-container {
		width: min(100% - 30px, 1280px);
	}
	.bn-audience-bar {
		display: none;
	}
	.bn-mainbar__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 14px;
		min-height: 70px;
	}
	.bn-logo {
		width: var(--bn-logo-mobile, 197px);
		height: 58px;
	}
	.bn-logo img {
		width: 100%;
		transform: translateY(-44%);
	}
	.bn-desktop-nav,
	.bn-actions {
		display: none;
	}
	.bn-mobile-actions {
		display: flex;
		align-items: center;
		gap: 8px;
	}
	.bn-mobile-search-toggle,
	.bn-mobile-menu-toggle {
		width: 42px;
		height: 42px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: var(--bn-header-text, #1f2937);
		cursor: pointer;
	}
	.bn-mobile-search-toggle:hover,
	.bn-mobile-search-toggle:focus-visible,
	.bn-mobile-menu-toggle:hover,
	.bn-mobile-menu-toggle:focus-visible {
		background: #f4f6f8;
		outline: none;
	}
	.bn-mobile-menu-toggle {
		flex-direction: column;
		gap: 4px;
	}
	.bn-mobile-menu-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
	}
	.bn-mobile-search,
	.bn-mobile-menu {
		display: block;
		border-top: 1px solid rgba(31, 41, 55, .08);
		background: #fff;
	}
	.bn-mobile-search[hidden],
	.bn-mobile-menu[hidden] {
		display: none !important;
	}
	.bn-mobile-search .bn-container {
		padding-block: 13px;
	}
	.bn-search--mobile {
		max-width: none;
	}
	.bn-mobile-menu__inner {
		width: min(100% - 30px, 720px);
		margin-inline: auto;
		padding: 18px 0 24px;
	}
	.bn-mobile-menu__explore {
		display: block;
		padding: 12px 0;
		font-size: 18px;
		font-weight: 800;
		color: #1f2937;
		text-decoration: none;
	}
	.bn-mobile-menu__categories,
	.bn-mobile-menu__audiences {
		display: grid;
		gap: 2px;
		padding: 5px 0 14px;
		border-bottom: 1px solid rgba(31, 41, 55, .09);
	}
	.bn-mobile-menu__categories a,
	.bn-mobile-menu__audiences a,
	.bn-mobile-menu__audiences span {
		display: block;
		padding: 9px 0;
		color: #4b5563;
		font-size: 14px;
		text-decoration: none;
	}

	.bn-mobile-menu__audiences a.is-active,
	.bn-mobile-menu__audiences a[aria-current="page"] {
		color: var(--bn-cta-bg, #004583);
		font-weight: 700;
	}
	.bn-mobile-menu__auth {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		padding-top: 18px;
	}
	.bn-mobile-menu__auth .bn-login {
		border-color: rgba(31, 41, 55, .18);
	}
}

@media (max-width: 480px) {
	.bn-container,
	.bn-mobile-menu__inner {
		width: calc(100% - 24px);
	}
	.bn-mainbar__inner {
		min-height: 66px;
	}

	.bn-mobile-menu__audiences a.is-active,
	.bn-mobile-menu__audiences a[aria-current="page"] {
		color: var(--bn-cta-bg, #004583);
		font-weight: 700;
	}
	.bn-mobile-menu__auth {
		grid-template-columns: 1fr;
	}
}
