.map-locations {
  position: relative;
  /* put list on the left even though it's second in the DOM */
  /* ===== Labels ===== */
  /* JS adds .is-hover to the matching item when a PIN is hovered */
  /* ===== Map ===== */
  /* ===== Pins ===== */
  /* Full white when:
     - hovering/focusing the pin itself
     - or when JS marks the matching pin .is-hover (from label hover) */
  /* ===== Responsive ===== */
}
.map-locations-inner {
  margin: 0 auto;
  align-items: start;
}
.map-locations-figure {
  order: 2;
}
.map-locations-list {
  order: 1;
}
.map-locations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: end;
  position: absolute;
  bottom: 0;
  left: 0;
}
.map-locations-item {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.map-locations-link {
  display: inline-block;
  color: black;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.15s ease, text-decoration 0.15s ease;
  /* local hover/focus = red; override theme defaults */
}
.map-locations-link:hover, .map-locations-link:focus, .map-locations-link:focus-visible {
  color: white;
  text-decoration: none;
  outline: none;
}
.map-locations-label {
  font-family: "Figtree", sans-serif;
}
.map-locations-item.is-hover .map-locations-link {
  color: var(--red);
  text-decoration: none;
}
.map-locations-figure {
  position: relative;
}
.map-locations-canvas {
  position: relative;
  width: 100%;
}
.map-locations-canvas svg {
  display: block;
  width: 100%;
  height: auto;
}
.map-locations-pins {
  position: absolute;
  inset: 0;
  pointer-events: none; /* contain to pins */
}
.map-locations-pin {
  position: absolute;
  transform: translate(-50%, -100%); /* tip sits on the % point */
  width: clamp(18px, 2.2vw, 30px);
  height: auto;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  color: rgb(255, 255, 255); /* default dim */
  transition: transform 0.15s ease, color 0.15s ease;
}
.map-locations-pin .outside-pin {
  fill: white;
}
.map-locations-pin .inside-pin {
  fill: var(--red);
}
.map-locations-pin svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}
.map-locations-pin:hover .outside-pin, .map-locations-pin:focus-visible .outside-pin, .map-locations-pin.is-hover .outside-pin {
  fill: var(--dark-red);
}
.map-locations-pin:hover .inside-pin, .map-locations-pin:focus-visible .inside-pin, .map-locations-pin.is-hover .inside-pin {
  fill: var(--dark-red);
}
@media (max-width: 1024px) {
  .map-locations-inner {
    grid-template-columns: 1fr; /* stack */
    gap: 28px;
  }
  .map-locations-figure {
    order: 1;
  }
  .map-locations-list {
    order: 2;
    align-content: start;
  }
}
