/* One row per date: date left, title and content right */
.wp-block-ecoloc-timeline {
	display: flex;
	flex-direction: column;
	margin-block: var(--wp--preset--spacing--20) 0;
	border-bottom: var(--wp--custom--line);
}

.wp-block-ecoloc-timeline-item {
	display: grid;
	grid-template-columns: minmax(7rem, 1fr) 3fr;
	column-gap: var(--wp--preset--spacing--20);
	align-items: baseline;
	margin: 0;
	padding-block: var(--wp--preset--spacing--20);
	border-top: var(--wp--custom--line);
}

.wp-block-ecoloc-timeline .ecoloc-timeline__date {
	grid-row: 1 / span 2;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-ecoloc-timeline .ecoloc-timeline__title {
	grid-column: 2;
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-ecoloc-timeline .ecoloc-timeline__content {
	grid-column: 2;
	margin: 0;
}

.ecoloc-timeline__content > * {
	margin-block: var(--wp--preset--spacing--10) 0;
}

/* Steps keep their number on small screens too, above the date */
.is-horizontal {
	counter-reset: step;
}

.is-horizontal .wp-block-ecoloc-timeline-item {
	counter-increment: step;
}

.is-horizontal .ecoloc-timeline__date::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-block-end: 0.25rem;
	color: var(--wp--preset--color--black);
	font-weight: 600;
}

/* Horizontal = steps: number above the line, a square marker on it, then date and title.
   The line runs unbroken from step to step and ends in an arrow. */
@media (min-width: 782px) {
	.wp-block-ecoloc-timeline.is-horizontal,
	.is-horizontal > .block-editor-inner-blocks > .block-editor-block-list__layout {
		flex-direction: row;
		display: flex;
		gap: 0;
		border-bottom: 0;
		margin-block-start: var(--wp--preset--spacing--40);
		counter-reset: step;
	}

	.is-horizontal .wp-block-ecoloc-timeline-item {
		position: relative;
		flex: 1 1 0;
		display: block;
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0 0;
		counter-increment: step;
	}

	.is-horizontal .wp-block-ecoloc-timeline-item::before {
		content: "";
		position: absolute;
		top: calc(-0.5 * var(--wp--custom--line-width) - 7px);
		left: 0;
		width: 14px;
		height: 14px;
		background: var(--wp--preset--color--black);
	}

	.is-horizontal .ecoloc-timeline__date::before {
		display: none;
	}

	.is-horizontal .wp-block-ecoloc-timeline-item::after {
		content: counter(step, decimal-leading-zero);
		position: absolute;
		top: -2.1rem;
		left: 0;
		font-size: var(--wp--preset--font-size--small);
		font-weight: 600;
		line-height: 1;
	}

	/* The last step carries the arrow, so the line reads as a direction */
	.is-horizontal .wp-block-ecoloc-timeline-item:last-child {
		border-top-style: solid;
	}

	.is-horizontal .ecoloc-timeline__date {
		color: var(--wp--preset--color--black);
	}

	.is-horizontal .ecoloc-timeline__title {
		margin-block-start: var(--wp--preset--spacing--10);
		font-size: var(--wp--preset--font-size--large);
		line-height: 1.15;
	}
}

/* No line between the page title and a timeline */
.is-style-section:has(> .wp-block-ecoloc-timeline.is-track:first-child)::before {
	display: none;
}

/* Draw progress of the line pieces (0 to 100%), animated while scrolling */
@property --v { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --v1 { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --v2 { syntax: "<percentage>"; inherits: false; initial-value: 100%; }

/* Track: a vertical line on three tracks. A strategy change moves the line sideways.
   Each item and switch draws its own piece of the line, so the pieces join without a script.
   The card stands on the side of the line that has room (set by the editor). */
.wp-block-ecoloc-timeline.is-track {
	--track-left: 25%;
	--track-center: 50%;
	--track-right: 75%;
	--ink: var(--wp--preset--color--black);
	--track-ghost: color-mix(in srgb, var(--wp--preset--color--black) 12%, transparent);
	--track-ink: color-mix(in srgb, var(--wp--preset--color--black) 45%, var(--wp--preset--color--white));
	--lw: 1.5px;
	margin-block-start: var(--wp--preset--spacing--40);
	border-bottom: 0;
}

.is-track .wp-block-ecoloc-timeline-item,
.is-track .wp-block-ecoloc-timeline-shift {
	position: relative;
	display: block;
	margin: 0;
	border-top: 0;
}

.is-track .wp-block-ecoloc-timeline-item {
	--x: var(--track-center);
	--gap: 3.25rem;
	--mh: 6px; /* half the marker */
	--my: var(--wp--preset--spacing--30); /* height of the line to the card and of the marker centre */
	padding: calc(var(--wp--preset--spacing--30) + 1rem) 0 var(--wp--preset--spacing--30) calc(var(--x) + var(--gap));
	--g1: calc(var(--my) - var(--mh)); /* the line stops at the edge of the marker ... */
	--g2: calc(var(--my) + var(--mh)); /* ... and goes on below it */
	background:
		linear-gradient(to bottom, var(--track-ink) 0, var(--track-ink) min(var(--v), var(--g1)), transparent min(var(--v), var(--g1)), transparent var(--g2), var(--track-ink) var(--g2), var(--track-ink) max(var(--g2), var(--v)), transparent max(var(--g2), var(--v))) var(--x) 0 / var(--lw) 100% no-repeat,
		linear-gradient(to bottom, var(--track-ghost) 0, var(--track-ghost) var(--g1), transparent var(--g1), transparent var(--g2), var(--track-ghost) var(--g2)) var(--x) 0 / var(--lw) 100% no-repeat;
}

.is-track .wp-block-ecoloc-timeline-item.is-track-left { --x: var(--track-left); }
.is-track .wp-block-ecoloc-timeline-item.is-track-right { --x: var(--track-right); }

.is-track .wp-block-ecoloc-timeline-item::before,
.is-track .wp-block-ecoloc-timeline-shift::before,
.is-track .wp-block-ecoloc-timeline-shift::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	background: var(--ink);
}

.is-track .wp-block-ecoloc-timeline-item::before {
	top: calc(var(--my) - 6px);
	left: var(--x);
}

/* Stub: a light line from the marker to the card, so it is clear which text belongs to which point */
.is-track .wp-block-ecoloc-timeline-item::after {
	content: "";
	position: absolute;
	top: calc(var(--my) - var(--lw) / 2);
	left: calc(var(--x) + var(--mh));
	width: calc(var(--gap) - var(--mh) + min(30rem, 100% - var(--x) - var(--gap)));
	height: var(--lw);
	background: var(--track-ink);
}

.is-track .wp-block-ecoloc-timeline-item.is-side-left::after {
	left: auto;
	right: calc(100% - var(--x) + var(--mh));
	width: calc(var(--gap) - var(--mh) + min(30rem, var(--x) - var(--gap)));
}

.is-track.has-dots .wp-block-ecoloc-timeline-item.has-image {
	--mh: 1.75rem;
}

/* Card: phase as a labelled rule, large date, title, text, image */
.is-track .ecoloc-timeline__phase {
	margin: 0 0 var(--wp--preset--spacing--10);
	color: var(--wp--preset--color--gray-dark, #555);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.is-track .ecoloc-timeline__phase:empty,
.is-track .ecoloc-timeline__date:empty {
	display: none;
}

.is-track .ecoloc-timeline__date {
	margin: 0 0 0.35rem;
	font-size: clamp(1.75rem, 2.6vw, 2.5rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.02em;
}

.is-track .ecoloc-timeline__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.15;
}

.is-track .ecoloc-timeline__content .wp-block-image {
	max-width: 100%;
	margin-block: var(--wp--preset--spacing--20) 0;
}

.is-track .ecoloc-timeline__content .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	filter: grayscale(1);
	transition: filter 0.3s;
}

.is-track .wp-block-ecoloc-timeline-item:hover .wp-block-image img {
	filter: none;
}

/* Strategy change: leaves the old track at half height, runs sideways, continues on the new track.
   The label sits on the line like a station sign. */
.is-track .wp-block-ecoloc-timeline-shift {
	--from: var(--track-center);
	--to: var(--track-left);
	--sy: 50%; /* height of the sideways line: in the middle of the strategy change */
	--mh: 6px; /* half a marker: the lines end at its edge */
	display: flex;
	align-items: center;
	min-height: 4.5rem;
	padding: 1rem 0;
	background:
		linear-gradient(to bottom, var(--track-ink) 0, var(--track-ink) min(var(--v1), calc(100% - var(--mh))), transparent min(var(--v1), calc(100% - var(--mh)))) var(--from) 0 / var(--lw) var(--sy) no-repeat,
		linear-gradient(to bottom, transparent 0, transparent var(--mh), var(--track-ink) var(--mh), var(--track-ink) max(var(--mh), var(--v2)), transparent max(var(--mh), var(--v2))) var(--to) 100% / var(--lw) calc(100% - var(--sy)) no-repeat,
		linear-gradient(to bottom, var(--track-ghost) calc(100% - var(--mh)), transparent calc(100% - var(--mh))) var(--from) 0 / var(--lw) var(--sy) no-repeat,
		linear-gradient(to bottom, transparent var(--mh), var(--track-ghost) var(--mh)) var(--to) 100% / var(--lw) calc(100% - var(--sy)) no-repeat;
}

.is-track .wp-block-ecoloc-timeline-shift.is-from-left { --from: var(--track-left); }
.is-track .wp-block-ecoloc-timeline-shift.is-from-right { --from: var(--track-right); }
.is-track .wp-block-ecoloc-timeline-shift.is-to-center { --to: var(--track-center); }
.is-track .wp-block-ecoloc-timeline-shift.is-to-right { --to: var(--track-right); }

.is-track .wp-block-ecoloc-timeline-shift::before,
.is-track .wp-block-ecoloc-timeline-shift::after {
	top: calc(var(--sy) - 6px);
}

.is-track .wp-block-ecoloc-timeline-shift::before { left: var(--from); }
.is-track .wp-block-ecoloc-timeline-shift::after { left: var(--to); }

.is-track .ecoloc-timeline__shift-line {
	position: absolute;
	top: calc(var(--sy) - var(--lw) / 2);
	left: calc(min(var(--from), var(--to)) + var(--mh));
	width: max(0px, calc(max(var(--from), var(--to)) - min(var(--from), var(--to)) - 2 * var(--mh)));
	height: var(--lw);
	background: var(--track-ghost);
}

.is-track .ecoloc-timeline__shift-line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--track-ink);
}

.is-track .ecoloc-timeline__shift-label {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: max-content;
	max-width: min(18rem, max(calc(max(var(--from), var(--to)) - min(var(--from), var(--to)) - 2.5rem), 9rem));
	margin: 0 0 0 calc((var(--from) + var(--to)) / 2);
	transform: translateX(-50%);
	text-align: center;
	padding: 0.5rem 0.8rem;
	background: var(--ink);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.35;
}

/* An empty label is not shown (the editor still shows its placeholder) */
body:not(.editor-styles-wrapper) .is-track .ecoloc-timeline__shift-label:empty {
	display: none;
}

/* Wide screens: cards left or right of the line, at most 30rem wide, next to the line */
@media (min-width: 782px) {
	.is-track .wp-block-ecoloc-timeline-item {
		padding-right: max(0px, calc(100% - var(--x) - var(--gap) - 30rem));
	}

	.is-track .wp-block-ecoloc-timeline-item.is-side-left {
		padding-right: calc(100% - var(--x) + var(--gap));
		padding-left: max(0px, calc(var(--x) - var(--gap) - 30rem));
	}

}

/* Small screens: one track, the switch stays as a labelled marker */
@media (max-width: 781px) {
	.wp-block-ecoloc-timeline.is-track {
		--track-left: 1.5rem;
		--track-center: 1.5rem;
		--track-right: 1.5rem;
	}

	.is-track .wp-block-ecoloc-timeline-item {
		padding-right: 0;
	}

	/* One track, the card is always right of the line: the line to the card runs to the right, whatever the side */
	body .is-track .wp-block-ecoloc-timeline-item.is-side-left::after {
		right: auto;
		left: calc(var(--x) + var(--mh));
		width: calc(var(--gap) - var(--mh) + min(30rem, 100% - var(--x) - var(--gap)));
		transform-origin: left center;
	}

	.is-track .ecoloc-timeline__shift-label {
		max-width: calc(100% - var(--from) - 1.75rem);
		margin-left: calc(var(--from) + 1.25rem);
		transform: none;
		text-align: left;
	}


	.is-track .ecoloc-timeline__content .wp-block-image {
		max-width: 24rem;
	}
}

/* Scroll reveal (front end only, where the browser supports it, not with reduced motion).
   A reference line sits at 60% of the window height. Each item draws its piece of the line while it passes that line,
   so the line flows from point to point. Marker and card of an item appear together, at the start of its piece. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item,
		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift {
			view-timeline: --step block 0px 40%;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item {
			animation: ecoloc-line-draw linear both;
			animation-timeline: --step;
			animation-range: entry 0% entry 100%;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item::before {
			animation: ecoloc-dot linear both;
			animation-timeline: --step;
			animation-range: entry var(--my) entry calc(var(--my) + 1rem);
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item::after {
			transform-origin: left center;
			animation: ecoloc-stub linear both;
			animation-timeline: --step;
			animation-range: entry var(--my) entry calc(var(--my) + 3rem);
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item.is-side-left::after {
			transform-origin: right center;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item > * {
			animation: ecoloc-rise linear both;
			animation-timeline: --step;
			animation-range: entry var(--my) entry calc(var(--my) + 3rem);
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-item > .wp-block-image {
			animation-name: ecoloc-dot;
			animation-range: entry var(--my) entry calc(var(--my) + 1rem);
		}

		/* Strategy change: old track down, sideways, new track down, then the sign */
		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift {
			animation: ecoloc-shift-draw linear both;
			animation-timeline: --step;
			animation-range: entry 0% entry 100%;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift::before {
			animation: ecoloc-dot-early linear both;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift::after {
			animation: ecoloc-dot-late linear both;
		}

		body:not(.editor-styles-wrapper) .is-track .ecoloc-timeline__shift-line::after {
			transform-origin: left center;
			animation: ecoloc-shift-run linear both;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift.is-from-right .ecoloc-timeline__shift-line::after,
		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift.is-from-center.is-to-left .ecoloc-timeline__shift-line::after {
			transform-origin: right center;
		}

		body:not(.editor-styles-wrapper) .is-track .ecoloc-timeline__shift-label {
			animation: ecoloc-label linear both;
		}

		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift::before,
		body:not(.editor-styles-wrapper) .is-track .wp-block-ecoloc-timeline-shift::after,
		body:not(.editor-styles-wrapper) .is-track .ecoloc-timeline__shift-line::after,
		body:not(.editor-styles-wrapper) .is-track .ecoloc-timeline__shift-label {
			animation-timeline: --step;
			animation-range: entry 0% entry 100%;
		}
	}
}

/* What is still to come stays visible, only faint: a ghost of the line, the marker and the card */
@keyframes ecoloc-line-draw {
	from { --v: 0%; }
	to { --v: 100%; }
}

@keyframes ecoloc-stub {
	from { scale: 0 1; }
	to { scale: 1 1; }
}

@keyframes ecoloc-dot {
	from { scale: 0.5; opacity: 0.2; }
	to { scale: 1; opacity: 1; }
}

@keyframes ecoloc-shift-draw {
	0% { --v1: 0%; --v2: 0%; }
	30% { --v1: 100%; --v2: 0%; }
	65% { --v1: 100%; --v2: 0%; }
	100% { --v1: 100%; --v2: 100%; }
}

@keyframes ecoloc-shift-run {
	0%, 30% { scale: 0 1; }
	65%, 100% { scale: 1 1; }
}

@keyframes ecoloc-dot-early {
	0% { scale: 0.5; opacity: 0.2; }
	8%, 100% { scale: 1; opacity: 1; }
}

@keyframes ecoloc-dot-late {
	0%, 62% { scale: 0.5; opacity: 0.2; }
	72%, 100% { scale: 1; opacity: 1; }
}

@keyframes ecoloc-label {
	0%, 40% { opacity: 0.2; }
	70%, 100% { opacity: 1; }
}

@keyframes ecoloc-rise {
	from { opacity: 0.15; translate: 0 1.5rem; }
	to { opacity: 1; translate: 0 0; }
}

/* Images as markers (set by view.js, so without script the full picture stays in the card):
   the first image of an item becomes a square thumbnail on the line, in place of the square marker, with a small plus.
   A click opens the picture over the page, centred on the marker, nothing moves.
   A second click, Escape or a click elsewhere closes it. */
.is-track.has-dots .wp-block-ecoloc-timeline-item {
	z-index: 0;
	transition: z-index 0s 0.45s;
}

.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image {
	--d: 3.5rem;
	--w: var(--d);
	--h: var(--d);
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	position: absolute;
	top: calc(var(--my) - var(--d) / 2);
	left: calc(var(--x) - var(--d) / 2);
	width: var(--d);
	height: var(--d);
	max-width: none;
	margin: 0;
	overflow: visible;
	z-index: 0;
	transition: z-index 0s 0.45s;
}

.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image.is-open {
	--w: min(30rem, calc(100vw - 3rem));
	--h: calc(var(--w) * 2 / 3);
	z-index: 3;
	transition-delay: 0s;
}

.is-track.has-dots .wp-block-ecoloc-timeline-item.has-open {
	z-index: 2;
	transition-delay: 0s;
}

.is-track.has-dots .wp-block-ecoloc-timeline-item.has-image::before {
	display: none;
}

.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image img,
.is-track.has-dots .ecoloc-timeline__zoom {
	position: absolute;
	top: 0;
	left: calc((var(--d) - var(--w)) / 2);
	width: var(--w);
	max-width: none;
	height: var(--h);
	transition: width 0.45s var(--ease), height 0.45s var(--ease), left 0.45s var(--ease), filter 0.45s, box-shadow 0.45s;
}

.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image img {
	box-shadow: 0 0 0 0.35rem var(--wp--preset--color--white);
}

.is-track.has-dots .wp-block-image.is-open img {
	box-shadow: 0 0 0 0 var(--wp--preset--color--white);
	filter: none;
}

.is-track.has-dots .ecoloc-timeline__zoom {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.is-track.has-dots .ecoloc-timeline__zoom::after {
	content: "+";
	position: absolute;
	right: -0.3rem;
	bottom: -0.3rem;
	display: grid;
	place-items: center;
	width: 1.4rem;
	height: 1.4rem;
	background: var(--ink);
	color: var(--wp--preset--color--white);
	font-size: 1.1rem;
	font-weight: 300;
	line-height: 1;
}

.is-track.has-dots .wp-block-image.is-open .ecoloc-timeline__zoom::after {
	content: "\2212";
}

.is-track.has-dots .ecoloc-timeline__zoom:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

/* Credit line under the opened picture: fades out first when it closes, in last when it opens */
.is-track.has-dots .wp-block-image figcaption {
	position: absolute;
	top: var(--h);
	left: calc((var(--d) - var(--w)) / 2);
	width: var(--w);
	margin: 0;
	padding: 0.4rem 0 0;
	background: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.15s, visibility 0s 0.15s, left 0.45s var(--ease), width 0.45s var(--ease), top 0.45s var(--ease);
}

.is-track.has-dots .wp-block-image.is-open figcaption {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s 0.3s, visibility 0s 0s, left 0.45s var(--ease), width 0.45s var(--ease), top 0.45s var(--ease);
}

/* Veil behind an opened picture: the page recedes, the picture stands out */
.ecoloc-timeline__scrim {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: color-mix(in srgb, var(--wp--preset--color--white) 85%, transparent);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s;
}

.ecoloc-timeline__scrim.is-active {
	opacity: 1;
	pointer-events: auto;
}

/* Small screens: smaller marker, a little more room left of the line, the picture opens to the right */
@media (max-width: 781px) {
	.wp-block-ecoloc-timeline.is-track {
		--track-left: 1.5rem;
		--track-center: 1.5rem;
		--track-right: 1.5rem;
	}

	.is-track .wp-block-ecoloc-timeline-item {
		--gap: 2.5rem;
	}

	.is-track.has-dots .wp-block-ecoloc-timeline-item.has-image {
		--mh: 1.25rem;
	}

	.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image {
		--d: 2.5rem;
	}

	.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image img,
	.is-track.has-dots .ecoloc-timeline__zoom,
	.is-track.has-dots .wp-block-ecoloc-timeline-item > .wp-block-image figcaption {
		left: 0;
	}
}

/* Links in a timeline: without a chosen style an arrow with text, down for files.
   Fill and Outline from the style picker give a real button. */
.wp-block-ecoloc-timeline .wp-block-button:not(.is-style-fill):not(.is-style-outline) .wp-block-button__link {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
}

.wp-block-ecoloc-timeline .wp-block-button:not(.is-style-fill):not(.is-style-outline) .wp-block-button__link:hover {
	background: none;
	color: inherit;
	text-decoration: underline;
}

.wp-block-ecoloc-timeline .wp-block-button:not(.is-style-fill):not(.is-style-outline) .wp-block-button__link::before {
	content: "→ ";
	font-size: 1.25em;
	line-height: 1;
}

.wp-block-ecoloc-timeline .wp-block-button:not(.is-style-fill):not(.is-style-outline) .wp-block-button__link[href$=".pdf"]::before {
	content: "↓ ";
}

.wp-block-ecoloc-timeline .wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-ecoloc-timeline .wp-block-button.is-style-outline .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
}
