/* ==========================================================================
   Simple Header
   ========================================================================== */

.sh {
	position: relative;
	z-index: 999;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.sh__top-bar {
	background: #53565A;
}

.sh__top-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	padding: 0 40px;
	max-width: 1920px;
	margin: 0 auto;
}

.sh__top-bar ul.menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh__top-bar ul.menu > li {
	position: relative;
}

.sh__top-bar ul.menu > li > a {
	font-size: 14px;
	color: #fff;
	text-decoration: none;
	opacity: 0.7;
	display: inline-block;
	padding: 12px 15px;
	transition: opacity 0.2s;
}

.sh__top-bar ul.menu > li:first-child > a {
	padding-left: 0;
}

.sh__top-bar ul.menu > li > a:hover {
	opacity: 1;
}

/* Top-bar sub-menus. */
.sh__top-bar ul.menu ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #3e4145;
	padding: 0;
	margin: 0;
	min-width: 180px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 10;
}

.sh__top-bar ul.menu li:hover > ul.sub-menu {
	display: block;
}

.sh__top-bar ul.sub-menu li {
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sh__top-bar ul.sub-menu li a {
	font-size: 13px;
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 10px 15px;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.sh__top-bar ul.sub-menu li a:hover {
	opacity: 1;
}

/* Hide injected FA icons in top bar. */
.sh__top-bar ul.menu > li > i {
	display: none !important;
}

/* --- Search (blends into the bar). */
.sh__top-bar #searchform {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.sh__top-bar #searchform .field {
	background: transparent !important;
	border: 0;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	outline: none;
	color: #fff;
	font-size: 14px;
	opacity: 0.7;
	padding: 0;
	width: 140px;
	overflow: hidden;
	transition: width 0.3s;
	-webkit-backface-visibility: hidden;
}

.sh__top-bar #searchform .field:focus {
	outline: none;
	box-shadow: none;
	opacity: 1;
}

.sh__top-bar #searchform.focused .field {
	width: 220px;
}

.sh__top-bar #searchform .field::placeholder {
	color: #fff;
	font-size: 14px;
	opacity: 0.7;
}

.sh__top-bar #searchform .submit,
.sh__top-bar #searchform button {
	background: transparent;
	border: 0;
	border-radius: 0;
	appearance: none;
	color: #fff;
	font-size: 14px;
	padding: 6px 0;
	margin: 0;
	cursor: pointer;
	line-height: 1;
}

.sh__top-bar #searchform .submit i,
.sh__top-bar #searchform button i {
	color: inherit;
}

/* ==========================================================================
   Main Bar — background spans full width, content is contained.
   ========================================================================== */
.sh__main-bar {
	background: #fff;
	position: relative;
}

.sh__main-bar-inner {
	display: flex;
	align-items: center;
	padding: 0 40px;
	height: 82px;
	max-width: 1920px;
	width: 100%;
	min-width: 0;
	margin: 0 auto;
	box-sizing: border-box;
}

/* --- Logo -------------------------------------------------------------- */
.sh__logo {
	display: flex;
	align-items: center;
	margin-right: 24px;
	flex-shrink: 0;
	text-decoration: none;
}

.sh__logo img {
	display: block;
	max-width: 180px;
	height: auto;
}

.sh__site-name {
	font-size: 20px;
	font-weight: 700;
	color: #0E1922;
}

/* ==========================================================================
   Desktop Navigation
   ========================================================================== */
.sh__nav {
	flex: 1 1 auto;
	min-width: 0;
	display: none;
}

.sh__menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.sh__menu > li {
	display: flex;
	align-items: center;
	position: relative;
	flex: 0 0 auto;
}

.sh__menu > li > a {
	font-size: 15px;
	font-weight: 600;
	color: #0E1922;
	text-decoration: none;
	padding: 8px 12px;
	display: block;
	transition: color 0.2s;
	white-space: nowrap;
	line-height: 1.25;
}

.sh__menu > li > a:hover,
.sh__menu > li.sh-open > a {
	color: #00AE00;
}

/* Beat a stale BB layout cache that still has max-width / text-wrap balance. */
.sh .sh__menu > li > a {
	max-width: none;
	white-space: nowrap;
	text-wrap: nowrap;
	text-align: left;
}

/* Hide ALL injected chevron icons from walkers / JS. */
.sh__menu > li > i,
.sh__menu > li > [class*="fa-"],
.sh__mobile-menu > li > i,
.sh__mobile-menu > li > [class*="fa-"],
.sh__mobile-menu li > i:not(.sh__social i) {
	display: none !important;
}

/* CSS chevron for desktop items with children. */
.sh__menu > li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-left: 6px;
	vertical-align: 2px;
	transition: transform 0.2s;
}

.sh__menu > li.menu-item-has-children.sh-open > a::after {
	transform: rotate(-135deg);
	vertical-align: -1px;
}

/* Desktop dropdown. */
.sh__menu ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 220px;
	padding: 8px 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	z-index: 100;
}

.sh__menu li.sh-open > ul.sub-menu {
	display: block;
}

.sh__menu ul.sub-menu li {
	margin: 0;
}

.sh__menu ul.sub-menu li a {
	font-size: 14px;
	color: #333;
	text-decoration: none;
	display: block;
	padding: 8px 20px;
	transition: color 0.2s, background-color 0.2s;
	white-space: nowrap;
}

.sh__menu ul.sub-menu li a:hover {
	color: #00AE00;
	background: #f7f7f7;
}

.sh__menu ul.sub-menu ul.sub-menu {
	top: 0;
	left: 100%;
}

/* ==========================================================================
   Actions / Buttons
   ========================================================================== */
.sh__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex-shrink: 0;
}

.sh__btn {
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	padding: 8px 16px;
	border-radius: 3px;
	text-align: center;
	min-width: 112px;
	transition: background-color 0.2s, color 0.2s;
	white-space: nowrap;
}

.sh__btn--primary {
	background: #00AE00;
	color: #fff;
}

.sh__btn--secondary {
	display: none;
	background: transparent;
	color: #0E1922;
	border: 1px solid currentColor;
}

.sh__btn--full {
	display: block;
	width: 100%;
}

/* ==========================================================================
   Burger
   ========================================================================== */
.sh__burger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent !important;
	cursor: pointer;
	position: relative;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.sh__burger:hover,
.sh__burger:focus,
.sh__burger:focus-visible,
.sh__burger:active {
	background: transparent !important;
	border: 0 !important;
	color: inherit !important;
	outline: none;
	box-shadow: none;
}

.image.png {
	display: block;
	width: 20px;
	height: 14px;
	position: relative;
}

.sh__burger-lines::before,
.sh__burger-lines::after,
.sh__burger-lines span {
	display: block;
	height: 2px;
	width: 20px;
	background: #0E1922;
	border-radius: 2px;
	position: absolute;
	left: 0;
	transition: top 0.2s, bottom 0.2s, transform 0.2s, opacity 0.2s;
}

.sh__burger-lines::before {
	content: '';
	top: 0;
}

.sh__burger-lines span {
	top: 6px;
}

.sh__burger-lines::after {
	content: '';
	top: 12px;
}

/* Active: middle line hides, top + bottom converge and rotate into X. */
.sh__burger.is-active .sh__burger-lines span {
	opacity: 0;
}

.sh__burger.is-active .sh__burger-lines::before {
	top: 6px;
	transform: rotate(45deg);
}

.sh__burger.is-active .sh__burger-lines::after {
	top: 6px;
	transform: rotate(-45deg);
}

/* ==========================================================================
   Mobile Nav Panel
   ========================================================================== */
.sh__mobile-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid #eee;
	z-index: 998;
	overflow-y: auto;
	max-height: calc(100vh - 130px);
	padding: 0 24px 24px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.sh__mobile-nav.is-open {
	display: block;
}

.sh__mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh__mobile-menu > li {
	border-bottom: 1px solid #eee;
	position: relative;
}

.sh__mobile-menu > li > a {
	display: block;
	font-size: 18px;
	font-weight: 600;
	color: #0E1922;
	text-decoration: none;
	padding: 14px 40px 14px 0;
}

/* Toggle button for mobile sub-menus. */
.sh__mobile-menu > li.menu-item-has-children > .sh__sub-toggle {
	position: absolute;
	right: 0;
	top: 8px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	border: 0 !important;
	color: inherit !important;
	cursor: pointer;
	padding: 0;
	z-index: 2;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.sh__sub-toggle:hover,
.sh__sub-toggle:focus,
.sh__sub-toggle:active {
	background: transparent !important;
	border: 0 !important;
	outline: none;
	box-shadow: none;
}

.sh__sub-toggle::after {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-right: 2px solid #0E1922;
	border-bottom: 2px solid #0E1922;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.sh__sub-toggle.is-open::after {
	transform: rotate(-135deg);
}

/* Mobile sub-menu. */
.sh__mobile-menu ul.sub-menu {
	display: none;
	list-style: none;
	padding: 0 0 12px 16px;
	margin: 0;
}

.sh__mobile-menu ul.sub-menu.is-open {
	display: block;
}

.sh__mobile-menu ul.sub-menu li {
	list-style: none;
}

.sh__mobile-menu ul.sub-menu li a {
	font-size: 15px;
	font-weight: 400;
	color: #333;
	text-decoration: none;
	display: block;
	padding: 8px 0;
}

.sh__mobile-menu ul.sub-menu li a:hover {
	color: #00AE00;
}

/* Mobile footer. */
.sh__mobile-footer {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eee;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sh__social {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.sh__social li a {
	color: #0E1922;
	font-size: 22px;
	transition: color 0.2s;
}

.sh__social li a:hover {
	color: #00AE00;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/*
 * Inline nav only when it fits (JS adds .sh--desktop) or on a wide
 * no-JS fallback. Labels stay on one line; the burger takes over sooner
 * so nowrap items do not overflow the bar.
 */
.sh--desktop .sh__nav {
	display: block;
}

.sh--desktop .sh__burger {
	display: none;
}

.sh--desktop .sh__mobile-nav {
	display: none !important;
}

.sh--desktop .sh__btn--secondary {
	display: inline-block;
}

@media screen and (min-width: 1400px) {
	.sh:not(.sh--compact) .sh__nav {
		display: block;
	}

	.sh:not(.sh--compact) .sh__burger {
		display: none;
	}

	.sh:not(.sh--compact) .sh__mobile-nav {
		display: none !important;
	}

	.sh:not(.sh--compact) .sh__btn--secondary {
		display: inline-block;
	}
}

@media screen and (max-width: 1399px) {
	.sh:not(.sh--desktop) .sh__main-bar-inner {
		padding: 0 24px;
		height: 72px;
	}

	.sh:not(.sh--desktop) .sh__actions .sh__btn--secondary {
		display: none;
	}

	.sh:not(.sh--desktop) .sh__mobile-nav {
		padding: 0 24px 24px;
	}
}

/* Mobile. */
@media screen and (max-width: 767px) {
	.sh__top-bar-inner {
		padding: 0 16px;
		height: 40px;
	}

	.sh__top-bar ul.menu {
		display: none;
	}

	.sh__main-bar-inner {
		height: 60px;
		padding: 0 16px;
	}

	.sh__btn {
		font-size: 13px;
		padding: 7px 12px;
		min-width: 0;
	}

	.sh__mobile-nav {
		padding: 0 16px 20px;
		max-height: calc(100vh - 100px);
	}

	.sh__mobile-menu > li > a {
		font-size: 16px;
		padding: 12px 40px 12px 0;
	}
}
