/* genealogy.css — the family trees (genealogy.js). Every class starts with "gy-". */
.gy-top { text-align: center; }
.gy-cross { font-size: 26px; color: var(--rubric); }
.gy-search { margin: 14px 0 6px; }
.gy-q { width: 100%; box-sizing: border-box; }
.gy-list { list-style: none; margin: 4px 0 0; padding: 0; }
.gy-list li + li { border-top: 1px solid var(--border); }
.gy-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 2px; color: var(--ink); text-decoration: none; }
.gy-list a:hover b { color: var(--rubric); }
.gy-list b { font-size: 18px; }
.gy-lm { color: var(--muted); font-style: italic; }
.gy-ls { flex-basis: 100%; font: 13px var(--sans); color: var(--muted); }
.gy-none { color: var(--ink-2); font-size: 15px; }
.gy-key { margin-top: 2px; }
.gy-lines { list-style: none; margin: 0; padding: 0; }
.gy-lines li + li { border-top: 1px solid var(--border); }
.gy-lines a { display: flex; flex-direction: column; gap: 2px; padding: 11px 2px; color: var(--ink); text-decoration: none; }
.gy-lines a:hover b { color: var(--rubric); }
.gy-lines b { font-family: var(--display); font-size: 21px; font-weight: 600; }
.gy-lsub { color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.gy-lch { font: 12.5px var(--sans); color: var(--muted); }
.gy-fine { font: 12.5px/1.5 var(--sans); color: var(--muted); margin: 14px 0 0; }
.gy-fine a { color: inherit; }

.gy-title { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.15; margin: 6px 0 0; }
.gy-sub { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.gy-note { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.gy-ref { color: var(--link); font: 13px var(--sans); white-space: nowrap; }

/* the family tree around a person */
.gy-tree { margin: 18px 0 6px; padding: 14px 8px; border: 1px solid var(--border); border-radius: var(--r-2); background: var(--surface); }
.gy-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; }
.gy-row + .gy-row { margin-top: 26px; }
.gy-row + .gy-row::before { content: ""; position: absolute; left: 50%; top: -22px; height: 18px; border-left: 1.5px solid var(--gold-2); }
.gy-card { display: flex; flex-direction: column; align-items: center; min-width: 96px; max-width: 170px; padding: 7px 12px 8px; border: 1px solid var(--border-2); border-radius: var(--r-2);
  background: var(--paper); color: var(--ink); text-decoration: none; text-align: center; }
.gy-card:hover { border-color: var(--gold-2); }
.gy-card.is-f { border-style: dashed; }
.gy-card.is-cur { border: 2px solid var(--rubric); background: var(--surface-2); padding: 9px 16px 10px; }
.gy-card.is-cur .gy-cn { font-size: 21px; }
.gy-card.is-dim { opacity: .75; }
.gy-cl { font: 700 10.5px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--gold); }
.gy-cn { font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.gy-cm { font: italic 13px var(--serif); color: var(--muted); }
.gy-cr { font: 11px var(--sans); color: var(--muted); margin-top: 1px; }
.gy-none2 .gy-cl { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }
.gy-crumb { margin: 0; line-height: 1.9; font-size: 16px; }
.gy-crumb a { color: var(--ink); }
.gy-crumb b { color: var(--rubric); }
.gy-sep { color: var(--muted); }
.gy-vlist { list-style: none; margin: 0; padding: 0; }
.gy-vlist li { padding: 7px 0; border-top: 1px solid var(--border); line-height: 1.5; color: var(--ink-2); font-size: 16px; }
.gy-vlist li:first-child { border-top: 0; }
.gy-vref { font-variant: small-caps; letter-spacing: .03em; color: var(--rubric); text-decoration: none; font-weight: 600; white-space: nowrap; }
.gy-acts { margin-top: 16px; }

/* a line, generation by generation */
.gy-chain { list-style: none; margin: 16px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--gold-2); }
.gy-chain > li { position: relative; padding: 0 0 12px 12px; }
.gy-chain > li::before { content: ""; position: absolute; left: -23px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rubric); }
.gy-gen { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); text-decoration: none; }
.gy-gen b { font-size: 19px; }
.gy-gen:hover b { color: var(--rubric); text-decoration: underline; }
.gy-age { font: 12.5px var(--sans); color: var(--gold); }
.gy-step { margin-top: 2px; font: 13px var(--sans); color: var(--muted); }
.gy-begot { font-style: italic; font-family: var(--serif); font-size: 15px; }
@media (max-width: 520px) { .gy-title { font-size: 32px; } .gy-card { min-width: 84px; padding: 6px 9px 7px; } .gy-cn { font-size: 16px; } }
.gy-title.is-u, .gy-cn.is-u, .gy-list b.is-u { font-style: italic; font-weight: 500; }
.gy-heb { margin: 10px 0 0; font-size: 26px; line-height: 1.4; }
.gy-hw { color: var(--ink); text-decoration: none; font-family: var(--serif); }
a.gy-hw:hover { color: var(--rubric); text-decoration: underline; }
.gy-hl { font: 12px var(--sans); color: var(--muted); }
.gy-desc { margin: 2px 0 0; font: 13.5px/1.5 var(--sans); color: var(--muted); }
.gy-ok { color: var(--gold); font-weight: 700; }
.gy-all { margin-top: 10px; }
.gy-all > summary { cursor: pointer; font: 600 13.5px var(--sans); color: var(--link); padding: 4px 0; }
.gy-books p { margin: 6px 0; line-height: 1.7; font-size: 15px; color: var(--ink-2); }
.gy-books b { font-variant: small-caps; letter-spacing: .03em; color: var(--rubric); margin-right: 4px; }
.gy-books a { color: var(--ink-2); }
.gy-row.gy-kids { max-height: none; }
.gy-hw { unicode-bidi: isolate; }
.gy-heb { direction: ltr; }
