.national-map-inset {
  position: absolute;
  z-index: 5;
  left: 16px;
  bottom: 16px;
  width: clamp(94px, 8vw, 124px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: var(--media-radius, 2px);
  background: #9fc1c8;
  box-shadow: 0 9px 22px rgba(16, 47, 85, .18);
}

.national-map-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.national-map-inset::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 46%;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--navy, #102f55);
  box-shadow: 0 0 0 4px rgba(16, 47, 85, .16);
  transform: translate(-50%, -50%);
  transition: background .18s ease, box-shadow .18s ease;
}

.national-map-inset strong {
  position: absolute;
  z-index: 3;
  left: 6px;
  bottom: 6px;
  padding: 3px 5px;
  background: rgba(251, 250, 247, .94);
  color: #171b1d;
  font-size: 8px;
  line-height: 1.15;
  white-space: nowrap;
}

.national-map-inset:hover img,
.national-map-inset:focus-visible img {
  transform: scale(1.03);
}

.national-map-inset:hover::before,
.national-map-inset:focus-visible::before {
  background: var(--wine, #8f1f2c);
  box-shadow: 0 0 0 8px rgba(143, 31, 44, .24);
}

.national-map-inset:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.country-map.has-national-map-inset .country-map-note {
  left: 156px;
}

@media (max-width: 650px) {
  .national-map-inset {
    left: 10px;
    bottom: 10px;
    width: 82px;
  }

  .national-map-inset strong {
    left: 4px;
    bottom: 4px;
    padding: 2px 4px;
    font-size: 7px;
  }

  .country-map.has-national-map-inset .country-map-note {
    left: 106px;
  }

  .modal-map.has-national-map-inset .national-map-inset {
    top: 12px;
    bottom: auto;
  }
}
