/* Arbre filiation, trois generations, calque sur les cartes de l'app. */
.silo-hero__art-inner.filiation {
  --filiation-line: rgba(46, 61, 60, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 28px 18px 26px;
  gap: 0;
}
.filiation__head {
  text-align: center;
  margin: 0 0 22px;
}
.filiation__head strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
.filiation__head span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.filiation__gen {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}
.filiation__gen--couple {
  align-items: center;
  gap: 6px;
}
.filiation__stem {
  width: 1px;
  height: 36px;
  margin: 0 auto;
  background: var(--filiation-line);
}
.filiation__union {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex: 0 0 28px;
  color: var(--tint-orange-fg);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
}
.filiation__union::before,
.filiation__union::after {
  content: "";
  width: 22px;
  height: 1px;
  margin: 5px 0;
  background: var(--filiation-line);
}
.filiation__children {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.filiation__children::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--filiation-line);
}
.filiation__children .person::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--filiation-line);
}
.person {
  position: relative;
  min-width: 0;
  width: 168px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  padding: 11px 10px 9px;
}
.filiation__children .person {
  width: auto;
  margin-top: 0;
  padding: 9px 8px 8px;
}
.person--deceased {
  background: var(--brand-cream);
  border-style: dashed;
  border-color: var(--brand-trunk);
}
.person__flag {
  position: absolute;
  top: -8px;
  left: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.person--deceased .person__flag {
  background: var(--brand-trunk);
  color: var(--brand-cream);
}
.person--spouse .person__flag {
  background: var(--accent-sage-solid);
  color: #fff;
}
.person__id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.person__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-sage-light);
  color: var(--accent-sage-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.person__avatar--warm {
  background: var(--tint-orange);
  color: #8a4b12;
}
.person__avatar--cream {
  background: #fff;
  color: var(--brand-trunk);
  border: 1px solid var(--border);
}
.person__avatar--ink {
  background: var(--brand-trunk);
  color: var(--brand-cream);
}
.person__copy {
  min-width: 0;
}
.person__name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--fg-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filiation__children .person__name {
  font-size: 0.72rem;
}
.person__role {
  margin-top: 2px;
  font-size: 0.66rem;
  line-height: 1.2;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person__meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  color: var(--fg-3);
}
.person__share {
  color: var(--accent-sage-ink);
  font-weight: 600;
}
