/* Topic timeline (/timeline/<slug>) — strict-chronological, day-grouped. */

.afb-timeline {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.afb-timeline-head { margin-bottom: 1.5rem; }

.afb-timeline-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 .3rem;
}

.afb-timeline-sub {
  color: var(--bs-secondary-color, #6c757d);
  margin: 0;
  font-size: .9rem;
}

.afb-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.afb-timeline-day {
  border-left: 2px solid var(--bs-border-color, #e5e7eb);
  padding: 0 0 .5rem 1rem;
  margin-left: .25rem;
}

.afb-timeline-date {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bs-secondary-color, #6c757d);
  margin: 1.1rem 0 .6rem 0;
  position: relative;
}

/* Dot lives in the left gutter, centered on the rail border -- never over text. */
.afb-timeline-date::before {
  content: "";
  position: absolute;
  left: -1.27rem;
  top: .15rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--afbytes-accent, #c8102e);
}

.afb-timeline-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.afb-timeline-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  padding: .35rem 0;
  line-height: 1.4;
}

.afb-timeline-time {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  color: var(--bs-secondary-color, #6c757d);
  min-width: 4.5rem;
}

.afb-timeline-link {
  flex: 1 1 60%;
  text-decoration: none;
  font-weight: 600;
}

.afb-timeline-source {
  font-size: .76rem;
  color: var(--bs-secondary-color, #6c757d);
}

.afb-timeline-empty {
  text-align: center;
  color: var(--bs-secondary-color, #6c757d);
  padding: 3rem 1rem;
}
