/* Shared heritage palette and curved editorial framing. */
:root{--paper:#fbf8f1;--white:#fffdf8;--ink:#392b20;--muted:#82725f;--wine:#582f0e;--gold:#a68a64;--line:#ded1bb;--brown-mid:#7f4f24;--brown-light:#936639;--sand:#eee5d5}
.azmi-site{background:var(--paper)}.archive-top{background:#582f0e;color:#f4ead8;max-width:1340px;margin:18px auto 0;border-radius:8px 8px 0 0;padding:8px 28px;letter-spacing:1.2px}.archive-header{display:block;width:min(1340px,calc(100% - 48px));padding:0;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:var(--white);box-shadow:0 5px 24px #582f0e06}.archive-masthead{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 35px;position:relative;overflow:hidden;background:linear-gradient(110deg,#f1e9db66,transparent 60%)}.archive-masthead:after{content:'';position:absolute;width:430px;height:150px;border:1px solid #a68a6430;border-radius:50%;bottom:-130px;inset-inline-end:-45px;pointer-events:none}.archive-brand{gap:23px;position:relative;z-index:1}.original-logo{display:block;width:112px;height:108px;flex-shrink:0;background:#582f0e;border-radius:7px 24px 7px 24px;padding:7px 9px;box-shadow:inset 0 0 0 1px #a68a6433}.original-logo img{width:100%;height:100%;object-fit:contain}.archive-brand strong{font:34px/1.2 var(--serif);color:var(--wine);letter-spacing:-.5px}.archive-brand small{font-size:9px;letter-spacing:1.5px;color:var(--brown-light);margin-top:12px}.azmi-site:lang(ar) .archive-brand strong{font:42px/1.3 var(--arabic)}.azmi-site:lang(ar) .archive-brand small{font:20px/1.5 var(--arabic);margin-top:7px}.masthead-motto{font:16px/1.8 var(--serif);white-space:pre-line;text-align:end;color:var(--brown-light);padding-inline-start:30px;border-inline-start:1px solid var(--line)}.azmi-site:lang(ar) .masthead-motto{font:23px/1.7 var(--arabic)}.archive-header nav{display:flex;justify-content:center;background:#582f0e;padding:11px 24px;gap:9px;border-radius:0 0 11px 11px;min-height:60px}.archive-header nav>a{border:1px solid #c9b38d38;border-radius:7px;padding:8px 16px;color:#f9f1e3;font-size:12px;transition:background .18s,color .18s,border-color .18s}.azmi-site:lang(ar) .archive-header nav>a{font:21px/1.4 var(--arabic);padding:7px 18px}.archive-header nav>a:hover{background:#7f4f24;color:white;border-color:#c9b38d99}.archive-header nav>a[aria-current=page]{background:#f8f1e5;color:#582f0e;border-color:#f8f1e5}.archive-header .nav-book{background:#936639;color:white;gap:15px}.archive-header .lang-link{margin-inline-start:15px;border:1px solid #c9b38d55;padding-inline:16px;font-size:13px}.button-primary,.button-light{border-radius:8px 20px 8px 20px;box-shadow:0 4px 10px #582f0e08;transition:background .18s,transform .18s}.button-primary:hover{background:#7f4f24;transform:translateY(-1px)}.text-link{border-bottom-color:#bba27a}.archive-hero{background:linear-gradient(115deg,#f4edde85,#fffdf8);border:1px solid #cdbc9c;border-radius:46px 8px 46px 8px;padding:44px 45px;margin-block:22px 25px;grid-template-columns:1.35fr 1fr;gap:55px;position:relative;overflow:hidden}.archive-hero:after{content:'';position:absolute;width:420px;height:170px;border:1px solid #a68a643b;border-radius:50%;bottom:-143px;inset-inline-start:-70px;pointer-events:none}.hero-copy{padding:0}.archive-hero h1{font-size:clamp(43px,4.2vw,61px);line-height:1.1}.azmi-site:lang(ar) .archive-hero h1{font-size:clamp(49px,4.4vw,67px);line-height:1.25}.honorific{margin-block:22px 10px!important}.azmi-site:lang(ar) .honorific{margin-block:14px 3px!important}.hero-dates{margin-top:19px!important}.hero-intro{max-width:600px;font-size:14px;line-height:1.9;margin-top:19px!important}.azmi-site:lang(ar) .hero-intro{font-size:24px;line-height:1.85}.hero-actions{gap:23px;margin-top:25px}.hero-explore{border-inline-start:1px solid var(--line);padding-inline-start:32px;position:relative;z-index:1}.hero-explore>.eyebrow{color:var(--brown-light);margin-bottom:18px}.hero-explore>a{display:flex;gap:17px;align-items:center;border:1px solid var(--line);border-radius:18px 5px 18px 5px;padding:18px;background:#fffdf8d9;margin-bottom:12px;transition:border-color .18s,transform .18s,box-shadow .18s}.hero-explore>a:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 7px 16px #582f0e08}.explore-symbol{font-size:25px;color:var(--gold)}.hero-explore strong{font:24px/1.3 var(--serif);display:block;color:var(--wine)}.hero-explore small{font:11px/1.7 var(--sans);display:block;color:var(--muted);margin-top:5px}.azmi-site:lang(ar) .hero-explore strong{font:28px/1.4 var(--arabic)}.azmi-site:lang(ar) .hero-explore small{font:20px/1.5 var(--arabic)}.hero-explore b{margin-inline-start:auto;color:var(--brown-light);font-weight:400}.explore-caption{font:10px/1.8 var(--sans);color:var(--muted);margin-top:17px!important}.azmi-site:lang(ar) .explore-caption{font:18px/1.6 var(--arabic)}.legacy-strip{background:#ede3d0;border-color:#ded0b7}.section-space{padding-block:75px}.life-milestones a{border-radius:14px 3px 14px 3px;padding:22px 18px;border:1px solid var(--line);margin-bottom:12px;background:#fffdf88a}.life-milestones a:first-child{padding-top:22px}.book-feature{background:#eae0cd;border-block:1px solid var(--line)}.book-object{background:#582f0e;border-inline-start-color:#3d2009;border-radius:4px 12px 12px 4px}.works-editorial figure{border-radius:28px 7px 28px 7px;overflow:hidden}.works-editorial a{padding-inline:15px;border-radius:10px}.works-editorial a:hover{background:#f1e8d8}.institution-feature{background:#582f0e}.institution-feature>img{filter:sepia(.2) brightness(.32)}.archive-photo-grid img{border-radius:22px 5px 22px 5px}.archive-footer{background:#4a280f;border-top:5px solid #a68a64}.archive-footer .eyebrow{color:#c7ae83}.archive-footer h2{color:#f7eedf}.archive-footer p,.archive-footer a{color:#ddd0bc}.archive-footer h3{color:#f8efd8}.footer-bottom{color:#c8b69d;border-color:#a68a644a}.inner-title{border-radius:0 0 32px 4px}.azmi-book-page .archive-footer{margin-top:60px}
/* The digital book shares the same site frame and navigation. */
.reader{width:min(1240px,calc(100% - 72px));margin:0 auto;--reader-bg:#fffdf8;--reader-ink:#392b20}.book-breadcrumb{display:flex;align-items:center;gap:11px;padding:25px 5px 18px;font:19px/1.5 var(--arabic);color:var(--muted)}.book-breadcrumb a{color:var(--wine)}.reader-intro{background:linear-gradient(110deg,#f2eadb,#fffdf8 65%);border:1px solid #ccb995;border-radius:38px 7px 38px 7px;padding:38px 42px;position:relative;overflow:hidden;align-items:center;gap:45px}.reader-intro:after{content:'';position:absolute;width:490px;height:150px;border:1px solid #a68a6440;border-radius:50%;bottom:-130px;inset-inline-start:0;pointer-events:none}.reader-intro>div:first-child{position:relative;z-index:1;flex:1}.edition-pill{display:inline-block;color:#7f4f24;background:#eee3cf;border:1px solid #d4c19e;border-radius:100px;padding:4px 15px;font:18px/1.6 var(--arabic)}.reader-intro h1{font:43px/1.45 var(--arabic);color:var(--wine);margin-block:17px 7px;max-width:720px}.reader-intro h1 span{display:block;font-size:37px;color:#936639;margin-inline:0}.reader-intro p{font:22px/1.7 var(--arabic);color:var(--brown-light)}.reader-intro .reader-description{font-size:22px;line-height:1.8;max-width:680px;margin-top:12px;color:#796850}.book-edition-meta{display:flex;gap:0;flex-wrap:wrap;margin-top:20px;font:18px/1.6 var(--arabic);color:#7e694c}.book-edition-meta>span{padding-inline:16px;border-inline-start:1px solid #ccb995}.book-edition-meta>span:first-child{padding-inline-start:0;border:0}.book-hero-actions{display:flex;align-items:center;gap:25px;margin-top:24px}.reader-download{border:1px solid #cbb997;border-radius:8px 18px 8px 18px;padding:9px 19px;background:#fffdf8;display:inline-flex;gap:17px;font-size:20px;color:var(--wine)!important}.book-intro-motif{width:185px;min-height:235px;border:1px solid #b59767;border-radius:70px 70px 8px 8px;box-shadow:inset 0 0 0 9px #f8f1e3,inset 0 0 0 10px #cdb992;background:#e8d9be;display:flex;justify-content:center;align-items:center;flex-direction:column;flex-shrink:0;padding:25px 15px;color:var(--wine);position:relative}.book-intro-motif:before{content:'✦';font-size:30px;line-height:1;color:#a68a64;margin-bottom:13px}.book-intro-motif>span{font:37px/1.35 var(--arabic);text-align:center}.book-intro-motif>small{font:17px/1.5 var(--arabic);margin-top:15px}.book-chapters{padding-block:38px 44px}.chapters-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.chapters-heading h2{font:34px/1.5 var(--arabic);margin-top:5px;color:var(--wine)}.chapters-heading>.eyebrow,.chapters-heading .eyebrow{font:17px/1.5 var(--arabic)!important;color:#936639}.chapters-heading>a{font:20px/1.5 var(--arabic);color:var(--wine);border-bottom:1px solid var(--gold);padding:5px}.book-part-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.book-part-card{display:flex!important;align-items:start;text-align:right;gap:13px;border:1px solid #d8c9ae!important;border-radius:21px 5px 21px 5px!important;background:#fffdf8!important;padding:17px!important;min-height:105px!important;box-shadow:0 3px 13px #582f0e03;transition:transform .18s,border-color .18s,background .18s}.book-part-card:hover{transform:translateY(-2px);border-color:#a68a64!important;background:#f4ecdc!important}.book-part-card.active{background:#eee2cd!important;border-color:#a68a64!important;box-shadow:inset 3px 0 #936639}.book-part-card .part-number{background:#efe4d1;color:#936639;font:14px/31px var(--sans);width:31px;height:31px;border-radius:50%;flex-shrink:0;text-align:center}.book-part-card strong{font:23px/1.5 var(--arabic);font-weight:400;display:block;color:var(--wine)}.book-part-card small{display:block;color:#8e7a5d;font:17px/1.5 var(--arabic);margin-top:5px}.book-reading-section{scroll-margin-top:30px;border-top:1px solid var(--line);padding-top:28px}.reading-section-heading{margin-bottom:22px;padding-inline:5px}.reading-section-heading h2{font:36px/1.5 var(--arabic);color:var(--wine);margin-block:4px}.reading-section-heading>p{font:21px/1.8 var(--arabic);color:var(--muted)}.reader-toolbar{border:1px solid #cdbb98;border-radius:20px 6px 0 0;background:#ede3d1;padding:12px 16px;gap:12px;top:0;box-shadow:0 2px 12px #582f0e05}.reader button,.reader select{border-radius:8px;border-color:#d4c3a5;min-height:39px;color:var(--wine)}.reader button:hover{background:#efe4d1}.reader-modes{border:0;background:#fcf8ef;border-radius:10px;padding:4px;gap:4px}.reader-modes button{font:20px/1.5 var(--arabic);border-radius:8px;padding:6px 16px}.reader-modes button[aria-pressed=true]{background:#582f0e;color:#fff9ed}.reader-toolbox{position:relative;color:var(--wine)}.reader-toolbox>summary{cursor:pointer;font:20px/1.6 var(--arabic);border:1px solid #ccb995;border-radius:9px;padding:7px 14px;list-style:none;background:#fffaf0;white-space:nowrap}.reader-toolbox>summary::-webkit-details-marker{display:none}.reader-toolbox .reader-settings{display:none;position:absolute;inset-block-start:calc(100% + 12px);inset-inline-end:0;z-index:40;background:#fffaf1;border:1px solid #cdbb98;border-radius:16px 5px 16px 5px;box-shadow:0 12px 30px #582f0e20;padding:15px;width:280px;gap:9px}.reader-toolbox[open] .reader-settings{display:flex}.reader-settings button{background:#fffcf6;font-size:19px}.reader-layout{border:1px solid var(--line);border-top:0;border-radius:0 0 6px 28px;overflow:clip;grid-template-columns:270px minmax(0,1fr);background:#fffdf8}.reader-layout.sidebar-hidden{grid-template-columns:1fr}#reader-sidebar{background:#f4eddf;padding:19px 15px;top:76px;border-inline-end-color:#deceb0;max-height:calc(100vh - 110px)}.reader-search{background:#fffdf8;border:1px solid #e0d3bd;border-radius:17px 4px 17px 4px;padding:14px;margin-bottom:14px}.reader-search label{font:23px/1.5 var(--arabic);color:var(--wine)}.reader-search small{display:none}.reader-search input{border-radius:8px;background:#fcf8ef;font-size:20px}.toc-part{border-bottom-color:#e0d1b6}.toc-part summary{font:23px/1.6 var(--arabic);color:var(--wine)}.toc-part button{border-radius:9px!important;margin-block:3px;font:20px/1.6 var(--arabic)!important;padding:8px!important;border-bottom:0!important}.toc-part button.active{background:#e8dac1;color:#582f0e}.toc-chapter{font:18px/1.7 var(--arabic);color:#a18a65}.reading-location{padding:22px 25px 15px;gap:12px;align-items:end;flex-wrap:wrap;border-bottom:1px solid #e5d9c3}.part-picker{flex:1;min-width:180px}.part-picker label{display:block;font:18px/1.5 var(--arabic);color:#936639;margin-bottom:7px}.reading-location select{width:100%;font-size:21px;background:#faf5ea;padding:9px 12px;border-radius:10px}.reading-quick-nav{display:flex;gap:7px}.reading-quick-nav button{font-size:19px;padding:8px 12px;background:#faf5ea}.reading-location #resume-reading{font-size:18px}.edition-note{padding:10px 25px;border-bottom:1px solid #e9dfcd;color:#968063;font:17px/1.7 var(--arabic)}.edition-note>summary{cursor:pointer}.edition-note .reader-note{padding:12px 0 5px;border:0;font:18px/1.7 var(--arabic)}.book-text{padding:32px 42px 45px;color:var(--reader-ink);line-height:1.95}.reader #book-text .part-title{font:34px/1.65 var(--arabic);color:var(--wine);border-bottom:1px solid #dfd0b5;padding-bottom:14px;margin-bottom:12px}.reader #book-text .part-source{font:18px/1.8 var(--arabic);color:#9c8766;border:0;margin-bottom:28px;padding:0}.book-text h2{color:var(--wine)}.book-text h3{color:#7f4f24}.book-text .source-page{border-radius:100px;background:#f7efdf;border-color:#dfcfaf;color:#7f4f24;font-size:10px}.book-text .search-match{border-radius:7px;background:#eee0c4}.reading-columns[data-view=compare] .book-text{padding-inline:25px}.reading-columns[data-view=compare]{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}#original-pane{background:#eee5d5;padding:16px;border-color:#d9c8a8;top:95px}.page-controls{gap:6px}.page-controls button{border-radius:7px;background:#f8f1e4;font-size:18px}.page-controls input{border-radius:7px;border-color:#c7af84}.original-sheet{border-radius:7px;overflow:hidden}.original-help{color:#927b59;font-size:17px}.chapter-controls{background:#f5eddf;padding:20px 25px;border-top-color:#ddceb2}.chapter-controls button{background:#fffaf1;border-radius:8px 17px 8px 17px;padding:9px 16px}.chapter-controls button:first-child,.chapter-controls button:last-child{background:#582f0e;color:white;border-color:#582f0e}.chapter-controls button:disabled{background:#d9cbb2;border-color:#d9cbb2;color:#8f7958}.study-heading h2{color:var(--wine)}#study-panel{background:#fbf5e9;border-color:#ccb793;border-radius:22px 0 0 22px}.study-item .study-note{background:#eee2cd;border-radius:10px}.reader dialog{border-radius:22px 6px 22px 6px}#reader-status{background:#582f0e}.source-downloads{border-radius:15px;background:#faf3e5}.reader.night{--reader-bg:#2c2219;--reader-ink:#f1e9da;--paper:#31261c;--line:#66523b;--muted:#c5b294;--wine:#e5c28c;--white:#35291d}.reader.night .reader-intro,.reader.night .book-part-card,.reader.night .reader-toolbar,.reader.night .reader-modes,.reader.night .reading-location select,.reader.night .reading-quick-nav button{background:#382b1d!important;color:#e9d8bb}.reader.night .reader-intro h1,.reader.night .book-part-card strong,.reader.night .book-text h2,.reader.night .book-text h3{color:#e5c28c}.reader.night #reader-sidebar,.reader.night .reader-layout,.reader.night .reader-workspace,.reader.night .chapter-controls{background:#2c2219}.reader.night .reader-search{background:#382b1d}.reader.night .reader-search input{background:#2c2219;color:#f1e9da}.reader.night #original-pane{background:#443522}.reader.night .reader-description{color:#cfb994}.reader.night .reader-toolbox>summary,.reader.night .reader-toolbox .reader-settings{background:#382b1d;color:#e5c28c}.reader.night .reader-settings button{background:#2c2219;color:#e5c28c}.reader.night .book-part-card.active{background:#574226!important}
@media(min-width:1390px){.archive-top{width:1340px}.archive-header{width:1340px}}@media(max-width:1389px){.archive-top{width:calc(100% - 48px)}}@media(max-width:1100px){.archive-masthead{padding:22px 27px}.archive-header nav{gap:7px;padding-inline:15px}.archive-header nav>a{padding-inline:13px}.azmi-site:lang(ar) .archive-header nav>a{padding-inline:14px}.archive-brand strong{font-size:28px}.azmi-site:lang(ar) .archive-brand strong{font-size:36px}.masthead-motto{font-size:14px}.azmi-site:lang(ar) .masthead-motto{font-size:21px}.archive-hero{padding:36px 32px;gap:32px}.hero-explore{padding-inline-start:24px}.hero-explore>a{padding:15px}.reader{width:calc(100% - 48px)}.reader-intro{padding:30px;gap:25px}.reader-intro h1{font-size:38px}.book-intro-motif{width:150px;min-height:215px}.book-part-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.book-part-card{padding:13px!important;gap:9px}.book-part-card strong{font-size:22px}.book-part-card .part-number{font-size:11px;width:26px;height:26px;line-height:26px}.reader-toolbar{flex-wrap:wrap}.reader-modes button{padding-inline:13px;font-size:19px}.reader-layout{grid-template-columns:245px minmax(0,1fr)}.reader-layout #reader-sidebar{top:125px}.reading-columns[data-view=compare]{grid-template-columns:1fr}.reading-columns[data-view=compare] #original-pane{position:relative;top:0;max-height:75vh}.book-text{padding-inline:30px}}@media(min-width:1101px){.reading-columns[data-view=compare]{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}@media(max-width:850px){.archive-masthead{padding:18px 23px}.masthead-motto{display:none}.archive-header .menu-toggle{display:block;margin:0 20px 13px auto;background:#582f0e;color:#fff4df;border:0;border-radius:9px;padding:10px 18px}.azmi-site:lang(ar) .archive-header .menu-toggle{margin-inline:20px auto;font-size:20px}.archive-header nav{display:none;position:static;inset:auto;border:0;border-radius:0 0 11px 11px;padding:15px;box-shadow:none;gap:10px;align-items:stretch}.archive-header nav.is-open{display:flex}.archive-header nav>a{font-size:15px;padding:10px 16px}.archive-header .lang-link{margin:0}.archive-hero{grid-template-columns:1fr 1fr;gap:25px}.archive-hero h1{font-size:43px}.hero-explore>a{gap:10px}.hero-explore strong{font-size:21px}.azmi-site:lang(ar) .hero-explore strong{font-size:25px}.azmi-site:lang(ar) .hero-explore small{font-size:18px}.explore-symbol{font-size:20px}.book-part-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.book-intro-motif{width:125px;min-height:190px}.book-intro-motif>span{font-size:31px}.book-intro-motif>small{font-size:15px}.reader-intro h1{font-size:34px}.reader-intro h1 span{font-size:31px}.book-text{padding-inline:25px}}
@media(max-width:600px){.archive-top{width:calc(100% - 26px);margin-top:10px;padding-inline:17px;border-radius:7px 7px 0 0}.archive-header{width:calc(100% - 26px)}.archive-masthead{padding:17px 16px;gap:12px}.archive-brand{gap:14px}.original-logo{width:76px;height:83px;padding:5px;border-radius:5px 18px 5px 18px}.archive-brand strong{font-size:22px;max-width:210px;line-height:1.25;letter-spacing:-.5px}.archive-brand small{font-size:7px;max-width:200px;line-height:1.7;letter-spacing:.7px;margin-top:7px}.azmi-site:lang(ar) .archive-brand strong{font-size:29px;line-height:1.4}.azmi-site:lang(ar) .archive-brand small{font-size:17px;line-height:1.5}.archive-header .menu-toggle{padding:8px 15px;margin-bottom:12px}.archive-hero{display:grid;grid-template-columns:1fr;width:calc(100% - 30px);margin-block:15px 20px;padding:28px 23px;gap:30px;border-radius:30px 6px 30px 6px}.hero-copy .eyebrow{font-size:9px}.azmi-site:lang(ar) .hero-copy .eyebrow{font-size:19px}.archive-hero h1{font-size:45px;letter-spacing:-1.5px}.azmi-site:lang(ar) .archive-hero h1{font-size:51px;line-height:1.25}.hero-intro{font-size:14px}.azmi-site:lang(ar) .hero-intro{font-size:23px;line-height:1.75}.hero-actions{gap:17px;flex-wrap:wrap}.hero-actions .button-primary{padding:12px 19px}.hero-explore{border-inline-start:0;border-top:1px solid var(--line);padding:23px 0 0}.hero-explore>a{padding:15px;border-radius:16px 5px 16px 5px}.hero-explore strong{font-size:23px}.hero-explore small{font-size:11px}.azmi-site:lang(ar) .hero-explore strong{font-size:27px}.azmi-site:lang(ar) .hero-explore small{font-size:19px}.section-space{padding-block:48px}.reader{width:calc(100% - 26px)}.book-breadcrumb{font-size:17px;gap:8px;padding:19px 4px 14px}.reader-intro{padding:25px 22px;border-radius:28px 6px 28px 6px;gap:15px;display:block}.edition-pill{font-size:16px;padding:3px 12px}.reader-intro h1{font-size:32px;line-height:1.5;margin-top:14px}.reader-intro h1 span{font-size:29px}.reader-intro p{font-size:21px}.reader-intro .reader-description{font-size:20px;line-height:1.8}.book-intro-motif{display:none}.book-edition-meta{font-size:16px;gap:9px 0;margin-top:16px}.book-edition-meta>span{padding-inline:11px}.book-hero-actions{gap:13px;flex-wrap:wrap;margin-top:21px}.reader .book-hero-actions .button-primary{font:21px/1.6 var(--arabic);padding:8px 18px}.reader-download{font-size:19px;padding:8px 16px}.book-chapters{padding-block:28px 30px}.chapters-heading{align-items:center;gap:12px}.chapters-heading h2{font-size:29px}.chapters-heading>a{font-size:18px}.book-part-cards{gap:10px}.book-part-card{min-height:122px!important;padding:13px 11px!important;gap:8px;border-radius:17px 4px 17px 4px!important}.book-part-card strong{font-size:22px;line-height:1.5}.book-part-card small{font-size:16px}.book-part-card .part-number{width:23px;height:23px;line-height:23px;font-size:10px}.reading-section-heading{padding-inline:5px}.reading-section-heading h2{font-size:31px}.reading-section-heading p{font-size:20px}.reader-toolbar{padding:11px;gap:10px;align-items:center;position:sticky;top:0!important;border-radius:16px 4px 0 0}.reader-toolbar>#contents-toggle{font-size:18px;padding:6px 10px;order:1}.reader-toolbox{order:2;margin-inline-start:auto}.reader-toolbox>summary{font-size:18px;padding:6px 10px}.reader-modes{order:3;width:100%;justify-content:space-between}.reader-modes button{flex:1;font-size:19px;padding:7px 8px;white-space:nowrap;min-height:40px}.reader-toolbox .reader-settings{inset-inline-end:0;width:260px}.reader-layout{display:block;border-radius:0 0 6px 22px}.reader-layout #reader-sidebar{position:relative;top:0;padding:15px}.reading-location{padding:18px 16px 14px;gap:12px}.part-picker{flex-basis:100%}.part-picker label{font-size:18px}.reading-location select{font-size:21px;padding:8px}.reading-quick-nav{width:100%;justify-content:space-between}.reading-quick-nav button{min-width:110px}.edition-note{padding-inline:16px;font-size:17px}.book-text{padding:25px 18px 35px}.reader #book-text .part-title{font-size:29px}.reader #book-text .part-source{font-size:17px;line-height:1.7}.reading-columns[data-view=compare] .book-text{padding-inline:18px}.reader #original-pane{padding:12px;max-height:none}.chapter-controls{padding:15px 12px;gap:9px}.chapter-controls button{font-size:18px;padding:7px 11px}.azmi-book-page .archive-footer{margin-top:40px}.book-reading-section{padding-top:22px}}
@media(prefers-reduced-motion:reduce){.hero-explore>a,.book-part-card,.button-primary{transition:none;transform:none!important}}@media print{.book-breadcrumb,.reader-intro,.book-chapters,.reading-section-heading,.edition-note,.reader-toolbox,.reading-quick-nav{display:none!important}.reader{width:100%}.book-reading-section{border:0;padding:0}.reader-layout{border:0;overflow:visible}.archive-header,.archive-top,.archive-footer{display:none!important}.book-text{padding:0}}

.reader #book-text [data-id]{scroll-margin-top:155px}@media(max-width:700px){.reader #book-text [data-id]{scroll-margin-top:180px}}

/* Quiet architectural ornament, drawn as a traditional repeating lattice. */
.book-feature{background:#f1e9da;padding-block:70px;border-block:1px solid #dbceb6}.book-feature-grid{grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:80px;align-items:center}.heritage-art{max-width:360px;width:100%;margin-inline:auto;pointer-events:none}.heritage-art img{display:block;width:100%;height:auto;filter:none;box-shadow:none;border:0}.book-feature .book-meta{border-top:1px solid #cdbd9f;padding-top:22px;margin-top:25px}.book-feature h2{font-weight:400}.book-feature .button-primary{border-radius:6px}.reader-intro .book-intro-motif.heritage-art{background:none;border:0;border-radius:0;box-shadow:none;padding:0;width:190px;min-height:0}.book-intro-motif.heritage-art:before,.book-intro-motif.heritage-art:after{display:none}.book-intro-motif.heritage-art img{width:100%}
@media(max-width:850px){.book-feature-grid{gap:34px;grid-template-columns:220px minmax(0,1fr)}.heritage-art{max-width:230px}}@media(max-width:600px){.book-feature{padding-block:36px}.book-feature-grid{grid-template-columns:1fr;gap:20px}.book-feature .heritage-art{max-width:170px}.book-feature-grid>div:last-child{text-align:start}.reader-intro .book-intro-motif.heritage-art{display:none}}

/* Keep chapter metadata within each card, independent of theme button rules. */
.reader .book-part-cards>.book-part-card{display:grid!important;grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:auto auto;align-content:center;align-items:start;column-gap:12px;row-gap:6px;text-align:right!important;white-space:normal!important;min-width:0;width:100%;min-height:126px!important;overflow:hidden;box-sizing:border-box}.reader .book-part-card .part-number{grid-column:2;grid-row:1 / 3;justify-self:end}.reader .book-part-card strong{grid-column:1;grid-row:1;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.65}.reader .book-part-card small{grid-column:1;grid-row:2;min-width:0;white-space:normal;line-height:1.7;margin:0}.reader .book-part-cards{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:850px){.reader .book-part-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.reader .book-part-cards>.book-part-card{grid-template-columns:minmax(0,1fr) 24px;column-gap:6px;min-height:145px!important}.reader .book-part-card strong{font-size:21px}.reader .book-part-card small{font-size:16px}}

/* Shared edges and stronger contrast at the opening of the archive. */
.azmi-site{background-color:#e8dfce;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 8 60 36 88 48 60 60 48 88 36 60 8 48 36 36Z' fill='none' stroke='%23967343' stroke-opacity='.09' stroke-width='.7'/%3E%3C/svg%3E")}.archive-top,.archive-header{width:min(1240px,calc(100% - 48px));max-width:1240px;box-sizing:border-box}.archive-top{margin-top:20px}.archive-masthead{padding:15px 26px;background:#f5eddf;min-height:122px}.original-logo{width:94px;height:94px}.archive-brand{gap:20px}.azmi-site:lang(ar) .archive-brand strong{font-size:38px}.masthead-motto{margin-block:0;max-width:300px}.archive-header nav{padding-block:9px}.archive-hero.wrap{width:min(1240px,calc(100% - 48px));box-sizing:border-box;margin-top:20px;padding:35px 38px;gap:38px;background:#fffaf0;border:1px solid #c3ab85;border-radius:28px 6px 28px 6px;align-items:stretch}.archive-hero .hero-copy{padding-block:8px}.archive-hero h1{margin-block:20px 16px}.hero-explore{background:#67421f;border:1px solid #805b35;border-radius:22px 5px 22px 5px;padding:25px;justify-content:center;gap:13px}.hero-explore>.eyebrow,.hero-explore>.explore-caption{color:#ead9b8}.hero-explore>a{background:#f2e7d1;border-color:#e0cbab;min-height:92px}.hero-explore>a:hover{background:#fff9ee;border-color:#f1dfbe}.hero-explore>a strong{color:#582f0e}.hero-explore>a small{color:#7c6447}.hero-explore .explore-caption{margin-bottom:0}.legacy-strip{background:#d6c3a1;border-block:1px solid #bca27b}.home-life,.works-editorial{background:#faf6ee}.home-life{padding:44px;margin-block:36px;border:1px solid #cdbb9e;border-radius:22px 5px 22px 5px}.section-heading{padding-top:10px}.archive-footer{border-top:4px solid #a68a64}
@media(max-width:850px){.archive-hero.wrap{padding:25px;gap:24px}.hero-explore{padding:20px}.home-life{padding:28px}}@media(max-width:600px){.archive-top,.archive-header,.archive-hero.wrap{width:calc(100% - 26px)}.archive-top{margin-top:12px}.archive-masthead{padding:14px 16px;min-height:104px}.original-logo{width:76px;height:83px}.azmi-site:lang(ar) .archive-brand strong{font-size:29px}.archive-hero.wrap{padding:23px 20px;margin-top:16px;gap:23px}.hero-explore{padding:20px 16px}.hero-explore>a{min-height:85px}.home-life{padding:25px 20px;margin-block:25px}}

/* A contained, curated library rather than loose rows on the page. */
.wrap:has(>.works-editorial){padding:36px 38px 40px;background:#fbf7ee;border:1px solid #c5ad87;border-radius:26px 6px 26px 6px;margin-block:40px;box-sizing:border-box}.wrap:has(>.works-editorial)>.section-heading{border-bottom:1px solid #d9c8a9;padding:0 0 23px;margin-bottom:28px}.wrap:has(>.works-editorial) .section-heading h2{margin-block:6px 0}.works-editorial{grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr);gap:28px;background:none;align-items:stretch}.works-editorial figure{height:auto;min-height:380px;display:flex;align-items:center;justify-content:center;background:#d7c18b;border:1px solid #b69a65;border-radius:20px 5px 20px 5px;overflow:hidden;padding:24px;position:relative}.works-editorial figure:after{content:'';position:absolute;inset:10px;border:1px solid #fff7dd70;border-radius:12px 2px 12px 2px;pointer-events:none}.works-editorial figure img{height:100%;max-height:390px;width:100%;object-fit:contain;mix-blend-mode:normal;border-radius:0;filter:none}.works-editorial>div{display:flex;flex-direction:column;gap:13px}.works-editorial>div>a{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;gap:16px;align-items:center;padding:21px 22px;margin:0;flex:1;background:#fffdf8;border:1px solid #dfd0b7;border-radius:14px 3px 14px 3px;transition:background .18s,border-color .18s}.works-editorial>div>a:hover{background:#eee1c8;border-color:#a68a64}.works-editorial .work-number{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #b59a70;background:#eee1c8;border-radius:50%;font-size:12px;color:#795024}.works-editorial h3{font-size:29px!important;margin:0 0 7px!important;line-height:1.5}.works-editorial p{margin:0!important;font-size:21px!important;line-height:1.7;color:#877051}.works-editorial b{color:#936639;font-size:23px;font-weight:400}@media(max-width:850px){.works-editorial{grid-template-columns:1fr 1.3fr;gap:18px}.works-editorial>div>a{padding:15px;gap:10px;grid-template-columns:32px minmax(0,1fr) 18px}.works-editorial .work-number{width:30px;height:30px}.works-editorial h3{font-size:25px!important}.works-editorial figure{padding:12px}}@media(max-width:600px){.wrap:has(>.works-editorial){padding:24px 20px;margin-block:28px}.works-editorial{grid-template-columns:1fr}.works-editorial figure{min-height:0;height:230px;padding:15px}.works-editorial figure img{height:100%;max-width:240px}.works-editorial>div>a{padding:18px 13px;min-height:115px}.works-editorial p{font-size:20px!important}}

.home-life{align-items:start;gap:36px}.home-life h2{margin-block:14px 18px!important}.home-book-search{margin-top:24px;padding:18px;background:#e9dcc3;border:1px solid #cbb28a;border-radius:13px 3px 13px 3px}.home-book-search label{display:block;font:23px/1.5 var(--arabic);color:#582f0e;margin-bottom:10px}.home-book-search>div{display:flex;gap:8px}.home-book-search input{min-width:0;flex:1;background:#fffdf7;border:1px solid #cdb995;padding:9px 12px;border-radius:6px;font:21px/1.5 var(--arabic)}.home-book-search button{background:#582f0e;color:#fff4dd;border:0;border-radius:6px;padding:8px 14px;font:20px/1.5 var(--arabic);cursor:pointer}.home-topic-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}.home-topic-links a{background:#f1e6d0;border:1px solid #cdb995;border-radius:9px 2px 9px 2px;padding:9px 12px;font:21px/1.5 var(--arabic);color:#582f0e}.home-topic-links a:hover{background:#e2ceaa}.life-milestones{padding-top:8px}.life-milestones a{padding:25px 24px;min-height:155px;background:#eee2cc;border:1px solid #c9b28b}.life-milestones a:nth-child(2){background:#f8f1e4}.research-readings{padding-block:40px}.readings-intro{max-width:850px;font:25px/1.9 var(--arabic);margin:0 0 25px;color:#6f5b43}.research-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.research-card{display:flex;flex-direction:column;padding:27px;background:#fbf7ee;border:1px solid #cbb795;border-radius:23px 5px 23px 5px;border-top:4px solid #936639}.research-card:nth-child(2){background:#ede1c9}.research-card h3{font:31px/1.6 var(--arabic);margin:14px 0;color:#582f0e}.research-card p{font:24px/1.9 var(--arabic);margin:0 0 22px;color:#695843}.research-card>a{display:block;margin-top:auto;padding:12px 14px;background:#67421f;color:#fff5e2;border-radius:7px;font:22px/1.5 var(--arabic)}
.heritage-footer{width:min(1340px,calc(100% - 48px));margin:50px auto 0;border:1px solid #a68a64;border-top:4px solid #b69a67;border-radius:54px 6px 0 0;padding:32px 0 0;background:#62411f;position:relative}.heritage-footer:before{content:'';position:absolute;height:9px;top:-25px;left:0;right:0;background:repeating-linear-gradient(45deg,transparent 0 3px,#a68a6499 3px 4px,transparent 4px 7px);border-block:1px solid #bca987}.heritage-footer .footer-grid{width:calc(100% - 48px);display:grid;grid-template-columns:1.05fr 1fr 1.15fr 1fr;gap:18px;align-items:start}.heritage-footer .footer-grid>div:first-child{grid-column:auto}.footer-identity{background:#f6f0e3;color:#674c2e;border:1px solid #d0bd98;border-radius:24px 4px 24px 4px;padding:18px;text-align:center}.footer-logo{display:block!important;width:132px;height:132px;margin:0 auto 15px!important;padding:9px;background:#582f0e;border:1px solid #bca06d;border-radius:16px 3px 16px 3px}.footer-logo img{width:100%;height:100%;object-fit:contain}.heritage-footer .footer-identity p{font:21px/1.8 var(--arabic);margin:10px 0;color:#674c2e}.footer-address{white-space:pre-line}.heritage-footer .footer-email{background:#fffaf0;color:#67421f;border:1px solid #d6c7a9;border-radius:8px;padding:10px 5px;font:13px/1.5 var(--sans);overflow-wrap:anywhere}.footer-panel{border:1px solid #bfa37b44;background:#ffffff04;padding:15px 12px;border-radius:18px 4px 18px 4px;min-width:0}.heritage-footer .footer-panel h3{font:25px/1.5 var(--arabic);color:#e8d7ae;margin:0 0 10px;padding:0 4px 10px;border-bottom:1px solid #bd9c7044}.heritage-footer .footer-panel>a{display:block;margin:7px 0!important;padding:8px 10px;background:#ffffff06;border:1px solid #c9ad7936;border-radius:10px 3px 10px 3px;color:#f1e5cc;font:21px/1.6 var(--arabic)}.heritage-footer .footer-panel>a:hover{background:#8a6336;color:white}.heritage-footer .footer-credit{font:19px/1.8 var(--arabic);color:#dfcba4;white-space:pre-line;padding:10px 4px;margin:12px 0 0}.heritage-footer .footer-bottom{width:calc(100% - 48px);margin-top:28px;padding-block:17px;font:18px/1.6 var(--arabic)}.heritage-footer .footer-bottom a{color:#ead7ae;margin:0}
.azmi-gallery-page .archive-content{background:#faf5ea;border:1px solid #c8b28d;border-radius:26px 5px 26px 5px;padding:30px}.azmi-gallery-page .archive-content .elementor-widget-heading,.azmi-gallery-page .archive-content .elementor-widget-text-editor,.azmi-gallery-page .archive-content .elementor-widget-divider{display:none}.azmi-gallery-page .archive-content .e-con,.azmi-gallery-page .archive-content .e-con-inner,.azmi-gallery-page .archive-content .elementor-section,.azmi-gallery-page .archive-content .elementor-container,.azmi-gallery-page .archive-content .elementor-widget-wrap{padding:0!important;margin:0!important;gap:0!important;min-height:0!important;width:100%!important;max-width:100%!important;background:none!important}.azmi-photo-archive{width:100%;direction:rtl}.photo-intro{padding:5px 0 22px;border-bottom:1px solid #d6c6a7}.photo-intro h2{font:38px/1.5 var(--arabic)!important;color:#582f0e;margin:10px 0!important}.photo-intro p{font:24px/1.8 var(--arabic)!important;color:#7e6749;margin:0}.photo-filters{display:flex;flex-wrap:wrap;gap:9px;padding:22px 0 12px}.photo-filters button{font:21px/1.5 var(--arabic);background:#f0e4cd;border:1px solid #cbb58e;color:#67421f;padding:8px 14px;border-radius:11px 3px 11px 3px;cursor:pointer}.photo-filters button[aria-pressed=true]{background:#67421f;color:#fff6df}.photo-count{font:20px/1.6 var(--arabic);color:#8b7351;margin:0 0 18px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photo-grid .photo-card{display:block;min-width:0;border:1px solid #c8b18b;border-radius:17px 4px 17px 4px;overflow:hidden;padding:7px;background:#fffaf0;color:#67421f;cursor:pointer;text-align:right}.photo-card img{display:block;width:100%;height:245px;object-fit:contain;background:#e9dfcd;border-radius:11px 2px 0 0;position:static;margin:0}.photo-card span{display:block;padding:9px 8px;font:21px/1.5 var(--arabic)}.photo-card:hover{border-color:#795024;background:#eee0c5}.archive-lightbox{width:min(1100px,94vw);max-height:92vh;padding:16px;background:#241a11;border:1px solid #a68a64;border-radius:16px;color:#fff2db;box-sizing:border-box}.archive-lightbox::backdrop{background:#17110be8}.archive-lightbox>img{display:block;width:100%;max-height:72vh;height:auto;object-fit:contain}.photo-close,.photo-view-controls button,.photo-view-controls a{border:1px solid #a68a6470;background:#49321e;color:#fff2db;border-radius:7px;padding:8px 13px;font:20px/1.4 var(--arabic);cursor:pointer}.photo-close{margin-bottom:10px}.photo-view-controls{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:12px}.photo-view-controls p{font:21px/1.5 var(--arabic);margin:0}
@media(max-width:950px){.research-cards{gap:13px}.research-card{padding:20px}.research-card h3{font-size:28px}.heritage-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.home-life{gap:24px}.home-book-search{padding:14px}.home-book-search>div{flex-wrap:wrap}.home-book-search input{flex-basis:100%}.home-book-search button{width:100%}.home-topic-links a{font-size:20px;padding:8px}.life-milestones a{min-height:125px;padding:20px}.research-cards{grid-template-columns:1fr}.research-card{padding:23px}.research-card p{font-size:23px}.readings-intro{font-size:23px}.heritage-footer{width:calc(100% - 26px);padding-top:22px;border-radius:30px 5px 0 0}.heritage-footer .footer-grid{width:calc(100% - 32px);grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.heritage-footer .footer-identity{grid-column:1/-1!important}.heritage-footer .footer-panel{padding:13px 9px}.heritage-footer .footer-panel h3{font-size:23px}.heritage-footer .footer-panel>a{font-size:20px;padding:7px}.heritage-footer .footer-panel:last-child{grid-column:1/-1}.heritage-footer .footer-bottom{width:calc(100% - 32px)}.azmi-gallery-page .archive-content{padding:20px 14px}.photo-grid{gap:12px}.photo-card img{height:170px}.photo-card span{font-size:19px;padding:7px 4px}.photo-filters button{font-size:19px;padding:7px 11px}.photo-intro h2{font-size:31px!important}.photo-intro p{font-size:23px!important}}

/* One Arabic typeface across the archive, including legacy Elementor content. */
html:lang(ar) body.azmi-site{--arabic:'Al Hotham','Traditional Arabic',serif;font-family:var(--arabic)!important}.azmi-site:lang(ar) #main-content :is(h1,h2,h3,h4,h5,h6,p,li,a,span,button,input,select,textarea,label,td,th,summary,blockquote),.azmi-site:lang(ar) .archive-header :is(a,p,strong,small,label,input,button,span),.azmi-site:lang(ar) .archive-footer :is(a,p,h3,span){font-family:var(--arabic)!important;letter-spacing:0}.azmi-site:lang(ar) .archive-content .elementor :is(p,li,td,th){font-size:23px!important;line-height:1.95!important}.azmi-site:lang(ar) .archive-content .elementor-widget-heading :is(h2,h3,h4,h5,h6){font-size:32px!important;line-height:1.65!important}.azmi-site:lang(ar) .archive-content .elementor-widget-text-editor{font-family:var(--arabic)!important}.reader-search label small{display:none}.reader-download{background:none!important;border:0!important;color:#8d7453!important;font-size:18px!important;text-decoration:underline!important;box-shadow:none!important}
.archive-discovery{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:13px 24px;background:#ede1cb;border-radius:0 0 10px 10px;border-top:1px solid #ac8c5650}.archive-discovery form{display:flex;align-items:center;gap:13px;flex:1;margin:0}.archive-discovery label{font-size:20px;white-space:nowrap;color:#67421f}.archive-discovery form>div{display:flex;gap:5px;flex:1;max-width:460px}.archive-discovery input{width:100%;min-width:0;background:#fffcf5;border:1px solid #b89b62;border-radius:10px 3px 10px 3px;padding:6px 12px;font-size:20px!important;line-height:1.5}.archive-discovery button{background:#67421f;color:#fff1d6;border:1px solid #b89b62;border-radius:9px 3px 9px 3px;padding:6px 14px;font-size:19px;white-space:nowrap}.archive-header .archive-discovery nav{display:flex!important;gap:8px;justify-content:end;padding:0;margin:0;background:none;border:0;position:static;box-shadow:none;width:auto}.archive-header .archive-discovery nav a{padding:5px 10px;background:#f9f0df;border:1px solid #b99b655e;border-radius:9px 3px 9px 3px;font-size:18px;color:#67421f;white-space:nowrap}.inside-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:-15px;margin-bottom:27px}.inside-links a{background:#eee0c3;border:1px solid #b39157;border-radius:13px 4px 13px 4px;padding:9px 16px;font-size:21px;color:#67421f}.azmi-site:lang(ar) .inner-title{border-bottom:1px solid #b89b625e}.azmi-site:lang(ar) .inner-title h1{line-height:1.5;color:#582f0e}
.library-shell{padding-bottom:35px}.library-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:18px;color:#8d7450;margin:25px 0}.library-heading{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:40px;background:#fbf6e9;border:1.5px solid #b39157;border-radius:32px 6px 32px 6px;padding:34px}.library-heading h1{font-size:52px;line-height:1.6;color:#582f0e;margin:9px 0}.library-heading p{font-size:25px;line-height:1.9;color:#796345;max-width:690px}.library-totals{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:12px}.library-totals>span{display:flex;flex-direction:column;text-align:center;background:#efe0c2;border:1px solid #c0a16b;padding:12px;font-size:22px;border-radius:17px 4px 17px 4px;color:#795426}.library-totals strong{font:35px/1.3 var(--serif);color:#582f0e}.library-totals>a{grid-column:1/-1;text-align:center;background:#67421f;color:#fff0d2;padding:14px;font-size:27px;border:1px solid #b39157;border-radius:18px 4px 18px 4px;line-height:1.5}.library-totals small{font-size:20px}.library-search{margin:24px 0;background:#e4d2ad;border:1px solid #b39157;border-radius:20px 5px 20px 5px;padding:22px 26px}.library-search>label{display:block;font-size:27px;color:#582f0e;margin-bottom:10px}.library-search>div{display:flex;gap:10px}.library-search input{width:100%;min-width:0;background:#fffaf0;border:1px solid #b39157;border-radius:12px 4px 12px 4px;padding:11px 15px;font-size:24px;line-height:1.5}.library-search button,.home-library-search button{background:#67421f;color:#fff1d6;border:1px solid #ad8c50;border-radius:12px 4px 12px 4px;padding:10px 24px;font-size:23px;white-space:nowrap}.library-search p{font-size:19px;color:#826a48;margin-top:9px}.library-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:25px;align-items:start}.library-sidebar{background:#f4ecdc;border:1px solid #b39157;border-radius:22px 5px 22px 5px;padding:20px;position:sticky;top:45px}.library-sidebar h2{font-size:29px;line-height:1.6;margin:0 0 15px;color:#582f0e}.library-kind-filters{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.library-kind-filters button{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fffcf5;border:1px solid #c1a36f;border-radius:12px 3px 12px 3px;padding:9px 11px;font-size:22px;color:#67421f;text-align:right}.library-kind-filters button[aria-pressed=true]{background:#67421f;color:#fff2d7}.library-kind-filters span{font-size:18px;background:#b3915720;min-width:25px;text-align:center;border-radius:50%}.library-sidebar>label{display:block;font-size:21px;color:#79552c;margin-top:14px}.library-sidebar select{width:100%;font-size:22px;padding:8px;border:1px solid #c0a36e;border-radius:8px;background:#fffaf0;color:#67421f}.available-control{display:flex!important;align-items:center;gap:8px}.available-control input{width:18px;height:18px;accent-color:#67421f}.library-biography-link{display:block;background:#ead9b6;border:1px solid #b39157;border-radius:14px 4px 14px 4px;padding:13px;font-size:23px;line-height:1.5;margin-top:20px;color:#67421f}.library-biography-link span{display:block;font-size:18px;margin-top:8px}.library-results-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:17px;padding:13px 17px;background:#f8f0df;border:1px solid #c5ac7b;border-radius:13px 4px 13px 4px;font-size:20px;color:#79562e}.library-results-bar>div{display:flex;gap:8px;align-items:center}.library-results-bar select{font-size:19px;background:#fffaf0;border:1px solid #ccb282;border-radius:6px;padding:4px 8px}.library-results-bar button{font-size:18px;border:0;background:none;color:#79562e;text-decoration:underline}.library-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-card{min-width:0;display:flex;flex-direction:column;background:#fffaf0;border:1.5px solid #b39157;border-radius:24px 5px 24px 5px;overflow:hidden;box-shadow:0 4px 12px #582f0e06;transition:border-color .2s,box-shadow .2s}.library-card:hover{border-color:#795022;box-shadow:0 7px 17px #582f0e15}.library-card[hidden]{display:none!important}.library-cover{display:flex!important;align-items:center;justify-content:center;position:relative;background:#eaddc2;height:230px;padding:16px;border-bottom:1px solid #b3915770}.library-cover img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 4px #35220e19)}.library-cover .ornament-cover{max-width:170px;filter:none;opacity:.85}.library-cover>span{position:absolute;bottom:8px;inset-inline-end:9px;font-size:12px;color:#886a3d;background:#fff8e9bd;padding:2px 7px;border:1px solid #b3915750;border-radius:5px}.library-card-copy{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}.work-labels{display:flex;gap:7px;flex-wrap:wrap}.work-labels span{font-size:17px;padding:2px 8px;line-height:1.5;background:#ebdcbd;color:#806039;border:1px solid #c6aa73;border-radius:6px}.library-card h2{font-size:28px;line-height:1.65;margin:13px 0 10px;color:#582f0e;overflow-wrap:anywhere}.library-card p{font-size:21px;line-height:1.8;color:#816b4c;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px}.library-card-actions{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:auto;flex-wrap:wrap}.library-card-actions>span{font-size:16px;color:#8c7550}.library-read{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid #a78443;background:#67421f;color:#fff3d9!important;padding:8px 17px;border-radius:14px 4px 14px 4px;font-size:22px;line-height:1.65}.library-read:hover{background:#41280f}.library-no-results{text-align:center;padding:50px 25px;background:#f9f0df;border:1px solid #b39157;border-radius:22px}.library-no-results[hidden]{display:none!important}.library-no-results h2{font-size:33px;line-height:1.6}.library-no-results p{font-size:24px;margin:18px 0}.work-detail{display:grid;grid-template-columns:270px minmax(0,1fr);gap:40px;background:#fbf6e9;border:1.5px solid #b39157;border-radius:30px 6px 30px 6px;padding:34px}.work-detail-cover{background:#e8d7b5;border:1px solid #b39157;border-radius:20px 5px 20px 5px;padding:22px;display:flex;align-items:center;justify-content:center}.work-detail-cover img{width:100%;max-height:370px;object-fit:contain}.work-detail h1{font-size:45px;line-height:1.65;color:#582f0e;margin:12px 0}.work-detail-copy>p{font-size:25px;line-height:1.9;color:#7f694a}.work-detail .work-author{color:#936639;margin-bottom:15px;font-size:23px}.work-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:24px}.library-return,.work-reference{font-size:22px;color:#79552c!important;text-decoration:underline!important;text-underline-offset:5px}.work-reference{display:inline-block;margin-top:20px}.work-unavailable{font-size:22px;color:#8c7550}.library-reading{margin-top:28px;background:#f9f1e0;border:1px solid #b39157;border-radius:23px 5px 23px 5px;overflow:hidden;scroll-margin-top:25px}.library-reading-bar{padding:18px 22px;display:flex;gap:20px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #b3915770;background:#ecddbd}.library-reading h2{font-size:29px;line-height:1.6;margin-inline-end:auto;color:#67421f}.library-reading-bar a{font-size:18px;color:#8c7450;text-decoration:underline}.library-reading iframe{display:block;width:100%;height:82vh;min-height:550px;border:0;background:#e7e1d4}.library-reading>p{padding:16px 22px;font-size:21px;color:#826c4a}.related-works{margin-top:35px}.related-works h2{font-size:34px;line-height:1.6}.related-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.related-links a{background:#f8f0df;border:1px solid #b39157;border-radius:16px 4px 16px 4px;padding:17px;font-size:25px;color:#67421f}
.azmi-site:lang(ar) .home-library{padding:34px;background:#fbf6e9;border:1.5px solid #b39157;border-radius:28px 5px 28px 5px;margin-block:38px}.home-library-search{padding:20px;background:#e5d4b0;border:1px solid #b39157;border-radius:18px 4px 18px 4px}.home-library-search label{display:block;font-size:25px;color:#67421f;margin-bottom:8px}.home-library-search>div{display:flex;gap:10px}.home-library-search input{width:100%;min-width:0;padding:9px 13px;background:#fffaf0;border:1px solid #b39157;border-radius:10px 3px 10px 3px;font-size:23px;line-height:1.5}.home-library-nav{display:flex;flex-wrap:wrap;gap:9px;padding-block:18px 24px}.home-library-nav a{padding:7px 14px;border:1px solid #b39157;border-radius:12px 3px 12px 3px;background:#f1e4c8;font-size:21px;color:#67421f}.home-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.home-work-card{background:#fffaf0;border:1.5px solid #b39157;border-radius:22px 5px 22px 5px;overflow:hidden;display:flex;flex-direction:column}.home-work-cover{height:230px;background:#e7d7b8;padding:16px;border-bottom:1px solid #b3915770}.home-work-cover img{width:100%;height:100%;object-fit:contain}.home-work-card>div{padding:18px;display:flex;flex:1;flex-direction:column;align-items:start}.home-work-card h3{font-size:28px;line-height:1.65;margin:12px 0 18px}.home-work-card .library-read{margin-top:auto;font-size:21px}.home-work-card .eyebrow{font-size:17px!important}
@media(max-width:1050px){.archive-discovery{gap:12px}.archive-discovery label{display:none}.library-layout{grid-template-columns:190px minmax(0,1fr);gap:18px}.library-sidebar{padding:15px}.library-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-heading{gap:24px}.library-totals{grid-template-columns:1fr 1fr}.work-detail{grid-template-columns:230px minmax(0,1fr)}}@media(max-width:700px){.archive-discovery{flex-direction:column;padding:13px 16px;gap:11px}.archive-discovery form{width:100%;flex:none}.archive-discovery form>div{max-width:none}.archive-header .archive-discovery nav{display:flex!important;flex-wrap:wrap;justify-content:center;width:100%}.archive-header .archive-discovery nav a{font-size:18px;padding:4px 9px}.library-shell{width:calc(100% - 26px)}.library-breadcrumb{font-size:17px;margin:20px 0}.library-heading{grid-template-columns:1fr;padding:23px;gap:22px;border-radius:24px 5px 24px 5px}.library-heading h1{font-size:41px;margin:9px 0}.library-heading p{font-size:23px}.library-totals{grid-template-columns:1fr 1fr}.library-totals strong{font-size:29px}.library-totals>span{font-size:20px;padding:10px}.library-totals>a{font-size:25px}.library-search{padding:19px;margin-block:18px}.library-search>div{flex-direction:column}.library-search input{font-size:22px}.library-search button{font-size:22px;padding:9px}.library-layout{grid-template-columns:1fr}.library-sidebar{position:static;padding:18px}.library-sidebar h2{font-size:27px}.library-kind-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.library-kind-filters button{font-size:21px;padding:7px 10px}.library-biography-link{display:none}.library-sidebar>label{margin-top:10px}.library-results-bar{padding:11px 13px;gap:9px;font-size:19px}.library-results-bar label{font-size:18px}.library-cards{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.library-cover{height:185px;padding:12px}.library-card{border-radius:18px 4px 18px 4px}.library-card-copy{padding:13px}.library-card h2{font-size:24px;line-height:1.7;margin-block:10px}.library-card p{font-size:19px;-webkit-line-clamp:2}.work-labels{gap:5px}.work-labels span{font-size:16px;padding:2px 5px}.library-card-actions{gap:7px}.library-card .library-read{font-size:19px;width:100%;padding:7px 9px}.library-card-actions>span{font-size:16px}.work-detail{grid-template-columns:1fr;padding:23px;gap:22px}.work-detail-cover{max-width:230px;margin:auto;min-height:220px}.work-detail-cover img{max-height:270px}.work-detail h1{font-size:36px;line-height:1.65}.work-detail-copy>p{font-size:23px}.work-actions{gap:15px}.library-reading-bar{padding:15px;gap:12px}.library-reading h2{width:100%}.library-reading iframe{min-height:460px;height:74vh}.library-reading-bar a{font-size:18px}.related-links{grid-template-columns:1fr}.related-links a{font-size:23px}.azmi-site:lang(ar) .home-library{width:calc(100% - 26px);padding:22px 18px}.home-library-search{padding:16px}.home-library-search>div{flex-direction:column}.home-library-search button{font-size:21px;padding:8px}.home-library-nav{gap:7px;padding-block:13px 20px}.home-library-nav a{font-size:20px;padding:6px 11px}.home-library-grid{gap:12px}.home-work-cover{height:180px;padding:12px}.home-work-card>div{padding:13px}.home-work-card h3{font-size:24px;line-height:1.7}.home-work-card .library-read{font-size:19px;padding:7px 9px;width:100%}}

/* The life and work pages share a coherent, readable editorial design. */
.editorial-shell{padding-bottom:35px}.editorial-heading{padding:34px 38px;border:1.5px solid #b39157;border-radius:30px 6px 30px 6px;background:#faf4e6;position:relative;overflow:hidden}.editorial-heading:after{content:'';position:absolute;inset-inline-end:0;top:0;width:9px;height:100%;background:#b3915750}.editorial-heading h1{font-size:50px;line-height:1.6;color:#582f0e;margin:13px 0 17px;max-width:1050px}.editorial-heading>p{font-size:27px;line-height:1.95;color:#7a6344;max-width:970px}.editorial-heading-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.editorial-heading-links a{font-size:22px;padding:8px 17px;border:1px solid #b39157;border-radius:12px 4px 12px 4px;background:#ebdab5;color:#67421f}.editorial-heading-links a:first-child{background:#67421f;color:#fff0d0}.editorial-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start;margin-top:27px}.editorial-sidebar{background:#f6eddc;border:1px solid #b39157;border-radius:22px 5px 22px 5px;padding:20px;position:sticky;top:44px;max-height:calc(100vh - 65px);overflow:auto;scrollbar-width:thin;scrollbar-color:#b39157 #eee1c7}.editorial-sidebar h2{font-size:29px;line-height:1.6;margin-bottom:14px;color:#67421f}.editorial-sidebar nav{display:flex;flex-direction:column;gap:8px}.editorial-sidebar nav>a{display:flex;gap:10px;align-items:start;border:1px solid #c6ad7b;border-radius:11px 3px 11px 3px;padding:9px 11px;font-size:21px;line-height:1.65;background:#fffaf0;color:#72532b}.editorial-sidebar nav>a:hover{background:#ead7b1}.editorial-sidebar nav>a>span{font-size:18px;background:#e8d7b6;min-width:24px;height:26px;border-radius:50%;text-align:center;line-height:26px}.editorial-sidebar h3{font-size:24px;line-height:1.6;margin:24px 0 12px;color:#79572b}.editorial-sidebar .editorial-crosslinks a{font-size:19px;border-color:#c6ad7b66;background:#f0e4cc;padding-block:7px}.editorial-study{display:block;border:1px solid #ac8748;background:#67421f;color:#fff0d2!important;border-radius:15px 4px 15px 4px;padding:16px;font-size:26px;line-height:1.6;margin-top:20px}.editorial-study span{display:block;font-size:20px;margin-top:7px}.editorial-body{min-width:0;background:#fffcf5;border:1px solid #c3a66e;border-radius:25px 5px 25px 5px;padding:34px 40px}.editorial-body>section{scroll-margin-top:35px;padding-bottom:27px;margin-bottom:27px;border-bottom:1px solid #d2bc945c}.editorial-body>section h2{font-size:36px;line-height:1.6;color:#67421f;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #b39157}.editorial-body>section p{font-size:26px;line-height:2.05;color:#5d503e;margin:0 0 20px;overflow-wrap:break-word}.editorial-body>section p:last-child{margin-bottom:0}.editorial-next-step{background:#ecddbc;border:1px solid #b39157;border-radius:20px 5px 20px 5px;padding:25px}.editorial-next-step h2{font-size:33px;line-height:1.7;color:#67421f;margin:10px 0}.editorial-next-step p{font-size:24px;line-height:1.9;color:#7a6344;margin-bottom:18px}.editorial-next-step>div{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.editorial-related{margin-top:35px}.editorial-related h2{font-size:35px;line-height:1.6}.editorial-related>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.editorial-related>div:last-child>a{display:flex;flex-direction:column;background:#f8f0df;border:1px solid #b39157;border-radius:21px 5px 21px 5px;padding:24px}.editorial-related span{font-size:18px;color:#99794a}.editorial-related h3{font-size:29px;line-height:1.7;color:#67421f;margin:10px 0 17px}.editorial-related b{font-size:21px;font-weight:400;margin-top:auto;color:#8c6530}.site-directory{margin-bottom:35px}.directory-intro{font-size:27px!important;line-height:1.9!important;color:#7a6344;padding:24px;border:1px solid #b39157;background:#ede0c3;border-radius:20px 5px 20px 5px;margin-bottom:24px!important}.directory-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.directory-groups section{padding:26px;background:#fcf7ec;border:1.5px solid #b39157;border-radius:24px 5px 24px 5px}.directory-groups h2{font-size:34px!important;line-height:1.6;color:#67421f;border-bottom:1px solid #b39157;padding-bottom:14px;margin-bottom:16px!important}.directory-groups a{display:block;font-size:24px!important;line-height:1.7;padding:10px 14px;background:#eee0c0;border:1px solid #c0a36d;border-radius:12px 4px 12px 4px;margin:8px 0;color:#67421f}.directory-groups a:hover{background:#e1cda4}
@media(max-width:1000px){.editorial-layout{grid-template-columns:210px minmax(0,1fr);gap:19px}.editorial-sidebar{padding:16px}.editorial-body{padding:28px}.editorial-heading h1{font-size:44px}.editorial-related>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.editorial-shell{width:calc(100% - 26px)}.editorial-heading{padding:25px 23px;border-radius:23px 5px 23px 5px}.editorial-heading h1{font-size:37px;line-height:1.65;margin-block:12px}.editorial-heading>p{font-size:24px;line-height:1.95}.editorial-heading-links{gap:8px;margin-top:18px}.editorial-heading-links a{font-size:21px;padding:8px 13px}.editorial-layout{grid-template-columns:1fr;gap:18px;margin-top:18px}.editorial-sidebar{position:static;max-height:none;padding:20px}.editorial-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.editorial-sidebar nav a{font-size:20px;padding:8px 9px}.editorial-sidebar h3,.editorial-sidebar .editorial-crosslinks,.editorial-sidebar .editorial-study{display:none}.editorial-body{padding:25px 21px;border-radius:20px 4px 20px 4px}.editorial-body>section{scroll-margin-top:20px;padding-bottom:23px;margin-bottom:23px}.editorial-body>section h2{font-size:31px;line-height:1.7;margin-bottom:16px}.editorial-body>section p{font-size:24px;line-height:2.05}.editorial-next-step{padding:21px}.editorial-next-step h2{font-size:29px}.editorial-next-step p{font-size:23px}.editorial-related>div:last-child{grid-template-columns:1fr;gap:13px}.editorial-related>div:last-child>a{padding:22px}.editorial-related h3{font-size:28px}.directory-groups{grid-template-columns:1fr;gap:16px}.directory-groups section{padding:22px}.directory-intro{font-size:24px!important;padding:20px}.directory-groups h2{font-size:30px!important}.directory-groups a{font-size:23px!important}}

.work-page-reader{background:#ded3bf}.work-reader-controls{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:14px 18px;background:#eadcbc;border-bottom:1px solid #bea06b}.work-reader-controls button{border:1px solid #b39157;background:#fff8e9;color:#67421f;border-radius:9px 3px 9px 3px;font-size:21px;padding:6px 13px;min-height:38px}.work-reader-controls button:disabled{opacity:.4;cursor:default}.work-reader-controls label,.work-reader-controls>span{font-size:21px;color:#795b34}.work-reader-controls input{width:72px;text-align:center;background:#fffaf0;border:1px solid #b39157;border-radius:7px;padding:5px;font-size:20px;line-height:1.5}.work-reader-zoom{display:flex;gap:7px;margin-inline-start:12px}.work-reader-status{font-size:20px;text-align:center;padding:9px 12px;color:#7a6240;min-height:44px}.work-canvas-stage{padding:0 16px 24px;overflow:auto;min-height:250px;max-height:85vh;text-align:center;direction:ltr}.work-canvas-stage canvas{display:block;margin:0 auto;background:white;max-width:none;border:1px solid #c4b38e;box-shadow:0 5px 20px #39220b22}.work-canvas-stage canvas:not([width]){display:none}@media(max-width:600px){.work-reader-controls{padding:12px;gap:7px}.work-reader-controls button{font-size:19px;padding:6px 9px}.work-reader-zoom{margin-inline-start:0}.work-canvas-stage{padding-inline:8px}.work-reader-status{font-size:19px}}

@font-face{font-family:'Jameel Noori Nastaleeq';src:url('fonts/Jameel-Noori-Nastaleeq.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
html body.azmi-site [lang="ur"]{--arabic:'Jameel Noori Nastaleeq',serif!important;font-family:'Jameel Noori Nastaleeq',serif!important;letter-spacing:0;line-height:2.4!important}
html body.azmi-site [lang="ur"] *{font-family:'Jameel Noori Nastaleeq',serif!important;letter-spacing:0}
.library-card h2[lang="ur"]{font-size:25px;padding-block:5px 12px;overflow:visible}.work-detail h1[lang="ur"]{font-size:40px}.urdu-word{font-size:1.05em}
#awards-gallery .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#awards-gallery .photo-card img{height:280px;object-fit:contain;background:#fff}#awards-gallery .photo-card span{font-size:19px}#awards-gallery .photo-intro[hidden]{display:none}@media(max-width:600px){#awards-gallery .photo-grid{grid-template-columns:1fr}.work-detail h1[lang="ur"]{font-size:30px}}

/* Warm stone, carved curves and a quiet Islamic lattice for the Arabic masthead. */
html:lang(ar) body.azmi-site{background-color:#dcd0bb}
html:lang(ar) .archive-top{border:1px solid #946b39;border-bottom:0;border-radius:25px 7px 0 0;background:linear-gradient(100deg,#46260e,#582f0e 60%,#68421f);padding-inline:28px}
html:lang(ar) .archive-header{border-color:#ac8956;border-radius:0 0 30px 8px;box-shadow:0 9px 26px #4c301414;overflow:hidden;background:#d9c39e}
html:lang(ar) .archive-masthead{isolation:isolate;min-height:145px;padding:23px 30px;background:linear-gradient(100deg,#c7ad83 0%,#dbc5a1 42%,#e7d7bb 78%,#d3b88e 100%);border-bottom:1px solid #a47c45}
html:lang(ar) .archive-masthead:before{content:'';position:absolute;inset:0;z-index:-1;background-image:url('images/islamic-lattice.svg');background-repeat:repeat-x;background-size:145px 220px;background-position:center 42%;opacity:.13;pointer-events:none}
html:lang(ar) .archive-masthead:after{width:430px;height:235px;inset-inline-end:-65px;bottom:-178px;border:1px solid #8c673f66;border-radius:50%;box-shadow:0 0 0 13px #f5e7ca33,0 0 0 14px #96744744;z-index:-1}
html:lang(ar) .archive-brand{gap:20px}.azmi-site:lang(ar) .archive-brand strong{color:#48270d;text-shadow:0 1px #ffefd1;line-height:1.45}.azmi-site:lang(ar) .archive-brand small{color:#694522}
html:lang(ar) .original-logo{width:102px;height:106px;border:1px solid #b49157;border-radius:9px 30px 9px 30px;box-shadow:0 4px 12px #492d1420,inset 0 0 0 4px #6d461e}
html:lang(ar) .masthead-motto{position:relative;padding:12px 23px;border:1px solid #a4855460;border-radius:26px 6px 26px 6px;background:#f3e7cd70;color:#68421f;box-shadow:inset 0 0 0 4px #ead8b329;font-size:22px}
html:lang(ar) .archive-header #archive-nav{background:linear-gradient(100deg,#47280f,#582f0e 55%,#65401b);border-radius:0;gap:10px;padding-block:12px;border-bottom:1px solid #a7864c}
html:lang(ar) .archive-header #archive-nav>a{border-radius:13px 4px 13px 4px;border-color:#c4a46655;padding-inline:20px}
html:lang(ar) .archive-header #archive-nav>a[aria-current="page"]{background:#f0dfbc;color:#582f0e;border-color:#d2b77e;box-shadow:inset 0 0 0 3px #fff3db80}
html:lang(ar) .archive-discovery{background:#cdb58e;border-top:0;border-radius:0 0 29px 7px;padding-block:14px}
html:lang(ar) .archive-header .archive-discovery nav a{background:#ebdcc0;border-color:#9f7b46;border-radius:12px 4px 12px 4px}
@media(max-width:700px){html:lang(ar) .archive-masthead{padding:17px 16px;min-height:120px}html:lang(ar) .original-logo{width:78px;height:87px}html:lang(ar) .archive-brand{gap:13px}html:lang(ar) .archive-header{border-radius:0 0 24px 7px}html:lang(ar) .archive-header #archive-nav{gap:7px;padding:12px}html:lang(ar) .archive-header #archive-nav>a{padding-inline:13px}html:lang(ar) .archive-discovery{padding:13px 14px}html:lang(ar) .archive-top{padding-inline:16px}}

/* A compact reading gateway paired with a connected biographical timeline. */
html:lang(ar) .home-life{display:grid;grid-template-columns:1.06fr 1fr;gap:28px;padding:22px;background:#d2bc97;border:1px solid #b49462;border-radius:38px 8px 38px 8px;box-shadow:0 8px 24px #58340f0b;align-items:stretch}
html:lang(ar) .home-life>div:first-child{position:relative;isolation:isolate;overflow:hidden;padding:28px 30px;background:#582f0e;border:1px solid #9d7948;border-radius:28px 6px 28px 6px;color:#f5e6c9}
html:lang(ar) .home-life>div:first-child:before{content:'';position:absolute;inset:0;z-index:-1;background:url('images/islamic-lattice.svg') left top/170px auto repeat;opacity:.07;pointer-events:none}
html:lang(ar) .home-life>div:first-child>.eyebrow{color:#dfc18a;border-bottom:1px solid #a8865555;padding-bottom:11px;display:block;font-size:19px}
html:lang(ar) .home-life h2{color:#fff0d3;font-size:39px;line-height:1.55;margin:15px 0 12px}html:lang(ar) .home-life>div:first-child>p{color:#e4d2b4;font-size:22px;line-height:1.8;margin:0 0 16px}html:lang(ar) .home-life>div:first-child>.text-link{display:inline-block;color:#f4d79f;border-color:#ad8b52;font-size:21px;margin-bottom:7px}
html:lang(ar) .home-life .home-book-search{padding:14px 16px;margin:16px 0 13px;background:#f2e4c9;border:1px solid #b99b64;border-radius:15px 4px 15px 4px;color:#582f0e}html:lang(ar) .home-life .home-book-search label{font-size:20px;margin-bottom:7px}html:lang(ar) .home-life .home-book-search input{border-radius:9px 3px 9px 3px;font-size:19px;min-width:0}html:lang(ar) .home-life .home-book-search button{border-radius:9px 3px 9px 3px;font-size:19px;padding-inline:12px}
html:lang(ar) .home-life .home-topic-links{gap:8px;margin-top:0}html:lang(ar) .home-life .home-topic-links a{background:#70491f;border-color:#b99a625c;color:#f2dfba;border-radius:12px 4px 12px 4px;padding:7px 12px;font-size:20px;transition:background .2s,border-color .2s}html:lang(ar) .home-life .home-topic-links a:hover{background:#855e30;border-color:#d0ae72}
html:lang(ar) .home-life .life-milestones{display:flex;flex-direction:column;justify-content:center;gap:18px;padding:24px 18px 24px 5px;position:relative}
html:lang(ar) .home-life .life-milestones:before{content:'محطات في مسيرته';font:27px/1.5 var(--arabic);color:#582f0e;display:block;margin-bottom:3px}
html:lang(ar) .home-life .life-milestones:after{content:'';position:absolute;inset-inline-start:67px;top:95px;bottom:85px;width:1px;background:#a2814f;pointer-events:none}
html:lang(ar) .home-life .life-milestones>a{position:relative;z-index:1;display:grid;grid-template-columns:91px minmax(0,1fr) 22px;align-items:center;gap:17px;padding:22px 19px;margin:0;min-height:140px;border:1px solid #b89a64;border-radius:24px 5px 24px 5px;background:#fbf3e3;box-shadow:0 5px 13px #65421d0a;transition:transform .2s,background .2s}
html:lang(ar) .home-life .life-milestones>a:nth-child(2){background:#ead8b6}html:lang(ar) .home-life .life-milestones>a:hover{background:#fffaf0;transform:translateY(-3px)}html:lang(ar) .home-life .life-milestones>a>span{display:flex;align-items:center;justify-content:center;min-height:86px;width:91px;background:#67421f;border:1px solid #a9864e;border-radius:38px 38px 8px 8px;color:#f7dfab;font-size:29px;line-height:1.4;box-shadow:inset 0 0 0 5px #79572c}html:lang(ar) .home-life .life-milestones h3{font-size:27px;line-height:1.5;color:#582f0e;margin:0 0 6px}html:lang(ar) .home-life .life-milestones p{font-size:20px;line-height:1.75;color:#80613c;margin:0}html:lang(ar) .home-life .life-milestones b{font-size:24px;color:#99723d;align-self:start;margin-top:3px}
@media(max-width:900px){html:lang(ar) .home-life{gap:17px;padding:17px}html:lang(ar) .home-life>div:first-child{padding:23px}html:lang(ar) .home-life .life-milestones{padding-inline:0}html:lang(ar) .home-life .life-milestones>a{grid-template-columns:70px minmax(0,1fr) 16px;gap:12px;padding:17px 13px}html:lang(ar) .home-life .life-milestones>a>span{width:70px;min-height:78px;font-size:25px}html:lang(ar) .home-life .life-milestones h3{font-size:24px}}
@media(max-width:700px){html:lang(ar) .home-life{grid-template-columns:1fr;width:calc(100% - 26px);padding:12px;gap:9px;border-radius:28px 6px 28px 6px}html:lang(ar) .home-life>div:first-child{padding:22px 19px}html:lang(ar) .home-life h2{font-size:34px}html:lang(ar) .home-life .home-topic-links a{font-size:19px;padding:7px 9px}html:lang(ar) .home-life .life-milestones{padding:16px 5px;gap:12px}html:lang(ar) .home-life .life-milestones>a{min-height:125px}html:lang(ar) .home-life .life-milestones:after{inset-inline-start:53px}}
html:lang(ar) .home-life>div:first-child>.text-link{color:#f4d79f!important}html:lang(ar) .home-life .home-topic-links a{color:#f2dfba!important}

.contact-archive{padding-bottom:55px}.contact-archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.contact-archive-grid>section{padding:30px;border:1px solid #b99a64;border-radius:28px 6px 28px 6px;background:#fff7e7}.contact-archive-grid h2{font-size:31px;line-height:1.6;margin:12px 0}.contact-archive-grid p,.contact-archive-grid address{font-size:23px;line-height:1.9;font-style:normal;color:#735332}.contact-archive-grid [lang=en]{font-family:Georgia,serif!important;font-size:17px;line-height:1.8;text-align:right}.contact-person>a{display:block;width:fit-content;margin:12px 0;font-family:Georgia,serif!important;font-size:21px}.contact-person .contact-number{font-size:30px;color:#582f0e}.contact-person .work-actions{margin-top:22px}.contact-location .text-link{display:inline-block;margin-top:14px}.footer-contact-name{margin-bottom:3px!important}.editorial-sidebar>.text-link{display:block;margin-block:17px}.home-topic-links{grid-template-columns:repeat(3,minmax(0,1fr))}.home-topic-links a{white-space:normal}.library-card [id]{scroll-margin-top:20px}@media(max-width:700px){.contact-archive{width:calc(100% - 26px)}.contact-archive-grid{grid-template-columns:1fr}.contact-archive-grid>section{padding:24px}.contact-archive-grid h2{font-size:28px}.home-topic-links{grid-template-columns:1fr!important}}

/* Lighter ivory masthead keeps the Islamic lattice visible behind dark text. */
html:lang(ar) .archive-masthead{background:linear-gradient(100deg,#eee2ca 0%,#faf4e7 48%,#f7efde 78%,#eaddc2 100%)}
html:lang(ar) .archive-masthead:before{opacity:.24}
html:lang(ar) .masthead-motto{background:#fffbf080;border-color:#b99a6460}

html:lang(ar) .archive-top.contact-social-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 22px;min-height:55px;letter-spacing:0;overflow:visible}.top-archive-label{font-size:18px;white-space:nowrap;color:#e8cea2}.top-contact-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:center}.top-contact-links a{display:inline-flex;align-items:center;gap:8px;color:#fff0d4;min-height:34px}.top-contact-links bdi{font:14px/1.5 Arial,sans-serif}.azmi-ui-icon{display:block;width:20px;height:20px;flex-shrink:0}.top-social-links{display:flex;align-items:center;gap:7px;position:relative}.top-social-links>span:first-child{font-size:18px;color:#e8cea2;margin-inline-end:3px}.top-social-links>a,.top-social-links>button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;border:1px solid #b9975b70;border-radius:11px 3px 11px 3px;background:#ffffff08;color:#f7e3bb;cursor:pointer}.top-social-links>a:hover,.top-social-links>button:hover{background:#936639;color:#fff}.top-share-status{position:absolute;top:calc(100% + 9px);inset-inline-end:0;z-index:12;min-width:210px;background:#fff4dc;color:#582f0e;border:1px solid #b49357;border-radius:9px;padding:9px 12px;font-size:19px;box-shadow:0 4px 15px #3f250e22}.top-share-status:empty{display:none}@media(max-width:1000px){.top-archive-label{display:none}html:lang(ar) .archive-top.contact-social-bar{gap:10px;padding-inline:18px}.top-contact-links{gap:12px}}@media(max-width:600px){html:lang(ar) .archive-top.contact-social-bar{flex-direction:column;padding:10px 12px;gap:7px}.top-contact-links{gap:5px 13px}.top-contact-links bdi{font-size:12px}.top-contact-links .azmi-ui-icon{width:17px;height:17px}.top-contact-links a{min-height:28px;gap:5px}.top-social-links>a,.top-social-links>button{width:30px;height:30px;padding:6px}.top-social-links .azmi-ui-icon{width:17px;height:17px}.azmi-site:lang(ar) .archive-brand strong{font-size:27px;line-height:1.5}}

/* Compact Arabic opening with a single-line name. */
html body.azmi-site:lang(ar) .archive-hero.wrap{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);padding:25px 30px;gap:28px;align-items:center}
html body.azmi-site:lang(ar) .archive-hero .hero-copy{padding:4px 0}
html body.azmi-site:lang(ar) .archive-hero h1{font-size:clamp(30px,3.4vw,47px);line-height:1.6;white-space:nowrap;margin:12px 0 10px;letter-spacing:0}
html body.azmi-site:lang(ar) .archive-hero .hero-dates{margin-top:8px!important;font-size:19px}
html body.azmi-site:lang(ar) .archive-hero .hero-intro{font-size:23px;line-height:1.85;margin-top:17px!important;max-width:650px}
html body.azmi-site:lang(ar) .archive-hero .hero-actions{margin-top:22px;gap:18px}
html body.azmi-site:lang(ar) .archive-hero .hero-explore{padding:20px;gap:8px;border-radius:22px 5px 22px 5px}
html body.azmi-site:lang(ar) .archive-hero .hero-explore>.eyebrow{margin-bottom:10px;font-size:18px}
html body.azmi-site:lang(ar) .archive-hero .hero-explore>a{padding:12px 14px;min-height:79px;gap:12px;margin-bottom:8px;border-radius:17px 4px 17px 4px}
html body.azmi-site:lang(ar) .archive-hero .hero-explore strong{font-size:25px;line-height:1.4}
html body.azmi-site:lang(ar) .archive-hero .hero-explore small{font-size:18px;line-height:1.5;margin-top:4px}
html body.azmi-site:lang(ar) .archive-hero .explore-caption{margin-top:8px!important;font-size:17px}
@media(max-width:850px){html body.azmi-site:lang(ar) .archive-hero.wrap{grid-template-columns:1fr;gap:20px;padding:23px}html body.azmi-site:lang(ar) .archive-hero h1{font-size:clamp(26px,5.5vw,44px)}html body.azmi-site:lang(ar) .archive-hero .hero-explore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}html body.azmi-site:lang(ar) .archive-hero .hero-explore>.eyebrow,html body.azmi-site:lang(ar) .archive-hero .explore-caption{grid-column:1/-1}html body.azmi-site:lang(ar) .archive-hero .hero-explore>a{margin:0;min-height:90px;gap:8px}html body.azmi-site:lang(ar) .archive-hero .hero-explore>a>b{display:none}}
@media(max-width:600px){html body.azmi-site:lang(ar) .archive-hero.wrap{padding:19px 16px;gap:17px}html body.azmi-site:lang(ar) .archive-hero h1{font-size:clamp(22px,6.7vw,37px);line-height:1.7;margin-block:8px}html body.azmi-site:lang(ar) .archive-hero .hero-intro{font-size:22px;line-height:1.8;margin-top:12px!important}html body.azmi-site:lang(ar) .archive-hero .hero-dates{font-size:17px}html body.azmi-site:lang(ar) .archive-hero .hero-explore{grid-template-columns:1fr;padding:15px;gap:7px}html body.azmi-site:lang(ar) .archive-hero .hero-explore>a{min-height:72px;padding:10px 13px}html body.azmi-site:lang(ar) .archive-hero .hero-explore strong{font-size:23px}html body.azmi-site:lang(ar) .archive-hero .hero-actions{margin-top:16px}}
html body.azmi-site:lang(ar) .archive-hero .hero-copy,html body.azmi-site:lang(ar) .archive-hero .hero-explore{min-width:0}html body.azmi-site:lang(ar) .archive-hero .hero-actions{flex-wrap:wrap}@media(max-width:850px){html body.azmi-site:lang(ar) .archive-hero.wrap{grid-template-columns:minmax(0,1fr)}}

/* Keep inside-page titles close to their content. */
html body.azmi-site:lang(ar) .breadcrumb{padding-top:16px;font-size:18px;gap:10px}
html body.azmi-site:lang(ar) .inner-title{padding-block:12px 17px;margin-bottom:20px;border-radius:0 0 20px 5px}
html body.azmi-site:lang(ar) .inner-title>.eyebrow{display:none}
html body.azmi-site:lang(ar) .inner-title h1{font-size:42px;line-height:1.4;margin:5px 0}
html body.azmi-site:lang(ar) .library-breadcrumb{margin-block:17px;font-size:18px}
html body.azmi-site:lang(ar) .editorial-heading{padding:21px 27px}
html body.azmi-site:lang(ar) .editorial-heading h1{font-size:39px;line-height:1.5;margin:7px 0 10px}
html body.azmi-site:lang(ar) .editorial-heading>p{font-size:24px;line-height:1.8;margin:0}
html body.azmi-site:lang(ar) .editorial-heading-links{margin-top:14px;gap:8px}
html body.azmi-site:lang(ar) .editorial-heading-links a{padding:6px 13px;font-size:20px}
html body.azmi-site:lang(ar) .library-heading{padding:24px 28px;gap:25px}
html body.azmi-site:lang(ar) .library-heading h1{font-size:41px;line-height:1.5;margin:5px 0 8px}
html body.azmi-site:lang(ar) .library-heading p{font-size:23px;line-height:1.8;margin:0}
html body.azmi-site:lang(ar) .photo-intro{padding-block:4px 13px}
html body.azmi-site:lang(ar) .photo-intro h2{margin-block:6px 9px!important}
@media(max-width:600px){html body.azmi-site:lang(ar) .inner-title h1{font-size:33px}html body.azmi-site:lang(ar) .editorial-heading,html body.azmi-site:lang(ar) .library-heading{padding:19px}html body.azmi-site:lang(ar) .editorial-heading h1,html body.azmi-site:lang(ar) .library-heading h1{font-size:31px}html body.azmi-site:lang(ar) .editorial-heading>p,html body.azmi-site:lang(ar) .library-heading p{font-size:22px}}

.secondary-contact{margin-top:18px;padding-top:15px;border-top:1px solid #c2a777}.secondary-contact h3{font-size:26px;line-height:1.6;margin:6px 0}.secondary-contact>a{display:block;width:fit-content;font:22px/1.8 Georgia,serif;margin:8px 0}.secondary-contact p{margin:3px 0}.contact-person .work-actions{gap:14px}.contact-person .work-actions a{font-size:21px}

/* Keep contact links legible on the light footer cards in both languages. */
.azmi-site .heritage-footer .footer-identity>a[href^='tel:'],.azmi-site .heritage-footer .footer-identity>a[href^='mailto:']{color:#582f0e;font-weight:600;opacity:1}.azmi-site .contact-person a[href^='tel:']{color:#582f0e;opacity:1}.azmi-site .heritage-footer .footer-identity>a[href^='tel:']:hover,.azmi-site .heritage-footer .footer-identity>a[href^='mailto:']:hover{color:#39200c;text-decoration:underline}

/* Readable secondary copy on ivory and gold panels, in both languages. */
.azmi-site{--muted:#645038}
.azmi-site :is(.library-breadcrumb,.breadcrumb,.book-breadcrumb),.azmi-site :is(.library-breadcrumb,.breadcrumb,.book-breadcrumb)>:is(a,span){color:#60472d}
.azmi-site .archive-brand small,.azmi-site .hero-dates,.azmi-site .legacy-strip span,.azmi-site .book-meta span{color:#60472d}
.azmi-site .home-life p,.azmi-site .life-milestones p,.azmi-site .book-feature p,.azmi-site .editorial-next-step p{color:#5b4833}
.azmi-site .explore-symbol{color:#805a2d}
.azmi-site .archive-discovery label,.azmi-site .library-search p,.azmi-site .work-labels span,.azmi-site .library-cover>span,.azmi-site .library-card-actions>span,.azmi-site .photo-count,.azmi-site .editorial-related span{color:#60472d}
.azmi-site .original-work-title{color:#76552e}
.azmi-site .reader-intro p,.azmi-site .book-edition-meta span,.azmi-site .reading-section-heading p{color:#60472d}
.azmi-site .reader-download{color:#60472d!important}
.azmi-site .chapters-heading .eyebrow,.azmi-site .book-part-card small,.azmi-site .part-number{color:#60472d}
.azmi-site .reader:not(.night) .part-source,.azmi-site .reader:not(.night) .toc-part span{color:#60472d}
.azmi-site :is(input,textarea)::placeholder{color:#6b5841;opacity:1}
.azmi-site :is(button,.button-primary,.button-light,.library-read,.library-return,.text-link){white-space:normal;overflow-wrap:break-word}
.azmi-site :is(.hero-copy,.home-life>div,.contact-archive-grid>section,.library-card-copy,.work-detail-copy,.footer-panel){min-width:0}
.azmi-site :is(.photo-card,.photo-card span){white-space:normal;overflow-wrap:break-word}
html body.azmi-site .life-milestones p,html body.azmi-site .readings-intro,html body.azmi-site .original-work-title{color:#60472d}
.azmi-site .reader:not(.night) #book-text .part-source{color:#60472d}
html body.azmi-site:lang(ar) .life-milestones p,html body.azmi-site .library-card-copy .original-work-title{color:#60472d}
.azmi-site .archive-discovery label{color:#582f0e}
.azmi-site .library-reading-bar>a,.azmi-site .library-reading>p,.azmi-site #work-reader-status,.azmi-site .work-unavailable{color:#60472d}
.azmi-site #archive-nav>a{transition:none}
@media(max-width:400px){
 html body.azmi-site:lang(ar) .archive-brand{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;width:100%;min-width:0}
 html body.azmi-site:lang(ar) .archive-brand>span{min-width:0}
 html body.azmi-site:lang(ar) .archive-brand .original-logo{width:64px;height:70px}
 html body.azmi-site:lang(ar) .archive-brand strong{display:block;font-size:24px;line-height:1.5;white-space:normal;overflow-wrap:break-word}
 html body.azmi-site:lang(ar) .archive-brand small{display:block;font-size:16px;line-height:1.6;white-space:normal;margin-top:5px}
}


/* Keep country codes and phone digits in reading order inside RTL pages. */
.azmi-site a[href^='tel:'],.azmi-site a[href^='tel:']>span{direction:ltr;unicode-bidi:isolate-override}.azmi-site .footer-identity>a[href^='tel:']{display:block;width:fit-content}


.azmi-site a[href^='tel:'] bdi{direction:ltr;unicode-bidi:isolate-override}

/* Original Nadwa building linework supplied as a vector PDF. */
html body.azmi-site{background-color:#eee6d7;background-image:url('images/nadwa-building-watermark.svg?v=2');background-size:1600px auto;background-repeat:no-repeat;background-position:center 360px;background-attachment:fixed}
html body.azmi-site .archive-masthead{isolation:isolate;background:#f8f1e4}
html body.azmi-site .archive-masthead:before{content:'';position:absolute;inset:0;z-index:-1;background:url('images/nadwa-building-line.svg') center 53%/min(1120px,100%) auto no-repeat;opacity:.34;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
html body.azmi-site .archive-masthead:after,html body.azmi-site .archive-hero:after,html body.azmi-site .home-life>div:first-child:before{display:none}
html body.azmi-site :is(.archive-hero.wrap,.home-life,.editorial-heading,.library-heading,.inner-title){background-color:#fffaf0;background-image:linear-gradient(#fffaf070,#fffaf094),url('images/nadwa-building-watermark.svg?v=2');background-repeat:no-repeat;background-position:center,bottom center;background-size:cover,100% auto}
@media(max-width:600px){html body.azmi-site{background-size:850px auto;background-position:center 300px;background-attachment:scroll}html body.azmi-site .archive-masthead:before{background-size:650px auto;background-position:center 52%;opacity:.28}html body.azmi-site :is(.archive-hero.wrap,.home-life,.editorial-heading,.library-heading,.inner-title){background-size:cover,700px auto}}

