/* Custom Elementor Timeline
 * Every visual value is a CSS variable so Elementor controls override it
 * without fighting specificity. Layout values that depend on the active
 * breakpoint have matching fallbacks in the media queries at the bottom.
 */

.etl {
	--etl-accent: #d6001c;
	--etl-line: #111111;
	--etl-line-w: 2px;
	--etl-line-style: solid;

	--etl-year-color: #111111;
	--etl-year-color-active: var(--etl-year-color);
	--etl-caption-color: #111111;
	--etl-caption-w: 200px;
	--etl-item-min: 120px;
	--etl-label-gap: 34px;
	--etl-bar-gap: 56px;

	--etl-marker-size: 18px;
	--etl-marker-border-w: 3px;
	--etl-marker-bg: #fffbe8;
	--etl-marker-border: var(--etl-accent);
	--etl-marker-bg-hover: var(--etl-marker-bg);
	--etl-marker-border-hover: var(--etl-accent);
	--etl-marker-bg-active: var(--etl-accent);
	--etl-marker-border-active: var(--etl-accent);

	--etl-pill-bg: #fce2d8;
	--etl-pill-border: var(--etl-accent);
	--etl-pill-border-w: 2px;
	--etl-pill-h: 58px;
	--etl-pill-pad: 32px;
	--etl-pill-radius: 999px;

	--etl-gap: 45px;
	--etl-duration: 450ms;
	--etl-spv: 3;
	--etl-start: 0;
	--etl-arrow-x: 24px;
	--etl-arrow-out: 1;

	--etl-arrow-box: 76px;
	--etl-arrow-icon: 26px;
	--etl-arrow-border-w: 2px;
	--etl-arrow-color: #111111;
	--etl-arrow-bg: transparent;
	--etl-arrow-border: #111111;
	--etl-arrow-color-hover: #ffffff;
	--etl-arrow-bg-hover: #111111;
	--etl-arrow-border-hover: #111111;
	--etl-arrow-color-disabled: #8a8a8a;
	--etl-arrow-bg-disabled: transparent;
	--etl-arrow-border-disabled: #b9b9b9;

	--etl-dot-size: 14px;
	--etl-dot-gap: 14px;
	--etl-dot-top: 40px;
	--etl-dot: #b9b9b9;
	--etl-dot-active: #111111;

	--etl-v-line-x: 11px;
	--etl-v-indent: 44px;
	--etl-v-spacing: 40px;
	--etl-v-head-gap: 16px;
	--etl-v-year-color: #111111;
	--etl-v-year-color-reached: var(--etl-accent);
	--etl-v-progress: var(--etl-accent);

	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.etl *,
.etl *::before,
.etl *::after {
	box-sizing: border-box;
}

.etl > .etl__nav { order: 1; margin-bottom: var(--etl-bar-gap); }
.etl > .etl__stage { order: 2; }
.etl > .etl__dots { order: 3; }
.etl.etl--bar-bottom > .etl__nav { order: 4; margin-bottom: 0; margin-top: var(--etl-bar-gap); }

/* ======================================================================
 * Year bar
 * ==================================================================== */

.etl__years {
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.etl__years::-webkit-scrollbar { display: none; }

.etl .etl__track {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: max-content;
	min-width: 100%;
	margin: 0;
	padding: 0;
}
/* Room below the line so the highlight pill is never clipped by the scroller. */
.etl .etl__years {
	padding-bottom: max(0px, calc(var(--etl-pill-h) / 2 - var(--etl-marker-size) / 2 + var(--etl-pill-border-w)));
}
.etl.etl--no-pill .etl__years { padding-bottom: 0; }

.etl__line {
	position: absolute;
	left: 0;
	right: 0;
	top: var(--etl-line-y, 70%);
	height: 0;
	border-top: var(--etl-line-w) var(--etl-line-style) var(--etl-line);
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 1;
}

.etl__pill {
	position: absolute;
	z-index: 0;
	top: calc(var(--etl-line-y, 70%) - var(--etl-pill-h) / 2);
	left: calc(var(--etl-pill-x, 0px) - var(--etl-pill-pad));
	width: calc(var(--etl-pill-w, 0px) + var(--etl-pill-pad) * 2);
	height: var(--etl-pill-h);
	border: var(--etl-pill-border-w) solid var(--etl-pill-border);
	border-radius: var(--etl-pill-radius);
	background: var(--etl-pill-bg);
	opacity: 0;
	pointer-events: none;
}
.etl.etl--ready .etl__pill {
	opacity: 1;
	transition: left var(--etl-duration) cubic-bezier(.4, 0, .2, 1), width var(--etl-duration) cubic-bezier(.4, 0, .2, 1);
}
.etl.etl--no-pill .etl__pill { display: none; }

.etl .etl__year {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 0 var(--etl-item-min);
	min-width: var(--etl-item-min);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--etl-year-color);
	font: inherit;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.etl .etl__year:hover,
.etl .etl__year:focus,
.etl .etl__year:active {
	background: transparent;
	box-shadow: none;
	color: var(--etl-year-color);
	outline: none;
}
.etl .etl__year:focus-visible {
	outline: 2px solid var(--etl-accent);
	outline-offset: 4px;
	border-radius: 6px;
}

.etl__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	margin-bottom: var(--etl-label-gap);
	white-space: normal;
}
.etl .etl__year-text {
	color: var(--etl-year-color);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	transition: color var(--etl-duration) ease;
}
.etl .etl__year.is-visible .etl__year-text { color: var(--etl-year-color-active); }
.etl .etl__caption {
	display: block;
	max-width: var(--etl-caption-w);
	white-space: normal;
	overflow-wrap: break-word;
	color: var(--etl-caption-color);
	font-size: 1.125rem;
	line-height: 1.3;
}

/* Markers */
.etl__marker-slot,
.etl__v-marker-slot {
	display: grid;
	place-items: center;
	width: var(--etl-marker-size);
	height: var(--etl-marker-size);
}
.etl__marker {
	display: block;
	width: 100%;
	height: 100%;
	border: var(--etl-marker-border-w) solid var(--etl-marker-border);
	border-radius: 50%;
	background: var(--etl-marker-bg);
	transition: background-color var(--etl-duration) ease, border-color var(--etl-duration) ease;
}
.etl.etl--marker-square .etl__marker { border-radius: 3px; }
.etl.etl--marker-diamond .etl__marker { border-radius: 3px; transform: rotate(45deg) scale(.78); }

.etl .etl__year:hover .etl__marker {
	background: var(--etl-marker-bg-hover);
	border-color: var(--etl-marker-border-hover);
}
.etl .etl__year.is-visible .etl__marker {
	background: var(--etl-marker-bg-active);
	border-color: var(--etl-marker-border-active);
}

/* ======================================================================
 * Carousel
 * ==================================================================== */

.etl__stage {
	position: relative;
	min-width: 0;
}
.etl__viewport {
	overflow: hidden;
	min-width: 0;
	touch-action: pan-y pinch-zoom;
}
.etl__slides {
	display: flex;
	width: 100%;
	gap: var(--etl-gap);
	transform: translateX(calc(
		var(--etl-start) * -1 * ((100% - var(--etl-gap) * (var(--etl-spv) - 1)) / var(--etl-spv) + var(--etl-gap))
		+ var(--etl-drag, 0px)
	));
	transition: transform var(--etl-duration) cubic-bezier(.3, .7, .2, 1);
}
.etl.etl--dragging .etl__slides { transition: none; }
.etl.etl--instant .etl__slides { transition: none; }

.etl__slide {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100% - var(--etl-gap) * (var(--etl-spv) - 1)) / var(--etl-spv));
	min-width: 0;
}
.etl__card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}
.etl .etl__v-head { display: none; }

.etl.etl--equal .etl__card > .elementor,
.etl.etl--equal .etl__card > .elementor > .e-con,
.etl.etl--equal .etl__card > .elementor > .elementor-section-wrap,
.etl.etl--equal .etl__card > .elementor > .elementor-section-wrap > .elementor-section {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

/* Arrows */
.etl .etl__arrow {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: var(--etl-arrow-top, 50%);
	z-index: 2;
	display: grid;
	place-items: center;
	width: var(--etl-arrow-box);
	height: var(--etl-arrow-box);
	margin: 0;
	padding: 0;
	border: var(--etl-arrow-border-w) solid var(--etl-arrow-border);
	border-radius: 50%;
	background: var(--etl-arrow-bg);
	color: var(--etl-arrow-color);
	font-size: var(--etl-arrow-icon);
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.etl .etl__arrow--prev { left: calc(var(--etl-arrow-out) * -1 * (var(--etl-arrow-box) + var(--etl-arrow-x))); }
.etl .etl__arrow--next { right: calc(var(--etl-arrow-out) * -1 * (var(--etl-arrow-box) + var(--etl-arrow-x))); }
.etl .etl__arrow svg { width: 1em; height: 1em; fill: currentColor; }
.etl .etl__arrow svg path[fill="none"] { fill: none; }
.etl .etl__arrow i { font-size: 1em; line-height: 1; }
.etl .etl__arrow:hover:not(:disabled),
.etl .etl__arrow:focus-visible:not(:disabled) {
	background: var(--etl-arrow-bg-hover);
	border-color: var(--etl-arrow-border-hover);
	color: var(--etl-arrow-color-hover);
}
.etl .etl__arrow:focus { outline: none; }
.etl .etl__arrow:focus-visible {
	outline: 2px solid var(--etl-accent);
	outline-offset: 3px;
}
.etl .etl__arrow:disabled {
	background: var(--etl-arrow-bg-disabled);
	border-color: var(--etl-arrow-border-disabled);
	color: var(--etl-arrow-color-disabled);
	cursor: default;
}

/* Dots */
.etl__dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--etl-dot-gap);
	margin-top: var(--etl-dot-top);
}
.etl__dots:empty,
.etl.etl--no-dots .etl__dots { display: none; }
.etl .etl__dot {
	appearance: none;
	-webkit-appearance: none;
	width: var(--etl-dot-size);
	height: var(--etl-dot-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--etl-dot);
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease;
}
.etl .etl__dot:hover,
.etl .etl__dot:focus { background: var(--etl-dot); }
.etl .etl__dot.is-active,
.etl .etl__dot.is-active:hover { background: var(--etl-dot-active); }
.etl .etl__dot:focus { outline: none; }
.etl .etl__dot:focus-visible {
	outline: 2px solid var(--etl-accent);
	outline-offset: 3px;
}

/* ======================================================================
 * Vertical layout
 * ==================================================================== */

.etl.etl--vertical > .etl__nav,
.etl.etl--vertical > .etl__dots,
.etl.etl--vertical .etl__arrow { display: none; }

.etl.etl--vertical .etl__stage {
	padding: 0 0 0 var(--etl-v-indent);
}
.etl.etl--vertical .etl__viewport { overflow: visible; }
.etl.etl--vertical .etl__slides {
	display: block;
	width: auto;
	transform: none;
	transition: none;
}
.etl.etl--vertical .etl__slide {
	position: relative;
	display: block;
	width: auto;
}
.etl.etl--vertical .etl__slide + .etl__slide { margin-top: var(--etl-v-spacing); }
.etl.etl--vertical .etl__card { display: block; }

.etl.etl--vertical .etl__v-head {
	display: block;
	margin: 0 0 var(--etl-v-head-gap);
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}
.etl .etl__v-year {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
}
.etl .etl__v-year-text {
	color: var(--etl-v-year-color);
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	transition: color var(--etl-duration) ease;
}
.etl.etl--vertical .etl__slide.is-reached .etl__v-year-text { color: var(--etl-v-year-color-reached); }

.etl.etl--vertical .etl__v-marker-slot {
	position: absolute;
	top: 50%;
	left: calc(var(--etl-v-line-x) - var(--etl-v-indent));
	transform: translate(-50%, -50%);
}
.etl.etl--vertical .etl__slide.is-reached .etl__marker {
	background: var(--etl-v-progress);
	border-color: var(--etl-v-progress);
}

/* Line segment from each marker down to the next */
.etl.etl--vertical .etl__slide::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: var(--etl-v-mid, 12px);
	left: calc(var(--etl-v-line-x) - var(--etl-v-indent) - var(--etl-line-w) / 2);
	width: var(--etl-line-w);
	height: var(--etl-v-seg, 0px);
	background: var(--etl-line);
	pointer-events: none;
	transition: background-color var(--etl-duration) ease;
}
.etl.etl--vertical .etl__slide:last-child::before { display: none; }
.etl.etl--vertical .etl__slide.is-filled::before { background: var(--etl-v-progress); }
.etl.etl--vertical .etl__v-marker-slot { z-index: 1; }

/* Line on the right */
.etl.etl--vertical.etl--vline-right .etl__stage { padding: 0 var(--etl-v-indent) 0 0; }
.etl.etl--vertical.etl--vline-right .etl__slide::before {
	left: auto;
	right: calc(var(--etl-v-line-x) - var(--etl-v-indent) - var(--etl-line-w) / 2);
}
.etl.etl--vertical.etl--vline-right .etl__v-marker-slot {
	left: auto;
	right: calc(var(--etl-v-line-x) - var(--etl-v-indent));
	transform: translate(50%, -50%);
}
.etl.etl--vertical.etl--vline-right .etl__v-year {
	flex-direction: row-reverse;
	justify-content: flex-end;
	text-align: right;
}

/* Editor helper */
.etl-editor-note {
	padding: 16px 20px;
	border: 1px dashed #a4afb7;
	border-radius: 4px;
	background: #f6f7f8;
	color: #556068;
	font: 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: center;
}

/* Fallbacks matching Elementor's default breakpoints. Elementor's own
 * generated CSS (from the widget controls) takes over once present. */
@media (max-width: 1024px) {
	.etl {
		--etl-arrow-out: 0;
		--etl-arrow-top: calc(100% + var(--etl-dot-top) + var(--etl-dot-size) / 2);
		--etl-gap: 24px;
		--etl-arrow-box: 56px;
		--etl-arrow-icon: 20px;
		--etl-arrow-bg: #ffffff;
	}
	.etl .etl__year-text { font-size: 2rem; }
}
@media (max-width: 767px) {
	.etl {
		--etl-gap: 16px;
		--etl-arrow-box: 48px;
		--etl-arrow-icon: 18px;
		--etl-item-min: 104px;
		--etl-bar-gap: 36px;
		--etl-dot-top: 28px;
	}
	.etl .etl__year-text { font-size: 1.75rem; }
	.etl .etl__caption { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.etl .etl__slides,
	.etl .etl__pill,
	.etl .etl__marker,
	.etl .etl__year-text {
		transition: none !important;
	}
}
