.juice-map-widget {
  --map-ink: #111111;
  --map-land: #dddddd;
  --map-accent: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
  max-width: 1180px;
  margin-inline: auto;
  color: var(--map-ink);
}

.juice-map-canvas {
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(ellipse at 55% 42%, #ffffff 0%, #f0f0f0 80%);
}

.juice-map-art {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 480 / 510;
  margin-inline: auto;
}

.juice-map-country {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.juice-map-land {
  fill: var(--map-land);
  stroke: #bbbbbb;
  stroke-width: 1;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 0 #bbbbbb75);
}

.juice-map-pin,
.juice-map-extra {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.juice-map-pin {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid #ffffff;
  color: var(--map-ink);
  background: var(--map-accent);
  font: 20px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 7px #11111133;
  transition: box-shadow .18s ease;
}

.juice-map-pin > span {
  width: 9px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(58% 0, 0 57%, 43% 57%, 23% 100%, 100% 38%, 56% 38%);
  font-size: 0;
}

.juice-map-pin[aria-pressed="true"] {
  color: white;
  background: var(--map-ink);
  box-shadow: 0 0 0 7px #11111126, 0 3px 9px #11111144;
  z-index: 1;
}

.juice-map-extra {
  width: 12px;
  height: 12px;
  background: #111111;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px #11111126;
}

.juice-map-caption {
  margin: 0 0 18px;
  color: #666666;
  font-size: 12px;
  line-height: 1.5;
}

.juice-map-widget h3 {
  margin: 0 0 28px;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.juice-map-locations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.juice-map-locations li + li {
  margin-top: 12px;
}

.juice-map-locations button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #d9d9d9;
  border-radius: 19px;
  padding: 20px 22px;
  background: #fff;
  color: var(--map-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.juice-map-locations button[aria-pressed="true"] {
  border-color: #111111;
  background: #eeeeee;
}

.juice-map-locations strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.juice-map-locations small {
  display: block;
  margin-top: 6px;
  color: #666666;
  font-size: 13px;
  line-height: 1.5;
}

.juice-map-row-arrow {
  font-size: 24px;
}

.juice-map-widget button:focus-visible {
  outline: 3px solid #111111;
  outline-offset: 4px;
}

@media (max-width: 740px) {
  .juice-map-widget {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .juice-map-art {
    max-height: none;
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .juice-map-widget h3 {
    margin-bottom: 20px;
  }

  .juice-map-locations button {
    padding: 17px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .juice-map-widget button {
    transition: none;
  }
}
