/* Corpus Savoy — quatre portes pour le fonds ancien. Style scoped /sources/. */
.ancient-library-page .cs-sources-guide{border-top:1px solid #c9bda8;padding:clamp(1.8rem,3vw,3rem) 0 clamp(1.7rem,3vw,2.5rem);margin:0 0 1rem}
.ancient-library-page .cs-sources-guide__intro{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(210px,.7fr);gap:clamp(1.5rem,4vw,4rem);align-items:start;margin-bottom:clamp(1.6rem,3vw,2.7rem)}
.ancient-library-page .cs-sources-guide__kicker{font:700 .7rem/1.4 "Savoy Source Sans 3",Arial,sans-serif;letter-spacing:.11em;color:#806847;text-transform:uppercase;margin:0 0 .5rem}
body.corpus-unified.collection-portal .ancient-library-page .cs-sources-guide h2{font:400 clamp(2.2rem,3.4vw,3.4rem)/1.08 "Savoy EB Garamond",Georgia,serif!important;letter-spacing:-.025em;color:#282923!important;margin:0 0 .8rem!important}
.ancient-library-page .cs-sources-guide__lead{max-width:69ch;font:400 1rem/1.7 "Savoy Source Serif 4",Georgia,serif;color:#565a50!important;margin:0!important}
.ancient-library-page .cs-sources-guide__figures{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #c9bda8;border-bottom:1px solid #c9bda8}
.ancient-library-page .cs-sources-guide__figures p{margin:0;padding:1rem .85rem .85rem 0;display:flex;flex-direction:column;gap:.3rem;min-width:0}
.ancient-library-page .cs-sources-guide__figures p+p{border-left:1px solid #c9bda8;padding-left:1.1rem}
.ancient-library-page .cs-sources-guide__figures strong{font:400 clamp(2.4rem,3.5vw,3.4rem)/1 "Savoy EB Garamond",Georgia,serif;color:#8c6e46}
.ancient-library-page .cs-sources-guide__figures span{font:500 .75rem/1.5 "Savoy Source Sans 3",Arial,sans-serif;color:#5f6158}
.ancient-library-page .cs-sources-guide__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ancient-library-page .cs-sources-guide__card{display:flex;flex-direction:column;align-items:start;min-width:0;background:#f8f5ed;border:1px solid #d3c9b7;padding:clamp(1.25rem,2.3vw,2rem)}
.ancient-library-page .cs-sources-guide__card-kicker{font:700 .67rem/1.45 "Savoy Source Sans 3",Arial,sans-serif;letter-spacing:.075em;text-transform:uppercase;color:#876a43}
body.corpus-unified.collection-portal .ancient-library-page .cs-sources-guide__card h3{font:400 clamp(1.55rem,2vw,2rem)/1.15 "Savoy EB Garamond",Georgia,serif!important;color:#30332d!important;letter-spacing:-.02em;margin:.6rem 0 .5rem!important}
.ancient-library-page .cs-sources-guide__card p{font:400 .95rem/1.65 "Savoy Source Serif 4",Georgia,serif;color:#575b52!important;margin:0 0 1rem!important;max-width:55ch}
.ancient-library-page .cs-sources-guide a{color:#3b504b;text-underline-offset:3px}
.ancient-library-page .cs-sources-guide a:focus-visible{outline:3px solid #886b45;outline-offset:4px}
.ancient-library-page .cs-sources-guide__main-link{display:inline-flex;gap:.6rem;align-items:baseline;margin-top:auto;border-bottom:1px solid #9d7c50;padding-bottom:.25rem;font:700 .83rem/1.4 "Savoy Source Sans 3",Arial,sans-serif;text-decoration:none}
.ancient-library-page .cs-sources-guide__main-link:hover{color:#8c6e46}
.ancient-library-page .cs-sources-guide__minor-links{display:flex;flex-wrap:wrap;gap:.35rem 1rem;border-top:1px solid #ded6c8;padding-top:.9rem;margin-top:1rem;width:100%}
.ancient-library-page .cs-sources-guide__minor-links a{font:600 .75rem/1.5 "Savoy Source Sans 3",Arial,sans-serif}
.ancient-library-page .cs-sources-guide__selected{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.35rem;margin:1.4rem 0 0;padding:1rem 0;border-top:1px solid #d3c9b7;border-bottom:1px solid #d3c9b7}
.ancient-library-page .cs-sources-guide__selected-label{font:700 .72rem/1.4 "Savoy Source Sans 3",Arial,sans-serif;color:#876a43;letter-spacing:.03em}
.ancient-library-page .cs-sources-guide__selected a{font:600 .76rem/1.45 "Savoy Source Sans 3",Arial,sans-serif}
@media(max-width:900px){.ancient-library-page .cs-sources-guide__intro{grid-template-columns:1fr;gap:1rem}.ancient-library-page .cs-sources-guide__figures{max-width:580px}}
@media(max-width:650px){.ancient-library-page .cs-sources-guide__grid{grid-template-columns:1fr}.ancient-library-page .cs-sources-guide__card{padding:1.25rem}.ancient-library-page .cs-sources-guide__selected{align-items:start;gap:.65rem 1rem}.ancient-library-page .cs-sources-guide__selected-label{display:block;width:100%}}
@media(max-width:380px){.ancient-library-page .cs-sources-guide__figures span{font-size:.68rem}.ancient-library-page .cs-sources-guide__figures p+p{padding-left:.75rem}}
@media(prefers-reduced-motion:reduce){.ancient-library-page .cs-sources-guide *{scroll-behavior:auto}}

/* Portail allege : le chiffre 95 reste dans le hero, seul 483 dans le guide. */
.ancient-library-page .cs-sources-guide__figures{grid-template-columns:1fr}
.ancient-library-page .cs-sources-guide__figures p{padding:1rem 1rem 1rem 0}
