/* File 001 (Padre Ballí) page: the parts the shared case styles (/cases/tartaria/case.css) don't already cover.
   Built by tools/balli/build_balli_page.py. */
.tz-v-honest { background: var(--tz-confirmed); }
.tz-chip.bl-chip { display: inline-block; height: auto; line-height: 1.35; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; color: #fff; min-width: 0; text-align: left; }
.tz-v-lead.bl-chip { color: #1b1608; }

/* the published birth years */
.bl-claims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.bl-claim { border: 1px solid var(--line); background: var(--ink); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--tz-unsourced); }
.bl-claim[data-verdict="lead"] { border-top-color: var(--tz-lead); }
.bl-claim[data-verdict="honest"] { border-top-color: var(--tz-confirmed); }
.bl-claim .bl-chip { align-self: flex-start; }
.bl-year { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 2rem; line-height: 1; color: var(--bone); margin-top: 4px; }
.bl-who { font-weight: 600; color: var(--bone); }
.bl-where { font-size: 0.85rem; color: var(--bone-dim); }
.bl-cites { font-size: 0.9rem; color: var(--bone-dim); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.bl-cites .mono { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.bl-src { color: var(--amber); text-decoration: none; }
.bl-src:hover { text-decoration: underline; }
.bl-foot { margin-top: 14px; font-size: 0.85rem; color: var(--bone-dim); }

/* the chart: what the records allow */
.bl-chartbox { margin: 34px 0 0; border: 1px solid var(--line); background: var(--ink-2); padding: 18px 18px 8px; }
.bl-chartbox figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.bl-chartbox figcaption b { color: var(--bone); }
.bl-chartbox figcaption span { font-size: 0.88rem; color: var(--bone-dim); max-width: 760px; }
.bl-chart { width: 100%; height: auto; display: block; font-family: "Space Grotesk", system-ui, sans-serif; }
.bl-chart text { fill: var(--bone-dim); font-size: 13px; }
.bl-chart .c-axis, .bl-chart line { stroke: var(--bone-dim); stroke-width: 1; }
.bl-chart .c-stem { stroke: var(--line); stroke-dasharray: 3 3; }
.bl-chart .c-dot { fill: var(--tz-unsourced); stroke: var(--ink-2); stroke-width: 2; }
.bl-chart .c-covian { fill: var(--tz-lead); }
.bl-chart .c-lbl { fill: var(--bone); font-size: 14px; font-weight: 600; }
.bl-chart .c-band { fill: var(--tz-confirmed); opacity: 0.25; }
.bl-chart .c-bandl { fill: var(--bone); font-size: 12px; }
.bl-chart .c-ceil { stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 7 5; }
.bl-chart .c-ceill { fill: var(--amber); font-size: 16px; font-weight: 700; }
.bl-chart .c-axl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* where did he train */
.bl-trains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.bl-train { display: flex; flex-direction: column; gap: 6px; }
.bl-train-h { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bl-train-h b { color: var(--bone); font-size: 1.02rem; line-height: 1.3; }
.bl-train .tz-take { margin: 8px 0; font-weight: 500; }
.bl-train .bl-src { font-size: 0.75rem; margin-top: auto; }

/* the records: transcription cards */
.bl-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.bl-doc { position: relative; padding: 24px 24px 22px; border: 1px solid var(--line); scroll-margin-top: calc(var(--tz-top) + 70px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 7%, var(--ink)) 0%, var(--ink) 70%); display: flex; flex-direction: column; gap: 10px; }
.bl-doc::before { content: ""; position: absolute; inset: 6px; border: 1px dashed color-mix(in srgb, var(--amber) 30%, transparent); pointer-events: none; }
.bl-doc-h { display: flex; flex-direction: column; gap: 4px; }
.bl-date { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.bl-doc h3 { font-family: "Archivo Black", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.15rem; line-height: 1.2; color: var(--bone); }
.bl-orig { margin: 4px 0 0; padding: 12px 14px; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 8%, transparent);
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.02rem; line-height: 1.55; color: var(--bone); overflow-wrap: anywhere; }
.bl-orig .mono, .bl-en .mono, .bl-prl { display: block; font-style: normal; font-family: inherit; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 4px; }
.bl-en { color: var(--bone); font-size: 0.95rem; line-height: 1.55; }
.bl-prl { margin: 4px 0 -4px; }
.bl-proves { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bl-proves li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--bone); }
.bl-proves li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--tz-confirmed); font-weight: 700; }
.bl-not { font-size: 0.9rem; color: var(--bone-dim); padding-left: 22px; position: relative; }
.bl-not::before { content: "✕"; position: absolute; left: 2px; color: var(--tz-refutes); font-weight: 700; }
.bl-not b { color: var(--bone); font-weight: 600; }
.bl-doc .bl-where { font-size: 0.8rem; }
.bl-doc .bl-where b { color: var(--bone-dim); font-weight: 600; }
.bl-see { align-self: flex-start; margin-top: auto; }
.bl-rights { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); background: var(--ink-2); font-size: 0.9rem; color: var(--bone-dim); max-width: 860px; }
.bl-rights b { color: var(--bone); display: block; margin-bottom: 4px; }

/* the map */
.bl-mapwrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; margin-top: 24px; align-items: start; }
.bl-mapfig { margin: 0; border: 1px solid var(--line); background: var(--ink-2); }
.bl-mapfig figcaption { font-size: 0.68rem; color: var(--bone-dim); padding: 8px 12px; border-top: 1px solid var(--line); }
.bl-map { width: 100%; height: auto; display: block; font-family: "Space Grotesk", system-ui, sans-serif; }
.bl-map .m-water { fill: color-mix(in srgb, #3d8fd1 16%, var(--ink-2)); }
.bl-map .m-land { fill: color-mix(in srgb, var(--amber) 10%, var(--ink)); stroke: color-mix(in srgb, var(--bone) 45%, transparent); stroke-width: 1; }
.bl-map .m-river { fill: none; stroke: #3d8fd1; stroke-width: 3.5; stroke-linejoin: round; }
.bl-map .m-state { fill: none; stroke: var(--bone-dim); stroke-width: 0.8; stroke-dasharray: 4 4; opacity: 0.6; }
.bl-map text { paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; }
.bl-map .m-sea, .bl-map .m-lag { fill: color-mix(in srgb, #3d8fd1 70%, var(--bone)); font-size: 30px; font-style: italic; letter-spacing: 0.2em; stroke: none; }
.bl-map .m-lag { font-size: 20px; letter-spacing: 0.12em; }
.bl-map .m-cty { fill: var(--bone-dim); font-size: 38px; letter-spacing: 0.5em; opacity: 0.5; stroke: none; }
.bl-map .m-pin circle { fill: var(--amber-fill); stroke: var(--ink); stroke-width: 3; }
.bl-map .m-n { fill: var(--on-amber); font-size: 20px; font-weight: 700; stroke: none; }
.bl-map .m-l { fill: var(--bone); font-size: 30px; font-weight: 600; }
.bl-map .m-off path { stroke: var(--bone-dim); stroke-width: 3; fill: none; }
.bl-map .m-off text { fill: var(--bone-dim); font-size: 22px; }
.bl-map marker path { fill: var(--bone-dim); }
.bl-places { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.bl-places li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.bl-pn { width: 28px; height: 28px; border-radius: 50%; background: var(--amber-fill); color: var(--on-amber); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.bl-places b { color: var(--bone); }
.bl-places p { font-size: 0.9rem; color: var(--bone-dim); margin-top: 2px; }
.bl-offh { display: block !important; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.bl-offh .mono { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.bl-pn-off { background: transparent; border: 1.5px solid var(--bone-dim); color: var(--bone-dim); }

/* timeline categories */
.bl-tl li[data-cat="published"]::before { background: var(--tz-unsourced); }
.bl-tl li[data-cat="records"]::before { background: var(--tz-confirmed); }
.bl-tl li[data-cat="life"]::before { background: var(--tz-background); }
.bl-tl li[data-cat="case"]::before { background: var(--amber-fill); }

/* story extras */
.bl-qh { margin-top: 26px; }
.bl-qs { margin-top: 8px; }
.bl-wall { margin-top: 20px; }
#map .tz-k2 { margin-top: 44px; }

/* log, sources, method */
.bl-log { margin-top: 20px; }
.bl-srcs td:first-child { min-width: 260px; }
.bl-follow { margin-top: 22px; }
.bl-follow a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(212, 160, 23, 0.6); text-underline-offset: 3px; }

@media (max-width: 980px) {
  .bl-claims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-trains { grid-template-columns: minmax(0, 1fr); }
  .bl-mapwrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .bl-docs { grid-template-columns: minmax(0, 1fr); }
  .bl-doc { padding: 20px 18px 18px; }
}
@media (max-width: 480px) {
  .bl-claims { grid-template-columns: minmax(0, 1fr); }
  .bl-year { font-size: 1.7rem; }
  .bl-srcs td:first-child { min-width: 200px; }
}

/* links from the case to the deliverables (Oct 19, 2026) */
.bl-deliv { margin-top: -6px; }
.bl-deliv a, .bl-graphnote a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(212, 160, 23, 0.6); text-underline-offset: 3px; }
.bl-deliv a:hover, .bl-graphnote a:hover { color: var(--amber); }
.bl-graphnote { margin-top: 14px; font-size: 0.92rem; line-height: 1.5; color: var(--bone-dim); }
