.timeline-years {
	width: 100%;
	background: var(--color-gray-200);
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	padding: 18px 0 33px;
	margin-bottom: 40px;
}

.timeline-years-slider {
	position: relative;
	margin: 0 50px;
	width: calc(100% - 100px);
}

.timeline-years-slider:after {
	width: calc(100% - 10px);
	height: 2px;
	position: absolute;
	bottom: 15px;
	left: 10px;
	content: '';
	background: var(--color-gray-300);
}

.timeline-years-next,
.timeline-years-prev {
	position: absolute;
	bottom: -5px;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 1;
	font-size: 2.75rem;
	left: -50px;
	line-height: .8;
	display: block;
}

.timeline-years-next:hover,
.timeline-years-prev:hover {
	color: var(--color-alternate);
}

.timeline-years-next {
	left: auto;
	right: -50px;
}

.timeline-years-slide {
	color: var(--color-primary);
	font-size: 1.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: var(--font-family-heading), sans-serif;
	margin-bottom: 17px;
}

.timeline-years-slide span {
	display: inline-block;
	position: relative;
	padding-bottom: 7px;
	padding-left: 10px;
}

.timeline-years-slide span:after {
	content: '';
	display: block;
	height: 20px;
	width: 20px;
	border-radius: 50%;
	position: absolute;
	bottom: -11px;
	left: 6px;
	transition: background 0.3s ease, outline-color 0.3s ease;
	background: var(--color-primary);
	outline-offset: 5px;
	outline: 1px solid transparent;
}

.timeline-years-slide.is-active {
	color: var(--color-orange);
}

.timeline-years-slide.is-active span:after {
	background: var(--color-orange);
	outline-color: var(--color-orange);
}

.timeline-info {
	width: 100%;
	margin-bottom: 60px;
}

.timeline-info-slider,
.timeline-info-slide {
	height: auto;
}

.timeline-info h2 {
	font-size: 3.75rem;
	color: var(--color-orange);
}

.timeline-info h3 {
	font-size: 1.875rem;
}

.timeline-info h4 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-orange);
}

.timeline-info-bottom,
.timeline-info-top {
	width: 100%;
	line-height: 1.6;
}

.timeline-info-top .timeline-info-left {
	margin-bottom: 50px;
}

.timeline-info-bottom {
	display: grid;
	grid-row-gap: 50px;
	margin-top: 50px;
	padding-bottom: 4px;
}

.timeline-quote {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background-color: var(--color-primary-light);
	background-image: url('../../images/info-bg.svg');
	background-repeat: no-repeat;
	background-position: center 30px;
	background-size: 304px auto;
	color: var(--color-white);
	font-family: var(--font-family-heading), sans-serif;
	padding: 65px 35px 35px;
	border-radius: 4px;
	font-size: 1.5rem;
	line-height: 1.5;
}

.timeline-quote:before {
	display: block;
	margin-bottom: 60px;
	width: 100%;
	height: 76px;
	content: '';
	background: url('../../images/quote-icon.svg') no-repeat 15px top;
}

.timeline-quote p:first-child {
	margin-top: auto;
}

.timeline-quote p:last-child {
	margin-bottom: 0;
}

.timeline-quote img {
	display: block;
	max-width: 100%;
	height: auto;
}

.timeline-quote:has(img) {
	padding: 0;
	background-image: none;
	background-color: transparent;
	height: auto;
}

.timeline-quote:has(img):before {
	display: none;
}

.timeline-quote:has(img) p:first-child {
	margin-top: 0;
}

.timeline-info-disclaimer {
	width: 100%;
	margin: 0 0 16px;
	font-size: 0.875rem;
	font-weight: 500;
	font-style: italic;
	color: var(--color-gray-400);
	letter-spacing: 0.02em;
}

.timeline-info-bottom img {
	display: block;
	max-width: 100%;
	height: auto;
}

.timeline-lightbox {
	position: relative;
	display: inline-block;
	max-width: 100%;
	cursor: zoom-in;
}

.timeline-lightbox:has(img.alignright) {
	float: right;
	margin: 0 0 1em 1em;
}

.timeline-lightbox:has(img.alignleft) {
	float: left;
	margin: 0 1em 1em 0;
}

.timeline-lightbox img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.timeline-lightbox img.alignright,
.timeline-lightbox img.alignleft,
.timeline-lightbox img.alignnone,
.timeline-lightbox img.aligncenter {
	float: none;
	margin: 0;
}

.timeline-lightbox-icon {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: var(--color-white);
	font-size: 0.875rem;
	pointer-events: none;
	transition: background 0.3s ease;
}

.timeline-lightbox:hover .timeline-lightbox-icon,
.timeline-lightbox:focus .timeline-lightbox-icon {
	background: var(--color-orange);
}

@media screen and (min-width: 768px) {
	.timeline-years-slide {
		text-align: center;
	}

	.timeline-years-slide span {
		padding-bottom: 15px;
		padding-left: 0;
	}

	.timeline-years-slide span:after {
		left: 50%;
		margin-left: -10px;
	}

	.timeline-years-slide.first-visible span {
		text-align: left;
		padding-left: 10px;
	}

	.timeline-years-slide.first-visible span:after {
		left: 0;
		margin-left: 0;
	}

	.timeline-years-slide.last-visible span {
		text-align: right;
		padding-right: 20px;
	}

	.timeline-years-slide.last-visible span:after {
		left: auto;
		margin-left: 0;
		right: 0;
	}

	.timeline-years-slider:after {
		width: calc(100% - 100px);
		left: 55px;
	}

	.timeline-info-top .timeline-info-left p:last-child {
		margin-bottom: 0;
	}

	.timeline-info-top.is-full .timeline-info-left {
		width: 100%;
	}

	.timeline-quote {
		height: 100%;
	}

	.timeline-info-top {
		margin-bottom: 65px;
	}
}

@media screen and (min-width: 1025px) {
	.timeline-years {
		padding: 50px 0 40px;
		margin-bottom: 65px;
	}

	.timeline-years-slider:after {
		width: calc(100% - 100px);
		left: 55px;
	}

	.timeline-info-bottom,
	.timeline-info-top {
		display: flex;
		margin-top: 0;
	}

	.timeline-info {
		margin-bottom: 140px;
	}

	.timeline-info h2 {
		font-size: 4.063rem;
	}

	.timeline-info h3 {
		font-size: 2.5rem;
	}

	.timeline-quote {
		font-size: 1.875rem;
		font-weight: 500;
	}

	.timeline-quote:before {
		margin-bottom: 120px;
	}

	.timeline-info-right {
		width: 42.5%;
		display: flex;
		flex-direction: column;
		margin-left: auto;
		align-items: flex-start;
	}

	.timeline-info-left {
		width: 43%;
	}

	.timeline-info-top .timeline-info-left {
		width: 52%;
		margin-bottom: 0;
	}

	.timeline-info-top:has(.timeline-quote img) .timeline-info-right {
		align-self: flex-start;
	}

	.timeline-info-bottom:has(> :only-child) .timeline-info-left {
		width: 70%;
	}

	.timeline-info-bottom:has(> :only-child) .timeline-lightbox,
	.timeline-info-bottom:has(> :only-child) .timeline-lightbox img {
		width: 100%;
	}
}

@media screen and (min-width: 1280px) {
	.timeline-quote {
		padding: 80px 60px;
		background-position: center top;
		background-size: 450px auto;
	}
}

@media screen and (min-width: 1440px) {
	.timeline-years-slider:after {
		width: calc(100% - 95px);
		left: 50px;
	}

	.timeline-quote {
		padding: 100px 90px 80px;
		background-position: center top;
		background-size: 630px auto;
	}
}

@media screen and (min-width: 1720px) {
	.timeline-years-slider {
		width: calc(100% + 86px);
		margin: 0 -43px;
	}

	.timeline-years-prev {
		left: -60px;
	}

	.timeline-years-next {
		right: -60px;
	}
}