/* A family history in the visual language of L’Araignée bleue. */
.familles{--paper:#f8f4eb;--ink:#173446;--blue:#1d4157;--muted:#4c5a5c;--line:#c9c4b5;--gold:#bb9556;--rust:#844936;--sans:var(--ed-sans,Arial,sans-serif);--serif:var(--ed-serif,Georgia,serif);box-sizing:border-box;width:min(1340px,100%);padding:0 clamp(18px,4.8vw,70px) 72px;margin:auto;color:var(--ink);font-family:var(--serif);overflow-wrap:break-word}
.familles *,.familles *:before,.familles *:after{box-sizing:border-box}
.familles a{color:var(--blue);text-underline-offset:.17em;text-decoration-thickness:1px}
.familles a:focus-visible,.familles summary:focus-visible,.familles button:focus-visible{outline:3px solid #ad6924;outline-offset:4px}
.familles figure,.familles ol,.familles p,.familles h1,.familles h2,.familles h3{margin:0}
.fa-path{padding:19px 0;font:12px/1.4 var(--sans);color:var(--muted)}.fa-path a{text-decoration:none}.fa-path span{margin:0 6px;color:#877b67}
.fa-hero{display:grid;grid-template-columns:.86fr 1.14fr;background:#142e3a;color:#fcf6df;border:1px solid #273c3c;isolation:isolate}
.fa-hero-text{padding:clamp(28px,4.2vw,64px);align-self:center}
.familles .fa-kicker,.fa-entries a>span,.fa-rail nav>p,.fa-drawer summary>span{color:var(--rust);font:700 11px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase}
.fa-hero .fa-kicker{color:#e3c991;margin:0 0 21px}
.familles .fa-hero h1{color:#fff7e8;font:normal clamp(54px,5.45vw,83px)/.99 var(--serif);letter-spacing:-.055em;max-width:9em}
.fa-hero h1 em{font-weight:400;color:#e8d2a2}.fa-hero .fa-deck{font-size:clamp(17px,1.45vw,22px);line-height:1.4;color:#f1eee5;max-width:32ch;margin:24px 0}
.fa-hero .fa-begin{display:inline-flex;gap:16px;align-items:center;text-decoration:none;border-bottom:1px solid #c2ac78;padding-bottom:4px;color:#f4e8cd;font:600 14px/1.5 var(--sans)}
.fa-frontis{display:grid;grid-template-rows:1fr auto;min-width:0;background:#d5ccac;border-left:1px solid #ad986a;overflow:hidden}
.fa-frontis .fa-zoom{display:block;height:100%;min-height:290px;position:relative}
.fa-frontis img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.fa-frontis figcaption{padding:10px 15px;display:flex;justify-content:space-between;gap:6px 14px;align-items:center;flex-wrap:wrap;background:#efe6d3;color:#433d32;font:12px/1.4 var(--sans)}
.fa-frontis figcaption span:first-child{font-weight:700}.fa-frontis figcaption a{color:inherit}
.fa-zoom{cursor:zoom-in;position:relative}.fa-zoom .fa-magnify{position:absolute;right:9px;bottom:9px;background:#faf6ebed;border:1px solid #aca28d;color:#31434a;font:18px/26px var(--sans);text-align:center;width:28px;height:28px;border-radius:2px}
.fa-entries{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);background:#efe9dd;color:var(--ink)}
.fa-entries a{min-width:0;display:grid;grid-template-columns:1fr auto;column-gap:12px;align-content:center;padding:20px clamp(18px,2.8vw,38px);text-decoration:none;color:inherit}
.fa-entries a+a{border-left:1px solid var(--line)}.fa-entries a:hover,.fa-entries a:focus-visible{background:#e6e0d2}.fa-entries a>span{grid-column:1;color:#75573a;font-size:10px}
.fa-entries strong{grid-column:1;font:normal clamp(19px,1.8vw,28px)/1.2 var(--serif);margin-top:5px}.fa-entries i{grid-column:2;grid-row:1/3;align-self:center;font:22px var(--serif);color:#816948}
.fa-book{display:grid;grid-template-columns:minmax(145px, .24fr) minmax(0,1fr);gap:clamp(32px,5vw,75px);margin-top:38px}
.fa-rail nav{position:sticky;top:22px;display:grid;max-height:calc(100vh - 42px);overflow-y:auto;align-content:start;border-top:2px solid #846d45;padding:12px 1px 10px}
.fa-rail nav>p{margin:0 0 9px;color:#665d4c;font-size:10px}
.fa-rail a{padding:5px 0;font:13px/1.35 var(--sans);text-decoration:none;color:#4b5553}.fa-rail a[aria-current],.fa-rail a:hover,.fa-rail a:focus-visible{color:#783c26;text-decoration:underline}
.fa-rail .fa-pdf{margin-top:13px;padding-top:11px;border-top:1px solid var(--line);font-weight:bold}
.fa-chapters{min-width:0;max-width:920px}.fa-mobilemenu{display:none}
.fa-section{position:relative;padding:39px 0 44px;scroll-margin-top:20px;border-top:1px solid var(--line)}
.fa-section:first-of-type{padding-top:0;border-top:0}.fa-alias{position:absolute;top:0}
.fa-section header{margin:0 auto 19px;max-width:780px}
.familles h2{font:400 clamp(32px,3.4vw,51px)/1.08 var(--serif);letter-spacing:-.04em;color:var(--ink);margin:10px 0 17px}
.fa-section .fa-lead{font:normal clamp(20px,1.65vw,25px)/1.43 var(--serif);color:var(--blue);max-width:64ch}
.familles .fa-prose,.fa-note p,.fa-drawerbody .fa-lead{font:normal clamp(17px,1.18vw,19px)/1.63 var(--serif);color:#2f393a;max-width:72ch;margin:14px auto}
.fa-section b,.fa-section strong{color:#203b48}
.fa-section .fa-sub{font:normal clamp(22px,2vw,30px)/1.2 var(--serif);letter-spacing:-.02em;max-width:780px;margin:30px auto 7px}
.fa-note{max-width:780px;background:#eee8d9;border-left:3px solid #a68043;padding:17px 24px;margin:23px auto}
.fa-note h3{font:normal clamp(21px,1.9vw,27px)/1.2 var(--serif);margin:0}
.fa-note p{max-width:none;margin:7px 0 0}
.fa-gallery{margin:24px 0;display:grid;gap:clamp(12px,1.5vw,23px)}
.fa-gallery.fa-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.fa-gallery .fa-zoom{display:flex;align-items:center;justify-content:center;width:100%;padding:6px;border:1px solid #cec8b7;background:#eee8db}
.fa-gallery .fa-zoom img{display:block;max-width:100%;width:auto;height:auto;max-height:460px}
.fa-gallery.fa-pair .fa-zoom{height:clamp(150px,20vw,275px)}.fa-gallery.fa-pair img{max-height:100%;object-fit:contain}
.fa-plate figcaption{font:13px/1.45 var(--sans);color:#48504e;margin:8px 0 0}
.fa-plate .fa-creditref{font-size:11px;white-space:nowrap;color:#5c645e}
#piste .fa-solo,#branches-nobles .fa-solo{max-width:510px;margin-inline:auto}
#branches-nobles .fa-pair{max-width:680px;margin-inline:auto}
#branches-nobles .fa-pair img{max-width:82%}#cartes .fa-solo .fa-zoom img{width:100%;max-height:none}
.fa-tableframe{margin:22px 0}.fa-tableframe table{width:100%;border-collapse:collapse;table-layout:fixed;font:15px/1.48 var(--sans);color:#243941;text-align:left}
.fa-tableframe thead th{color:#fffdf5;background:#213d49;vertical-align:bottom;font-weight:600;font-size:13px;padding:10px 12px}
.fa-tableframe tbody th,.fa-tableframe tbody td{padding:11px 12px;border-bottom:1px solid #d1ccbf;vertical-align:top;text-align:left;font-weight:400}
.fa-tableframe tbody tr:nth-child(even){background:#f0eadf}.fa-tableframe tbody th{font-weight:600}
#descendance .fa-tableframe thead th:first-child{width:12%}#descendance .fa-tableframe thead th:nth-child(2){width:38%}
#ligne-pedro .fa-tableframe thead th:nth-child(1){width:27%}#ligne-pedro .fa-tableframe thead th:nth-child(2){width:42%}
#ligne-pedro tbody tr:nth-child(2)>*{border-top:2px dashed #9b7244}
.fa-section .fa-cites{max-width:780px;margin:15px auto 0;border-top:1px dotted #a8a18e;padding-top:9px;color:#5e6863;font:12px/1.65 var(--sans)}.fa-cites span{font-weight:bold;color:#454f4b;margin-right:5px}
.fa-drawer{padding:0}.fa-drawer>summary,.fa-mobilemenu>summary{cursor:pointer;list-style:none}.fa-drawer>summary::-webkit-details-marker,.fa-mobilemenu>summary::-webkit-details-marker{display:none}
.fa-drawer>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px 20px 0;position:relative}
.fa-drawer>summary strong{font:normal 22px/1.25 var(--serif);text-align:right}
.fa-drawer>summary::after,.fa-mobilemenu>summary::after{content:"+";position:absolute;right:0;color:#866c43;font:21px var(--serif)}.fa-drawer[open]>summary::after,.fa-mobilemenu[open]>summary::after{content:"−"}
.fa-drawerbody{padding:0 0 20px}.fa-creditlist{font:13px/1.6 var(--sans);padding:4px 0 20px 20px}.fa-creditlist li{margin:10px 0}.fa-creditlist strong{display:block}
.fa-end{padding:22px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px 25px;flex-wrap:wrap;font:600 14px/1.4 var(--sans)}
.fa-lightbox{border:1px solid #bbb6a1;padding:18px;max-width:min(96vw,1350px);max-height:95vh;background:#f5efe2;color:var(--ink);border-radius:3px}
.fa-lightbox:not([open]){display:none}.fa-lightbox::backdrop{background:#0e1a20d9}.fa-lightbox button{cursor:pointer;display:block;margin:0 0 10px auto;font:600 13px var(--sans);border:1px solid #ada18b;border-radius:2px;background:#fff9ec;color:#233e4a;padding:8px 13px}
.fa-lightbox figure img{display:block;max-width:100%;height:auto;max-height:73vh;object-fit:contain;margin:0 auto}
.fa-lightbox figcaption{font:14px/1.45 var(--sans);margin-top:9px;max-width:85ch}
@media(max-width:920px){
.fa-book{display:block;margin-top:22px}.fa-rail{display:none}.fa-chapters{max-width:none}
.fa-mobilemenu{display:block;border-block:1px solid var(--line);margin-bottom:30px;font:14px/1.4 var(--sans)}
.fa-mobilemenu>summary{position:relative;padding:12px 26px 12px 0;font-weight:bold}.fa-mobilemenu nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:2px 0 14px}
.fa-hero-text{padding:30px}.fa-frontis .fa-zoom{min-height:255px}
}
@media(max-width:650px){
.familles{padding:0 17px 35px}.fa-path{padding:14px 0;font-size:11px}
.fa-hero{grid-template-columns:1fr}.fa-hero-text{padding:29px 24px 25px}.fa-hero .fa-kicker{font-size:10px;margin-bottom:14px}
.familles .fa-hero h1{font-size:clamp(50px,12.8vw,70px)}.fa-hero .fa-deck{margin:17px 0;max-width:42ch;font-size:17px}
.fa-frontis{border-left:0;border-top:1px solid #ad986a}.fa-frontis .fa-zoom{min-height:0;aspect-ratio:2.2}
.fa-frontis figcaption{font-size:10px;padding:7px 9px}
.fa-entries a{padding:14px 10px;column-gap:3px}.fa-entries a>span{font-size:8px;letter-spacing:.06em}.fa-entries strong{font-size:18px}.fa-entries i{font-size:15px}
.fa-section{padding:28px 0 30px}.familles h2{font-size:33px}.fa-section header{margin-bottom:13px}
.fa-section .fa-lead{font-size:20px}.familles .fa-prose,.fa-note p{font-size:17px;line-height:1.54}
.fa-note{padding:15px 16px}.fa-gallery.fa-pair{grid-template-columns:1fr}.fa-gallery.fa-pair .fa-zoom{height:auto}.fa-gallery.fa-pair img{max-height:330px}.fa-plate figcaption{font-size:12px}
.fa-tableframe table{font-size:14px}
#descendance .fa-tableframe table,#ligne-pedro .fa-tableframe table,#reperes .fa-tableframe table{display:block}
#descendance thead,#ligne-pedro thead,#reperes thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#descendance tbody,#ligne-pedro tbody,#reperes tbody{display:block}
#descendance tbody tr,#ligne-pedro tbody tr,#reperes tbody tr{display:grid;gap:4px;padding:10px;border-top:1px solid var(--line)}
#descendance tbody tr{grid-template-columns:46px 1fr}#descendance tbody th{grid-row:span 2}
#descendance tbody th::before{content:"Gén. ";font-size:11px}
#descendance .fa-tableframe tbody tr>*,#ligne-pedro .fa-tableframe tbody tr>*,#reperes .fa-tableframe tbody tr>*{display:block;padding:0;border:none}
#ligne-pedro tbody tr:nth-child(2){border-top:2px dashed #9b7244}
#ligne-pedro tbody td:last-child,#reperes tbody td:last-child{color:var(--muted);font-size:13px}
.fa-tableframe thead th,.fa-tableframe tbody td,.fa-tableframe tbody th{padding:8px}
.fa-drawer>summary{display:block;padding:16px 24px 16px 0}.fa-drawer>summary strong,.fa-drawer>summary>span{display:block;text-align:left}
.fa-drawer>summary::after{top:30%}.fa-drawer{padding:0}.fa-end{font-size:13px}
.fa-lightbox{padding:10px}
}
@media print{
.fa-path,.ed-mast,.fa-rail,.fa-entries,.fa-begin,.fa-mobilemenu,.fa-end,.fa-lightbox,.fa-magnify,.site-footer,.fa-creditref{display:none!important}
.familles{padding:0;width:100%;max-width:none}.fa-book{display:block;margin:0}.fa-hero{background:white;color:black}.fa-hero-text h1,.fa-hero-text h1 em,.fa-hero .fa-deck,.fa-hero .fa-kicker{color:black}.fa-section{break-before:auto}.fa-plate,.fa-note,.fa-tableframe tr{break-inside:avoid}.fa-cites{overflow-wrap:anywhere}.fa-drawer[open]{display:block}
}
.fa-hero .fa-pdf-hero{display:inline-block;color:#e7ddc6;font:13px/1.5 var(--sans);margin:5px 0 0 20px}
#ligne-pedro .fa-solo .fa-zoom img{width:100%;max-height:none}
@media print{.fa-pdf-hero{display:none!important}}

/* The Spanish volume is read by region, with a stable link for each printed folio. */
.fe-volume .fe-hero{grid-template-columns:1fr 1fr}
.fe-volume .fe-hero .fa-frontis{background:#d8c7a6}
.fe-volume .fe-hero .fa-zoom{min-height:395px;overflow:hidden;background:linear-gradient(120deg,#d2bc93,#eee4ce 45%,#dcc9a5)}
.fe-volume .fe-hero .fa-zoom img{object-fit:contain;padding:13px}
.fe-volume .fe-part{padding:0 0 28px;scroll-margin-top:26px}
.fe-part .fe-parthead{max-width:none;margin:0 0 12px;border-top:2px solid #987346;padding:24px 0 0}
.fe-parthead h2{max-width:21ch}
.fe-volume .fe-index,.fe-volume .fe-notes{max-width:780px;margin:12px auto;font:13px/1.5 var(--sans);color:var(--muted)}
.fe-volume .fe-index{max-width:none;border-bottom:1px solid var(--line);padding:0 0 14px}
.fe-volume .fe-index summary,.fe-volume .fe-notes summary{cursor:pointer;color:var(--blue);font-weight:600}
.fe-index ol{columns:2;column-gap:34px;padding:5px 0 0 22px}
.fe-index li,.fe-notes li{padding:3px 0;break-inside:avoid}
.fe-notes ul{margin:9px 0 2px;padding-left:19px}
.fe-folio{position:relative;padding:30px 0 26px;scroll-margin-top:16px}
.fe-folio+.fe-folio{border-top:1px solid #d8d0c0}
.fe-volume .fe-pagehead{max-width:780px;margin:0 auto}
.fe-volume .fe-pageno{font:700 10px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase}
.fe-pageno a{color:var(--rust);text-decoration:none}.fe-pageno a:hover{text-decoration:underline}
.fe-pagehead h3{margin:8px 0 13px;color:var(--ink);font:400 clamp(27px,2.7vw,40px)/1.12 var(--serif);letter-spacing:-.035em}
.fe-volume .fa-note h4{font:400 clamp(21px,1.9vw,27px)/1.25 var(--serif);margin:0}
.fe-volume .fa-solo .fa-zoom img{max-height:420px}
.fe-volume #arbre-castille .fa-solo .fa-zoom img,.fe-volume #cartes .fa-solo .fa-zoom img{width:100%;max-height:none}
.fe-volume .fe-folio>.fe-notes{margin-top:19px;padding-top:9px;border-top:1px dotted #bcb3a2}
.fe-supp{border-bottom:1px solid var(--line);padding-bottom:4px}
.fe-supp .fa-prose:first-child{margin-top:2px}
.fe-volume .fa-tableframe tbody td:last-child{color:#3d4c51}
@media(max-width:650px){
.fe-volume .fe-hero{grid-template-columns:1fr}
.fe-volume .fe-hero .fa-frontis .fa-zoom{min-height:0;aspect-ratio:1.67}
.fe-volume .fe-hero .fa-zoom img{padding:5px}
.fe-index ol{columns:1}.fe-part .fe-parthead{padding-top:21px}
.fe-volume .fe-parthead h2{font-size:33px}
.fe-volume .fe-table table,.fe-volume .fe-table tbody{display:block}
.fe-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.fe-table tbody tr{display:grid;gap:6px;padding:12px 8px;border-top:1px solid var(--line)}
.fe-volume .fe-table tbody tr>*{display:block;border:0;padding:0}
.fe-table tbody td::before{content:attr(data-label) " · ";color:#79543c;font:600 11px/1.5 var(--sans)}
.fe-volume .fe-folio{padding:24px 0 19px}.fe-folio .fa-gallery{margin:18px 0}
}

/* On a book-length page, anchors must not move as the lazy-loaded plates arrive. */
html:has(.fe-volume){scroll-behavior:auto}
.fe-volume .fa-solo .fa-zoom{height:clamp(255px,35vw,430px)}
.fe-volume .fa-gallery .fa-zoom img,.fe-volume #cartes .fa-solo .fa-zoom img,.fe-volume #arbre-castille .fa-solo .fa-zoom img{max-height:100%;height:100%;width:100%;object-fit:contain}
@media(max-width:650px){
.fe-volume .fa-gallery .fa-zoom,.fe-volume .fa-gallery.fa-pair .fa-zoom{height:clamp(210px,63vw,340px)}
}

/* Short reading route through the family, with the complete documents available below. */
.fs-reading{margin:18px 0 4px;padding:0 0 0 16px;border-left:3px solid #ac8a54;color:#465651;font:16px/1.55 var(--sans)}
.fs-reading p{margin:0}.fs-intro{margin:10px 0 14px}
.fs-edition .fe-parthead h2{max-width:28ch}
.fs-chapterlinks{display:flex;flex-wrap:wrap;gap:5px 0;margin:16px 0 8px;padding:0 0 15px;border-bottom:1px solid var(--line);font:14px/1.55 var(--sans)}
.fs-chapterlinks a{color:#375460;text-decoration:underline;text-decoration-color:#bcb199;text-underline-offset:.18em;margin-right:16px}
.fs-fold{margin:0;border-bottom:1px solid var(--line);scroll-margin-top:10px}
.fs-fold>summary{cursor:pointer;display:flex;gap:12px;align-items:baseline;color:#2e4e58;padding:13px 3px;font:500 19px/1.35 var(--serif);list-style:none}
.fs-fold>summary::-webkit-details-marker{display:none}.fs-fold>summary::before{content:"+";color:#805b36;font:18px/1 var(--sans)}.fs-fold[open]>summary::before{content:"−"}
.fs-fold[open]>summary{color:#263a3b}.fs-fold[open]>.fe-folio{padding-top:5px}
.fs-edition .fa-gallery .fa-zoom:focus-visible,.fs-edition :is(summary,a):focus-visible{outline:2px solid #a57937;outline-offset:3px}
#qui-est-noble td,#fiche-pedro td{line-height:1.52}#fiche-pedro thead th:first-child{width:23%}
#qui-est-noble tbody th a{font-weight:600;text-underline-offset:.18em}
.fs-edition #portugal-parents .fa-solo .fa-zoom{height:auto;min-height:0}
.fs-edition #portugal-parents .fa-solo .fa-zoom img{height:auto;width:100%;max-height:none}
@media(max-width:650px){.fs-chapterlinks{display:block}.fs-chapterlinks a{display:block;padding:5px 0}.fs-fold>summary{font-size:18px}.fs-reading{font-size:15px}.fs-edition .fa-entries strong{font-size:17px}}

.fs-study{margin-block:24px 30px;border-block:2px solid #95764c}
.fs-study>summary{cursor:pointer;padding:18px 20px 19px;color:#203f49;background:#efe9dc;list-style:none}
.fs-study>summary::-webkit-details-marker{display:none}
.fs-study>summary span{display:block;font:normal clamp(23px,2.5vw,32px)/1.16 var(--serif)}
.fs-study>summary small{display:block;margin-top:6px;font:14px/1.45 var(--sans);color:#47595a}
.fs-study>summary::before{content:"+";float:right;font:24px/1.2 var(--sans);margin-left:10px}
.fs-study[open]>summary::before{content:"−"}.fs-study>.fa-prose{padding:12px 0 8px}
