/* Expo WA — header (exhibit-style nav + highlight accents) */

.rsgdxewa-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--rsgdxewa-color-primary);
	color: var(--rsgdxewa-color-primary-text);
}

.rsgdxewa-header__bar {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rsgdxewa-header__inner {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 0 24px;
	min-height: 72px;
	display: flex;
	align-items: stretch;
	gap: 16px;
}

.rsgdxewa-header__logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.rsgdxewa-header__logo a {
	color: var(--rsgdxewa-color-primary-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.125rem;
}

.rsgdxewa-header__logo img {
	max-height: 44px;
	width: auto;
	display: block;
}

.rsgdxewa-header__nav {
	margin-left: auto;
	display: flex;
	align-items: stretch;
	overflow: visible;
}

.rsgdxewa-header__nav-list {
	display: flex;
	align-items: stretch;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.rsgdxewa-header__nav-list > li {
	position: relative;
	display: flex;
	align-items: stretch;
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.rsgdxewa-header__nav-list > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	color: var(--rsgdxewa-color-primary-text);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	white-space: nowrap;
	letter-spacing: 0.02em;
	position: relative;
	transition: color 0.2s ease;
}

.rsgdxewa-header__nav-list > li > a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 14px;
	right: 14px;
	height: 2px;
	background: var(--rsgdxewa-color-highlight);
	transform: scaleX(0);
	transition: transform 0.25s ease;
	transform-origin: center;
}

.rsgdxewa-header__nav-list > li:hover > a::before,
.rsgdxewa-header__nav-list > li.current-menu-item > a::before,
.rsgdxewa-header__nav-list > li.current-menu-ancestor > a::before,
.rsgdxewa-header__nav-list > li.current_page_item > a::before {
	transform: scaleX(1);
}

.rsgdxewa-header__nav-list .menu-item-has-children > a::after {
	content: '\f107';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.7em;
	opacity: 0.8;
}

.rsgdxewa-header__nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--rsgdxewa-color-primary);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 2px solid var(--rsgdxewa-color-highlight);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	list-style: none !important;
	margin: 0 !important;
	padding: 8px 0;
	z-index: 700;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.rsgdxewa-header__nav-list > li:hover > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	visibility: visible;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.rsgdxewa-header__nav-list .sub-menu li {
	list-style: none !important;
	margin: 0;
	padding: 0;
	position: relative;
}

.rsgdxewa-header__nav-list .sub-menu a {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 16px;
	color: var(--rsgdxewa-color-primary-text);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 400;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.rsgdxewa-header__nav-list .sub-menu a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--rsgdxewa-color-highlight);
}

.rsgdxewa-header__nav-list .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.rsgdxewa-header__nav-list .sub-menu li:hover > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	visibility: visible;
}

.rsgdxewa-header__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 16px;
	padding-left: 8px;
}

.rsgdxewa-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rsgdxewa-color-highlight);
	text-decoration: none;
	white-space: nowrap;
	font-weight: 700;
	font-size: 0.95rem;
}

.rsgdxewa-header__phone i {
	color: var(--rsgdxewa-color-highlight);
}

.rsgdxewa-header__cta.rsgdxewa-btn {
	background: var(--rsgdxewa-color-highlight);
	border-color: var(--rsgdxewa-color-highlight);
	color: #fff;
}

.rsgdxewa-header__cta.rsgdxewa-btn:hover {
	opacity: 0.92;
}

.rsgdxewa-header__mobile-actions {
	margin-left: auto;
	align-items: center;
	gap: 8px;
}

.rsgdxewa-header__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--rsgdxewa-color-primary-text);
	cursor: pointer;
	text-decoration: none;
	font-size: 1.125rem;
}

.rsgdxewa-header__icon-btn--phone {
	color: var(--rsgdxewa-color-highlight);
}

.rsgdxewa-header__panel {
	display: none;
	background: var(--rsgdxewa-color-primary);
	color: var(--rsgdxewa-color-primary-text);
	padding: 16px 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rsgdxewa-header__panel.is-open {
	display: block;
}

.rsgdxewa-header__panel-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 0 16px !important;
}

.rsgdxewa-header__panel-list li {
	list-style: none !important;
	margin: 0;
}

.rsgdxewa-header__panel-list > li > a {
	display: block;
	padding: 12px 0;
	color: var(--rsgdxewa-color-primary-text);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rsgdxewa-header__panel-list .sub-menu {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 0 0 12px !important;
}

.rsgdxewa-header__panel-list .sub-menu a {
	display: block;
	padding: 8px 0;
	color: var(--rsgdxewa-color-primary-text);
	text-decoration: none;
	opacity: 0.85;
	font-size: 0.9rem;
}

.rsgdxewa-header__panel-bottom {
	display: flex;
	margin: 0 -24px;
}

.rsgdxewa-header__panel-phone,
.rsgdxewa-header__panel-cta {
	flex: 1 1 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 12px;
	text-decoration: none;
	font-weight: 700;
	text-align: center;
}

.rsgdxewa-header__panel-phone {
	background: rgba(255, 255, 255, 0.08);
	color: var(--rsgdxewa-color-highlight);
}

.rsgdxewa-header__panel-cta {
	background: var(--rsgdxewa-color-highlight);
	color: #fff;
}

body.rsgdxewa-menu-open {
	overflow: hidden;
}

@media (max-width: 991px) {
	.rsgdxewa-header__nav,
	.rsgdxewa-header__actions {
		display: none !important;
	}
}
