.etb-timeline {
  padding: 72px 0;
}

.etb-timeline__inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
}

.etb-timeline__title {
  margin: 0 0 36px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: #1f2328;
}

.etb-timeline__wrap {
  position: relative;
  padding-top: 70px;
  padding-bottom: 210px;
}

.etb-timeline__months {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 40px;
}

.etb-timeline__month {
  position: absolute;
  transform: translateX(-50%);
  font-size: 14px;
  line-height: 1;
  color: #5D646A;
  white-space: nowrap;
}

/* month guide line down to the timeline */
.etb-timeline__month::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 1px;
  height: 24px;
  background: #DFE3E7;
}

.etb-timeline__base-line {
  position: relative;
  height: 1px;
  background: #DFE3E7;
}

.etb-timeline__range {
  position: absolute;
  top: 69px;
  height: 4px;
  border-radius: 999px;
  background: #1F87FF;
  z-index: 2;
}

.etb-timeline__now {
  position: absolute;
  top: 18px;
  width: 2px;
  height: 54px;
  background: #ff2b2b;
  transform: translateX(-50%);
  z-index: 4;
}

.etb-timeline__now-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #ff2b2b;
  white-space: nowrap;
}

.etb-timeline__event--bottom .etb-timeline__content,
.etb-timeline__event--top .etb-timeline__content {
  margin-left: calc(50% - 1px);
}

.etb-timeline__range--pre-deadline {
  height: 4px;
  background: #A0A6AC;
  top: 68px;
  z-index: 1;
}

.etb-timeline__event.is-deadline .etb-timeline__line {
  height: 152px;
}

.etb-timeline__event {
  position: absolute;
  transform: translateX(-50%);
  width: 300px;
  z-index: 3;
}

.etb-timeline__event--bottom {
  top: 69px;
}

/* top event container stays positioned from the timeline area */
.etb-timeline__event--top {
  top: 69px;
}

/* bottom events: normal flow from timeline downward */
.etb-timeline__event--bottom .etb-timeline__dot {
  display: block;
  margin: 0 auto;
}

.etb-timeline__event--bottom .etb-timeline__line {
  display: block;
  width: 1px;
  height: 34px;
  margin: 0 auto;
  border-left: 1px dashed #b8c0c9;
}

.etb-timeline__event--bottom .etb-timeline__content {
  padding-top: 10px;
}

/* top events: content above timeline, line/dot still touching timeline */
.etb-timeline__event--top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.etb-timeline__event--top .etb-timeline__content {
  order: 1;
  padding-top: 0;
  padding-bottom: 10px;
}

.etb-timeline__event--top .etb-timeline__line {
  order: 2;
  display: block;
  width: 1px;
  height: 34px;
  margin: 0 auto;
  border-left: 1px dashed #b8c0c9;
}

.etb-timeline__event--top .etb-timeline__dot {
  order: 3;
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2f80ed;
  margin: 0 auto;
  position: relative;
  top: 6px;
}

/* default dot style for bottom events too */
.etb-timeline__dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2f80ed;
  margin: 0 auto;
}

.etb-timeline__line {
  display: block;
  width: 1px;
  height: 34px;
  margin: 0 auto;
  border-left: 1px dashed #b8c0c9;
}

.etb-timeline__content {
  padding-top: 10px;
}

.etb-timeline__event-title {
  margin: 0 0 8px;
  font-size: 16px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  color: #181B1E !important;
}

.etb-timeline__content p {
  margin: 0px;
  font-size: 14px;
  line-height: 24px;
  color: #5D646A;
}

.etb-timeline__action-link,
.etb-timeline__expert-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 24px !important;
  font-weight: 600;
  text-decoration: none;
  color: #0A55AB !important;
}

.etb-timeline__action-link:hover,
.etb-timeline__expert-link:hover {
  text-decoration: underline;
}

.etb-calendly-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.etb-calendly-modal.is-open {
  display: block;
}

.etb-calendly-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.etb-calendly-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 80vh;
  margin: 5vh auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
}

.etb-calendly-iframe-wrap {
  width: 100%;
  height: 100%;
}

.etb-calendly-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.etb-calendly-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}

body.etb-modal-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .etb-timeline__wrap {
    overflow-x: auto;
    min-width: 1280px;
  }
}