/* Listes interactives du récit et légendes intégrées aux cartes de texte. */
.step-card {
  width: var(--route-story-desktop, 380px);
}
.step-card h2 .police,
.step-card h2 .other {
  font-size: inherit;
  font-weight: inherit;
}
.story-inline-key {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #dbe3e780;
  color: #607481;
  font-size: 10px;
  line-height: 1.4;
}
.step-card .story-inline-key p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.story-inline-key p + p {
  margin-top: 5px;
}
.story-key-unit,
.story-key-author {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.story-inline-key strong {
  font:
    11px Electrolize,
    Arial,
    sans-serif;
  flex: none;
}
.story-key-author i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  margin-right: 4px;
}
.violence-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.category-highlight {
  display: grid;
  grid-template-columns: 9px 22px minmax(0, 1fr);
  align-items: baseline;
  gap: 9px;
  padding: 7px 0;
  color: #4c6472;
  font-size: 13px;
  line-height: 1.4;
  width: 100%;
  padding-inline: 7px;
  margin-inline: -7px;
  text-align: left;
  border-radius: 6px;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.category-highlight.is-highlighted {
  background: color-mix(in srgb, var(--category-color) 12%, transparent);
  box-shadow: inset 2px 0 var(--category-color);
  color: #19313c;
}
.category-highlight:focus-visible {
  outline: 2px solid var(--category-color);
  outline-offset: 2px;
}
.category-dot {
  display: inline-block;
  align-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.violence-list strong {
  font:
    13px Electrolize,
    Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #19313c;
}
.category-swatch,
.type-swatch {
  display: inline-block;
  width: 6px;
  height: 15px;
  border-radius: 2px;
}
.type-swatch {
  width: 5px;
  height: 11px;
  margin-right: 8px;
  vertical-align: middle;
}
@media (min-width: 760px) and (max-width: 1050px) {
  .step-card {
    width: var(--route-story-tablet, 300px);
  }
}
@media (max-width: 759px) {
  .step-card,
  #news-city .step-card,
  #ville-type .step-card {
    width: 100%;
  }
  .violence-list {
    margin-top: 18px;
  }
  .category-highlight {
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.4;
  }
  .violence-list strong {
    font-size: 12px;
  }
}
@media (max-height: 540px) and (min-width: 760px) {
  .story-step {
    padding-top: 75px;
    padding-bottom: calc(var(--footer-height) + 24px);
  }
  .step-card h2 {
    font-size: 20px;
  }
  .step-card p {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 14px;
  }
  .violence-list {
    margin-top: 12px;
  }
  .category-highlight {
    padding-block: 4px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .category-highlight {
    transition: none;
  }
}
