.map-section-shell {
  width: 100%;
  padding: 0 0 72px;
  box-sizing: border-box;
  background: #fcfcfc;
}

.map-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 334px;
  overflow: hidden;
  border-radius: 20px;
  box-sizing: border-box;
  color: #18141e;
  /* matches the video's green as browsers actually render it (tv-range bt709 lift) */
  background: var(--map-background-color, #b1cfaf);
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
}

/* globe is centered in the video frame (~83% of its height); anchor by center,
   with the center pushed below the section so only the top arc shows */
.map-section__media {
  position: absolute;
  left: 30%;
  top: 123%;
  z-index: 0;
  display: block;
  height: 260%;
  width: auto;
  transform: translate(-50%, -50%);
  /* video green shifts slightly vs CSS color; fade the frame edges into the bg */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 85%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 85%, transparent 100%);
}

.map-section__inner {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 60px));
  min-height: inherit;
  margin: 0 auto;
}

.map-section__content {
  position: absolute;
  z-index: 1;
  top: 76px;
  right: 7px;
  width: min(566px, calc(100% - 60px));
}

.map-section__title {
  margin: 0 0 20px;
  color: inherit;
  font-family: inherit;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.map-section__description {
  margin: 0;
  color: inherit;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

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

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

.map-reveal .map-section {
  opacity: 0;
}

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

/* same breakpoint as the navbar's mobile switch */
@media (max-width: 1280px) {
  .map-section {
    min-height: 420px;
  }

  /* center the globe, its top arc pinned ~40% down regardless of width */
  .map-section__media {
    left: 50%;
    top: 140%;
    height: 240%;
    width: auto;
  }

  .map-section__content {
    top: 40px;
    right: 30px;
    bottom: auto;
    left: 30px;
    width: auto;
  }
}

@media (max-width: 767px) {
  .map-section-shell {
    padding: 0;
  }

  .map-section {
    min-height: 508px;
    border-radius: 16px;
  }

  .map-section__inner {
    width: 100%;
  }

  .map-section__content {
    top: 35px;
    right: 15px;
    bottom: auto;
    left: 15px;
    width: auto;
  }

  .map-section__title {
    font-size: 34px;
  }

  .map-section__description {
    font-size: 14px;
    line-height: 18px;
  }
}

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

/* 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;
  }
}

