.brem-topbar {
	background: var(--brem-navy);
	color: #c8d9e5;
	font-size: 12px;
}

.brem-topbar__inner {
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brem-header {
	position: sticky;
	top: 0;
	z-index: 40;
	overflow: visible;
	border-bottom: 1px solid var(--brem-line);
	background: var(--brem-white);
}

.brem-header__inner {
	position: relative;
	min-height: 78px;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.brem-brand {
	display: block;
	text-decoration: none;
	font-size: 1.55rem;
	font-weight: 900;
	letter-spacing: 1px;
	color: var(--brem-navy);
	line-height: 1.05;
}

.brem-brand small {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.5rem;
	font-weight: 700;
	color: var(--brem-muted);
	letter-spacing: 1px;
	text-transform: uppercase;
}

.custom-logo-link {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.custom-logo {
	width: 330px;
	max-width: 100%;
	height: 60px;
	object-fit: contain;
}

.brem-nav {
	margin-left: auto;
}

.brem-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brem-menu > .menu-item {
	position: relative;
}

.brem-menu a {
	color: var(--brem-text);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

.brem-menu a:hover,
.brem-menu .current-menu-item > a,
.brem-menu .current-menu-ancestor > a {
	color: var(--brem-blue);
}

.brem-menu .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.4rem;
	border-left: 3.5px solid transparent;
	border-right: 3.5px solid transparent;
	border-top: 4px solid currentColor;
	vertical-align: 0.12em;
}

.brem-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 196px;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: var(--brem-white);
	border: 1px solid var(--brem-line);
	box-shadow: 0 12px 28px rgba(7, 45, 81, 0.12);
}

.brem-menu .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}

.brem-menu > .menu-item:nth-last-child(-n + 2) > .sub-menu {
	left: auto;
	right: 0;
}

.brem-menu .menu-item-has-children:hover > .sub-menu,
.brem-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.brem-menu .sub-menu a {
	display: block;
	padding: 0.65rem 1rem;
	white-space: nowrap;
	font-weight: 600;
}

.brem-menu .sub-menu a:hover,
.brem-menu .sub-menu .current-menu-item > a {
	color: var(--brem-blue);
	background: var(--brem-soft);
}

.brem-notice {
	padding: 0.55rem 0;
	font-size: 13px;
	font-weight: 700;
}

.brem-notice--announce {
	background: var(--brem-blue);
	color: var(--brem-white);
}

.brem-notice--maintenance {
	background: #8a3b12;
	color: var(--brem-white);
}

.brem-header--static {
	position: relative;
}

.brem-header__tools {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 0.85rem;
	margin-left: 0;
}

.brem-header__quote {
	flex: 0 0 auto;
	white-space: nowrap;
}

.brem-header__link {
	color: var(--brem-text);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.brem-header__link:hover {
	color: var(--brem-blue);
}

.brem-header__search {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--brem-navy);
	font: 700 12px var(--brem-font);
	cursor: pointer;
}

.brem-header__search-form {
	display: none;
	flex-basis: 100%;
	align-items: center;
	gap: 0.75rem;
	padding: 0 0 1rem;
}

.brem-header__inner.is-search-open .brem-header__search-form {
	display: flex;
}

.brem-header__search-form input[type="search"] {
	flex: 1;
	min-height: 42px;
	padding: 0 0.85rem;
	border: 1px solid var(--brem-line);
	font: 400 0.95rem var(--brem-font);
}

.brem-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	margin-left: 0.5rem;
	padding: 0;
	border: 1px solid var(--brem-line);
	background: var(--brem-white);
	cursor: pointer;
}

.brem-menu-toggle span[aria-hidden] {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--brem-navy);
	box-shadow: 0 -6px 0 var(--brem-navy), 0 6px 0 var(--brem-navy);
}
