.mga-site-main > .wp-block-post-content > .mga-page-hero.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.mga-page-hero {
	aspect-ratio: 2560 / 420;
	border-bottom: 1px solid var(--mga-line, #e5e7eb);
	margin-bottom: 0 !important;
	max-height: none;
	min-height: 0;
	overflow: hidden;
}

.mga-page-hero .wp-block-cover__background {
	background: linear-gradient(
		90deg,
		rgba(15, 23, 42, 0.92) 0%,
		rgba(15, 23, 42, 0.78) 38%,
		rgba(15, 23, 42, 0.34) 62%,
		rgba(15, 23, 42, 0.08) 100%
	) !important;
	opacity: 1 !important;
}

.mga-page-hero .wp-block-cover__image-background {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.mga-page-hero .wp-block-cover__inner-container {
	align-items: center;
	display: flex;
	inset: 0;
	margin: 0 auto;
	max-width: 1536px;
	min-height: 0;
	padding: clamp(20px, 4vw, 36px) 24px;
	position: absolute;
	width: 100%;
}

.mga-page-hero__content {
	max-width: 620px;
	width: 100%;
}

.mga-page-hero__title {
	color: #fff;
	font-size: clamp(1.375rem, 2.8vw, 1.875rem);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 8px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.mga-page-hero__lead {
	color: #fff;
	font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
	font-weight: 400;
	letter-spacing: -0.011em;
	line-height: 1.6;
	margin: 0 0 14px;
	max-width: 52ch;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
}

.mga-page-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mga-page-hero__badge {
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	margin: 0;
	padding: 5px 11px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.mga-page-home.mga-section-1 {
	padding-top: 20px;
}

@media (max-width: 1024px) {
	.mga-page-hero {
		aspect-ratio: unset;
		min-height: clamp(168px, 20vw, 220px) !important;
	}

	.mga-page-hero .wp-block-cover__image-background {
		object-position: 72% center;
	}

	.mga-page-hero .wp-block-cover__background {
		background: linear-gradient(
			90deg,
			rgba(15, 23, 42, 0.9) 0%,
			rgba(15, 23, 42, 0.72) 42%,
			rgba(15, 23, 42, 0.28) 72%,
			rgba(15, 23, 42, 0.06) 100%
		) !important;
	}

	.mga-page-hero .wp-block-cover__inner-container {
		align-items: center;
		inset: 0;
		padding: 16px 20px;
		position: absolute;
	}
}

@media (max-width: 768px) {
	.mga-page-hero {
		min-height: clamp(152px, 42vw, 196px) !important;
	}

	.mga-page-hero .wp-block-cover__image-background {
		object-position: 82% center;
	}

	.mga-page-hero .wp-block-cover__background {
		background: linear-gradient(
			90deg,
			rgba(15, 23, 42, 0.9) 0%,
			rgba(15, 23, 42, 0.84) 30%,
			rgba(15, 23, 42, 0.68) 48%,
			rgba(15, 23, 42, 0.4) 66%,
			rgba(15, 23, 42, 0.14) 100%
		) !important;
	}

	.mga-page-hero .wp-block-cover__inner-container {
		align-items: flex-start;
		justify-content: center;
		padding: 14px 16px;
	}

	.mga-page-hero__content {
		max-width: 72%;
	}

	.mga-page-hero__title {
		font-size: 1.25rem;
		line-height: 1.15;
		margin-bottom: 6px;
		text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.5);
	}

	.mga-page-hero__lead {
		display: -webkit-box;
		font-size: 0.8125rem;
		line-height: 1.45;
		margin-bottom: 8px;
		max-width: none;
		text-shadow: 0 1px 10px rgba(0, 0, 0, 0.62), 0 1px 2px rgba(0, 0, 0, 0.45);
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.mga-page-hero__badges {
		gap: 5px;
	}

	.mga-page-hero__badge {
		background: rgba(15, 23, 42, 0.62);
		font-size: 0.5625rem;
		padding: 3px 8px;
	}
}

@media (max-width: 480px) {
	.mga-page-hero {
		min-height: clamp(148px, 44vw, 188px) !important;
	}

	.mga-page-hero .wp-block-cover__image-background {
		object-position: 86% center;
	}

	.mga-page-hero .wp-block-cover__background {
		background: linear-gradient(
			90deg,
			rgba(15, 23, 42, 0.92) 0%,
			rgba(15, 23, 42, 0.86) 32%,
			rgba(15, 23, 42, 0.72) 50%,
			rgba(15, 23, 42, 0.44) 68%,
			rgba(15, 23, 42, 0.16) 100%
		) !important;
	}

	.mga-page-hero__content {
		max-width: 76%;
	}

	.mga-page-hero__title {
		font-size: 1.125rem;
	}

	.mga-page-hero__lead {
		font-size: 0.75rem;
		-webkit-line-clamp: 3;
	}
}
