/* ══════════════════════════════════════════
   LINEIGE — TIMELINE
   Used by: Experience, Volunteering
══════════════════════════════════════════ */

.tl {
  position: relative;
  padding-left: 2.8rem;
}

/* Vertical gradient line */
.tl::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--acid), var(--accent) 55%, var(--border));
}

.tl-item {
  position: relative;
  margin-bottom: 3rem;
}
.tl-item:last-child { margin-bottom: 0; }

/* Dot on the timeline */
.tl-dot {
  position: absolute;
  left: -3.07rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tl-dot.fill {
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 14px color-mix(in srgb, var(--acid) 40%, transparent);
}

.tl-date {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--acid);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tl-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.6rem 1.9rem;
  border-radius: var(--border-radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.tl-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-sm);
}

.tl-role {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--snow);
  margin-bottom: 0.22rem;
  line-height: 1.25;
}
.tl-org {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tl-org svg {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tl-tasks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.tl-tasks li {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.68;
  padding-left: 1rem;
  position: relative;
}
.tl-tasks li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--acid);
}

.tl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.tl-chip {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  padding: 0.2rem 0.52rem;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent2);
  border-radius: var(--border-radius);
}

/* Light theme adjustments */
[data-theme="light"] .tl-chip {
  color: var(--accent);
}
