:root {
  color-scheme: light;
  --ink: #173d5d;
  --blue: #1b6fb3;
  --muted: #627488;
  --line: #dfe7ef;
  --surface: #fff;
  --travel-bg: #f8fafc;
  --travel-header-height: 64px;
  --travel-radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 140px; }
body { margin: 0; background: var(--travel-bg); color: var(--ink); font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #3881bb; outline-offset: 4px; }
.travel-sr-only, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.travel-skip-link { position: fixed; top: -80px; left: 16px; z-index: 10000; padding: 10px 16px; border-radius: 7px; background: var(--ink); color: white; }
.travel-skip-link:focus { top: 10px; }
.travel-header { position: sticky; top: 0; z-index: 50; height: var(--travel-header-height); flex-shrink: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.travel-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 28px; }
.travel-brand { display: flex; align-items: baseline; gap: 15px; color: var(--ink); white-space: nowrap; }
.travel-brand > span:first-child { font: 500 19px/1.2 Georgia, serif; letter-spacing: -.35px; }
.travel-brand-section { padding-left: 15px; border-left: 1px solid #cedae5; color: var(--muted); font-size: 11px; letter-spacing: .9px; }
.travel-modes { display: flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid #e2e9f0; border-radius: 9px; background: #f4f7fa; }
.travel-mode { display: inline-flex; align-items: center; gap: 8px; padding: 7px 17px; border-radius: 6px; font-size: 12px; color: #60758a; white-space: nowrap; }
.travel-mode[aria-current='page'] { color: var(--blue); background: #fff; box-shadow: 0 1px 4px rgba(24,61,93,.07); }
.travel-mode:hover { color: var(--ink); background: #edf3f8; }
.travel-timeline { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.travel-timeline[aria-current='page'] { color: var(--blue); font-weight: 500; }
.travel-header svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.travel-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d5e1ec; border-radius: 8px; background: #fff; color: var(--ink); padding: 9px 14px; font-size: 12px; line-height: 1.4; }
.travel-button:hover { background: #eef5fb; border-color: #b5cce0; }
.travel-button-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.travel-button-primary:hover { background: #165b92; color: #fff; }
.travel-empty { padding: 42px 20px; text-align: center; color: var(--muted); line-height: 1.8; }
.travel-photo-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: #edf2f7; color: #71869a; font-size: 12px; }

/* One viewer for both the map and the photo journal. */
.photo-lightbox { width: min(1400px, calc(100vw - 28px)); height: min(1080px, calc(100dvh - 28px)); max-width: none; max-height: none; padding: 18px 23px 12px; border: 1px solid #3c4e61; border-radius: 12px; background: #13202e; color: #edf3f9; box-shadow: 0 20px 100px rgba(0,0,0,.32); }
.photo-lightbox:not([open]) { display: none; }
.photo-lightbox[open] { display: flex; flex-direction: column; }
.photo-lightbox::backdrop { background: rgba(6,15,24,.93); }
.lightbox-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 15px; flex-shrink: 0; }
.lightbox-topbar > div:first-child { min-width: 0; }
.lightbox-location { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; }
.lightbox-counter { display: block; color: #91a6ba; font-size: 10px; margin-top: 2px; }
.lightbox-tools { display: flex; align-items: center; gap: 9px; }
.lightbox-tools button, .lightbox-tools a { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #3f5367; border-radius: 6px; background: transparent; color: #dbe6f0; padding: 7px 11px; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.lightbox-tools button:hover:enabled, .lightbox-tools a:hover { background: #25394d; }
.lightbox-tools #lightbox-close { width: 33px; height: 33px; padding: 0; margin-left: 7px; font-size: 23px; }
.lightbox-tools #lightbox-zoom[aria-pressed='true'] { color: #a9d4f7; border-color: #78a8ce; }
.lightbox-figure { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
.lightbox-image-wrap { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0d1722; border-radius: 5px; }
.lightbox-image-wrap img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; user-select: none; -webkit-user-drag: none; }
.lightbox-image-wrap img.is-loaded { opacity: 1; }
.lightbox-image-wrap.is-zoomed { display: block; overflow: auto; cursor: grab; touch-action: none; scrollbar-width: thin; scrollbar-color: #496178 #0d1722; }
.lightbox-image-wrap.is-zoomed img { max-width: none; max-height: none; object-fit: initial; }
.lightbox-image-wrap.is-panning { cursor: grabbing; }
.lightbox-image-wrap > p { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 25px; text-align: center; color: #a9bdcf; font-size: 12px; }
.lightbox-image-wrap > p a { color: #c8e0f3; text-decoration: underline; }
.lightbox-caption { flex-shrink: 0; padding: 12px 9px 7px; }
.lightbox-caption p { max-height: 86px; overflow-y: auto; scrollbar-width: thin; margin: 0 auto; max-width: 950px; text-align: center; color: #b7c9d9; font-size: 12px; line-height: 1.7; }
.lightbox-caption p:empty { display: none; }
.lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 7px; flex-shrink: 0; }
.lightbox-bottom > button { border: 1px solid #3f5367; border-radius: 6px; background: none; color: #dbe6f0; font-size: 11px; padding: 8px 12px; min-height: 35px; white-space: nowrap; }
.lightbox-bottom > button:hover:enabled { background: #25394d; }
.lightbox-filmstrip { display: flex; align-items: center; justify-content: center; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 4px; min-width: 0; }
.lightbox-filmstrip::-webkit-scrollbar { display: none; }
.filmstrip-photo { position: relative; flex-shrink: 0; width: 65px; height: 45px; border: 2px solid transparent; border-radius: 4px; padding: 0; background: #223449; overflow: hidden; color: #c5d6e6; font-size: 11px; }
.filmstrip-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.filmstrip-photo[aria-current='true'] { border-color: #8dc0e8; }
.filmstrip-photo[aria-current='true'] img, .filmstrip-photo:hover img { opacity: 1; }
.lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #2c4055; font-size: 10px; color: #829bb0; flex-shrink: 0; }
.lightbox-footer a { color: #a8c9e2; }
.photo-lightbox :focus-visible { outline-color: #9fc5e2; outline-offset: 3px; }
@media (max-width: 700px) {
  :root { --travel-header-height: 56px; }
  .travel-header-inner { padding: 0 14px; gap: 12px; }
  .travel-brand > span:first-child { font-size: 15px; }
  .travel-brand-section { display: none; }
  .travel-mode { gap: 6px; padding: 6px 11px; font-size: 11px; }
  .travel-modes { padding: 3px; gap: 2px; }
  .travel-timeline > span { display: none; }
  .photo-lightbox { width: calc(100vw - 12px); height: calc(100dvh - 12px); border-radius: 8px; padding: 12px; }
  .lightbox-topbar { gap: 8px; padding-bottom: 11px; }
  .lightbox-location { font-size: 12px; }
  .lightbox-counter { font-size: 9px; }
  .lightbox-tools { gap: 5px; }
  .lightbox-tools button, .lightbox-tools a { font-size: 10px; padding: 6px 8px; }
  .lightbox-tools #lightbox-close { margin-left: 0; width: 29px; height: 29px; }
  .lightbox-caption { padding: 11px 4px 5px; }
  .lightbox-caption p { font-size: 11px; max-height: 100px; }
  .lightbox-bottom { gap: 7px; }
  .lightbox-bottom > button { font-size: 10px; padding: 7px 8px; }
  .filmstrip-photo { width: 46px; height: 35px; }
  .lightbox-filmstrip { gap: 4px; }
  .lightbox-footer { font-size: 9px; margin-top: 8px; padding-top: 8px; }
  .lightbox-footer > span { display: none; }
  .lightbox-footer a { margin-left: auto; }
}
@media (max-width: 380px) {
  .travel-header-inner { padding-inline: 10px; gap: 8px; }
  .travel-brand > span:first-child { font-size: 13px; }
  .travel-mode { padding-inline: 8px; }
  .travel-header svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
