/* =========================================================
   TIMELINE PAGE (/timeline.html)
   Uses the palette in amass.css. Item colours:
   official = forest, AMASS = amber (as on correspondence tags), press = slate
   ========================================================= */
.tl-head { --tl-gap: 14px; }
.tl-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: .75rem;
}
.tl-head h1 { max-width: 820px; }
.tl-subhead { max-width: 720px; }

.tl-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tl-social a {
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: 6px 16px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.tl-social a:hover { background: var(--forest); color: var(--ink-on-dark); }

.tl-wrap { max-width: 900px; }

.tl-summary {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--forest);
  border-radius: var(--r);
  padding: 22px 24px;
  margin-bottom: 22px;
}
.tl-summary h2 {
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.tl-summary p + p { margin-top: 10px; }

.tl-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.tl-fact {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--forest);
  border-radius: var(--r);
  padding: 14px 16px;
}
.tl-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.tl-value { font-weight: 700; color: var(--ink); margin-top: 4px; }

.tl-deadline {
  background: #fdf3e4;
  border: 1px solid #ecc58e;
  border-left: 4px solid #c8842b;
  border-radius: var(--r);
  padding: 18px 20px;
  margin: 0 0 30px;
  color: var(--ink-body);
}
.tl-deadline strong { color: #8a5a0e; }

.tl-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 8px; font-size: .85rem; }
.tl-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.tl-section-title {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  color: var(--forest-dark);
  margin: 44px 0 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--forest);
}
.tl-note { font-size: .9rem; color: var(--ink-mute); margin-bottom: 18px; }

.tl-line { position: relative; margin-top: 20px; padding-left: 26px; border-left: 2px solid var(--rule); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid var(--paper);
}
.tl-date {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.tl-tag {
  display: inline-block;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  position: relative; top: -1px;
  color: #fff;
}
.tl-item h4 { font-size: 1.05rem; color: var(--ink); margin-top: 4px; line-height: 1.35; }
.tl-item p { font-size: .95rem; margin-top: 6px; }
.tl-src { font-size: .82rem; margin-top: 6px; color: var(--ink-mute); overflow-wrap: anywhere; }
.tl-src a { color: var(--forest); }

/* Item types */
.tl-dot.is-official, .tl-item.is-official::before, .tl-item.is-official .tl-tag { background: var(--forest); }
.tl-dot.is-amass, .tl-item.is-amass::before, .tl-item.is-amass .tl-tag { background: #c8842b; }
.tl-dot.is-press, .tl-item.is-press::before, .tl-item.is-press .tl-tag { background: var(--ink); }

/* Closing note about AMASS */
.tl-about .wrap { max-width: 900px; }
.tl-name { font-weight: 900; font-size: 1.15rem; letter-spacing: .04em; color: var(--forest-dark); }
.tl-about p { margin-top: 8px; max-width: 680px; font-size: .92rem; }
.tl-tagline { font-weight: 700; color: var(--forest-dark) !important; margin-top: 16px !important; }

@media (max-width: 560px) {
  .tl-facts { grid-template-columns: 1fr; }
  .tl-summary { padding: 18px; }
  .tl-line { padding-left: 20px; }
  .tl-item::before { left: -28px; }
}

/* Numbered list of refusal reasons */
.tl-reasons { margin: 10px 0 0 1.4rem; font-size: .95rem; color: var(--ink-body); }
.tl-reasons li { margin-top: 8px; line-height: 1.55; padding-left: 4px; }
.tl-reasons strong { color: var(--ink); }
