/* Pounds identity and documentary blocks. Layout and interactions use css_commun.css. */
:root[data-family="pounds"] {
    --paper: #fbf8f2;
    --ink: #202d40;
    --muted: #5c6674;
    --deep: #192d4b;
    --accent: #963a58;
    --line: #ded9d1;
    --serif: Georgia, "Times New Roman", serif;
}
[data-family="pounds"] .hero { background: var(--deep); color: #fffaf2; }
[data-family="pounds"] .hero h1 { max-width: 20ch; font-weight: 400; }
[data-family="pounds"] .hero p { color: #e0e4ec; }
[data-family="pounds"] .hero .eyebrow { color: #f3b2bf; }
[data-family="pounds"] .hero-seal { color: #f3b2bf; border-color: #ffffff38; }
[data-family="pounds"] .chapter-banner h2 { font-family: var(--serif); font-weight: 400; }
[data-family="pounds"] .pound-prose { font-family: var(--serif); font-size: 18px; line-height: 1.85; }
[data-family="pounds"] .pound-prose :is(.lead,.intro,.opening) { font-size: 22px; line-height: 1.65; }
[data-family="pounds"] .pound-prose > section { padding-block-start: 22px; margin-block-end: 38px; border-block-start: 1px solid var(--line); }
[data-family="pounds"] .pound-prose h2 { font-weight: 400; line-height: 1.3; scroll-margin-top: 100px; }
[data-family="pounds"] .pound-prose :is(.chapter-no,.num,.no,.intro-label,.eyebrow) { color: var(--accent); font: 12px/1.6 system-ui,sans-serif; letter-spacing: .09em; }
[data-family="pounds"] .pound-prose figure { margin: 28px 0; padding: 20px; border: 1px solid var(--line); background: #f1eee8; border-radius: 4px; }
[data-family="pounds"] .pound-prose figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 600px; object-fit: contain; margin-inline: auto; }
[data-family="pounds"] .pound-prose figure.coin img { max-height: 430px; }
[data-family="pounds"] .pound-prose :is(.pair,.paired) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
[data-family="pounds"] .pound-prose :is(.pair,.paired) figure { min-width: 0; margin: 12px 0; }
[data-family="pounds"] .pound-prose figcaption { font: 14px/1.65 system-ui,sans-serif; padding-block-start: 15px; }
[data-family="pounds"] .pound-prose figcaption :is(small,.credit) { display: block; margin-block-start: 8px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
[data-family="pounds"] .pound-prose :is(aside,.callout,.editor-note,.rights-note,div.note,p.note) { background: #f0eaf0; border-inline-start: 3px solid var(--accent); padding: 18px 22px; margin-block: 25px; font: 16px/1.75 system-ui,sans-serif; }
[data-family="pounds"] .pound-prose .change-box { background: #f0eaf0; }
[data-family="pounds"] .pound-prose :is(.sources,.bibliography,.source-list,.method) { font: 14px/1.8 system-ui,sans-serif; overflow-wrap: anywhere; }
[data-family="pounds"] .pound-prose :is(.sources,.method) { padding: 24px; background: #edf0f5; }
[data-family="pounds"] .pound-prose :is(.sources,.method) h2 { font: 28px/1.3 var(--serif); }
[data-family="pounds"] .pound-prose :is(.ref,.refs,.source,.small) { font: 13px/1.65 system-ui,sans-serif; }
[data-family="pounds"] .pound-prose :is(.table-wrap,.tablewrap,.table-scroll) { overflow-x: auto; max-width: 100%; }
[data-family="pounds"] .pound-prose :is(.pound-facts,.milestones,.identity) { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 18px 0; font: 14px/1.6 system-ui,sans-serif; }
[data-family="pounds"] .pound-prose .pound-facts strong { display: block; color: var(--accent); }
[data-family="pounds"] .pound-prose .timeline { padding-inline-start: 25px; border-inline-start: 2px solid var(--accent); font: 15px/1.75 system-ui,sans-serif; }
[data-family="pounds"] .pound-prose .timeline li { margin-block: 12px; }
[data-family="pounds"] .pound-prose .image-rights-note { color: var(--muted); font: 13px/1.6 system-ui,sans-serif; }
[data-family="pounds"] .country-gbp { --card-deep:#152c46; --card-accent:#8c2838; }
[data-family="pounds"] .country-egp { --card-deep:#113f4b; --card-accent:#aa3430; }
[data-family="pounds"] .country-lbp { --card-deep:#154b3d; --card-accent:#9e2434; }
[data-family="pounds"] .country-sdg { --card-deep:#283f45; --card-accent:#974736; }
[data-family="pounds"] .country-ssp { --card-deep:#183e51; --card-accent:#286246; }
[data-family="pounds"] .country-fkp { --card-deep:#102f43; --card-accent:#135a76; }
[data-family="pounds"] .country-shp { --card-deep:#16415a; --card-accent:#236e83; }
[data-family="pounds"] .country-gip { --card-deep:#252d35; --card-accent:#a62d39; }
[data-family="pounds"] .country-ggp { --card-deep:#153c48; --card-accent:#a43135; }
[data-family="pounds"] .country-jep { --card-deep:#283b47; --card-accent:#a42b36; }
@media (max-width: 740px) {
    [data-family="pounds"] .pound-prose :is(.lead,.intro,.opening) { font-size: 20px; }
    [data-family="pounds"] .pound-prose :is(.pair,.paired) { grid-template-columns: minmax(0,1fr); }
    [data-family="pounds"] .pound-prose figure { padding: 14px; }
    [data-family="pounds"] .pound-prose :is(.sources,.method) { padding: 18px; }
}
@media (max-width: 740px) {
    [data-family="pounds"] .hero h1 { font-size: clamp(2.2rem,9vw,3rem); line-height: 1.15; }
}
[data-family="pounds"] :is(.exchange-page,.exchange-promo-dialog) {
    --ex-navy: #192d4b;
    --ex-navy-soft: #30496a;
    --ex-gold: #e9a4b7;
    --ex-gold-dark: #963a58;
    --ex-gold-soft: #f6e7ec;
}
