/* wars.css - October 7th, Gaza, the Iran wars, the fronts (builder B12). Uses the shared tokens from jewish.css. */

.jw-wars-facts { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.jw-wars-facts li { padding: 10px 12px; border: 1px solid var(--jw-line); border-radius: var(--jw-radius); background: var(--jw-card); min-width: 0; }
.jw-wars-facts b { display: block; font-family: var(--jw-serif); font-size: 1.45rem; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--jw-ink); }
.jw-wars-facts span { display: block; font-size: .84rem; color: var(--jw-muted); }

.jw-wars-tl { list-style: none; margin: 14px 0 18px; padding: 0; border-left: 2px solid var(--jw-line); }
.jw-wars-tl li { position: relative; padding: 0 0 14px 16px; }
.jw-wars-tl li::before { content: ""; position: absolute; left: -6px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--jw-card); border: 2px solid var(--jw-muted); }
.jw-wars-when { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--jw-muted); font-variant-numeric: tabular-nums; }
.jw-wars-what { display: block; }

.jw-wars-onward { margin: 22px 0 8px; }

/* memorial pages stay quiet: no accent colour on the figures or the timeline */
.jw-memorial .jw-wars-facts b { font-weight: 500; }
.jw-memorial .jw-wars-tl li::before { border-color: var(--jw-line); }
.jw-memorial .jw-card { border-left-width: 1px; }
.jw-memorial .jw-head h1 .jw-he { color: var(--jw-muted); }

@media (min-width: 700px) {
  .jw-wars-tl li { display: grid; grid-template-columns: 11.5rem 1fr; gap: 12px; }
  .jw-wars-when { font-size: .84rem; padding-top: .1em; }
}
