.panel-header {
	--surface-foreground: transparent;
	--surface-background: transparent;
	--surface-mobile-nav: var(--gray-100);
	--surface-mobile-nav-alt: var(--primary-color-700);
	--text: var(--gray-100);
	--text-alt: var(--gray-900);
	
	position: absolute;
	color: var(--text);
	width: 100%;
}

.panel-header::after {
	content: '';
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 120px;
	background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
	z-index: -1;
}

.panel-page.no-hero .panel-header {
	position: relative;
	background-color: var(--primary-color-700);
	margin: 30px 30px 0;
	width: unset;
}

.panel-page.no-hero .panel-header::after {
	display: none;
}

.panel-header .secondary-nav-container {
	display: none;
	background-color: var(--surface-background);
}

.panel-header .navs-container {
	display: flex;
	align-items: center;
}

.panel-header .navs-container .top {
	display: none;
}

@media screen and (max-width: 1023px) {
	.panel-page.no-hero .panel-header {
		width: 100%;
		margin: 0;
	}

	.panel-header.active {
		background-color: var(--surface-mobile-nav);
	}

	.panel-header.active .primary-content-container {
		background-color: var(--surface-mobile-nav-alt);
	}

	.panel-header.active .mobile-nav .widgets {
		background-color: var(--surface-mobile-nav-alt);
	}
}

@media (min-width: 40em) {
	.panel-header .secondary-nav-container {
		display: block;
	}
}

.panel-header .primary-content-container {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	background-color: var(--surface-foreground);
	padding: 18px 20px 8px;
}

.panel-header .main-nav-widgets-container {
	display: grid;
	align-items: stretch;
	grid-template-columns: min-content;
	gap: var(--space-5);
}

@media (min-width: 64em) {
	.panel-header::after {
		height: 180px;
		top: 30px;
		left: 30px;
		width: calc(100% - 60px);
	}

	.panel-header > *:focus,
	.panel-header :is(button, a) {
		outline-color: var(--gray-100);
	}

	.panel-header .primary-content-container {
		width: calc(100% - 30px);
		padding: 85px 30px 8px;
		margin: 0 auto;
	}

	.panel-page.no-hero .panel-header .primary-content-container {
		padding: 55px 0;
		width: calc(100% - 160px);
	}

	.panel-header .main-nav-widgets-container {
		grid-template-columns: 1fr;
		justify-items: end;
	}

	.panel-header .navs-container {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}

	.panel-header .navs-container .top {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		padding-right: 10px;
	}

	.panel-header .contentRender_name_plugins_common_logo {
		align-self: center;
	}

	.panel-header .contentRender_name_plugins_common_logo img {
		width: 200px;
	}

	.panel-header .secondary-nav-container.search-active {
		opacity: 0;
	}
}

.panel-header .navs-container .widgets {
	display: flex;
	align-items: center;
}

.panel-header .main-nav-widgets-container .widgets {
	display: none;
	align-items: center;
}

.panel-header .ctas-container {
	padding: 0 var(--space-5);
}

@media (min-width: 64em) {
	.panel-header .main-nav-widgets-container .widgets {
		display: flex;
	}
}

@media screen and (min-width: 90em) {
	.panel-header .primary-content-container {
		padding: 85px 53px 8px 76px;
	}
}

.panel-header .mobile-nav-container {
	position: absolute;
	z-index: 10;
	display: none;
	width: 100%;
}

.panel-header .mobile-nav-container.active {
	display: flex;
	justify-content: flex-end;
}

@media (min-width: 64em) {
	.panel-header .mobile-nav-container.active {
		display: none;
	}	
}

.panel-header .mobile-nav-container .mobile-nav {
	max-width: 375px;
	width: 100%;
	background-color: var(--surface-mobile-nav);
}

.panel-header .mobile-nav .widgets {
	display: grid;
	grid-template-columns: 66px 1fr;
	align-items: center;
	gap: 34px;
	padding: 5px 20px 8px;
	color: var(--text-alt);
}

.panel-header .mobile-nav .widgets .weather-wrapper, 
.panel-header .mobile-nav .widgets .search-cont {
	grid-column: span 1;
}

.panel-header .mobile-nav .search-cont {
	grid-column: 1 / -1;
}

.panel-header .mobile-nav .widgets > *:not(.search-cont) {
	align-self: center;
	justify-self: center;
}