.eeg-journey,
.eeg-journey * {
	box-sizing: border-box;
}

.eeg-journey {
	--eeg-journey-content-max: 1400px;
	--eeg-journey-dot-size: 10px;
	--eeg-journey-line-size: 1px;
	--eeg-journey-photo-width: 31.5%;
	--eeg-journey-photo-x: 50%;
	--eeg-journey-photo-y: 50%;
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	width: 100%;
	min-height: 300px;
	overflow: hidden;
	background: #fff;
}

.eeg-journey__photo {
	position: absolute;
	z-index: 4;
	inset: 0 auto 0 0;
	width: var(--eeg-journey-photo-width);
	overflow: hidden;
	border-radius: 0 22% 22% 0 / 0 100% 100% 0;
	background: #fff;
}

.eeg-journey .eeg-journey__photo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--eeg-journey-photo-x) var(--eeg-journey-photo-y);
}

.eeg-journey__container {
	position: relative;
	z-index: 3;
	grid-row: 1;
	width: min(calc(100% - 40px), var(--eeg-journey-content-max));
	margin-inline: auto;
	padding: 25px 0 18px;
}

.eeg-journey__content {
	min-width: 0;
	margin-inline-start: calc(var(--eeg-journey-photo-width) + 3%);
}

.eeg-journey__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #7f111f;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.eeg-journey__eyebrow-dash {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 1px;
	background: currentcolor;
}

.eeg-journey .eeg-journey__title {
	margin: 9px 0 0;
	color: #09253b;
	font-family: "Roboto Slab", serif;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
}

.eeg-journey .eeg-journey__timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--eeg-journey-item-count), minmax(0, 1fr));
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.eeg-journey__timeline::before {
	position: absolute;
	z-index: 0;
	top: calc((var(--eeg-journey-dot-size) - var(--eeg-journey-line-size)) / 2);
	right: calc(var(--eeg-journey-line-end) - (var(--eeg-journey-dot-size) / 2));
	left: calc(var(--eeg-journey-dot-size) / 2);
	height: var(--eeg-journey-line-size);
	background: #09253b;
	content: "";
	opacity: .55;
}

.eeg-journey .eeg-journey__item {
	position: relative;
	z-index: 1;
	min-width: 0;
	margin: 0;
	padding: 0 22px 0 0;
}

.eeg-journey__dot {
	display: block;
	width: var(--eeg-journey-dot-size);
	height: var(--eeg-journey-dot-size);
	border-radius: 50%;
	background: #7f111f;
}

.eeg-journey__item-content {
	margin-top: 11px;
}

.eeg-journey__year {
	display: block;
	color: #7f111f;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.eeg-journey .eeg-journey__item-title {
	margin: 6px 0 0;
	color: #0c0f27;
	font-family: "Roboto Slab", serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}

.eeg-journey .eeg-journey__description {
	margin: 7px 0 0;
	color: #565656;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
}

.eeg-journey__bottom-banner {
	position: relative;
	z-index: 1;
	grid-row: 2;
	min-height: 72px;
	overflow: hidden;
	background: #09253b;
}

.eeg-journey__bottom-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: min(calc(100% - 40px), var(--eeg-journey-content-max));
	min-height: 72px;
	margin-inline: auto;
	padding: 16px 0;
}

.eeg-journey .eeg-journey__statement {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 0 0 calc(var(--eeg-journey-photo-width) + 3%);
	color: #fff;
	font-family: "Roboto Slab", serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
}

.eeg-journey__cta {
	position: relative;
	z-index: 2;
	display: inline-flex;
	order: 2;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-width: 190px;
	padding: 14px 28px;
	border-radius: 8px;
	background: #aa3d42;
	color: #fff;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: filter 200ms ease;
}

.eeg-journey__cta:hover {
	filter: brightness(.92);
	color: #fff;
}

.eeg-journey__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.eeg-journey__cta-arrow {
	width: 18px;
	height: 18px;
	transition: transform 200ms ease;
}

.eeg-journey__cta:hover .eeg-journey__cta-arrow {
	transform: translateX(4px);
}

.eeg-journey .eeg-journey__skyline {
	position: relative;
	order: 1;
	flex: 0 1 180px;
	display: block;
	width: 180px;
	max-width: 18%;
	height: auto;
	max-height: 56px;
	margin: 0;
	opacity: .38;
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.eeg-journey__container,
	.eeg-journey__bottom-content {
		width: min(calc(100% - 32px), var(--eeg-journey-content-max));
	}

	.eeg-journey__container {
		padding-top: 30px;
	}

	.eeg-journey .eeg-journey__timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 16px;
	}

	.eeg-journey__timeline::before {
		display: none;
	}

	.eeg-journey .eeg-journey__item {
		display: grid;
		grid-template-columns: var(--eeg-journey-dot-size) minmax(0, 1fr);
		column-gap: 10px;
		padding-inline-end: 12px;
	}

	.eeg-journey__item-content {
		margin-top: 0;
	}

	.eeg-journey .eeg-journey__statement {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.eeg-journey {
		display: flex;
		min-height: 0;
		flex-direction: column;
		overflow: hidden;
	}

	.eeg-journey__photo {
		position: relative;
		inset: auto;
		width: calc(100% - 40px);
		height: auto;
		aspect-ratio: 2.05 / 1;
		margin: 20px 20px 0;
		border-radius: 24px;
	}

	.eeg-journey__container {
		width: 100%;
		min-height: 0;
		padding: 34px 24px 32px;
	}

	.eeg-journey__content {
		margin-inline-start: 0;
	}

	.eeg-journey .eeg-journey__title {
		font-size: 28px;
		line-height: 1.18;
	}

	.eeg-journey .eeg-journey__timeline {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		margin-top: 28px !important;
	}

	.eeg-journey__timeline::before {
		top: calc(3px + (var(--eeg-journey-dot-size) / 2));
		right: auto;
		bottom: calc(var(--eeg-journey-dot-size) / 2);
		left: calc((var(--eeg-journey-dot-size) - var(--eeg-journey-line-size)) / 2);
		display: block;
		width: var(--eeg-journey-line-size);
		height: auto;
	}

	.eeg-journey .eeg-journey__item {
		grid-template-columns: var(--eeg-journey-dot-size) minmax(0, 1fr);
		column-gap: 22px;
		align-items: start;
		padding-inline-end: 0 !important;
	}

	.eeg-journey .eeg-journey__item-content {
		margin-top: 0 !important;
		padding-bottom: 18px;
		border-bottom: 1px solid rgba(9, 37, 59, .16);
	}

	.eeg-journey .eeg-journey__item:last-child .eeg-journey__item-content {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.eeg-journey .eeg-journey__dot {
		position: relative;
		z-index: 2;
		margin-top: 3px;
	}

	.eeg-journey .eeg-journey__item:last-child::after {
		position: absolute;
		z-index: 1;
		top: calc(3px + (var(--eeg-journey-dot-size) / 2));
		bottom: 0;
		left: calc((var(--eeg-journey-dot-size) - var(--eeg-journey-line-size)) / 2);
		width: var(--eeg-journey-line-size);
		background: #fff;
		content: "";
	}

	.eeg-journey__bottom-banner {
		min-height: 72px;
	}

	.eeg-journey__bottom-content {
		flex-direction: column;
		justify-content: center;
		gap: 20px;
		width: 100%;
		min-height: 0;
		padding: 24px;
	}

	.eeg-journey__cta {
		width: 100%;
		max-width: 500px;
		min-width: 0;
		padding: 16px 20px;
	}

	.eeg-journey .eeg-journey__statement {
		max-width: 100%;
		margin: 0 auto;
		font-size: 15px;
		line-height: 1.4;
		text-align: center;
	}

	.eeg-journey .eeg-journey__skyline {
		display: none;
	}
}
