/* Authored \n breaks are desktop-only; below the site's mobile breakpoint
   (navbar switch, 1280px) the text reflows naturally. */
@media (max-width: 1280px) {
  br.multiline-br {
    display: none;
  }
}

.nm-map {
  width: 100%;
  padding: 60px 30px;
  box-sizing: border-box;
  background: #fcfcfc;
  color: #18141e;
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
}

.nm-map__inner {
  width: min(1380px, 100%);
  margin-inline: auto;
}

.nm-map__badge {
  display: inline-block;
  margin-bottom: 36px;
  padding: 3.5px 17.5px;
  border-radius: 81.25px;
  background: #e6ece9;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 16.25px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.nm-map__title {
  margin: 0 0 36px;
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: 0;
}

/* Fixed-height panel on both breakpoints; the uploaded PNG/SVG covers it */
.nm-map__figure {
  height: 564px;
  overflow: hidden;
  border-radius: 20px;
  background: #e6ece9;
}

.nm-map__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .nm-map {
    padding: 38px 15px;
  }

  .nm-map__badge {
    margin-bottom: 29px;
  }

  .nm-map__title {
    margin-bottom: 34px;
    font-size: 32px;
    line-height: 1.1;
  }

  /* Panel runs edge to edge, breaking out of the 15px side padding */
  .nm-map__figure {
    margin-inline: -15px;
    border-radius: 0;
  }

  /* Crop slightly right of center so the coloured countries sit centered */
  .nm-map__image {
    object-position: 60% center;
  }
}


@keyframes nm-map-reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.nm-map-reveal .nm-map__inner {
  opacity: 0;
}

.nm-map-reveal.is-revealed .nm-map__inner {
  animation: nm-map-reveal 850ms cubic-bezier(0.4, 0, 0.2, 1) 100ms both;
}

@media (prefers-reduced-motion: reduce) {
  .nm-map-reveal .nm-map__inner {
    opacity: 1;
    animation: none;
  }
}

