/* Shared timeline styles for news.html and papers.html */
.timeline {
  position: relative;
  list-style: none;
  margin: 0 0 0 .5rem;
  padding: 0 0 0 1.75rem;
  border-left: 1px solid #27272a;
}
.tl-item {
  position: relative;
  padding-bottom: 3.25rem;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: .4rem;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #000;
  border: 2px solid #71717a;
}
.tl-item:first-child::before {
  background: #e4e4e7;
  border-color: #e4e4e7;
}
.tl-date {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #e4e4e7;
}
.tl-title {
  margin-top: .35rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.tl-text {
  margin-top: .5rem;
  max-width: 40rem;
  color: #d4d4d8;
  line-height: 1.65;
}
.tl-meta {
  margin-top: .25rem;
  font-size: .875rem;
  color: #a1a1aa;
}
.tl-img {
  display: block;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 32rem;
  height: auto;
  border-radius: 1rem;
  border: 1px solid #27272a;
}
.tl-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .45rem .9rem;
  border: 1px solid #3f3f46;
  border-radius: 9999px;
  color: #f4f4f5;
  transition: background .2s ease, border-color .2s ease;
}
.tl-link:hover { background: #18181b; border-color: #71717a; }
.tl-empty { display: none; color: #a1a1aa; }
.timeline:empty { border-left-color: transparent; }
.timeline:empty + .tl-empty { display: block; }
