/* RTL milestone ribbon and one centered reading column. */
.history-page .history-process { padding-block-start:clamp(17px,3vw,30px); }
.history-page .history-process .timeline { display:block; }
body.history-page .history-process .route {
  position:sticky;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:center;
  gap:8px;
  z-index:6;
  top:var(--header-height);
  margin-block-end:clamp(24px,4vw,42px);
  padding:8px;
  overflow:hidden;
  isolation:isolate;
  background:#292929;
  border:1px solid #bba17b66;
  border-radius:15px;
  box-shadow:0 8px 22px #0004;
  backdrop-filter:none;
}
.history-process .route-title {
  color:#4f4035;
  padding:0 5px;
  font-size:.77rem;
  white-space:nowrap;
}
.history-page .history-process .route-items {
  display:grid;
  grid-template-columns:none;
  grid-auto-flow:column;
  grid-auto-columns:minmax(106px,1fr);
  gap:11px;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:#c8a58e transparent;
  padding:3px;
}
.history-process .route-items::before { content:none; }
.history-page .history-process .stop {
  position:relative;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:5px;
  align-items:center;
  justify-content:normal;
  min-height:44px;
  height:auto;
  padding:5px 6px;
  border:1px solid transparent;
  border-radius:8px;
  text-align:start;
  font-size:.69rem;
  line-height:1.45;
}
.history-page .history-process .stop:not(:last-child)::after {
  content:"";
  position:absolute;
  inset-inline-end:-9px;
  inset-block-start:calc(50% - 3px);
  inline-size:5px;
  block-size:5px;
  border-inline-end:1px solid #a77c63;
  border-block-end:1px solid #a77c63;
  transform:rotate(45deg);
  pointer-events:none;
}
.history-page .history-process .stop[aria-current="step"] {
  background:#f0e3d6;
  border-color:#dcc3af;
  font-weight:700;
}
.history-page .history-process .stop:focus-visible { outline-offset:1px; }
.history-page .history-process .chapter-list {
  max-inline-size:850px;
  margin-inline:auto;
}
body.history-page .history-process .chapter.stage {
  padding-inline:0;
  scroll-margin-top:calc(var(--header-height) + 112px);
}
.history-page .history-process .chapter-copy > p:not(.eyebrow),
.history-page .history-process #today .chapter-copy > p:not(.eyebrow) {
  max-inline-size:none;
}
.history-page .history-process .chapter-copy > .photos.pair {
  width:100%;
}
@media (max-width:890px) {
  body.history-page .history-process .route { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:620px) {
  body.history-page .history-process .route {
    top:var(--header-height);
    padding:5px;
    border-radius:11px;
  }
  .history-page .history-process .route-items {
    grid-auto-columns:110px;
    gap:9px;
  }
  .history-page .history-process .stop { min-height:43px; }
  .history-page .history-process .stop:not(:last-child)::after { inset-inline-end:-8px; }
  body.history-page .history-process .chapter.stage { padding-inline:4px; }
}
@media print {
  body.history-page .history-process .route { display:none; }
}
