/* Single LMS header bar — logo, search, destinations, auth. */

.skip-to-content {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 10000;
	padding: 8px 14px;
	border-radius: 8px;
	background: #2D368F;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.skip-to-content:focus {
	top: 12px;
	color: #fff;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

header.header-nav.menu_style_home_six {
	border-bottom: 1px solid #e2e8f0;
}

header.header-nav.menu_style_home_six .ace-responsive-menu.lms-site-nav {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	width: auto;
	background: transparent;
	gap: 2px;
	min-width: 0;
}

header.header-nav.menu_style_home_six .ace-responsive-menu.lms-site-nav > li {
	float: none !important;
	margin: 0 !important;
}

header.header-nav.menu_style_home_six .ace-responsive-menu.lms-site-nav > li.last {
	margin-right: 0 !important;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a,
header.header-nav.menu_style_home_six .lms-site-nav > li > a span {
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	text-transform: none;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a {
	padding: 8px 10px;
	border-bottom: 2px solid transparent;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a:hover,
header.header-nav.menu_style_home_six .lms-site-nav > li > a:hover span {
	color: #2D368F;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a.is-current,
header.header-nav.menu_style_home_six .lms-site-nav > li > a.is-current span {
	color: #2D368F;
	font-weight: 700;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a.is-current {
	border-bottom-color: #2D368F;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a:focus {
	outline: none;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a:focus-visible {
	outline: 2px solid #2D368F;
	outline-offset: 2px;
	border-radius: 4px;
}

.lms-header-auth {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.lms-header-auth__login {
	padding: 8px 12px;
	color: #2D368F !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.lms-header-auth__login:hover,
.lms-header-auth__login:focus {
	color: #1e2568 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.lms-header-auth__signup {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 8px;
	background: #2D368F;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

.lms-header-auth__signup:hover,
.lms-header-auth__signup:focus {
	background: #1e2568;
	color: #fff !important;
}

.lms-header-auth__signup:focus-visible {
	outline: 2px solid #2D368F;
	outline-offset: 2px;
}

/* Partner / sister-site strip. Lives above the LMS nav so extra logos
   only grow this row (horizontal scroll on small screens). */
.lms-partner-bar {
	background: #f8f9fd;
	border-bottom: 1px solid #e2e8f0;
}

.lms-partner-bar > .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	max-width: min(1440px, calc(100% - 32px));
}

.lms-partner-bar__list {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	overflow-x: auto;
	min-width: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.lms-partner-bar__list::-webkit-scrollbar {
	display: none;
}

.lms-partner-bar__list > li {
	flex: none;
	margin: 0;
	padding: 0;
	float: none;
	list-style: none;
}

.lms-partner-bar__link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.lms-partner-bar__link:focus-visible {
	outline: 2px solid #2D368F;
	outline-offset: 2px;
	border-radius: 6px;
}

.lms-partner-bar__link--badge img {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.lms-partner-bar__link--wordmark img {
	height: 22px;
	width: auto;
	display: block;
}

span.lms-partner-bar__link {
	cursor: default;
}

.lms-partner-bar__link--dark img {
	height: 48px;
	width: auto;
	max-width: 190px;
	object-fit: contain;
}

a.lms-partner-bar__link--dark:hover img {
	opacity: 0.88;
}

.footer-reach {
	gap: 12px;
}

@media only screen and (max-width: 1199.98px) {
	header.header-nav.menu_style_home_six .lms-site-nav > li > a {
		padding: 8px 8px;
	}

	.lms-header-auth__login {
		padding: 8px 8px;
	}

	.lms-header-auth__signup {
		height: 36px;
		padding: 0 12px;
	}
}

/* Safari still honors the legacy display:-webkit-box on this header and
   wraps the nav inside the fixed 80px bar. MacBook widths (about 1280–1440)
   then clip Login, search, and the menu on top of each other. Standard flex
   keeps one row and lets the search give up space first. */
header.header-nav.menu_style_home_six {
	display: flex;
	align-items: center;
	width: 100%;
	height: auto;
	min-height: 72px;
	padding: 8px 0;
	box-sizing: border-box;
	overflow: visible;
}

header.header-nav.menu_style_home_six > .container {
	flex: 1 1 auto;
	width: 100%;
	max-width: min(1440px, calc(100% - 32px));
	min-width: 0;
	height: auto;
}

header.header-nav.menu_style_home_six > .container > nav {
	min-width: 0;
	flex-wrap: nowrap;
}

header.header-nav.menu_style_home_six .lms-site-nav > li > a,
header.header-nav.menu_style_home_six .lms-site-nav > li > a span {
	white-space: nowrap;
}

header.header-nav.menu_style_home_six .global-search {
	min-width: 0;
	flex: 1 1 180px;
}

@media only screen and (max-width: 1199.98px) {
	header.header-nav.menu_style_home_six a.navbar_brand img,
	header.header-nav.menu_style_home_six .nav_logo_img {
		height: 40px;
		width: auto;
	}

	header.header-nav.menu_style_home_six .global-search {
		flex-basis: 120px;
		margin-left: 8px;
		margin-right: 8px;
	}
}

@media only screen and (max-width: 991.98px) {
	.lms-header-auth {
		display: none;
	}

	.lms-partner-bar {
		position: relative;
		z-index: 1000;
	}

	.lms-partner-bar > .container {
		max-width: 100%;
		min-height: 48px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.lms-partner-bar__list {
		gap: 14px;
		width: 100%;
		padding: 8px 0;
	}

	.lms-partner-bar__link--badge img {
		width: 22px;
		height: 22px;
	}

	.lms-partner-bar__link--wordmark img {
		height: 20px;
	}

	.lms-partner-bar__link--dark img {
		height: 34px;
		max-width: 140px;
	}
}
