.timeline {
    position: relative;
    margin-left: 150px;
    border-left: 3px solid var(--fg-color, #999);
    padding-left: 20px;
    margin-bottom: 2em;
    margin-top: 2em;
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 3em;
  }
  
  .timeline-item .dot {
    width: 10px;
    height: 10px;
    background-color: var(--fg-color, #999);
    border-radius: 50%;
    position: absolute;
    left: -26px; /* Position the dot on the line */
    top: 8px;
  }

  .timeline-item .timeline-date {
    position: absolute;
    text-align: right;
    transform: translateX(-140%);
    top: -3px;
    font-weight: normal;
    color: var(--fg-color, #999);
}

  .timeline-content p {
    margin-top: 0;
    margin-bottom: 0;
  }

  .timeline-content h4 {
    margin-top: 0;
    margin-bottom: 0;
  }

  .timeline-content li {
    margin-left: 1em;
  }
  
  .timeline-item .timeline-content {
    margin-left: 1em;
  }