/**
 * NWBC top bar (location links).
 *
 * Slim utility bar across the top of the site on desktop.
 * Hidden on mobile; locations remain available in the main menu.
 */

.nwbc-top-bar {
	position: relative;
	z-index: 1000;
	background-color: #ececec;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.8125rem;
	line-height: 1;
}

.nwbc-top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.nwbc-top-bar__label {
	color: rgba(0, 0, 0, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.6875rem;
	font-weight: 600;
	white-space: nowrap;
}

.nwbc-top-bar__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nwbc-top-bar__menu li {
	margin: 0;
	padding: 0;
}

.nwbc-top-bar .nwbc-top-bar__menu a {
	display: inline-block;
	padding: 0.625rem 1rem;
	color: #1a1a1a;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.nwbc-top-bar .nwbc-top-bar__menu a:hover,
.nwbc-top-bar .nwbc-top-bar__menu a:focus {
	color: #000000;
	background-color: rgba(0, 0, 0, 0.06);
}

.nwbc-top-bar .nwbc-top-bar__menu .current-menu-item > a {
	color: #000000;
	font-weight: 600;
}

/* Desktop: pin the bar above the sticky header so links are clickable. */
@media (min-width: 782px) {
	.nwbc-top-bar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 100000;
	}

	/* Push the header below the bar in every state (normal and sticky). */
	#header {
		margin-top: 34px;
	}
}

/* Hide on mobile and tablet. Locations remain in the main menu. */
@media (max-width: 781px) {
	.nwbc-top-bar {
		display: none;
	}
}