/* Travel-specific styles; shared site typography and themes remain authoritative. */
.post .travel-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.post .travel-intro p { margin: 0; max-width: 480px; color: var(--text-secondary); }
.travel-eyebrow { font-size: 10px; letter-spacing: 1.6px; white-space: nowrap; color: var(--text-muted); }
.post .travel-atlas { overflow: hidden; border: 1px solid var(--border-medium); border-radius: 14px; background: var(--bg-secondary); }
.post .travel-atlas div { margin-bottom: 0; }
.travel-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 20px; }
.travel-view-switch { display: flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--bg-primary); border: 1px solid var(--border-light); }
.travel-view-switch button, .travel-map-tools button { border: 0; border-radius: 5px; padding: 9px 12px; font-size: 12px; line-height: 20px; cursor: pointer; }
.travel-view-switch button { color: var(--text-secondary); background: transparent; }
.travel-view-switch button[aria-pressed="true"] { color: var(--text-heading); background: var(--bg-secondary); box-shadow: 0 1px 4px #0002; }
.travel-view-switch button span { margin-left: 6px; font-size: 10px; opacity: .65; font-variant-numeric: tabular-nums; }
.travel-photo-picker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--text-muted); font-size: 11px; }
.travel-photo-picker select { width: 190px; max-width: 100%; height: 38px; margin: 0; padding: 6px 24px 6px 10px; border: 1px solid var(--border-medium); border-radius: 6px; background: var(--bg-primary); color: var(--text-primary); font: inherit; font-size: 12px; }
.travel-globe-stage { position: relative; background: radial-gradient(ellipse at 50% 45%, #172f49 0%, #0c192a 48%, #060c16 85%); }
#globeViz { width: 100%; height: 560px; cursor: grab; }
#globeViz:active { cursor: grabbing; }
.travel-map-tools { position: absolute; z-index: 2; top: 16px; left: 18px; display: flex; gap: 5px; }
.travel-map-tools button { color: #c7d5e8; background: #112034dd; border: 1px solid #ffffff24; min-height: 38px; }
.travel-map-tools button:hover { background: #243b56; color: #fff; }
.travel-globe-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #99acc2; font-size: 11px; pointer-events: none; }
/* CSS pixel sizes stay constant as the globe zooms; avoid globe-space dot geometry. */
.travel-visited-dot { display: block; box-sizing: border-box; width: 6px; height: 6px; border: 1px solid #ffe1d9; border-radius: 50%; background: #f26b5e; box-shadow: 0 1px 3px #000b, 0 0 0 1px #391a1750; pointer-events: auto; }
.travel-visited-dot:hover { background: #ff9b86; box-shadow: 0 0 0 3px #f26b5e40, 0 1px 4px #000b; }
/* Put the tooltip on a child pseudo-element so globe positioning stays untouched. */
.travel-visited-dot::after, .travel-photo-pin::after, .travel-lived-pin::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px; padding: 6px 9px; border: 1px solid #ffffff30; border-radius: 5px; background: #101b2bf2; color: #fff; box-shadow: 0 2px 8px #0006; font: 11px/1.4 system-ui, sans-serif; text-align: center; white-space: normal; pointer-events: none; opacity: 0; visibility: hidden; }
.travel-visited-dot:hover::after, .travel-photo-pin:hover::after, .travel-photo-pin:focus-visible::after, .travel-lived-pin:hover::after, .travel-lived-pin:focus-visible::after { opacity: 1; visibility: visible; }

.travel-photo-pin { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; padding: 0; border: 1.5px solid #fff; border-radius: 50%; color: #162033; background: var(--pin-color); box-shadow: 0 2px 8px #0009; cursor: pointer; pointer-events: auto; }
.travel-photo-pin:hover, .travel-photo-pin:focus-visible { box-shadow: 0 0 0 2px #ffffff30, 0 2px 6px #0009; }
.travel-photo-pin svg { flex-shrink: 0; }
.travel-lived-pin { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; padding: 0; border: 1.5px solid #fff; border-radius: 4px; color: #162033; background: #f4b942; box-shadow: 0 2px 8px #0009; pointer-events: auto; }
.travel-lived-pin svg { flex-shrink: 0; }
button.travel-lived-pin { cursor: pointer; }
.travel-lived-pin:hover, .travel-lived-pin:focus-visible { box-shadow: 0 0 0 3px #f4b94240, 0 2px 8px #0009; }
.travel-map-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.travel-legend { display: flex; flex-wrap: wrap; gap: 14px; }
.travel-legend > span { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-secondary); white-space: nowrap; }
.travel-key { display: inline-flex; align-items: center; justify-content: center; width: 9px; height: 9px; border-radius: 50%; font-style: normal; }
.travel-key-lived { width: 18px; height: 18px; border-radius: 5px; color: #162033; background: #f4b942; }
.travel-key-visited { box-sizing: border-box; width: 6px; height: 6px; border: 1px solid #ffe1d9; background: #f26b5e; box-shadow: 0 1px 3px #0005; }
.travel-key-photo { width: 16px; height: 16px; border: 1.5px solid #fff; color: #162033; background: #e74c3c; line-height: 1; }
.travel-key-plain { width: 6px; height: 6px; background: var(--text-muted); }
#travel-map-status { font-size: 10px; color: var(--text-muted); }
.travel-atlas button:focus-visible, .travel-atlas select:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
#travel-photo-modal { backdrop-filter: blur(6px); }
#travel-photo-modal > div { box-shadow: 0 24px 80px #0006; border: 1px solid var(--border-medium); }
.travel-instagram-link { display: inline-block; margin-top: 12px; font-size: 12px; }
@media (max-width: 640px) {
  .post .travel-intro { display: block; }
  .travel-eyebrow { display: none; }
  .travel-toolbar { padding: 12px; gap: 12px; }
  .travel-view-switch { flex: 1; }
  .travel-view-switch button { flex: 1; }
  .travel-photo-picker { width: 100%; justify-content: space-between; }
  .travel-photo-picker select { flex: 1; max-width: 240px; }
  #globeViz { height: 420px; }
  .travel-map-footer { padding: 14px; }
  .travel-legend { gap: 12px; }
  .travel-map-tools { top: 12px; left: 12px; }
}
.post .travel-quote { margin: 36px 0 12px; padding: 0 0 0 18px; border-left: 2px solid var(--border-medium); }
.post .travel-quote p { margin: 0 0 8px; color: var(--text-secondary); font-size: 14px; max-width: 620px; }
.travel-quote cite { font-size: 11px; font-style: normal; color: var(--text-muted); }
#travel-photo-embed .instagram-media, #travel-photo-embed iframe { min-width: 0 !important; max-width: 100% !important; }
@media (max-width: 640px) {
  #travel-photo-modal { padding: 12px !important; }
  #travel-photo-modal > div { padding: 12px !important; }
}
