.archive-map-section {
  margin: 1.9rem 0 2.6rem;
  padding: 1.65rem 0 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-map-section + .witness-grid { border-top: 0; }

.archive-map-section--western { margin-top: 4.75rem; }

.archive-map-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 1rem;
}

.archive-map-heading h3 {
  margin: .25rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
}

.archive-map-heading p { margin: 0; color: var(--muted); }

.archive-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem 1rem;
  margin-bottom: .7rem;
  color: #5f655f;
  font-size: .78rem;
}

.archive-map-key {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: inherit;
  text-decoration: none;
}

.archive-map-key:hover { color: #8a5c28; }

.archive-map-key i {
  display: inline-block;
  width: 1.15rem;
  height: .72rem;
  border: 1px solid var(--series);
  background: repeating-linear-gradient(var(--angle), transparent 0, transparent 3px, var(--series) 3px, var(--series) 4px);
}

.archive-map-stage { width: 100%; min-height: 390px; }
.archive-map-stage--western { min-height: 470px; }
.archive-map-stage svg { display: block; width: 100%; height: auto; overflow: visible; }

.archive-map-ocean { fill: #eee9e0; stroke: #c9c1b6; stroke-width: 1; }
.archive-map-land { fill: #e3ddd3; stroke: #b9b2a8; stroke-width: .65; }
.archive-map-graticule { fill: none; stroke: #d2cbc0; stroke-width: .45; }
.archive-map-field { stroke: var(--series); stroke-width: 1.4; cursor: pointer; outline: none; }
.archive-map-link:hover .archive-map-field,
.archive-map-link:focus .archive-map-field { stroke-width: 2.6; }

.archive-map-label {
  fill: var(--ink);
  font: 500 12px Georgia, "Times New Roman", serif;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}

.archive-map-label-small {
  fill: #676e6b;
  font: 400 11px Georgia, "Times New Roman", serif;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}

.archive-map-country {
  fill: #707572;
  font: 500 10px Georgia, "Times New Roman", serif;
  letter-spacing: 1.05px;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  pointer-events: none;
}

.archive-map-historical {
  fill: #565d5a;
  font: italic 11px Georgia, "Times New Roman", serif;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  pointer-events: none;
}

.archive-map-historical-note {
  fill: #777d79;
  font: 400 10px Georgia, "Times New Roman", serif;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  pointer-events: none;
}

.archive-map-sea {
  fill: #98938a;
  font: italic 11px Georgia, "Times New Roman", serif;
  letter-spacing: 1.8px;
  pointer-events: none;
}

.archive-map-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1rem;
  margin: .55rem 0 0;
  color: #777d79;
  font-size: .75rem;
}

.archive-map-note a { text-underline-offset: .15rem; }

@media (max-width: 820px) {
  .archive-map-heading { grid-template-columns: 1fr; gap: .65rem; }
  .archive-map-stage { min-height: 280px; }
  .archive-map-stage--western { min-height: 340px; }
  .archive-map-section--western { margin-top: 3.5rem; }
}
