/* Header and hero replacement for the ADWAY landing page. */
.header {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 100;
	color: var(--light-900);
}

.header::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 144px;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.08) 20%,
		rgba(0, 0, 0, 0.34) 58%,
		rgba(0, 0, 0, 0.82) 100%
	);
}

.header__main,
.header__sub {
	position: relative;
	z-index: 1;
}

.header .container_wide {
	max-width: none;
}

.header__main {
	padding: 50px 0 8px;
	background-color: transparent;
}

.header__main-container {
	align-items: flex-start;
}

.header__logo {
	--width: 190px;
	--height: 39px;
	filter: none;
}

.header__sub {
	position: absolute;
	left: 0;
	top: 94px;
	width: 100%;
	overflow: visible;
}

.header__sub-wrap {
	padding-right: 0;
	padding-bottom: 0;
}

.header__sub-bg {
	display: none;
}

.header__title {
	color: var(--light-900);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
}

.header .main-menu__nav {
	--color: var(--light-900);
	--hover-color: var(--light-907);
	align-items: center;
}

.header__menu-btn {
	color: var(--light-900);
}

.header__menu-btn.drawer-trigger_active {
	color: var(--dark-900);
}

.hero {
	position: relative;
	left: 0;
	top: 0;
	height: 100vh;
	height: 100svh;
	min-height: 0;
	overflow: hidden;
	background-color: var(--dark-900);
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.18);
}

.hero__bg {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	z-index: 0;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 1024px) {
	.header__main {
		padding-top: 28px;
	}

	.header__sub {
		top: 72px;
	}

	.header .main-menu__nav {
		--color: var(--dark-900);
		--hover-color: var(--dark-907);
	}
}

@media (max-aspect-ratio: 16/9) {
	.hero {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.hero__bg {
		object-fit: contain;
		object-position: center center;
	}
}

@media (max-width: 680px) {
	.header::before {
		height: 128px;
	}

	.header__logo {
		--width: 150px;
		--height: 30px;
	}

	.header__title {
		font-size: 18px;
	}

	.header__sub {
		top: 62px;
	}

}
