/* Kart-thumbnail – brukes på forsiden med inline SVG */
.map-thumb {
  position: relative;
  display: block;
  overflow: hidden;
}
.map-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}
.map-thumb small {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 10;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #315a46;
  line-height: 1.1;
  text-shadow: none;
  box-shadow: 0 1px 4px rgba(36, 75, 59, .18);
}

/* Leaflet-spesifikke regler (brukes på admin/kart-sider dersom Leaflet lastes) */
.map-thumb .route-map { position: absolute; inset: 0; display: block; pointer-events: none; }
.map-thumb .leaflet-container { background: #dce9d5; font: inherit; }
.map-thumb .leaflet-control-attribution { display: none; }
.route-label { padding: 2px 5px !important; border: 0 !important; border-radius: 999px !important; background: rgba(255, 255, 255, .93) !important; color: #244b3b !important; font-size: 10px !important; font-weight: 850 !important; box-shadow: 0 2px 5px rgba(36, 75, 59, .2) !important; }
.map-unavailable::after { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #dce9d5, #eff4e7); color: #557163; content: "Kart utilgjengelig"; font-size: .7rem; font-weight: 750; }
