.timeline-vertical {
  margin-bottom: 5.8em;
  padding-top: 5.95em;
}

.timeline-vertical__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 3em;
}

.timeline-vertical__top-left {
  width: 30%;
}

.timeline-vertical__top-right {
  padding-top: 3.1em;
  width: 57.5%;
}

.timeline-vertical__top-right p {
  color: #76797d;
  font-size: 0.8947368421em;
  font-weight: 300;
  line-height: 1.8823529412em;
  margin: 0;
}

.timeline-vertical__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 3em;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 3em;
  position: relative;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  background-image: url(../eryk/assets/img/Line_10-vertical.png);
  background-position: 0.7em 0;
  background-repeat: no-repeat;
  padding: 1em 0 1em 1em;
}

.timeline-vertical__item {
  padding: 0.5em 0;
  position: relative;
  width: 100%;
}

.timeline-vertical__item:after {
  background-color: #b8b8b8;
  content: '';
  height: 2px;
  left: 0.7em;
  position: absolute;
  top: 1.2em;
  width: 1.75em;
}

.timeline-vertical__item-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: 3.5em;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  gap: 3.5em;
}

.timeline-vertical__item:before {
  background-color: #b8b8b8;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 0 0 rgba(0, 158, 224, 0);
  box-shadow: 0 0 0 0 rgba(0, 158, 224, 0);
  content: '';
  height: 10px;
  left: 2.5em;
  position: absolute;
  top: 1em;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 10px;
  z-index: 1;
}

.timeline-vertical__item:hover:after,
.timeline-vertical__item:hover:before {
  background-color: #009ee0;
  -webkit-box-shadow: 0 2px 37px 6px rgba(0, 158, 224, 0.26);
  box-shadow: 0 2px 37px 6px rgba(0, 158, 224, 0.26);
}

.timeline-vertical__item:hover .timeline-vertical__item-date {
  color: #009ee0;
}

.timeline-vertical__item-date {
  color: #21314d;
  font-size: 1.4210526316em;
  font-weight: 600;
  margin-bottom: 0.45em;
}

.timeline-vertical__item-text {
  padding-left: 2em;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  color: #76797d;
  font-size: 0.8421052632em;
  font-weight: 300;
  line-height: 1.5em;
  min-width: 0;
}

.timeline-vertical__item-text:before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e10615' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0m-9 3.75h.008v.008H12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  height: 1.35em;
  left: 0;
  position: absolute;
  top: 0.05em;
  width: 1.35em;
}

.timeline-vertical__item-newsletter {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin-left: auto;
}

.timeline-vertical__item-newsletter .button {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .timeline-vertical {
    margin-bottom: 0;
    padding: 50px 0 0;
  }

  .timeline-vertical__top {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .timeline-vertical__top-left {
    width: 100%;
  }

  .timeline-vertical__top-right {
    padding-top: 15px;
    width: 100%;
  }

  .timeline-vertical__item-content {
    gap: 1.25em;
    grid-template-columns: 1fr;
  }

  .timeline-vertical__item-newsletter {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .timeline-vertical__item-content {
    gap: 2em;
  }
}