/* Stop by stop timeline. Used by includes/components/route-stops.php */
.rstops { position: relative; display: grid; gap: 2rem; }
.rstops::before { content: ""; position: absolute; left: calc(1.05rem - 1px); top: 0.6rem; bottom: 0.6rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--color-accent) 0 6px, transparent 6px 12px); opacity: 0.7; }
.rstop { position: relative; padding-left: 3.25rem; }
.rstop__n { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--color-accent); color: #fff; font-weight: 700; font-size: 0.9375rem; box-shadow: 0 0 0 5px var(--color-bg); }
.rstop--edge { padding-left: 3.25rem; min-height: 1.25rem; }
.rstop--edge::before { content: ""; position: absolute; left: 0.7rem; top: 0.35rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 5px var(--color-bg); }
.rstop__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.rstop__body h3 { padding-top: 0.15rem; }
.rstop__photo { display: block; width: 100%; max-width: 30rem; height: auto; aspect-ratio: 3 / 2; margin-top: 1rem; object-fit: cover; border-radius: 20px; background: var(--color-surface); }

/* Several photos for one stop: a swipeable strip with a counter and arrows over the photo */
.rcar { position: relative; max-width: 30rem; margin-top: 1rem; border-radius: 20px; overflow: hidden; background: var(--color-surface); }
.rcar__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rcar__track::-webkit-scrollbar { display: none; }
.rcar__slide { flex: 0 0 100%; scroll-snap-align: start; }
.rcar .rstop__photo { max-width: none; margin-top: 0; border-radius: 0; }
.rcar__bar { position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.rcar__count { padding: 0.25rem 0.65rem; border-radius: 999px; background: rgb(255 255 255 / 0.9); font-size: 0.8125rem; font-weight: 650; color: var(--color-primary); }
.rcar__nav { display: flex; gap: 0.4rem; pointer-events: auto; }
.rcar__btn { display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; cursor: pointer; background: rgb(255 255 255 / 0.9); color: var(--color-primary); transition: background-color 0.25s, color 0.25s; }
.rcar__btn:hover { background: var(--color-primary); color: #fff; }
.rcar__btn:disabled { opacity: 0.45; cursor: default; background: rgb(255 255 255 / 0.9); color: var(--color-primary); }
.rcar__btn:focus-visible, .rcar__track:focus-visible { outline: 2px solid var(--color-accent-strong); outline-offset: -2px; }
.rcar__btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* What is not included: a quiet surface panel with crossed marks, same rhythm as .ticks */
.notincl { padding: 1.5rem 1.5rem 1.4rem; border-radius: 24px; background: var(--color-surface); }
@media (min-width: 768px) { .notincl { padding: 2rem 2.25rem 1.9rem; } }
.crosses li { position: relative; padding: 0.3rem 0 0.3rem 1.9rem; }
.crosses li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--color-primary); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B2A47' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5.2 5.2 5.6 5.6M10.8 5.2l-5.6 5.6'/%3E%3C/svg%3E") center / 62% no-repeat; }
