/* Local, swipeable photo notebooks. Controls remain outside the photograph. */
.stop-gallery { min-width: 0; }
.stop-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; position: relative; border-radius: 3px; }
.stop-gallery__track::-webkit-scrollbar { display: none; }
.travel-notebook .stop-gallery__track > figure { flex: 0 0 100%; min-width: 0; width: 100%; scroll-snap-align: start; margin: 0; }
.travel-notebook .stop-gallery__track img { height: 320px; width: 100%; object-fit: cover; }
.travel-notebook .notebook-page:first-child .stop-gallery__track img { height: 430px; }
.stop-gallery__track figcaption { background: #edf4fc; color: var(--mv-navy); padding: 12px 15px; font-size: 12px; min-height: 55px; line-height: 1.5; }
.stop-gallery__controls { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding-top: 8px; color: var(--mv-navy); }
.stop-gallery__controls[hidden], .stage-advice-tabs[hidden], .stage-advice-panel[hidden] { display: none; }
.stop-gallery__controls button { border: 0; background: #edf4fc; color: var(--mv-navy); min-width: 48px; min-height: 48px; border-radius: 4px; cursor: pointer; }
.stop-gallery__controls [data-photo] { background: transparent; position: relative; min-width: 48px; }
.stop-gallery__controls [data-photo]::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; background: #aabbd1; margin: auto; }
.stop-gallery__controls [data-photo][aria-pressed=true]::after { background: var(--mv-blue); width: 19px; border-radius: 6px; }
.stop-gallery__controls [data-gallery-pause] { font-size: 11px; padding-inline: 10px; margin-left: auto; }
.stop-gallery__status { font-size: 11px; font-variant-numeric: tabular-nums; padding-inline: 6px; }
.stop-gallery button:focus-visible, .stop-gallery__track:focus-visible { outline: 3px solid var(--mv-blue); outline-offset: 2px; }
.notebook-image .notebook-number { top: 12px; bottom: auto; left: 12px; width: 42px; height: 42px; font-size: 18px; pointer-events: none; }
.stage-row__expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stage-advice-panel { padding: 20px; background: #f0f5fc; border-top: 3px solid var(--mv-blue); }
.stage-advice-panel:last-of-type { border-color: var(--mv-yellow); }
.mv-visual .stage-advice-panel h4 { font-size: 16px; margin-bottom: 12px; }
.stage-row__expanded .stage-advice-panel p { margin: 0; line-height: 1.7; }
.stage-row__expanded .stage-arrival-pause { margin-top: 14px; padding-top: 14px; border-top: 1px solid #ccdaeb; font-size: 12px; }
.stage-bag-note { grid-column: 1 / -1; border-left: 3px solid var(--mv-yellow); padding: 12px 18px; }
.stage-bag-note strong { font-size: 13px; }
.stage-row__expanded .stage-bag-note p { margin: 6px 0 0; max-width: 85ch; font-size: 13px; line-height: 1.7; }
.stage-arrival-links { grid-column: 1 / -1; display: flex; gap: 10px 26px; flex-wrap: wrap; }
.stage-arrival-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--mv-blue); text-decoration: underline; text-underline-offset: 4px; }
.touch-route-picker { display: none; }
@media (max-width: 1024px) { .stage-row__expanded { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
 .travel-notebook .stop-gallery__track img, .travel-notebook .notebook-page:first-child .stop-gallery__track img { height: 265px; }
 .touch-route-picker[data-ready=true] { display: grid; gap: 8px; background: #edf4fc; padding: 16px; margin: 20px 0 26px; }
 .touch-route-picker > span { color: var(--mv-navy); font-size: 13px; font-weight: 600; }
 .touch-route-picker select { width: 100%; min-width: 0; min-height: 48px; font-size: 16px; padding: 10px; border: 1px solid #b8cce5; background: white; color: var(--mv-navy); border-radius: 4px; }
 .stage-advice-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
 .stage-advice-tabs button { font-size: 11px; line-height: 1.3; min-height: 48px; padding: 8px 4px; border: 1px solid #cad8eb; border-radius: 4px; color: var(--mv-navy); background: white; cursor: pointer; }
 .stage-advice-tabs button[aria-selected=true] { background: var(--mv-navy); color: white; border-color: var(--mv-navy); }
 .stage-row__expanded { gap: 12px; }
 .stage-advice-panel { padding: 18px; }
 .stage-arrival-links { display: grid; grid-template-columns: 1fr; gap: 4px; }
 .stage-arrival-links a { background: #edf4fc; padding: 9px 13px; border-radius: 4px; text-decoration: none; min-height: 48px; }
 .notebook-index { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; }
 .notebook-index a { flex-shrink: 0; min-height: 48px; scroll-snap-align: start; }
 .notebook-page { scroll-margin-top: 110px; }
 .stage-row { scroll-margin-top: 140px; }
}
@media (prefers-reduced-motion: reduce) { .stop-gallery__track { scroll-behavior: auto; } }
/* The destination heading receives screen-reader focus after a select jump. */
.stage-row h3[tabindex="-1"]:focus, .notebook-copy h3[tabindex="-1"]:focus { outline: none; }
