/* israel.css - /israel/ (builder B10): the Today in Israel strip, lists, stat tiles, maps and documents.
   Colours come from jewish.css tokens; maps use their own small palette, redefined for dark mode. */
.israel-meta { color: var(--jw-gold); font-size: .9rem; margin: 0 0 4px; }
.israel-kicker { margin: 0 0 4px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.israel-kicker a { color: var(--jw-gold); text-decoration: none; }

.israel-today { background: var(--jw-soft); border: 1px solid var(--jw-line); border-radius: var(--jw-radius); padding: 12px 14px; margin: 0 0 22px; }
.israel-today h2 { font-family: var(--jw-serif); font-size: 1.15rem; margin: 0 0 10px; }
.israel-cells, .israel-live.jw-filled { display: flex; flex-wrap: wrap; gap: 10px; }
.israel-live { display: contents; }
.israel-cell { flex: 1 1 200px; min-width: 0; background: var(--jw-card); border: 1px solid var(--jw-line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.israel-cell > small { color: var(--jw-gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.israel-cell > b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.israel-cell > span { color: var(--jw-muted); font-size: .85rem; }
.israel-wx, .israel-mkt { list-style: none; margin: 2px 0 0; padding: 0; font-size: .9rem; display: grid; gap: 3px; }
.israel-wx li, .israel-mkt li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.israel-wx svg { width: 22px; height: 22px; }
.israel-mkt .up { color: #1d7a3a; }
.israel-mkt .down { color: #b3261e; }

.israel-start { margin: 0; padding-left: 1.1em; }
.israel-start li { margin: 0 0 6px; }

.israel-list { margin: 0; padding-left: 2em; }
.israel-list li { margin: 0 0 12px; }
.israel-list li > a { text-decoration: none; }
.israel-list li > a b { text-decoration: underline; text-underline-offset: 2px; }
.israel-list li > span { display: block; color: var(--jw-muted); font-size: .92rem; }
.israel-years { color: var(--jw-gold); }

.israel-prose h2 { font-family: var(--jw-serif); margin: 1.4em 0 .5em; font-size: 1.35rem; }
.israel-prose h3 { margin: 1.2em 0 .4em; font-size: 1.08rem; }
.israel-prose blockquote { margin: 1em 0; padding: 4px 14px; border-left: 3px solid var(--jw-gold); color: var(--jw-ink); }
.israel-prose .jw-pair { margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1px solid var(--jw-line); }
.israel-prose .jw-pair p { margin: 0 0 .4em; }
.israel-sources { font-size: .9rem; padding-left: 1.1em; }
.israel-sources li { margin: 0 0 4px; }

.jw-doc { border: 1px solid var(--jw-line); background: var(--jw-card); border-radius: var(--jw-radius); padding: 14px 18px; margin: 16px 0; font-family: var(--jw-serif); line-height: 1.6; }
.jw-doc h3 { font-family: inherit; text-align: center; }

.israel-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0 0 22px; }
.israel-stat { background: var(--jw-soft); border: 1px solid var(--jw-line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.israel-stat small { color: var(--jw-gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.israel-stat b { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.israel-stat span { color: var(--jw-muted); font-size: .85rem; }

/* maps */
.israel-map { margin: 18px auto; max-width: 560px; }
.israel-map-israel { max-width: 380px; }
.israel-map svg { width: 100%; height: auto; display: block; border: 1px solid var(--jw-line); border-radius: 8px; --m-sea: #dce9f3; --m-land: #efebe0; --m-il: #c9d9f2; --m-js: #e4dcc4; --m-gz: #e9d6c6; --m-edge: #8f8a7d; --m-ink: #2a2f3a; --m-halo: #ffffff; --m-dot: #1d4d9a; --m-red: #b3261e; }
.israel-map .m-sea { fill: var(--m-sea); }
.israel-map .m-land { fill: var(--m-land); stroke: var(--m-edge); stroke-width: .7; }
.israel-map .m-il { fill: var(--m-il); stroke: #1d4d9a; stroke-width: 1; }
.israel-map .m-js { fill: var(--m-js); stroke: var(--m-edge); stroke-width: .8; stroke-dasharray: 3 2; }
.israel-map .m-gz { fill: var(--m-gz); stroke: var(--m-edge); stroke-width: .8; stroke-dasharray: 3 2; }
.israel-map .m-water { fill: var(--m-sea); stroke: #8fb3cf; stroke-width: .5; }
.israel-map text { font: 13px/1 system-ui, sans-serif; fill: var(--m-ink); paint-order: stroke; stroke: var(--m-halo); stroke-width: 3px; stroke-linejoin: round; }
.israel-map .m-lbl { font-size: 12px; }
.israel-map .m-sea.m-lbl, .israel-map text.m-sea { fill: #3f6f95; font-style: italic; stroke: none; }
.israel-map text.m-land { fill: #6f6a5d; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; stroke: none; }
.israel-map text.m-area { fill: #6f5a2a; font-style: italic; font-size: 11px; }
.israel-map text.m-il { fill: #1d4d9a; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.israel-map .m-pt circle { fill: var(--m-dot); stroke: #fff; stroke-width: 1.5; }
.israel-map .m-pt.m-capital circle { fill: #85600f; }
.israel-map .m-pt.m-battle circle, .israel-map .m-pt.m-strike circle { fill: var(--m-red); }
.israel-map .m-pt.m-site circle { fill: #2f6b3a; }
.israel-map .m-pt.m-base circle { fill: #4a4f5c; }
.israel-map .m-line { fill: none; stroke: var(--m-red); stroke-width: 2; }
.israel-map .m-route { stroke: #1d4d9a; stroke-dasharray: 6 4; }
.israel-map .m-front { stroke: var(--m-red); stroke-dasharray: 2 3; stroke-width: 2.5; }
.israel-map .m-arrowhead { fill: var(--m-red); }
.israel-map figcaption { font-size: .85rem; color: var(--jw-muted); margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.israel-map-key { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.m-key::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; border: 1px solid #8f8a7d; }
.m-key-il::before { background: #c9d9f2; border-color: #1d4d9a; }
.m-key-js::before { background: #e4dcc4; }
.m-key-gz::before { background: #e9d6c6; }
.m-key-pt::before { border-radius: 50%; background: #1d4d9a; border-color: #fff; }
.m-key-pt.m-capital::before { background: #85600f; }
.m-key-pt.m-battle::before, .m-key-pt.m-strike::before { background: #b3261e; }
.m-key-pt.m-site::before { background: #2f6b3a; }
.m-key-pt.m-base::before { background: #4a4f5c; }

html[data-fs-theme="dark"] .israel-map svg { --m-sea: #1b2a38; --m-land: #2a2822; --m-il: #23395e; --m-js: #3a3426; --m-gz: #3d3026; --m-edge: #6b665a; --m-ink: #ece8df; --m-halo: #14130f; --m-dot: #8db4f5; }
html[data-fs-theme="dark"] .israel-map text.m-sea { fill: #8fb3cf; }
html[data-fs-theme="dark"] .israel-map text.m-land { fill: #a39e93; }
html[data-fs-theme="dark"] .israel-map text.m-area { fill: #d9b35f; }
html[data-fs-theme="dark"] .israel-map text.m-il { fill: #8db4f5; }
html[data-fs-theme="dark"] .israel-mkt .up { color: #6fcf8a; }
html[data-fs-theme="dark"] .israel-mkt .down { color: #f28b82; }
