.cmhc-timeline {
  display: flex !important;
  padding: 80px 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--timeline-background);
}

.cmhc-timeline__heading {
  max-width: 974px;
  margin: 0 auto;
}

.cmhc-timeline__title {
  color: var(--timeline-heading);
  text-align: center;
  font-family: Roboto;
  font-size: 32px;
  font-style: normal;
  font-weight: Bold;
  line-height: 38.4px;
  width: 100%;
  margin: 0px;
  padding-bottom: 20px;
}
.v-timeline-item__card .cmhc-timeline__title {
  text-align: start;
}

.cmhc-timeline__description {
  color: var(--timeline-text-body);
  text-align: center;
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
}

.v-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  padding: 80px 0;
  list-style: none;
}

.timeline-separate-mode {
  max-width: 1494px;
}

.timeline-inline-mode {
  max-width: 974px;
}

.v-timeline-item {
  display: grid;
  gap: 30px;
  align-items: center;
  margin-bottom: 0px;
}

.timeline-inline-mode .v-timeline-item {
  grid-template-columns: auto 1fr;
}

.timeline-separate-mode .v-timeline-item {
  grid-template-columns: 1fr auto 1fr;
}

.timeline-inline-mode .v-timeline-item__right {
  grid-column: 2;
}

.timeline-inline-mode .v-timeline-item__right {
  display: none;
}

.v-timeline-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  width: 44px;
}

.timeline-inline-mode .v-timeline-divider {
  width: 40px;
}
.timeline-inline-mode.is-left-side .v-timeline-divider {
  grid-row: 1 / -1;
}

.v-timeline-divider__before,
.v-timeline-divider__after {
  flex: 1;
  width: 2px;
  background-color: var(--timeline-line-inactive);
  transition: background-color 0.4s ease;
}

.v-timeline-item.is-active .v-timeline-divider__before {
  background-color: var(--timeline-accent);
}

.v-timeline-item.is-active .v-timeline-divider__after {
  background-color: var(--timeline-line-inactive);
}

.v-timeline-item.is-passed .v-timeline-divider__before,
.v-timeline-item.is-passed .v-timeline-divider__after {
  background-color: var(--timeline-accent);
}


.v-timeline-divider__dot {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 4px solid white;
  transition: all 0.4s ease;
  background: var(--timeline-muted);
}

.v-timeline-item.is-active .v-timeline-divider__dot,
.v-timeline-item.is-passed .v-timeline-divider__dot {
  background-color: var(--timeline-accent);
}

.v-timeline-item__card {
  background: white;
  border: 1px solid #939393;
  border-radius: 12px;
  /* max-height: 532px; */
  /* overflow-y: auto; */
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 32px 32px 48px 32px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.timeline--item__card-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.timeline--item__card-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v-timeline-item__card::-webkit-scrollbar {
  display: none;
}

.v-timeline-item__card--image {
  padding: 50px 75px;
}

.cmhc-timeline__image-wrapper {
  display: flex;
  width: 100%;
  max-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.timeline-inline-mode .cmhc-timeline__image-wrapper {
  max-height: 361px;
}

.cmhc-timeline__image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--timeline-accent);
  opacity: 0.5;
  border-radius: 12px;
  pointer-events: none;
}

.cmhc-timeline-separate {
  max-height: 430px;
  width: 100%;
  border: 1px solid #939393;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.timeline-separate-mode .v-timeline-item__card .cmhc-timeline__image-wrapper {
  display: none;
}

.cmhc-timeline__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cmhc-timeline__events {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.cmhc-timeline__events li {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.cmhc-timeline__events li::marker {
  color: var(--timeline-accent);
}

.cmhc-timeline__year {
  color: var(--timeline-accent);
}

.v-timeline-item.is-active .v-timeline-divider__inner-dot,
.v-timeline-item.is-passed .v-timeline-divider__inner-dot {
  background-color: var(--timeline-accent);
}

.v-timeline-item.is-active .v-timeline-divider__before,
.v-timeline-item.is-passed .v-timeline-divider__before,
.v-timeline-item.is-passed .v-timeline-divider__after {
  background-color: var(--timeline-accent);
}

.v-timeline-item:not(:last-child) .v-timeline-item__card {
  margin-bottom: 40px;
}

.v-timeline-item:not(:first-child) .v-timeline-item__card {
  margin-top: 40px;
}


@media (max-width: 768px) {
  .cmhc-timeline {
    padding: 40px 20px;
  }
  .cmhc-timeline__title {
    text-align: start;
  }
  .cmhc-timeline__description {
    text-align: start;
  }

  .v-timeline-item {
    gap: 16px;
  }
  .v-timeline-item__card {
    padding: 24px 24px 36px 24px;
  }
  .cmhc-timeline__image-wrapper {
    max-height: 361px;
  }

  .timeline-separate-mode .cmhc-timeline__image-wrapper {
    display: flex;
  }

  .timeline-separate-mode .v-timeline-item__left .cmhc-timeline__image-wrapper,
  .timeline-separate-mode .v-timeline-item__left .cmhc-timeline__image-wrapper {
    display: none;
  }

  .timeline-separate-mode .v-timeline-item__card .cmhc-timeline__image-wrapper {
    display: flex;
  }

  .timeline-separate-mode .v-timeline-item {
    grid-template-columns: auto 1fr;
  }

  .v-timeline-divider {
    width: 40px;
  }
  .timeline-inline-mode.is-left-side .v-timeline-divider {
    grid-row: 1 / -1;
  }
  .timeline-separate-mode .v-timeline-divider {
    grid-row: 1 / -1;
  }

  .timeline-inline-mode.is-left-side .v-timeline-item__left,
  .timeline-inline-mode.is-left-side .v-timeline-item__right,
  .timeline-separate-mode .v-timeline-item__left,
  .timeline-separate-mode .v-timeline-item__right,
  {
    grid-column: 2;
  }

  .v-timeline-item__card--content {
    max-height: none;
  }

  .v-timeline-item__left:has(.separate-image),
  .v-timeline-item__right:has(.separate-image) {
    display: none;
  }
}
@media (max-width: 480px) { 
  .cmhc-timeline__image-wrapper {
    max-height: 141px;
  }
}