/*
 * Transparent header (Home and any page set to it).
 * Turn it on per page: page editor > Kadence settings (the K icon) >
 * Transparent Header: Enable. The white logo is set in
 * Customize > Header > Transparent Header.
 * When a mega menu opens, the header bar turns dark gray, a shade darker than the panel (1.13.6).
 */

/* White menu, search, Donate and mobile trigger over the photo */
body.transparent-header #masthead .header-navigation .header-menu-container > ul > li > a,
body.transparent-header #masthead .search-toggle-open,
body.transparent-header #masthead .menu-toggle-open,
body.transparent-header #masthead .site-title a { color: #FFFFFF !important; }
body.transparent-header #masthead .header-navigation .header-menu-container > ul > li > a:hover { color: #FFFFFF !important; }
body.transparent-header #masthead .header-button,
body.transparent-header #masthead .header-button:visited {
	color: #FFFFFF !important;
	border-color: #FFFFFF !important;
	background: transparent !important;
}
body.transparent-header #masthead .header-button:hover {
	background: #FFFFFF !important;
	color: var(--slfp-warm-charcoal) !important;
}

/* Gray header bar while a mega menu is open */
body.transparent-header #masthead .site-main-header-wrap { transition: none !important; }
body.transparent-header #masthead .site-main-header-wrap:has(.header-menu-container > ul > li:hover > ul.sub-menu),
body.transparent-header #masthead .site-main-header-wrap:has(.header-menu-container > ul > li.slfp-open > ul.sub-menu),
body.transparent-header #masthead .site-main-header-wrap:has(.header-menu-container > ul > li:focus-within > ul.sub-menu) {
	background-color: var(--slfp-bar-bg, #3A3A3A) !important;
}
body.transparent-header #masthead .site-main-header-wrap:has(.header-menu-container > ul > li:hover > ul.sub-menu) .site-header-row-container-inner,
body.transparent-header #masthead .site-main-header-wrap:has(.header-menu-container > ul > li.slfp-open > ul.sub-menu) .site-header-row-container-inner,
body.transparent-header #masthead .site-main-header-wrap:has(.header-menu-container > ul > li:focus-within > ul.sub-menu) .site-header-row-container-inner {
	background-color: var(--slfp-bar-bg, #3A3A3A) !important;
}
