.map-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
}

.map-page-nav a:hover { text-decoration: none; }

.world-map-figure {
  margin: 0 auto;
}

.world-map-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 640;
}

.world-map-art a { cursor: pointer; }
.world-map-art [data-map-decoration] { pointer-events: none; }

.world-map-art a:is(:hover, :focus-visible) > :is(path, circle) {
  fill: #3a668d;
  stroke: #153653;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.world-map-art a:focus-visible { outline: none; }

.world-map-key {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  padding: 0;
  margin: .9rem 0 0;
  color: var(--muted);
  list-style: none;
  font-size: .9rem;
}

.world-map-key li {
  display: flex;
  align-items: baseline;
  gap: .55rem;
}

.world-map-key li::before {
  width: 1.25rem;
  flex: 0 0 1.25rem;
  border-top: 2px dashed var(--world-key-color);
  content: "";
  align-self: center;
}

.world-map-key .world-key-work::before {
  width: .75rem;
  height: .75rem;
  flex-basis: .75rem;
  margin: 0 .25rem;
  border: 0;
  border-radius: 2px;
  background: #142b50;
}

.world-key-brics { --world-key-color: #b48a35; }
.world-key-mena { --world-key-color: #178b92; }
.world-key-links { --world-key-color: #c05d4d; }

.world-map-countries {
  margin-block: clamp(1.5rem, 4vw, 2.8rem) clamp(2.75rem, 5vw, 4.5rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.world-map-countries h2 { margin-bottom: .8rem; }

.world-map-countries ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .2rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.world-map-countries a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  text-underline-offset: .2em;
}

.world-map-countries a:hover { color: #294c74; }

@media (max-width: 600px) {
  .world-map-key { gap: .35rem .95rem; }
  .world-map-countries ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-map-countries a { min-height: 44px; }
}
