/*!
 * DSI 1.0 — Public site chrome foundation.
 * Canonical ownership for shared header shell + theme container bridge.
 * Header markup: header.php (singular renderer).
 * Footer presentation: footer-experience.css (singular CSS authority after this pass).
 * Owner-approved header/footer geometry lives here — do not invent header-v2 sheets.
 */

/* Bridge theme .container to DSI site max-width (fixes narrow-column defect). */
body.dxp-dsi-1 .container,
body.dxp-theme-ready .container {
	width: min(var(--site-max-width, 1600px), calc(100% - (var(--site-gutter, 1.5rem) * 2)));
	margin-inline: auto;
}

/* Alias legacy theme color tokens to brand-adapted DSI roles when DSI is active. */
body.dxp-dsi-1 {
	--red: var(--dxp-brand-primary, var(--dxp-color-action-primary));
	--gold: var(--dxp-brand-accent, var(--dxp-color-premium));
	--bjf-red: var(--red);
	--bjf-gold: var(--gold);
	--max: var(--site-max-width, 1600px);
}

/* ==========================================================================
   Owner-approved shared header (utility + primary)
   ========================================================================== */
body.admin-bar .site-header.pc-header {
	top: 0;
}

.site-header.pc-header {
	--pc-bg: #050810;
	--pc-util-bg: #070b14;
	--pc-border: rgba(90, 140, 200, 0.22);
	--pc-red: #e10613;
	--pc-gold: #f9c80e;
	--pc-text: #f4f7fb;
	--pc-muted: #9eb0c6;
	position: sticky;
	top: 0;
	z-index: 9999;
	background: var(--pc-bg);
	border-bottom: 3px solid var(--pc-red);
	box-shadow: none;
	backdrop-filter: none;
}

.site-header.pc-header.header-scrolled {
	background: rgba(5, 8, 16, 0.97);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.pc-util {
	background: var(--pc-util-bg);
	border-bottom: 1px solid var(--pc-border);
	font-size: 13px;
	line-height: 1.3;
	color: #d5e2f0;
}

.pc-util__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 36px;
	padding-block: 2px;
}

.pc-util__left,
.pc-util__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 22px;
	min-width: 0;
}

.pc-util__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	color: #d5e2f0;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 650;
}

a.pc-util__item:hover {
	color: #fff;
}

.pc-util__icon {
	flex: none;
	width: 18px;
	height: 18px;
	opacity: 1;
}

.pc-util__div {
	width: 1px;
	height: 18px;
	background: rgba(255, 255, 255, 0.28);
}

.pc-util__list {
	position: relative;
	padding-right: 4px;
}

.pc-util__badge,
.pc-util__list .bjf-list-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--pc-gold);
	color: #111;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.pc-primary {
	background: var(--pc-bg);
}

.site-header.pc-header .pc-util__inner,
.site-header.pc-header .pc-primary__inner,
.site-header.pc-header .nav-wrap.bjf-v56-nav-wrap {
	width: min(1840px, calc(100% - 64px)) !important;
	max-width: none !important;
}

.site-header.pc-header .pc-primary__inner,
.site-header.pc-header .nav-wrap.bjf-v56-nav-wrap {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 32px !important;
	min-height: 0 !important;
	padding-block: 6px !important;
	margin-inline: auto;
}

.site-header.pc-header .pc-brand,
.site-header.pc-header .bjf-v56-brand {
	display: flex;
	align-items: center;
	width: auto;
	min-width: 0;
	flex: none;
}

.site-header.pc-header .brand-logo {
	display: block;
	width: auto;
	height: 108px;
	max-width: min(420px, 34vw);
	object-fit: contain;
	background: transparent;
}

.site-header.pc-header .brand-text {
	font-family: Impact, "Arial Narrow", sans-serif;
	font-size: clamp(3.4rem, 4.1vw, 5rem) !important;
	line-height: 0.82 !important;
	font-weight: 900;
	letter-spacing: 0.01em;
}

.site-header.pc-header .mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	cursor: pointer;
}

.site-header.pc-header .pc-nav,
.site-header.pc-header .bjf-v56-main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: clamp(14px, 1.4vw, 28px);
	min-width: 0;
}

.site-header.pc-header .pc-nav > a,
.site-header.pc-header .pc-more__toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 4px;
	border: 0;
	background: transparent;
	color: #fff;
	min-height: 40px;
	font-family: Arial, "Segoe UI", sans-serif !important;
	font-size: 14px !important;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.site-header.pc-header .pc-nav > a:hover,
.site-header.pc-header .pc-more__toggle:hover,
.site-header.pc-header .pc-nav > a.is-active,
.site-header.pc-header .pc-more.is-active .pc-more__toggle {
	color: #fff;
}

.site-header.pc-header .pc-nav > a.is-active::after,
.site-header.pc-header .pc-nav > a:hover::after,
.site-header.pc-header .pc-more.is-active .pc-more__toggle::after,
.site-header.pc-header .pc-more.is-open .pc-more__toggle::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--pc-red);
	border-radius: 2px;
}

.pc-more {
	position: relative;
}

.pc-more__chev {
	display: block;
	width: 10px;
	height: 7px;
	margin-left: 6px;
	color: #fff;
	flex: none;
}

.site-header.pc-header .bjf-more-toggle::before,
.site-header.pc-header .bjf-more-toggle::after,
.site-header.pc-header .pc-more__toggle::before {
	content: none;
}

.site-header.pc-header .pc-more__menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 40;
	display: none;
	gap: 2px;
	min-width: 380px;
	width: max-content;
	padding: 16px 14px;
	border: 1px solid rgba(90, 140, 200, 0.28);
	border-radius: 14px;
	background: #0b1524;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.site-header.pc-header .pc-more__menu[hidden] {
	display: none;
}

.site-header.pc-header .pc-more__menu:not([hidden]) {
	display: grid;
}

.pc-more__menu a {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
}

.pc-more__menu a:hover,
.pc-more__menu a:focus-visible {
	background: rgba(255, 255, 255, 0.06);
}

.pc-more__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: #d7e4f5;
}

.pc-more__copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.pc-more__copy strong {
	font-size: 18px;
	font-weight: 800;
}

.pc-more__copy small {
	font-size: 14px;
	color: var(--pc-muted);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.pc-search {
	display: flex;
	align-items: stretch;
	width: min(500px, 34vw) !important;
	min-width: 280px;
	height: 56px;
	padding: 0;
	border: 1px solid rgba(176, 198, 226, 0.55);
	border-radius: 10px;
	overflow: hidden;
	background: #0c1524;
	box-shadow: none;
}

.pc-search__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	flex: none;
	color: #c5d4e6;
	background: transparent;
}

.pc-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 8px 0 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	background: transparent;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	-webkit-appearance: none;
	appearance: none;
}

.pc-search input[type="search"]::-webkit-search-decoration,
.pc-search input[type="search"]::-webkit-search-cancel-button,
.pc-search input[type="search"]::-webkit-search-results-button,
.pc-search input[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.pc-search input[type="search"]::placeholder {
	color: #8ea3bb;
}

.pc-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #e10613;
	color: #fff;
	cursor: pointer;
	flex: none;
	align-self: stretch;
}

.pc-search__btn svg {
	width: 26px;
	height: 26px;
	display: block;
}

.pc-search__btn:hover {
	filter: brightness(1.08);
}

/* Hide legacy header actions slot if any remnant CSS expects it */
.site-header.pc-header .bjf-v56-header-actions {
	display: none;
}

/* Focus */
.site-header.pc-header :focus-visible {
	outline: 2px solid var(--pc-gold);
	outline-offset: 2px;
}

/* Desktop legacy hover open disabled — click/keyboard via JS */
@media (hover: hover) and (pointer: fine) {
	.site-header.pc-header .bjf-more-nav:hover .bjf-more-menu:not([hidden]) {
		display: grid;
	}
}

/* Tablet / mobile */
@media (max-width: 1100px) {
	.site-header.pc-header .pc-primary__inner,
	.site-header.pc-header .nav-wrap.bjf-v56-nav-wrap {
		grid-template-columns: auto auto 1fr;
		gap: 12px !important;
		min-height: 72px !important;
	}

	.site-header.pc-header .mobile-toggle {
		display: inline-flex;
		order: 2;
		margin-left: auto;
	}

	.site-header.pc-header .pc-brand {
		order: 1;
	}

	.site-header.pc-header .pc-search {
		order: 3;
		grid-column: 1 / -1;
		width: 100% !important;
		min-width: 0;
		max-width: none;
	}

	.site-header.pc-header .pc-nav,
	.site-header.pc-header .bjf-v56-main-nav {
		order: 4;
		position: absolute !important;
		left: 12px;
		right: 12px;
		top: calc(100% + 8px) !important;
		display: none !important;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px;
		border: 1px solid rgba(90, 140, 200, 0.28);
		border-radius: 16px;
		background: rgba(7, 12, 22, 0.98);
		box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
		max-height: min(70vh, 520px);
		overflow: auto;
	}

	.site-header.pc-header .pc-nav.open,
	.site-header.pc-header .pc-nav.is-open,
	.site-header.pc-header .bjf-v56-main-nav.open,
	.site-header.pc-header .bjf-v56-main-nav.is-open {
		display: flex !important;
	}

	.site-header.pc-header .pc-nav > a,
	.site-header.pc-header .pc-more__toggle {
		justify-content: flex-start;
		width: 100%;
		padding: 14px 12px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		font-size: 15px;
	}

	.site-header.pc-header .pc-nav > a.is-active::after,
	.site-header.pc-header .pc-nav > a:hover::after,
	.site-header.pc-header .pc-more.is-active .pc-more__toggle::after,
	.site-header.pc-header .pc-more.is-open .pc-more__toggle::after {
		display: none;
	}

	.pc-more__menu {
		position: static;
		transform: none;
		min-width: 0;
		width: 100%;
		margin-top: 4px;
		box-shadow: none;
	}

	.pc-util__right .pc-util__item span:not(.pc-util__badge):not(.bjf-list-count) {
		display: none;
	}

	.pc-util__left .pc-util__hours span {
		max-width: 42vw;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (max-width: 640px) {
	.pc-util__inner {
		min-height: 30px;
		gap: 8px;
	}

	.site-header.pc-header .brand-logo {
		height: 56px;
	}

	.site-header.pc-header .brand-text {
		font-size: 1.7rem !important;
	}

	.site-header.pc-header .pc-nav,
	.site-header.pc-header .bjf-v56-main-nav {
		top: calc(100% + 8px) !important;
	}
}

/* Neutralize legacy style.css MORE hover/display that fights owner chrome */
.site-header.pc-header .bjf-more-nav:hover .bjf-more-menu,
.site-header.pc-header .bjf-more-nav:focus-within .bjf-more-menu {
	display: none;
}

.site-header.pc-header .bjf-more-nav.is-open .bjf-more-menu,
.site-header.pc-header .bjf-more-nav.is-open .pc-more__menu {
	display: grid;
}

.site-header.pc-header .pc-more__menu a {
	display: grid;
	font-family: Arial, "Segoe UI", sans-serif;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	padding: 10px 12px;
}

@media (max-width: 1100px) {
	.site-header.pc-header .bjf-more-menu,
	.site-header.pc-header .pc-more__menu {
		display: none;
	}

	.site-header.pc-header .bjf-more-nav.is-open .bjf-more-menu,
	.site-header.pc-header .bjf-more-nav.is-open .pc-more__menu {
		display: grid;
	}

	.site-header.pc-header .bjf-v56-main-nav {
		display: none;
	}

	.site-header.pc-header .bjf-v56-main-nav.open,
	.site-header.pc-header .bjf-v56-main-nav.is-open {
		display: flex;
	}
}


/*
 * Mobile admin-bar sticky offset must stay at top: 0 (see body.admin-bar rule above).
 * WordPress ≤782px uses #wpadminbar { position: absolute } plus html { margin-top: 46px }.
 * Setting sticky top to the admin-bar height here double-compensates and opens a blank
 * body-colored band between the toolbar and .pc-header at scrollY=0 (SB20-10A Round 3).
 */
@media (max-width: 782px) {
	body.admin-bar .site-header.pc-header {
		top: 0;
	}
}

/* Shared header shell width (legacy bridge) */
.site-header .nav-wrap,
.site-header .bjf-v56-nav-wrap {
	width: min(var(--site-max-width, 1600px), calc(100% - (var(--site-gutter, 1.5rem) * 2)));
	margin-inline: auto;
}

/* Footer shell width follows the same site max-width. */
.site-footer .container,
.site-footer .footer-inner,
.site-footer .fe20-shell {
	width: min(var(--site-max-width, 1600px), calc(100% - (var(--site-gutter, 1.5rem) * 2)));
	margin-inline: auto;
}
