/* holocaust.css - /holocaust/ (builder B16). Quiet memorial pages: muted colours, serif reading text, no accents
   beyond the shared tokens. Light and dark (html[data-fs-theme="dark"]). */

.jw-hc { --hc-ink: var(--jw-ink); --hc-muted: var(--jw-muted); --hc-line: var(--jw-line); --hc-soft: var(--jw-soft);
  --hc-land: #e9e5dc; --hc-land-line: #c9c2b3; --hc-sea: #f7f5f0;
  --hc-killing: #3a2f2a; --hc-camp: #6b4f3a; --hc-transit: #5d6575; --hc-ghetto: #7a6a3a; --hc-massacre: #7b2d26;
  --hc-museum: #1d4d9a; --hc-memorial: #5d6575; }
html[data-fs-theme="dark"] .jw-hc { --hc-land: #2a2823; --hc-land-line: #46423a; --hc-sea: #1b1a17;
  --hc-killing: #e8e2d6; --hc-camp: #d8b98f; --hc-transit: #aab1bd; --hc-ghetto: #d9c27a; --hc-massacre: #e59a8f;
  --hc-museum: #8db4f5; --hc-memorial: #aab1bd; }

.jw-hc .jw-head h1 .jw-he { color: var(--hc-muted); }
.jw-hc-quiet { color: var(--hc-muted); max-width: 72ch; }

/* article + side navigation */
.jw-hc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; margin-top: 12px; }
.jw-hc-article { min-width: 0; max-width: 72ch; font-size: 1.04rem; line-height: 1.7; }
.jw-hc-article > h2 { font-family: var(--jw-serif); font-weight: 500; font-size: 1.3rem; margin: 1.6em 0 .4em; }
.jw-hc-article h3 { font-family: var(--jw-serif); font-weight: 500; font-size: 1.1rem; margin: 1.2em 0 .3em; }
.jw-hc-article p, .jw-hc-article li { overflow-wrap: anywhere; }
.jw-hc-nav { position: sticky; top: 12px; font-size: .9rem; border-left: 1px solid var(--hc-line); padding-left: 14px; }
.jw-hc-nav h2 { font-size: .95rem; margin: 0 0 8px; font-family: var(--jw-serif); font-weight: 500; }
.jw-hc-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.jw-hc-nav a { color: var(--hc-muted); text-decoration: none; }
.jw-hc-nav a:hover { text-decoration: underline; }
.jw-hc-nav [aria-current] { color: var(--hc-ink); font-weight: 600; }
.jw-hc-full { grid-template-columns: 1fr; }
.jw-hc-full .jw-hc-article { max-width: none; }
.jw-hc-full .jw-hc-article > p { max-width: 80ch; }
.jw-hc-full .jw-hc-nav { position: static; border-left: 0; border-top: 1px solid var(--hc-line); padding: 12px 0 0; }
@media (max-width: 860px) {
  .jw-hc-layout { grid-template-columns: 1fr; }
  .jw-hc-nav { position: static; border-left: 0; border-top: 1px solid var(--hc-line); padding: 12px 0 0; }
}
.jw-hc-sources { padding-left: 1.2em; }
.jw-hc-more { margin-top: 18px; font-size: .92rem; color: var(--hc-muted); }

/* hub */
.jw-hc-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.jw-hc-leadcard { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--hc-line); border-radius: var(--jw-radius);
  background: var(--hc-soft); color: var(--hc-ink); text-decoration: none; }
.jw-hc-leadcard:hover { border-color: var(--hc-muted); }
.jw-hc-leadcard b { font-family: var(--jw-serif); font-weight: 500; font-size: 1.1rem; }
.jw-hc-leadcard span { color: var(--hc-muted); font-size: .92rem; }
.jw-hc-group h2 a { color: inherit; text-decoration: none; }
.jw-hc-list { columns: 2 260px; column-gap: 28px; padding-left: 1.1em; margin: 0; }
.jw-hc-list li { break-inside: avoid; margin: 0 0 4px; }

/* timeline */
.jw-hc-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--hc-line); }
.jw-hc-timeline li { position: relative; padding: 0 0 10px 16px; }
.jw-hc-timeline li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--hc-muted); }
.jw-hc-timeline time { display: block; font-weight: 600; font-size: .92rem; }

/* tables and figures */
.jw-hc-table caption { text-align: left; font-size: .9rem; color: var(--hc-muted); padding: 0 0 6px; }
.jw-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jw-hc-figures { list-style: none; padding: 0; display: grid; gap: 8px; }
.jw-hc-figures li { padding: 10px 12px; border: 1px solid var(--hc-line); border-radius: var(--jw-radius); }
.jw-hc-figures b { font-family: var(--jw-serif); font-size: 1.15rem; font-weight: 600; margin-right: .3em; }
.jw-hc-qa dt { font-weight: 600; margin-top: 14px; font-family: var(--jw-serif); }
.jw-hc-qa dd { margin: 4px 0 0; }
.jw-hc-lesson { border: 1px solid var(--hc-line); border-radius: var(--jw-radius); padding: 4px 16px 10px; margin: 14px 0; }
.jw-hc-lesson h2 { font-size: 1.15rem !important; margin-top: .8em !important; }
.jw-hc-order li { margin-bottom: 6px; }

/* readings */
.jw-hc-reading { margin: 16px 0 24px; }
.jw-hc-reading .jw-he-block { font-size: 1.3rem; line-height: 2.1; }
.jw-hc-reading sup { font-size: .65em; color: var(--hc-muted); margin: 0 .15em; }
.jw-hc-en { line-height: 1.75; }

/* maps */
.jw-hc-mapwrap { margin: 16px 0 8px; }
.jw-hc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; border: 0; padding: 0; margin: 0 0 10px; }
.jw-hc-legend legend { font-weight: 600; font-size: .9rem; padding: 0; margin-right: 8px; float: left; }
.jw-hc-key { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; cursor: pointer; }
.jw-hc-key small { color: var(--hc-muted); }
.jw-hc-mapbox { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; align-items: start; }
@media (max-width: 860px) { .jw-hc-mapbox { grid-template-columns: 1fr; } }
.jw-hc-map { width: 100%; height: auto; display: block; background: var(--hc-sea); border: 1px solid var(--hc-line); border-radius: var(--jw-radius); }
.jw-hc-land path { fill: var(--hc-land); stroke: var(--hc-land-line); stroke-width: .6; vector-effect: non-scaling-stroke; }
.jw-hc-pt .m { stroke: var(--hc-sea); stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; }
.jw-hc-pt .mx { fill: none; stroke-width: 2.6; }
.jw-hc-pt:focus { outline: none; }
.jw-hc-pt:focus .m, .jw-hc-pt:hover .m, .jw-hc-pt.on .m { stroke: var(--hc-ink); stroke-width: 2; }
.t-killing .m, .jw-hc-key.t-killing .m { fill: var(--hc-killing); }
.t-camp .m, .jw-hc-key.t-camp .m { fill: var(--hc-camp); }
.t-transit .m, .jw-hc-key.t-transit .m { fill: var(--hc-transit); }
.t-ghetto .m, .jw-hc-key.t-ghetto .m { fill: var(--hc-ghetto); }
.t-massacre .m, .jw-hc-key.t-massacre .m { stroke: var(--hc-massacre); fill: none; }
.t-museum .m, .jw-hc-key.t-museum .m { fill: var(--hc-museum); }
.t-memorial .m, .jw-hc-key.t-memorial .m { fill: var(--hc-memorial); }
.jw-hc-pt.off { display: none; }
.jw-hc-info { border: 1px solid var(--hc-line); border-radius: var(--jw-radius); padding: 12px 14px; font-size: .93rem; background: var(--jw-card); min-height: 80px; }
.jw-hc-info h3 { font-family: var(--jw-serif); font-weight: 500; font-size: 1.1rem; margin: 0 0 4px; }
.jw-hc-info p { margin: 6px 0 0; }
.jw-hc-sites { list-style: none; padding: 0; display: grid; gap: 10px; }
.jw-hc-sites li { padding-bottom: 8px; border-bottom: 1px solid var(--hc-line); }
.jw-hc-sites li:target, .jw-hc-table tr:target { background: var(--hc-soft); }
.jw-hc-countries { margin: 8px 0 14px; }
.jw-hc-countries a small { color: var(--hc-muted); }
.jw-hc-country h3 { font-family: var(--jw-serif); font-weight: 500; }
.jw-hc-links { white-space: nowrap; font-size: .88rem; }
@media (max-width: 600px) { .jw-hc-links { white-space: normal; } .jw-hc-list { columns: 1; } }

@media print {
  .jw-sectionbar, #search-header, .jw-hc-nav, .jw-pager, .jw-hc-more, .jw-hc-print, footer { display: none !important; }
  .jw-hc-layout { display: block; }
  .jw-hc-article { max-width: none; }
}
