/* NDM V25.9.1 — One responsive, editor-controlled emblem + counter layout. */
.ndm-home .ndm-stat,
.ndm-criminal-v2 .heroStat {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  color: #f8f7f1;
  border: 0;
  border-inline: 0;
  padding: 12px clamp(18px, 2.5vw, 34px);
}

/* Gold divider on the visual LEFT only: softly tapered ends rather than a hard line. */
.ndm-home .ndm-stat::after,
.ndm-criminal-v2 .heroStat::after {
  content: '';
  position: absolute;
  left: 0;
  right: auto;
  top: 18%;
  bottom: 18%;
  width: 1px;
  height: auto;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(202, 163, 92, .55) 16%,
    rgba(202, 163, 92, .86) 50%,
    rgba(202, 163, 92, .55) 84%,
    transparent 100%);
  pointer-events: none;
}

/* The icon and its semicircle form a single scalable unit. */
.ndm-home .ndm-stat .ndm-stat-mark,
.ndm-criminal-v2 .heroStat .statSymbol {
  --ndm-stat-visual-size: clamp(24px, var(--ndm-stat-icon-size, 64px), 180px);
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: content-box;
  width: calc(var(--ndm-stat-visual-size) + 30px);
  height: calc(var(--ndm-stat-visual-size) + 30px);
  min-height: 0;
  margin: 0 auto 1px;
  padding: 0;
  color: #cba660;
}
.ndm-home .ndm-stat .ndm-stat-mark::before,
.ndm-criminal-v2 .heroStat .statSymbol::before {
  content: '';
  position: absolute;
  inset: 4px;
  box-sizing: border-box;
  width: auto;
  height: auto;
  border: 1.5px solid rgba(202, 163, 92, .85);
  border-bottom-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}
.ndm-home .ndm-stat .ndm-stat-mark img,
.ndm-criminal-v2 .heroStat .statSymbol img {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: var(--ndm-stat-visual-size) !important;
  max-width: none !important;
  height: var(--ndm-stat-visual-size) !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 !important;
}
.ndm-home .ndm-stat .ndm-stat-row,
.ndm-criminal-v2 .heroStat .statRow {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(4px, .8vw, 10px);
  direction: rtl;
  width: 100%;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(17px, 1.7vw, 25px);
  line-height: 1.12;
}
.ndm-home .ndm-stat .ndm-stat-row strong,
.ndm-criminal-v2 .heroStat .statRow strong {
  display: inline-block;
  color: #cfa95f;
  font-family: var(--heading, inherit);
  font-size: clamp(50px, 5.6vw, 96px);
  font-weight: 700;
  line-height: 1.06;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  min-width: 0;
}
.ndm-home .ndm-stat .ndm-stat-caption,
.ndm-criminal-v2 .heroStat > p {
  color: #f4f2ea;
  font-size: clamp(19px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}
@media(max-width:760px){
 .ndm-home .ndm-stat, .ndm-criminal-v2 .heroStat {
   border: 0;
   padding: 12px 0 0;
   min-height: 0;
 }
 .ndm-home .ndm-stat::after, .ndm-criminal-v2 .heroStat::after { top: 22%; bottom: 22%; opacity: .75; }
 .ndm-home .ndm-stat .ndm-stat-row,
 .ndm-criminal-v2 .heroStat .statRow {font-size: clamp(15px, 4vw, 20px)}
 .ndm-home .ndm-stat .ndm-stat-row strong,
 .ndm-criminal-v2 .heroStat .statRow strong {font-size: clamp(42px, 10vw, 66px)}
 .ndm-home .ndm-stat .ndm-stat-caption,
 .ndm-criminal-v2 .heroStat > p {font-size: clamp(18px, 5vw, 24px)}
}

/* NDM hero correction: both reordered DOM children belong to the same desktop grid row.
   Do not alter markup, translations, or the approved mobile stat-first flow. */
@media (min-width: 761px) {
 .ndm-criminal-v2 .ndm-v2-original-hero .heroInner {
   display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.86fr);
   align-items:center;grid-auto-flow:row;
 }
 .ndm-criminal-v2 .ndm-v2-original-hero .heroCopy {grid-column:1;grid-row:1;min-width:0;align-self:center;}
 .ndm-criminal-v2 .ndm-v2-original-hero .heroStat {grid-column:2;grid-row:1;min-width:0;align-self:center;}
}
@media (max-width: 760px) {
 .ndm-criminal-v2 .ndm-v2-original-hero .heroInner {display:flex;flex-direction:column;align-items:stretch;}
 .ndm-criminal-v2 .ndm-v2-original-hero .heroStat {order:0;}
 .ndm-criminal-v2 .ndm-v2-original-hero .heroCopy {order:1;}
}
