/* A shelf family's page (docs/adr/0081), in the hub's look: Rulebooks' rows
   (static/css/rulebooks.css), each with its game's facts as chips under what
   it is, and the family's facts as chips under the lead. */

.fam .lead { margin-bottom: var(--s3); }
.fam-facts, .fam-chips { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.fam-facts { gap: var(--s2); margin-bottom: var(--s3); }
.fam-facts li { font-size: var(--t-note); font-weight: 600; line-height: 1.4; padding: 4px 12px; border: var(--field-edge); border-radius: 999px; background: var(--card); }
.fam-more { margin: 0 0 var(--s2); }
.fam-list { margin-top: var(--s4); }
.fam-end { margin-top: var(--s4); }
/* a row's name is its section's heading here, at Rulebooks' size */
.fam .rbx-text h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.fam .rbx-text > p { margin-bottom: var(--s2); }
.fam-chips { gap: var(--s1) 6px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.fam-chips li { padding: 1px 8px; border: var(--field-edge); border-radius: 999px; color: var(--ink); }
/* the row's link covers the row, so Rules sits above it */
.fam-rules { position: relative; z-index: 1; border: 0 !important; padding: 1px 2px !important; }
@media (max-width: 640px) { .fam .rbx-text h2 { font-size: 16px; } }
