/**
 * Doe Crossing — always-visible sticky header (top bar + main nav)
 */

.bk-header-section.txa_sticky_header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	z-index: 10000 !important;
	transform: none !important;
	transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Compact vertical spacing — theme default padding is too tall */
.bk-header-section.txa_sticky_header.header_style_one .header-top {
	padding: 8px 40px !important;
}

.bk-header-section.txa_sticky_header.header_style_one .header-navigation {
	padding: 10px 40px !important;
}

.bk-header-section.txa_sticky_header.header_style_one .header-navigation .main-navigation li a {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1.3 !important;
}

.bk-header-section.txa_sticky_header.header_style_one .top-social a,
.bk-header-section.txa_sticky_header.header_style_one .top-cta .item-cta .item-icon {
	width: 30px !important;
	height: 30px !important;
}

.bk-header-section.txa_sticky_header.header_style_one .top-cta .item-cta .item-text {
	font-size: 14px !important;
}

.bk-header-section.txa_sticky_header.header_style_one .cta-btn-wrap a:nth-child(2) {
	padding: 10px 20px !important;
}

.bk-header-section.txa_sticky_header .logo_site-size {
	max-height: 56px;
	width: auto;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.bk-header-section.txa_sticky_header.header_style_one .header-top {
		padding: 8px 16px !important;
	}

	.bk-header-section.txa_sticky_header.header_style_one .header-navigation {
		padding: 10px 16px !important;
	}
}

@media only screen and (max-width: 991px) {
	.bk-header-section.txa_sticky_header.header_style_one .header-navigation {
		padding: 10px 16px !important;
	}
}

/* Kill theme hide-on-scroll-down behavior */
.bk-header-section.txa_sticky_header.txa_sticky,
.bk-header-section.txa_sticky_header.txa_sticky.txa_sticky_show,
.bk-header-section.txa_sticky_header.txa_sticky_show {
	transform: none !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Undo Customizer rule that was hiding the sticky state */
.txa_sticky_show {
	display: block !important;
}

/* Keep top info bar visible while sticky */
.bk-header-section.txa_sticky_header.txa_sticky .header-top,
.bk-header-section.txa_sticky_header.txa_sticky_show .header-top,
.bk-header-section.txa_sticky_header.header_style_one.txa_sticky .header-top {
	display: flex !important;
}

/* Solid bar once the page is scrolled so nav stays readable */
.bk-header-section.txa_sticky_header.is-header-scrolled,
.bk-header-section.txa_sticky_header.txa_sticky {
	background-color: #253135 !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.bk-header-section.txa_sticky_header.is-header-scrolled .header-navigation,
.bk-header-section.txa_sticky_header.txa_sticky .header-navigation {
	background: transparent !important;
}

/* Ensure nav/CTA stay readable on dark sticky bg */
.bk-header-section.txa_sticky_header.is-header-scrolled .main-navigation li a,
.bk-header-section.txa_sticky_header.txa_sticky .main-navigation li a,
.bk-header-section.txa_sticky_header.is-header-scrolled .cta-btn-wrap > a:first-child,
.bk-header-section.txa_sticky_header.txa_sticky .cta-btn-wrap > a:first-child {
	color: #ffffff !important;
}

.bk-header-section.txa_sticky_header.is-header-scrolled .logo-navigation img,
.bk-header-section.txa_sticky_header.txa_sticky .logo-navigation img {
	filter: brightness(0) invert(1) !important;
}

/* Dropdowns above page content */
.bk-header-section.txa_sticky_header .dropdown-menu {
	z-index: 10001 !important;
}

@media (max-width: 991px) {
	.bk-header-section.txa_sticky_header {
		z-index: 10000 !important;
		overflow: visible !important;
	}

	.bk-header-section.txa_sticky_header .bk-header-content,
	.bk-header-section.txa_sticky_header .header-navigation,
	.bk-header-section.txa_sticky_header .cta-btn-wrap {
		overflow: visible !important;
	}

	/* Theme already hides this bar on mobile; do not force it back. */
	.bk-header-section.txa_sticky_header .header-top,
	.bk-header-section.txa_sticky_header.txa_sticky .header-top,
	.bk-header-section.txa_sticky_header.txa_sticky_show .header-top,
	.bk-header-section.txa_sticky_header.header_style_one.txa_sticky .header-top,
	.bk-header-section.txa_sticky_header.header_style_one .header-top {
		display: none !important;
	}

	.bk-header-section.txa_sticky_header.header_style_one .header-navigation {
		padding: 10px 16px !important;
	}

	.bk-header-section.header_style_one .header-navigation .logo-navigation,
	.bk-header-section.txa_sticky_header.header_style_one .header-navigation .logo-navigation {
		gap: 0 !important;
	}

	.bk-header-section .header-navigation .main-navigation {
		display: none !important;
	}

	.bk-header-section .cta-btn-wrap > a {
		display: none !important;
	}

	.bk-header-section.txa_sticky_header .logo_site-size {
		max-height: 44px;
	}

	.bk-header-section .bk-mobile-menu-btn,
	.bk-header-section .mobile_menu_button {
		display: flex !important;
		align-items: center;
		position: relative;
		z-index: 10002;
		pointer-events: auto !important;
		cursor: pointer;
	}

	.bk-header-section .bk-mobile-menu-btn button {
		width: 44px;
		height: 44px;
		padding: 10px 6px !important;
		justify-content: center;
		gap: 6px;
		pointer-events: none;
	}

	.bk-header-section.header_style_one .bk-mobile-menu-btn button span,
	.bk-header-section .bk-mobile-menu-btn button span {
		background-color: #ffffff !important;
	}

	.mobile_menu,
	.mobile_menu_wrap {
		z-index: 10040 !important;
	}

	.mobile_menu_overlay {
		z-index: 10040 !important;
		pointer-events: auto !important;
	}

	.mobile_menu_content {
		z-index: 10050 !important;
		pointer-events: auto !important;
	}

	.mobile_menu_wrap.mobile_menu_on .mobile_menu_content {
		left: 0 !important;
	}

	.mobile_menu_close {
		z-index: 10051 !important;
		pointer-events: auto !important;
	}

	body.mobile_menu_overlay_on {
		overflow: hidden;
	}
}

/* Mobile drawer logo — dark file on black bg is invisible without invert */
.mobile_menu_content .m-brand-logo {
	width: auto !important;
	max-width: 240px;
	margin: 12px auto 28px !important;
	display: block;
	text-align: center;
}

.mobile_menu_content .m-brand-logo a {
	display: inline-block;
}

.mobile_menu_content .m-brand-logo img,
.mobile_menu_content .logo_site-m-size {
	display: block;
	width: auto !important;
	max-width: 220px !important;
	max-height: 80px;
	height: auto;
	margin: 0 auto;
	filter: brightness(0) invert(1);
}
