/* Local Canvas / Path2D geography. One implementation; no raster/SVG map runtime. */
.vector-atlas {
  width: 100%;
  margin-top: clamp(28px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid #c7e5f4;
  background: #fff;
  box-shadow: 0 22px 55px #37668514;
}
.vector-atlas-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 285px);
  height: clamp(500px, 38vw, 620px);
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}
.vector-atlas-viewport {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #dff2fb;
  cursor: grab;
  touch-action: none;
  user-select: none;
  overscroll-behavior: contain;
}
.vector-atlas-viewport.dragging { cursor: grabbing; }
.vector-atlas-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vector-atlas-labels,
.vector-atlas-markers { position: absolute; inset: 0; }
.vector-atlas-labels { pointer-events: none; }
.vector-atlas-markers { pointer-events: none; }
.vector-atlas-label {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #ffffffcc, -1px 0 0 #ffffffcc;
}
.vector-atlas-label.country { color: #6e91a3; font-size: 13px; font-weight: 800; letter-spacing: .11em; opacity: .62; }
.vector-atlas-label.water { color: #5ca6cf; font-size: 10px; font-style: italic; font-weight: 700; letter-spacing: .07em; opacity: .86; }
.vector-atlas-label.city { color: #547487; font-size: 11px; font-weight: 700; opacity: .9; }
.vector-atlas-marker {
  position: absolute;
  z-index: 6;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}
.vector-atlas-dot {
  position: absolute;
  inset: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-yellow, #ffab1a);
  box-shadow: 0 0 0 1px #b96f0061, 0 4px 14px #15324b29;
  transition: transform .14s ease, background .14s ease;
}
.vector-atlas-marker.major .vector-atlas-dot { inset: 4px; box-shadow: 0 0 0 5px #ff980026, 0 0 0 1px #b96f0061, 0 4px 14px #15324b29; }
.vector-atlas-marker:hover .vector-atlas-dot,
.vector-atlas-marker:focus-visible .vector-atlas-dot,
.vector-atlas-marker.active .vector-atlas-dot { background: #e25749; transform: scale(1.35); }
.vector-atlas-marker:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.vector-atlas-marker.minor { opacity: .5; }
.vector-atlas-viewport.detail .vector-atlas-marker.minor { opacity: 1; }
.vector-atlas-place-label {
  position: absolute;
  z-index: 7;
  display: block;
  padding: 4px 8px;
  border: 1px solid #c7dfeb;
  border-radius: 6px;
  background: #f6fbfdee;
  color: #294d65;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 2px 8px #15324b10;
}
.vector-atlas-place-label.major { font-size: 13px; }
.vector-atlas-place-label:hover,
.vector-atlas-place-label:focus-visible,
.vector-atlas-place-label.active {
  border-color: #15324b;
  background: #15324b;
  color: #fff;
  box-shadow: 0 8px 22px #15324b1d;
}
.vector-atlas-place-label:focus-visible { outline: 2px solid #ffab1a; outline-offset: 2px; }
.vector-atlas-help {
  position: absolute;
  z-index: 8;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid #c9e1eef0;
  background: #fffffff0;
  color: #6d8798;
  font-size: 10px;
  font-weight: 650;
  pointer-events: none;
}
.vector-atlas-card {
  min-width: 0;
  overflow: auto;
  padding: 20px 18px 18px;
  background: #fffffff8;
  color: var(--ink);
}
.vector-atlas-card[hidden] { display: none !important; }
.vector-atlas-card.floating {
  position: absolute;
  z-index: 14;
  inset: auto auto auto 0;
  width: min(310px, calc(100% - 24px));
  border: 1px solid #bdd9e7;
  box-shadow: 0 16px 38px #15324b24;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.vector-atlas-card-close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  width: 30px;
  height: 30px;
  margin: -8px -6px 2px 10px;
  padding: 0;
  border: 1px solid #d3e6ef;
  border-radius: 50%;
  background: #fff;
  color: #31536b;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.vector-atlas-card-close:hover,
.vector-atlas-card-close:focus-visible { border-color: #15324b; color: #15324b; }
.vector-atlas-card-kicker { margin: 0 0 7px; color: #397ea9; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.4; }
.vector-atlas-card h3 { margin: 0; font-size: clamp(24px, 2vw, 30px); line-height: 1.08; letter-spacing: -.035em; }
.vector-atlas-event-list { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; }
.vector-atlas-event-list li { display: grid; gap: 2px; padding: 9px 0; border-top: 1px solid #dcecf4; }
.vector-atlas-event-list strong { font-size: 12px; line-height: 1.35; }
.vector-atlas-event-list span,
.vector-atlas-event-list small { color: #6c8798; font-size: 10px; line-height: 1.35; }
.vector-atlas-rail {
  display: flex;
  gap: 7px;
  padding: 11px 12px 12px;
  border-top: 1px solid #d7eaf4;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.vector-atlas-rail::-webkit-scrollbar { display: none; }
.vector-atlas-rail button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #c7dfeb;
  border-radius: 999px;
  background: #fff;
  color: #31536b;
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}
.vector-atlas-rail button:hover,
.vector-atlas-rail button:focus-visible,
.vector-atlas-rail button.active { border-color: #15324b; background: #15324b; color: #fff; }
.vector-atlas-rail.vector-atlas-rail-panel {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 6px;
  height: 100%;
  min-height: 0;
  padding: 12px 10px;
  border-left: 1px solid #d7eaf4;
  border-top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #fff, #fbfdff);
  scrollbar-width: thin;
}
.vector-atlas-rail.vector-atlas-rail-panel button {
  width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 11px;
  text-align: left;
}
@media (min-width: 901px) {
  .vector-atlas-rail.vector-atlas-rail-panel button {
    border-color: #fff;
    background: #fff;
  }
  .vector-atlas-rail.vector-atlas-rail-panel button:hover,
  .vector-atlas-rail.vector-atlas-rail-panel button:focus-visible {
    border-color: #a9d2e6;
    background: #fff;
    color: #31536b;
  }
  .vector-atlas-rail.vector-atlas-rail-panel button.active {
    border-color: #15324b;
    background: #15324b;
    color: #fff;
  }
}
.vector-atlas-activate,
.vector-atlas-deactivate { display: none; }

@media (max-width: 1100px) {
  .vector-atlas-stage { grid-template-columns: minmax(0, 1fr) minmax(210px, 250px); }
  .vector-atlas-place-label { font-size: 11px; }
  .vector-atlas-place-label.major { font-size: 12px; }
}

@media (max-width: 900px) {
  .vector-atlas-stage { display: block; height: auto; overflow: visible; }
  .vector-atlas-viewport { height: min(62vh, 560px); min-height: 430px; }
  .vector-atlas-card,
  .vector-atlas-card.floating {
    position: static;
    width: auto;
    max-height: 275px;
    border-top: 1px solid #d7eaf4;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 18px;
  }
  .vector-atlas-rail.vector-atlas-rail-panel {
    display: flex;
    gap: 7px;
    padding: 11px 12px 12px;
    border-left: 0;
    border-top: 1px solid #d7eaf4;
    overflow-x: auto;
    overflow-y: hidden;
    background: #fff;
  }
  .vector-atlas-rail.vector-atlas-rail-panel button {
    width: auto;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 10px;
    text-align: center;
  }
}

@media (max-width: 760px), (pointer: coarse) {
  .vector-atlas-viewport { cursor: default; touch-action: pan-y; }
  .vector-atlas-viewport.interaction-active { cursor: grab; touch-action: none; }
  .vector-atlas-viewport.interaction-active.dragging { cursor: grabbing; }
  .vector-atlas-help { display: none; }
  .vector-atlas-activate {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: end center;
    width: 100%;
    padding: 0 16px 18px;
    border: 0;
    background: linear-gradient(to bottom, transparent 52%, #0d2b416b);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    cursor: pointer;
  }
  .vector-atlas-activate[hidden] { display: none; }
  .vector-atlas-activate span { padding: 10px 13px; border: 1px solid #ffffff9c; background: #15324be8; box-shadow: 0 8px 24px #15324b2c; }
  .vector-atlas-deactivate {
    position: absolute;
    z-index: 25;
    top: 10px;
    right: 10px;
    display: block;
    padding: 8px 10px;
    border: 1px solid #bfdcea;
    background: #fffffff2;
    color: #31536b;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    box-shadow: 0 5px 18px #15324b18;
    cursor: pointer;
  }
  .vector-atlas-deactivate[hidden] { display: none; }
  .vector-atlas-label.country { font-size: 11px; }
  .vector-atlas-place-label { font-size: 11px; padding: 5px 8px; }
  .vector-atlas-place-label.major { font-size: 12px; }
  .vector-atlas-card,
  .vector-atlas-card.floating { max-height: 260px; }
  .vector-atlas-rail.vector-atlas-rail-panel { padding-inline: 10px; }
}

@media (max-width: 420px) {
  .vector-atlas-viewport { height: 58vh; min-height: 420px; max-height: 510px; }
  .vector-atlas-card,
  .vector-atlas-card.floating { max-height: 250px; padding: 18px 15px; }
}
