/* Public article reading only. Interface and editorial fonts remain unchanged. */
@font-face{font-family:'Noto Naskh Arabic';src:url('/assets/fonts/NotoNaskhArabic.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
.public-reading .reading-text,.public-reading .reading-heading .public-lead{font-family:'Noto Naskh Arabic',serif;font-size:22px;line-height:1.95;text-align:start;direction:rtl;color:#263f53}
.public-reading .reading-heading .public-lead{max-width:760px;margin-block:18px 22px}
.public-reading .reading-body{max-width:760px;width:100%;min-width:0}
.reading-text p{margin-block:0 1.1em}
.public-reading .reading-text :is(h2,h3,h4){font-family:'Cairo',sans-serif;color:#10324f;line-height:1.65;margin-block:1.5em .65em;scroll-margin-top:24px}
.public-reading .reading-text h2{font-size:27px;border-bottom:1px solid #dbe4ec;padding-bottom:8px}
.public-reading .reading-text h3{font-size:23px}
.public-reading .reading-text h4{font-size:20px}
.reading-text :is(ul,ol){padding-inline-start:1.5em;margin-block:0 1.2em}
.reading-text ul{list-style:disc}.reading-text ol{list-style:decimal}.reading-text li{padding-inline-start:.2em;margin-block:.3em}
.reading-text blockquote{margin:1.2em 0;padding:16px 24px;border-inline-start:4px solid #ad8032;background:#f5f7f9}.reading-text blockquote p:last-child{margin:0}
.public-reading .reading-text a,.public-reading .reading-sources a{color:#1c587e;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.public-reading a:hover{color:#785416}.public-reading :focus-visible{outline:3px solid #94671d;outline-offset:4px}
.reading-text strong{font-weight:700}.reading-text em{font-style:italic}
.reading-text figure{margin:24px 0}.reading-text img{max-width:100%;height:auto;margin-inline:auto}.reading-text figcaption{font-size:18px;line-height:1.8;text-align:center;margin-top:10px;color:#455e75}
.reading-table{width:100%;max-width:100%;overflow-x:auto;margin-block:24px;border:1px solid #c7d5e1;border-radius:4px;overscroll-behavior-inline:contain}
.reading-table table{border-collapse:collapse;width:100%;font-size:19px;line-height:1.8}.reading-table th,.reading-table td{padding:12px 16px;min-width:130px;vertical-align:top;text-align:start;border:1px solid #d7e0e9}.reading-table th{background:#eff4f8;font-weight:700}.reading-table tbody tr:nth-child(even){background:#fafbfc}
.reading-citation{font-family:'Cairo',sans-serif;font-size:.75em;white-space:nowrap;vertical-align:super;padding-inline:2px}
.reading-toc{border:1px solid #d2dfe9;border-inline-start:3px solid #c6a15b;border-radius:5px;background:#f8fafc;padding:14px 20px;margin-bottom:28px;font-size:14px;line-height:1.9}
.reading-toc summary{font-weight:700;cursor:pointer;display:list-item;list-style:disclosure-open inside}.reading-toc details:not([open]) summary{list-style-type:disclosure-closed}
.reading-toc ol{padding-top:10px;max-height:300px;overflow-y:auto;padding-inline:4px}.reading-toc li{margin-block:6px}.reading-toc a{text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:3px 0}.reading-toc .toc-level-3{padding-inline-start:20px}
.reading-sources .reference-number{color:#765316;font-size:16px;font-weight:700;min-width:30px}.reading-sources li:target{background:#faf3e5;outline:2px solid #ad8032;outline-offset:4px}.reading-text :target{background:#faf3e5}.reading-sources li{scroll-margin-top:24px}
@media(max-width:900px){.public-reading .reading-layout{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.public-reading .reading-text,.public-reading .reading-heading .public-lead{font-size:21px}}
@media(max-width:650px){.public-reading .reading-text,.public-reading .reading-heading .public-lead{font-size:20px;line-height:1.95}.public-reading .reading-text h2{font-size:24px}.public-reading .reading-text h3{font-size:21px}.public-reading .reading-text h4{font-size:19px}.reading-toc{padding:12px 14px}.reading-toc ol{max-height:200px}.reading-text blockquote{padding:12px 16px}.reading-table table{font-size:18px}}
@media print{
 @page{size:A4;margin:18mm}
 body{background:white!important;color:#111!important}
 .site-header,footer#about,.breadcrumbs,.reading-edit,.reading-toc,.reading-related,.public-tags,.reading-attachments,.document-viewer,.document-actions,.reading-relations .public-pagination{display:none!important}
 .public-reading{width:100%;max-width:none;margin:0;padding:0}.public-reading .reading-layout{display:block}.public-reading .reading-body{max-width:none;width:100%}.reading-infobox{margin-block:12pt;break-inside:avoid;font-size:10pt;max-width:100%}
 .public-reading .reading-text,.public-reading .reading-heading .public-lead{font-size:13pt;line-height:1.9;color:#111}.reading-heading{padding:0 0 10pt;margin-bottom:14pt;max-width:none}.public-reading .reading-heading h1{font-size:23pt}.public-reading .reading-text h2{font-size:17pt}.public-reading .reading-text h3{font-size:15pt}.public-reading .reading-text h4{font-size:13pt}
 h1,h2,h3,h4{break-after:avoid;page-break-after:avoid}p,li{orphans:3;widows:3}.reading-text figure,.reading-text blockquote,.reading-sources li{break-inside:avoid}.reading-sources{margin-top:18pt}.reading-sources a,.reading-text a{color:#111!important;text-decoration:underline}.reading-text img{max-height:180mm;object-fit:contain}
 .reading-table{overflow:visible;border:0}.reading-table table{table-layout:fixed;font-size:10pt;width:100%}.reading-table th,.reading-table td{min-width:0;padding:5pt;overflow-wrap:anywhere}.reading-table thead{display:table-header-group}.reading-table tr{break-inside:avoid}.reading-text :target,.reading-sources li:target{background:transparent;outline:none}
}
/* Narrow prose alone on large screens; tables and figures keep the wider column. */
@media screen and (min-width:1000px){
 .public-reading .reading-text :is(p,h2,h3,h4,ul,ol,blockquote){max-width:700px}
 .public-reading .reading-heading .public-lead{max-width:700px}
}
@media print{
 .public-reading :is(.reading-dates,.reference-kind,.reading-sources dt,.reference-number,.public-type,.reading-infobox dt){color:#222!important}
 .reading-infobox .reading-placeholder{display:none}
}

@media print{.reading-heading-group{break-inside:avoid;page-break-inside:avoid}}
