.megan-hero {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 80vh;
	overflow: clip;

	@media (max-width: 809.98px) {
		height: auto;
	}
}

.megan-hero__inner {
	position: relative;
	display: flex;
	flex: 1 0 0;
	align-items: center;
	gap: var(--space-16);
	min-height: 1px;
	padding: 50px 80px;
	overflow: clip;
	background: linear-gradient(216deg, rgb(132 135 109 / 0) 45%, var(--color-sage-light) 86.2069%);

	@media (min-width: 810px) and (max-width: 1199.98px) {
		padding: 40px;
	}

	@media (max-width: 809.98px) {
		flex: none;
		flex-direction: column;
		padding: 183px 80px 25px 25px;
	}
}

.megan-hero__content {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: var(--space-24);
	min-width: 1px;
	height: 100%;
	overflow: clip;

	@media (min-width: 810px) and (max-width: 1199.98px) {
		gap: 11px;
		padding-right: 300px;
	}

	@media (max-width: 809.98px) {
		flex: none;
		gap: 17px;
		width: 100%;
		height: auto;
	}
}

.megan-hero__badge {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 17px;
	font-family: var(--font-questrial);
	font-size: 11px;
	letter-spacing: 1.76px;
	color: var(--color-mist);
	text-transform: uppercase;
	white-space: nowrap;
	background: var(--color-ink-50);
	border-radius: var(--radius-pill);
	box-shadow: inset 0 0 0 1px rgb(221 228 215 / 0.28);

	& svg {
		flex: none;
		fill: var(--color-sage);
	}

	@media (max-width: 809.98px) {
		font-size: 10px;
	}
}

.megan-hero__heading {
	width: 100%;
	max-width: 600px;
	font-family: var(--font-questrial);
	font-size: var(--fs-56);
	font-weight: var(--fw-regular);
	line-height: var(--lh-120);
	letter-spacing: var(--ls-wide);
	color: var(--color-olive);

	@media (max-width: 809.98px) {
		font-size: var(--fs-40);
	}
}

.megan-hero__text {
	width: 100%;
	max-width: 800px;
	font-size: var(--fs-16);
	line-height: var(--lh-160);
	color: var(--color-olive);

	/* Mobile switches to the small text preset. */
	@media (max-width: 809.98px) {
		font-size: var(--fs-14);
		line-height: var(--lh-140);
	}
}

.megan-hero__actions {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: var(--space-24);
	padding-top: 26px;
	overflow: clip;

	@media (min-width: 810px) and (max-width: 1199.98px) {
		justify-content: flex-start;
		width: 100%;
	}

	@media (max-width: 809.98px) {
		flex-direction: column;
		align-items: flex-start;
		gap: 17px;
		padding-top: 7px;
	}
}

.megan-hero__side {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	min-width: 1px;
	height: 100%;

	@media (max-width: 1199.98px) {
		display: none;
	}
}

.megan-hero__logo {
	width: 254px;
	height: 84px;
}

.megan-hero__logo--tablet {
	display: none;

	@media (min-width: 810px) and (max-width: 1199.98px) {
		display: block;
		width: 263px;
		height: 87px;
	}
}

.megan-hero__logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
