/* Labels are already painted into the supplied map. Keep the anchors and accessible names. */
body[data-place="numberland-map"] .painted-map{aspect-ratio:auto}
body[data-place="numberland-map"] .painted-map>img{height:auto}
body[data-place="numberland-map"] .painted-label{min-height:44px}
body[data-place="numberland-map"] .painted-label strong{opacity:0}

/* Preserve the regional map's fallback columns when the Atlas layout is unavailable. */
@media(min-width:1101px){body[data-place=numberland-map] .map-main{grid-template-columns:300px minmax(0,1fr) 340px}}@media(min-width:721px) and (max-width:1100px){body[data-place=numberland-map] .map-main{grid-template-columns:300px minmax(0,1fr)}}
.map-subtitle {
  font-style: italic;
}

body.atlas-location[data-place="numberland-map"] .map-introduction h1 {
  font-size: clamp(1.75rem, 2.1vw, 2.4rem);
}

body[data-place="numberland-map"] .rossum-map-marker {
  position: absolute;
  left: 86%;
  top: 65%;
  z-index: 2;
  width: 18%;
  transform: translate(-50%, -50%);
  padding: .85em .3em;
  background: url("rossum-parchment.svg") center / 100% 100% no-repeat;
  color: #241508;
  text-align: center;
  font: bold clamp(.8rem, 1.12vw, 1.32rem)/1.03 "Times New Roman", serif;
  pointer-events: auto;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .map-phone-hint {
    display: none;
  }

  body[data-place="numberland-map"] .painted-map {
    height: 100%;
  }

  body[data-place="numberland-map"] .painted-map > img {
    height: 100%;
    object-fit: fill;
  }
}

/* Fit the Numberland regional map and both sidebars to the desktop viewport. */
@media screen and (min-width: 1200px) {
  body.atlas-location[data-place="numberland-map"] .map-main.atlas-workspace {
    grid-template-rows: minmax(0, 1fr) !important;
    height: 100dvh !important;
    padding-block: 0 !important;
  }
  body.atlas-location[data-place="numberland-map"] > footer {
    display: none;
  }
  body.atlas-location[data-place="numberland-map"] .map-frame .painted-map {
    width: 100%;
    height: 100%;
  }
}
