.hero_2026 {
	padding-top: 32px;
	background: #ffffff;
}

.hero_2026__card {
	position: relative;
	overflow: hidden;
	min-height: 580px;
	border-radius: var(--radius-2026);
	background: var(--navy-900);
	box-shadow: var(--shadow-2026-lg);
}

.hero_2026__image {
	position: absolute;
	top: 0;
	right: 0;
	left: 258px;
	height: 100%;
	overflow: hidden;
}

.hero_2026__image img {
	position: absolute;
	left: 0;
	bottom: 0;
	width: auto;
	max-width: none;
	height: 115%;
	display: block;
}

.hero_2026__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 28%, rgba(26, 34, 78, 0.84) 36%, rgba(26, 34, 78, 0.45) 48%, rgba(26, 34, 78, 0.16) 64%, rgba(26, 34, 78, 0.04) 82%, rgba(26, 34, 78, 0) 100%);
}

.hero_2026__inner {
	position: relative;
}

.hero_2026__nav {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 26px 40px 10px;
}

.hero_2026__logo {
	flex: none;
	display: block;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.hero_2026__logo img {
	display: block;
	width: auto;
	height: 46px;
}

.hero_2026__menu {
	margin-left: 24px;
}

.hero_2026__menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero_2026 .hero_2026__menu a {
	position: relative;
	top: 6px;
	display: inline-block;
	padding: 8px 2px;
	border-bottom: 2px solid transparent;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.14s ease;
}

.hero_2026 .hero_2026__menu a:hover,
.hero_2026 .hero_2026__menu .current-menu-item > a,
.hero_2026 .hero_2026__menu .current-menu-ancestor > a,
.hero_2026 .hero_2026__menu .menu-item-has-children.open > a {
	border-bottom-color: var(--sky-300);
}

/* Dropdown of the hero menu, e.g. the training paths under "IFR training" */
@media (min-width: 768px) {
	.hero_2026__nav {
		position: relative;
		z-index: 5;
	}
}

.hero_2026__menu .menu-item-has-children {
	position: relative;
}

.hero_2026 .hero_2026__menu .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hero_2026__menu .menu-item-has-children > a svg {
	flex: none;
	opacity: 0.9;
	transition: transform 0.15s ease;
}

.hero_2026__menu .menu-item-has-children.open > a svg {
	transform: rotate(180deg);
}

.hero_2026__menu .sub-menu {
	position: absolute;
	left: -20px;
	top: calc(100% + 14px);
	z-index: 20;
	display: none;
	flex-direction: column;
	gap: 2px;
	width: 380px;
	padding: 10px;
	border-radius: var(--radius-2026);
	background: #ffffff;
	box-shadow: 0 24px 56px rgba(15, 20, 45, 0.28), 0 4px 10px rgba(15, 20, 45, 0.12);
}

/* Keeps the dropdown open while the mouse moves from the link to the dropdown */
.hero_2026__menu .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -16px;
	height: 16px;
}

.hero_2026__menu .menu-item-has-children.open > .sub-menu {
	display: flex;
}

.hero_2026 .hero_2026__menu .sub-menu a {
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px;
	border: 0;
	border-radius: 6px;
	white-space: normal;
}

.hero_2026 .hero_2026__menu .sub-menu a:hover,
.hero_2026 .hero_2026__menu .sub-menu .current-menu-item > a {
	background: var(--sky-50);
}

.hero_2026__menu .sub-menu strong {
	color: var(--navy-600);
	font-size: 16px;
	line-height: 1.3;
}

.hero_2026__menu .sub-menu span {
	color: var(--gray-600);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.hero_2026 .hero_2026__menu .hero_2026__menu_footer a {
	flex-direction: row;
	align-items: center;
	gap: 4px;
	margin: 8px 4px 2px;
	padding: 12px 10px 4px;
	border-top: 1px solid var(--gray-100);
	border-radius: 0;
	color: var(--sky-400);
	font-size: 15px;
	font-weight: 700;
}

/* Light blue like the "Learn more" links of the training path cards */
.hero_2026 .hero_2026__menu .hero_2026__menu_footer a:hover {
	background: none;
	color: var(--sky-500);
}

.hero_2026 .hero_2026__account {
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 42px;
	margin-left: auto;
	padding: 0 18px;
	border: 1px solid #ffffff;
	border-radius: var(--radius-2026);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.14s ease;
}

.hero_2026 .hero_2026__account:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

/* Signed in: the training requests button and the name button with the account dropdown */
.hero_2026__signed_in {
	flex: none;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.hero_2026 .hero_2026__requests {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px;
	border-radius: var(--radius-2026);
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(15, 20, 45, 0.18);
	color: var(--navy-600);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.14s ease;
}

.hero_2026 .hero_2026__requests:has(.design_2026_count) {
	padding-left: 10px;
}

.hero_2026 .hero_2026__requests:hover {
	background: var(--sky-50);
	color: var(--navy-600);
}

.hero_2026__user {
	position: relative;
}

.hero_2026__user_button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px 0 7px;
	border: 1px solid #ffffff;
	border-radius: var(--radius-2026);
	background: transparent;
	color: #ffffff;
	font-family: var(--font-2026);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.14s ease;
}

/* Long names end with an ellipsis, so the button stays compact. The full name is in the dropdown */
.hero_2026__user_name {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Keeps the white text and border; the theme gives every button a dark blue text and border on hover */
.hero_2026 .hero_2026__user_button:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	border-color: #ffffff;
}

.hero_2026__user_button .design_2026_photo {
	width: 28px;
	height: 28px;
	box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.hero_2026__user_button svg {
	transition: transform 0.15s ease;
}

.hero_2026__user.open .hero_2026__user_button svg {
	transform: rotate(180deg);
}

.hero_2026__user_menu {
	position: absolute;
	right: 0;
	top: calc(100% + 16px);
	z-index: 20;
	display: none;
	width: 280px;
	padding: 8px;
	border-radius: var(--radius-2026);
	background: #ffffff;
	box-shadow: 0 24px 56px rgba(15, 20, 45, 0.28), 0 4px 10px rgba(15, 20, 45, 0.12);
}

.hero_2026__user.open .hero_2026__user_menu {
	display: block;
}

.hero_2026__user_head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
	padding: 10px 12px 14px;
	border-bottom: 1px solid var(--gray-100);
}

.hero_2026__user_head strong {
	display: block;
	color: var(--navy-600);
	font-size: 16px;
}

.hero_2026__user_head span {
	display: block;
	margin-top: 2px;
	color: var(--gray-600);
	font-size: 13px;
}

.hero_2026__user_menu ul {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero_2026__user_menu li.separator {
	height: 1px;
	margin: 4px 12px;
	background: var(--gray-100);
}

.hero_2026 .hero_2026__user_menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--navy-600);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
}

.hero_2026 .hero_2026__user_menu li a:hover,
.hero_2026 .hero_2026__user_menu li a.current {
	background: var(--sky-50);
}

.hero_2026 .hero_2026__user_menu li a.current {
	font-weight: 600;
}

.hero_2026__user_menu a svg {
	flex: none;
	color: var(--sky-400);
}

.hero_2026 .hero_2026__user_menu .hero_2026__sign_out {
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--gray-100);
	border-radius: 0 0 6px 6px;
	color: var(--gray-600);
}

.hero_2026 .hero_2026__user_menu .hero_2026__sign_out:hover {
	color: var(--navy-600);
}

.hero_2026__user_menu .hero_2026__sign_out svg {
	color: var(--gray-600);
}

/* Phones: training requests as an icon button next to the menu button */
.hero_2026 .hero_2026__requests_icon {
	position: relative;
	flex: none;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius-2026);
	color: #ffffff;
}

.hero_2026__requests_icon .design_2026_count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid var(--navy-900);
	font-size: 12px;
}

.hero_2026__menu_toggle {
	flex: none;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius-2026);
	background: transparent;
	cursor: pointer;
}

.hero_2026__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 560px;
	padding: 52px 40px 96px;
}

.design_2026 .hero_2026__title {
	margin: 0 0 -4px;
	color: #ffffff;
	font-size: 46px;
	line-height: 1.15;
	font-weight: 700;
}

.hero_2026__title .title_highlight {
	color: var(--sky-300);
}

.hero_2026__text {
	max-width: 440px;
	color: var(--navy-100);
	font-size: 19px;
	line-height: 1.55;
}

.design_2026 .hero_2026__button {
	margin-top: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 20px rgba(11, 187, 239, 0.28);
}

@media (max-width: 1199px) {
	.hero_2026__nav {
		flex-wrap: wrap;
		gap: 16px 24px;
	}

	.hero_2026__menu {
		order: 3;
		width: 100%;
		margin-left: 0;
	}

	.hero_2026 .hero_2026__menu a {
		top: 0;
	}
}

/* Tablet: the photo sits below the text, so the text never covers the people in the photo */
@media (max-width: 991px) {
	.hero_2026__card {
		min-height: 0;
	}

	.hero_2026__image {
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 420px;
	}

	.hero_2026__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 62% 100%;
	}

	/* Fades in from the top of the photo itself */
	.hero_2026__shade {
		top: auto;
		height: 420px;
		background: linear-gradient(180deg, var(--navy-900) 0%, rgba(26, 34, 78, 0.86) 4%, rgba(26, 34, 78, 0.46) 27%, rgba(26, 34, 78, 0.12) 59%, rgba(26, 34, 78, 0) 100%);
	}

	/* Photo starts just below the button */
	.hero_2026__content {
		padding-bottom: 434px;
	}
}

/* Mobile: centered text, the photo below it and the button on the photo at the bottom of the card */
@media (max-width: 767px) {
	.hero_2026 {
		padding-top: 12px;
	}

	.hero_2026__card {
		min-height: 628px;
	}

	.hero_2026__image,
	.hero_2026__shade {
		top: auto;
		bottom: 56px;
		height: 332px;
	}

	.hero_2026__image img {
		top: auto;
		height: 372px;
		object-position: 33% 100%;
	}

	/* Dark above the photo so the text stays readable, and dark below it behind the button */
	.hero_2026__shade {
		background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-900) 18%, rgba(26, 34, 78, 0.8) 25%, rgba(26, 34, 78, 0.45) 31%, rgba(26, 34, 78, 0.15) 38%, rgba(26, 34, 78, 0) 45%, rgba(26, 34, 78, 0) 77.7%, rgba(26, 34, 78, 0.75) 91%, var(--navy-900) 100%);
	}

	.hero_2026__nav {
		flex-wrap: nowrap;
		gap: 12px;
		padding: 20px 20px 8px;
	}

	.hero_2026__logo img {
		height: 38px;
	}

	.hero_2026__menu {
		display: none;
	}

	.hero_2026 .hero_2026__account {
		height: 44px;
		padding: 0 14px;
		font-size: 16px;
	}

	/* On phones the account links are in the menu behind the menu button */
	.hero_2026 .hero_2026__account,
	.hero_2026__signed_in {
		display: none;
	}

	.hero_2026 .hero_2026__requests_icon {
		display: flex;
	}

	.hero_2026__menu_toggle {
		display: flex;
		margin-left: auto;
	}

	.hero_2026__requests_icon + .hero_2026__menu_toggle {
		margin-left: 0;
	}

	/* The button is positioned against the card, so the inner wrapper is not positioned; its parts are, to stay above the photo */
	.hero_2026__inner {
		position: static;
	}

	.hero_2026__nav,
	.hero_2026__title,
	.hero_2026__text {
		position: relative;
	}

	.hero_2026__content {
		align-items: stretch;
		gap: 18px;
		max-width: none;
		padding: 36px 20px 310px;
		text-align: center;
	}

	.design_2026 .hero_2026__title {
		font-size: 34px;
		line-height: 1.2;
	}

	.hero_2026__text {
		max-width: none;
		font-size: 17px;
	}

	.design_2026 .hero_2026__button {
		position: absolute;
		left: 20px;
		right: 20px;
		bottom: 20px;
		z-index: 1;
		min-width: 0;
		margin-top: 0;
	}
}

/* Small phones (375px, 360px): compact header */
@media (max-width: 389px) {
	.hero_2026__nav {
		gap: 8px;
		padding: 16px 16px 8px;
	}

	.hero_2026__logo {
		margin-right: auto;
	}

	.hero_2026 .hero_2026__requests_icon,
	.hero_2026__menu_toggle {
		width: 40px;
		height: 40px;
	}

	.hero_2026__content {
		padding-left: 16px;
		padding-right: 16px;
	}

	.design_2026 .hero_2026__title {
		font-size: 30px;
	}

	.design_2026 .hero_2026__button {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}
}
