:root {
	--gha-switcher-gold: #b1842f;
	--gha-switcher-ink: #202326;
	--gha-switcher-navy: #152735;
}

#app-header {
	position: relative;
}

.gha-location-bar {
	pointer-events: none;
	position: absolute;
	right: max(var(--wp--preset--spacing--20, 20px), calc((100vw - var(--wp--style--global--wide-size, 1200px)) / 2));
	top: 18px;
	z-index: 100;
}

.gha-location-bar__inner {
	align-items: center;
	display: flex;
	padding: 0;
}

.gha-location-switcher {
	pointer-events: auto;
	position: relative;
	z-index: 30;
}

.gha-location-switcher summary {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(177, 132, 47, 0.62);
	border-radius: 999px;
	color: var(--gha-switcher-ink);
	cursor: pointer;
	display: flex;
	font-size: 0.82rem;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	list-style: none;
	min-height: 44px;
	padding: 0 14px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gha-location-switcher summary::-webkit-details-marker { display: none; }

.gha-location-switcher summary:hover,
.gha-location-switcher summary:focus-visible,
.gha-location-switcher[open] summary {
	background: var(--gha-switcher-navy);
	border-color: var(--gha-switcher-navy);
	color: #fff;
}

.gha-location-switcher summary:focus-visible {
	outline: 2px solid var(--gha-switcher-gold);
	outline-offset: 3px;
}

.gha-location-switcher summary > .gha-location-flag {
	height: 18px;
	width: 26px;
}

.gha-location-switcher summary > .gha-location-flag svg {
	height: 18px;
	width: 26px;
}

.gha-location-switcher summary > .gha-globe-icon {
	display: none;
}

.gha-location-chevron {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	display: block;
	height: 6px;
	margin: -3px 1px 0 2px;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	width: 6px;
}

.gha-location-switcher[open] .gha-location-chevron {
	margin-top: 3px;
	transform: rotate(225deg);
}

.gha-globe-icon {
	border: 1.7px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
	display: block;
	height: 19px;
	position: relative;
	width: 19px;
}

.gha-globe-icon::before {
	border-left: 1px solid currentColor;
	border-right: 1px solid currentColor;
	border-radius: 50%;
	content: "";
	inset: 2px 5px;
	position: absolute;
}

.gha-globe-icon::after {
	border-top: 1px solid currentColor;
	content: "";
	left: 1px;
	position: absolute;
	right: 1px;
	top: 8px;
}

.gha-location-menu {
	background: #fff;
	border: 1px solid rgba(21, 39, 53, 0.12);
	border-radius: 14px;
	box-shadow: 0 22px 56px rgba(21, 39, 53, 0.2);
	box-sizing: border-box;
	display: grid;
	gap: 4px;
	min-width: 285px;
	padding: 14px;
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
}

.gha-location-menu > strong {
	color: #6a7379;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	padding: 5px 9px 8px;
	text-transform: uppercase;
}

.gha-location-menu > a {
	align-items: center;
	border-radius: 9px;
	box-sizing: border-box;
	column-gap: 10px;
	color: var(--gha-switcher-ink);
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	line-height: 1.25;
	padding: 10px 11px;
	text-decoration: none;
}

.gha-location-menu > a:hover,
.gha-location-menu > a:focus-visible,
.gha-location-menu > a[aria-current="page"] {
	background: #f3ead7;
	color: #68480f;
}

.gha-location-menu > a:focus-visible {
	outline: 2px solid var(--gha-switcher-gold);
	outline-offset: 1px;
}

.gha-location-copy { display: grid; }
.gha-location-copy > span { font-weight: 800; }

.gha-location-flag {
	align-items: center;
	display: flex;
	height: 22px;
	justify-content: center;
	width: 28px;
}

.gha-location-flag svg {
	display: block;
	height: 22px;
	overflow: visible;
	width: 32px;
}

.gha-location-flag--global {
	color: #5f8dce;
}

.gha-location-menu small {
	color: #6b757b;
	font-size: 0.74rem;
	margin-top: 2px;
}

@media (max-width: 620px) {
	.gha-location-bar {
		right: var(--wp--preset--spacing--20, 20px);
		top: 12px;
	}

	.gha-location-switcher summary {
		border-radius: 50%;
		height: 44px;
		padding: 0;
		width: 44px;
	}

	.gha-location-current,
	.gha-location-chevron,
	.gha-location-switcher summary > .gha-location-flag {
		display: none;
	}

	.gha-location-switcher summary > .gha-globe-icon {
		display: block;
	}

	.gha-location-menu {
		min-width: min(285px, calc(100vw - 32px));
		right: -2px;
	}
}
