.custom-logo {
    max-width: 100%;
    height: auto;
}

.header__top {
	flex-wrap: wrap;
}

.menu-toggle__bar {
	display: block;
	width: 28px;
	height: 3px;
	margin: 5px 0;
	background: var(--header-menu-colour);
}

.header__bottom .page-title {
	width: 100%;
	text-align: var(--header-page-title-alignment, left);
}

/* Header top-bar colour. Standard headers retain the primary colour as fallback. */
.header__top.has-primary-background-color {
	background-color: var(--header-top-background-colour, var(--colour-primary, #005f73)) !important;
}

/* Featured Overlay remains transparent unless explicitly enabled. */
body.featured-overlay-top-background .header--featured-overlay .header__top {
	background-color: var(--header-top-background-colour, var(--colour-primary, #005f73));
}

/* Dropdown text can be configured independently from the main menu colour. */
.header .primary-menu .sub-menu li > a {
	color: var(--header-menu-dropdown-text-colour, var(--header-menu-colour));
}

/* Fixed header top bar */
body.header-top-fixed.header-fixed-ready .header__top {
	position: fixed;
	top: var(--header-fixed-offset-top, 0px);
	left: 0;
	right: 0;
	width: auto;
	box-sizing: border-box;
	z-index: 10000;
}

/* Replace the space normally occupied by the fixed top bar. */
body.header-top-fixed.header-fixed-ready .header::before {
	content: "";
	display: block;
	flex: 0 0 var(--header-fixed-top-height, 0px);
	height: var(--header-fixed-top-height, 0px);
	width: 100%;
}

/* Featured Overlay normally gets its spacing from the outer header. */
body.header-top-fixed.header-fixed-ready .header--featured-overlay .header__top {
	padding: 2rem 10%;
	transition: background-color 0.2s ease;
}

body.header-top-fixed.header-fixed-ready.header-has-scrolled .header--featured-overlay .header__top {
	background-color: var(--header-top-background-colour, var(--colour-primary, #005f73));
}

@media (max-width: 768px) {
	.header .primary-menu > li > a,
	.header .primary-menu .sub-menu li > a {
		color: var(--header-menu-dropdown-text-colour, var(--header-menu-colour));
	}

	body.header-top-fixed.header-fixed-ready .header--featured-overlay .header__top {
		padding: 1.5rem;
	}
}
