/* Shared layout. Homepage retains transparent hero/glass scroll; inner pages stay solid. */
body.gis-site-header-page .page-top-bar {
	position: relative;
	z-index: 10001;
}

/* Match the theme header's content grid, including its inner gutters. */
body.gis-site-header-page .page-top-bar > .container {
	max-width: 1510px !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
}

body.gis-site-header-page .page-top-bar .top-bar-wrap {
	align-items: center;
	display: flex !important;
	gap: 24px;
	justify-content: space-between;
}

body.gis-site-header-page .page-top-bar .top-bar-text {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
}

body.gis-site-header-page .page-top-bar :is(.gis-promo-desktop, .gis-promo-tablet, .gis-promo-mobile) {
	flex: 1 1 auto;
	justify-content: flex-start;
	padding-left: 8px;
	text-align: left !important;
	width: auto;
}

body.gis-site-header-page .page-top-bar .gis-promo-desktop {
	font-size: 14px;
}

body.gis-site-header-page .page-top-bar .gis-topbar-cta {
	display: none !important;
}

body.gis-site-header-page .gis-home-topbar__actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 18px;
	padding: 0;
}

body.gis-site-header-page .gis-home-topbar__contact {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 600;
	gap: 10px;
	letter-spacing: .12em;
	min-height: 44px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 180ms ease;
}

body.gis-site-header-page .page-top-bar .gis-home-topbar__contact:hover,
body.gis-site-header-page .page-top-bar .gis-home-topbar__contact:focus-visible {
	color: #b9ddff !important;
}

body.gis-site-header-page .gis-home-topbar__contact svg {
	fill: none;
	height: 18px;
	stroke: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 18px;
}

body.gis-site-header-page .gis-home-topbar__actions .gis-language {
	border-left: 0;
	display: block !important;
	margin: 0;
	padding-left: 18px;
}

body.gis-site-header-page .gis-home-topbar__actions .gis-language::before {
	background: rgba(255, 255, 255, .4);
	content: "";
	height: 18px;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
}

body.gis-site-header-page .gis-home-topbar__actions .gis-language__toggle {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff !important;
	height: 44px !important;
	min-width: 70px !important;
	padding: 0 !important;
}

body.gis-site-header-page .gis-home-topbar__contact:focus-visible,
body.gis-site-header-page .gis-home-topbar__actions summary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Logo on the left; the five existing navigation groups finish at the right. */
body.gis-site-header-page #page-header .header-right {
	margin-left: auto;
}

body.gis-site-header-page #page-header .header-right-inner-content > .page-navigation {
	margin-right: 0 !important;
}

body.gis-site-header-page #page-navigation .menu--primary .sub-menu {
	border-radius: 8px !important;
}

@media (max-width: 1199px) {
	body.gis-site-header-page .page-top-bar > .container {
		max-width: 1200px !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	body.gis-site-header-page .page-top-bar .top-bar-wrap {
		gap: 16px;
	}
	body.gis-site-header-page .page-top-bar .gis-promo-tablet {
		font-size: 12px !important;
	}
}

@media (max-width: 782px) {
	body.gis-site-header-page .page-top-bar .top-bar-wrap {
		flex-wrap: nowrap;
		gap: 8px;
		padding-top: 0 !important;
	}
	body.gis-site-header-page .page-top-bar .top-bar-text {
		flex: 1 1 auto;
	}
	body.gis-site-header-page .page-top-bar .gis-promo-mobile {
		font-size: 11px !important;
		justify-content: flex-start;
		min-height: 24px;
		text-align: left !important;
	}
	body.gis-site-header-page .gis-home-topbar__actions {
		gap: 8px;
		justify-content: flex-end;
		width: auto;
	}
	body.gis-site-header-page .gis-home-topbar__contact {
		justify-content: center;
		width: 44px;
	}
	body.gis-site-header-page .gis-home-topbar__contact span {
		display: none;
	}
	body.gis-site-header-page .gis-home-topbar__contact svg {
		height: 20px;
		width: 20px;
	}
	body.gis-site-header-page .gis-home-topbar__actions .gis-language {
		padding-left: 8px;
	}
	body.gis-site-header-page .gis-home-topbar__actions .gis-language__toggle {
		min-width: 56px !important;
	}
}
