
/* Mini Timeline */
.mini-timeline {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  position: relative;
  margin: 30px 0 10px;
  padding: 40px 0 10px; /* extra space above for the timeline line */
  opacity: 0;
  animation: fadeInTimeline 1.2s ease forwards 0.3s;
}

/* Horizontal timeline line */
.mini-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--ink);
  z-index: 0;
}

/* Point container */
.mini-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
  cursor: pointer;
}

/* Connector line from timeline */
.mini-point::before {
  content: "";
  position: absolute;
  top: -40px; /* Matches the top padding of .mini-timeline */
 /* start from the top timeline line */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background-color: var(--ink);
  animation: dropConnector 0.8s ease forwards;
}

@keyframes dropConnector {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 14px;
    opacity: 1;
  }
}

.mini-dot {
  width: 12px;
  height: 12px;
  background-color: var(--ink);
  border-radius: 50%;
  position: relative;
  top: -14px;  /* pull it upward toward the timeline */
  margin-bottom: 6px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}


.mini-point:hover .mini-dot {
  transform: scale(1.1);
  background-color: #32425a; /* or any slightly lighter/different clickable shade */
}

/* Label text */
.mini-label {
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: var(--ink);
  text-align: center;
}

/* Subnote below the mini-timeline */
.timeline-link-note {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
}

/* Fade-in effect for the whole timeline */
@keyframes fadeInTimeline {
  to {
    opacity: 1;
  }
}

