.timeline__single {
  display: flex;
  flex-wrap: nowrap;
}
@media (max-width: 1071px) {
  .timeline__single {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
}
@media (min-width: 991px) {
  .timeline__single:first-child .timeline__flow:after {
    display: none;
  }
}
@media (max-width: 1071px) {
  .timeline__single:first-child .timeline__flow:after {
    display: unset;
  }
}
@media (min-width: 991px) {
  .timeline__single:last-child .timeline__flow {
    border-left: 0;
    margin-left: 2px;
  }
}
@media (max-width: 1071px) {
  .timeline__single:last-child .timeline__flow {
    display: none;
  }
}
.timeline__card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(12, 5, 74, 0.1);
  border-radius: var(--thm-border-radius-cards-tl);
  margin-bottom: 30px;
  padding: 24px 25px;
  flex-basis: 80%;
}
@media (max-width: 1071px) {
  .timeline__card {
    flex-basis: 100%;
  }
}
.timeline__inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 500px) {
  .timeline__inner {
    flex-wrap: wrap;
  }
}
.timeline__icon,
.timeline__fa-icon {
  flex-basis: 20%;
  margin-right: 8px;
  text-align: center;
}
.timeline__fa-icon {
  color: var(--wp--preset--color--coolief-green);
}
@media screen and (max-width: 500px) {
  .timeline__icon .timeline__fa-icon {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}
.timeline__icon img {
  max-width: 75px;
  width: 100%;
  object-fit: contain;
}
.timeline__content {
  flex-basis: 85%;
}
.timeline__year {
  color: var(--thm-pink-secondary);
  font-size: var(--thm-subtitle-md);
  font-weight: var(--thm-semibold);
  border-bottom: 1px solid #b4b4b4;
  margin-bottom: 16px;
  padding-bottom: 16px;
}
.timeline__event:not(:first-child) {
  border-top: 1px solid #b4b4b4;
  padding-top: 10px;
  margin-top: 10px;
}
.timeline__flow {
  flex-basis: 20%;
  border-top: 2px solid #2e2d35;
  border-left: 2px dashed #919191;
  margin-top: 60px;
  position: relative;
}
@media (max-width: 1071px) {
  .timeline__flow {
    flex-basis: 100%;
    margin-top: 0;
    margin-bottom: 30px;
    border: 0;
    text-align: center;
  }
  .timeline__inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
.timeline__flow:after {
  content: '';
  height: 50px;
  width: 100%;
  border-left: 2px dashed #919191;
  position: absolute;
  top: -57px;
  left: -2px;
  z-index: 1;
}
@media (max-width: 1071px) {
  .timeline__flow:after {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -40px;
    height: 80px;
    z-index: -1;
    width: 2px;
  }
}
.timeline__flow i {
  position: absolute;
  top: -10px;
  left: -9px;
  z-index: 2;
}
@media (max-width: 1071px) {
  .timeline__flow i {
    top: 50%;
    transform: translateY(-50%);
    left: 2px;
    right: 0;
  }
}
