:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.journey {
  width: 100%;
  max-width: none;
  overflow: visible;
  color: #323E46;
}
* + .journey {
  margin-top: var(--wp--preset--spacing--l) !important;
}
.journey__timeline {
  position: relative;
}
.journey__track {
  position: absolute;
  top: 72px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(9, 41, 62, 0.2);
}
.journey__progress {
  display: block;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  background: rgba(255, 255, 255, 0.45);
}
.journey__items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--journey-count, 5), minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey__item {
  position: relative;
  display: grid;
  grid-template-rows: 56px 33px auto;
  min-width: 0;
}
.journey__date {
  color: #104161;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-26);
  font-weight: 300;
  line-height: 1.35;
}
.journey__dot {
  position: relative;
  width: 17px;
  height: 17px;
  margin-top: 8px;
  border: 4px solid transparent;
  border-radius: 50%;
  background: #FF4D2D;
  box-shadow: 0 0 0 1px #FF4D2D, 0 0 0 12px rgba(255, 255, 255, 0.075);
}
.journey__copy {
  max-width: 24ch;
  padding-top: 3rem;
}
.journey__copy p {
  margin: 0;
  color: #323E46;
  font-size: var(--wp--preset--font-size--font-18);
  line-height: 1.55;
}
.journey.is-style-large-title .journey__copy p {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-28);
  font-weight: 200;
  line-height: 1.4;
}
.journey__item--future .journey__dot {
  background: transparent;
}
.journey__item--future::after {
  content: "";
  position: absolute;
  top: 72px;
  right: -10vw;
  width: 10vw;
  border-top: 1px dashed rgba(255, 77, 45, 0.75);
}
@media (max-width: 1023px) {
  .journey__timeline {
    padding-left: 8px;
  }
  .journey__track {
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: 1px;
    height: auto;
  }
  .journey__progress {
    width: 2px;
    height: 100%;
    transform-origin: center top;
  }
  .journey__items {
    display: block;
  }
  .journey__item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding-bottom: 2.75rem;
  }
  .journey__item:last-child {
    padding-bottom: 0;
  }
  .journey__date {
    grid-column: 2;
    grid-row: 1;
  }
  .journey__dot {
    grid-column: 1;
    grid-row: 1/span 2;
    margin-top: 2px;
    transform: translateX(-8px);
  }
  .journey__copy {
    grid-column: 2;
    grid-row: 2;
    max-width: 42ch;
    padding-top: 1.5rem;
  }
  .journey__item--future::after {
    display: none;
  }
}

:is(.has-black-background-color, .has-primary-background-color, .has-navy-background-color, .has-blue-background-color) .journey {
  color: #FFF;
}
:is(.has-black-background-color, .has-primary-background-color, .has-navy-background-color, .has-blue-background-color) .journey__track {
  background: rgba(255, 255, 255, 0.25);
}
:is(.has-black-background-color, .has-primary-background-color, .has-navy-background-color, .has-blue-background-color) .journey__date, :is(.has-black-background-color, .has-primary-background-color, .has-navy-background-color, .has-blue-background-color) .journey__copy p {
  color: #FFF;
}

@media (prefers-reduced-motion: reduce) {
  .journey__progress,
  .journey__item {
    opacity: 1 !important;
    transform: none !important;
  }
}
