/* Punkt 25: jeden pełny rocznik SEWiK i własna mapa zdarzeń w promieniu 5 km. */
body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"]{
  border-left-width:1px!important;
  border-color:#d4ddd6!important;
  box-shadow:none!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__icon{
  color:#176f45!important;
  background:#f1f3f1!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__icon svg{
  width:28px;
  height:28px;
}

body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__label{
  display:flex;
  align-items:center;
  gap:7px;
  color:#17251c;
  font-size:15px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:-.01em;
  text-transform:none;
  text-wrap:pretty;
}

body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__label::after{
  content:none!important;
  display:none!important;
}

body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__value{
  color:#23362a;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  white-space:pre-line;
  text-wrap:pretty;
}

body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__details{
  padding-inline:16px;
}

body.has-map-shell .ig-road-safety{
  display:grid;
  gap:14px;
  min-width:0;
  color:#17251c;
}

body.has-map-shell .ig-road-safety__lead,
body.has-map-shell .ig-road-safety__definitions,
body.has-map-shell .ig-road-safety__notice,
body.has-map-shell .ig-road-safety__empty{
  margin:0;
  padding:10px 11px;
  border-radius:10px;
  font-size:11px;
  line-height:1.5;
  text-wrap:pretty;
}

body.has-map-shell .ig-road-safety__lead{
  border:1px solid #c8dfcf;
  background:#edf7f0;
  color:#274d36;
}

body.has-map-shell .ig-road-safety__stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:0;
  border-block:1px solid #dce5de;
}

body.has-map-shell .ig-road-safety__stats>div{
  display:grid;
  min-width:0;
  gap:3px;
  padding:9px 6px;
  text-align:center;
}

body.has-map-shell .ig-road-safety__stats>div+div{
  border-left:1px solid #dce5de;
}

body.has-map-shell .ig-road-safety__stats dt{
  color:#5a6c60;
  font-size:10px;
  font-weight:750;
  line-height:1.25;
}

body.has-map-shell .ig-road-safety__stats dd{
  margin:0;
  color:#184d2e;
  font-size:17px;
  font-weight:900;
  line-height:1.15;
}

body.has-map-shell .ig-road-safety__map{
  display:grid;
  gap:8px;
  min-width:0;
}

body.has-map-shell .ig-road-safety__map-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:6px 12px;
  flex-wrap:wrap;
}

body.has-map-shell .ig-road-safety__map-heading h3{
  margin:0;
  color:#17251c;
  font-size:13px;
  font-weight:850;
  line-height:1.35;
}

body.has-map-shell .ig-road-safety__map-heading span{
  color:#607166;
  font-size:10.5px;
  font-weight:750;
  line-height:1.35;
}

body.has-map-shell .ig-road-safety__legend{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 12px;
  min-width:0;
  color:#4f6256;
  font-size:10px;
  font-weight:700;
  line-height:1.3;
}

body.has-map-shell .ig-road-safety__legend>span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}

body.has-map-shell .ig-road-safety__map .ig-mini-map{
  height:260px;
  min-height:260px;
  border:1px solid #d8e0da;
  border-radius:10px;
  overflow:hidden;
}

.ig-road-event-marker-wrap{
  border:0!important;
  background:transparent!important;
}

.ig-road-event-marker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  box-sizing:border-box;
  border:2px solid #fff;
  border-radius:50%;
  color:#fff;
  font:900 13px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 1px 4px rgba(23,37,28,.28);
}

.ig-road-event-marker--accident{background:#a93a32}
.ig-road-event-marker--collision{background:#a36116}

body.has-map-shell .ig-road-safety__legend .ig-road-event-marker{
  width:18px;
  height:18px;
  border-width:1.5px;
  font-size:11px;
  box-shadow:none;
}

body.has-map-shell .ig-road-safety__parcel-dot{
  display:inline-block;
  width:12px;
  height:12px;
  box-sizing:border-box;
  border:3px solid #176f45;
  border-radius:50%;
  background:#fff;
}

.ig-road-event-popup{
  display:grid;
  gap:3px;
  min-width:150px;
  color:#405448;
  font:500 11px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ig-road-event-popup strong{
  color:#17251c;
  font-size:13px;
  font-weight:850;
}

body.has-map-shell .ig-road-safety__definitions{
  border:1px solid #dde3de;
  background:#f8faf8;
  color:#4b5d51;
}

body.has-map-shell .ig-road-safety__definitions strong{color:#2d4635}

body.has-map-shell .ig-road-safety__notice{
  border:1px solid #ded9bd;
  background:#faf8ee;
  color:#544e2f;
}

body.has-map-shell .ig-road-safety__source{
  display:grid;
  gap:4px;
  color:#5a6c60;
  font-size:10.5px;
  line-height:1.4;
}

body.has-map-shell .ig-road-safety__source p,
body.has-map-shell .ig-road-safety__source small{margin:0}

@media(max-width:380px){
  body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__details{padding-inline:10px}
  body.has-map-shell .ig-road-safety__stats>div{padding-inline:3px}
  body.has-map-shell .ig-road-safety__stats dt{font-size:9.5px}
  body.has-map-shell .ig-road-safety__map .ig-mini-map{height:235px;min-height:235px}
}

@media(max-width:360px){
  body.has-map-shell details.ig-truth-card[data-truth-section="road_safety"] .ig-truth-card__label{font-size:14px}
  body.has-map-shell .ig-road-safety__legend{gap:6px 9px}
}

@media print{
  details.ig-truth-card[data-truth-section="road_safety"]{break-inside:avoid}
  .ig-road-safety__map .ig-mini-map{height:220px!important;min-height:220px!important}
}
