/* Projects timeline */

.gh-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.gh-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: var(--color-border);
}

.gh-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 24px;
  padding: 18px 0;
}

.gh-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--ghost-accent-color);
  border: 2px solid var(--background-color);
  margin-top: 6px;
  z-index: 1;
}

.gh-timeline-content {
  min-width: 0;
}

.gh-timeline-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1.3rem;
  color: var(--color-secondary-text);
}

.gh-timeline-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 1.2rem;
  color: var(--color-secondary-text);
}

.gh-timeline-title {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 2.2rem;
  line-height: 1.15;
}

.gh-timeline-title a {
  color: inherit;
  text-decoration: none;
}

.gh-timeline-title a:hover {
  text-decoration: underline;
}

.gh-timeline-excerpt {
  margin: 0;
  color: var(--color-secondary-text);
}

.gh-timeline-empty {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-secondary-text);
}

.gh-timeline-empty code {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
  font-size: 0.95em;
}

@media (max-width: 767px) {
  .gh-timeline::before { left: 10px; }
  .gh-timeline-item { grid-template-columns: 20px 1fr; gap: 16px; }
  .gh-timeline-title { font-size: 2.0rem; }
}
