.timeline-block {
  margin-top: 0 !important;
}

.timeline {
	align-items: start;
	column-gap: 80px;
	display: grid;
	grid-template-columns: calc(50% - 40px) calc(50% - 40px);
	padding-bottom: 20px;
	padding-top: 60px;
	position: relative;
	margin: 0 auto;
	&::before {
		content: '';
		background: var(--wp--preset--color--teal);
		bottom: 0;
		height: 2px;
		left: 50%;
		opacity: 0.2;
		position: absolute;
		top: 0px;
		transform: translateX(-50%);
		width: 100%;
	}
}
@media screen and (max-width: 768px) {
  .timeline {
    display: block;
  }
}

.timeline__line {
	background: var(--wp--preset--color--teal);
	bottom: 0;
	height: 100%;
	left: 50%;
	opacity: 0.2;
	position: absolute;
	top: 2px;
	transform: translateX(-50%);
	width: 2px;
}
@media screen and (max-width: 768px) {
  .timeline__line {
    left: 20px;
  }
}

.timeline__item {
  --stagger: 0px;
  position: relative;
  opacity: 0;
  -webkit-transform: translateY(calc(var(--stagger) + 30px));
          transform: translateY(calc(var(--stagger) + 30px));
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
}
.timeline__item.is-visible {
  opacity: 1;
  -webkit-transform: translateY(var(--stagger));
          transform: translateY(var(--stagger));
}
.timeline__item {
  margin-bottom: 60px;
}
.timeline__item--left {
  grid-column: 1;
  text-align: left;
}
.timeline__item--left::before {
  content: "";
  position: absolute;
  top: 35px;
  right: -40px;
  width: 40px;
  height: 2px;
  background: var(--wp--preset--color--teal);
}
@media screen and (max-width: 768px) {
  .timeline__item--left::before {
    right: auto;
    left: -40px;
  }
}
.timeline__item--right {
  grid-column: 2;
  text-align: left;
  --stagger: 80px;
}
.timeline__item--right::before {
  content: "";
  background: var(--wp--preset--color--teal);
  height: 2px;
  left: -40px;
  opacity: 0.2;
  position: absolute;
  top: 35px;
  width: 40px;
}
@media screen and (max-width: 768px) {
  .timeline__item {
    --stagger: 0px;
    width: calc(100% - 60px);
    text-align: left;
    margin-left: 60px;
  }
  .timeline__item--left {
    text-align: left;
  }
}

.timeline__item-content {
  background: var(--wp--preset--color--white);
  /* border: 1px solid var(--light-grey); */
  /* border-radius: 4px; */
  padding: 28px 32px;
}
@media screen and (max-width: 640px) {
  .timeline__item-content {
    padding: 20px 22px;
  }
}

.timeline__item-date {
  display: block;
  color: var(--wp--preset--color--teal);
  font-size: 22px;
  margin-bottom: 10px;
}

.timeline__item-title {
  margin: 0 0 15px;
}

.timeline__item-text {
  margin: 0;
}
.timeline__item-text p:first-child {
  margin-top: 0;
}
.timeline__item-text p:last-child {
  margin-bottom: 0;
}

.timeline__item-image {
  margin: 20px 0 0;
  aspect-ratio: 16/9;
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.timeline__item-image img {
	border-radius: 10px;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.timeline__item-dot {
	position: absolute;
	top: 28px;
	width: 14px;
	height: 14px;
	background: var(--wp--preset--color--teal);
	border: 3px solid var(--wp--preset--color--light-grey-background);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--wp--preset--color--teal);
	transition: -webkit-transform 0.3s ease;
	transition: transform 0.3s ease;
	transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.timeline__item--left .timeline__item-dot {
  right: -47px;
}
@media screen and (max-width: 768px) {
  .timeline__item--left .timeline__item-dot {
    right: auto;
    left: -47px;
  }
}
.timeline__item--right .timeline__item-dot {
  left: -47px;
}
.timeline__item.is-visible .timeline__item-dot {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
