.timelineSimple-container {
  width: 100%;
  overflow-x: auto;
  padding: 40px 0;
  white-space: nowrap; /* Keeps items on one line */
  scrollbar-width: thin; /* Clean scrollbar for Firefox */
  min-height: 140px;
}

.timelineSimple {
  display: inline-flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* The horizontal line */
.timelineSimple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-border);
  z-index: 1;
}

.event {
  position: relative;
  z-index: 2;
  padding: 0 16px;
  text-align: center;
  min-width: 150px;
}

/* The Dot */
.event::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--button-bg);
  border-radius: 50%;
  margin: 10px auto;
  border: 4px solid #fff; /* Masks the line behind the dot */
}

.date {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.description {
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--text-color);
}


/* Remove default triangle */
details summary::-webkit-details-marker {
  display: none;
}
summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.section-title {
  font-weight: bold;
  margin-bottom: 8px;
}

/* The Centered Caret */
.caret {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: 5px;
}

/* Rotate caret when open */
details[open] .caret {
  transform: rotate(-135deg);
  margin-top: 12px; /* Adjusting for rotation offset */
}

/* Content Styling */
.content {
  padding: 8px;
  background: var(--card-bg);
  animation: fadeIn 0.4s ease;
  min-height: 140px;

}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}