/* SHAMIL V7 — the magazine never leaves the screen; dossiers open as paper-light overlays. */
.shamil-reader-modal[hidden]{display:none!important}
.shamil-reader-modal{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:clamp(10px,2.5vw,38px);font-family:Arial,sans-serif}
.shamil-reader-modal__backdrop{position:absolute;inset:0;background:rgba(1,5,10,.76);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.shamil-reader-modal__panel{position:relative;display:flex;flex-direction:column;width:min(1240px,100%);height:min(90dvh,940px);min-height:0;overflow:hidden;background:#eee9df;color:#121923;border:1px solid rgba(230,209,176,.45);box-shadow:0 30px 100px rgba(0,0,0,.7);animation:shamil-reader-arrive .34s cubic-bezier(.2,.7,.2,1)}
.shamil-reader-modal__header{flex:0 0 64px;min-height:64px;padding:0 clamp(16px,2.6vw,34px);display:flex;align-items:center;justify-content:space-between;gap:18px;background:#0c1420;color:#f8f1e7;border-bottom:1px solid #42372b}
.shamil-reader-modal__identity{font-size:10px;letter-spacing:.18em;white-space:nowrap;display:flex;align-items:center;gap:9px;color:#e5d6c1}.shamil-reader-modal__identity i{font-style:normal;opacity:.45}
.shamil-reader-modal__sigil{font:italic 30px Georgia,serif;color:#d7b482}
.shamil-reader-modal__title{flex:1;min-width:0;max-width:480px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:italic 20px Georgia,serif;text-align:center;color:#f0e7da}
.shamil-reader-modal__actions{display:flex;gap:18px;align-items:center;justify-content:flex-end;white-space:nowrap}
.shamil-reader-modal__full{font:600 9px Arial,sans-serif;letter-spacing:.14em;color:#d6b789;border-bottom:1px solid #9e805a;padding-bottom:4px}
.shamil-reader-modal__close{width:42px;height:42px;display:grid;place-items:center;border:1px solid #987e60;color:#fbf0e0;background:transparent;font:normal 32px/1 Arial,sans-serif;cursor:pointer;transition:background .2s}
.shamil-reader-modal__close:hover{background:#443527}.shamil-reader-modal__close:focus-visible,.shamil-reader-modal__full:focus-visible{outline:2px solid #ecc593;outline-offset:3px}
.shamil-reader-modal__body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ae916c #eee9df;--ink:#0b1016;--paper:#eee9df;--gold:#d5ac7a;--serif:Georgia,'Times New Roman',serif;--sans:Arial,sans-serif}
.shamil-reader-modal__body:focus{outline:none}
.shamil-reader-modal__status{min-height:160px;display:grid;place-items:center;padding:40px;text-align:center;color:#8b7657;letter-spacing:.14em;font:12px/1.8 Arial,sans-serif}
.shamil-reader-modal__body .chapter-shell{border:none;max-width:none;min-height:0}
.shamil-reader-modal__body .chapter-header,.shamil-reader-modal__body .chapter-footer,.shamil-reader-modal__body .shamil-hub-header,.shamil-reader-modal__body .shamil-hub-footer,.shamil-reader-modal__body .shamil-standard-head,.shamil-reader-modal__body .shamil-standard-footer{display:none!important}
.shamil-reader-modal__body .feature-page{min-height:560px}
.shamil-reader-modal__body .feature-content h1{font-size:clamp(50px,6vw,92px)}
.shamil-reader-modal__body .shamil-hub{min-height:0}
.shamil-reader-modal__body .shamil-hub-main{padding:clamp(22px,3vw,48px)}
.shamil-reader-modal__body .shamil-hub-hero h1{font-size:clamp(57px,6.8vw,99px)}
.shamil-reader-modal__body .shamil-hub-service{min-height:215px}
.shamil-reader-modal__body .shamil-hub-service-image{min-height:215px}
.shamil-reader-modal__body .shamil-standard{min-height:0}
.shamil-reader-modal__body .shamil-standard-body{min-height:0;max-width:930px;padding:clamp(28px,5vw,70px)}
.shamil-reader-modal__body .shamil-standard-body>h1{font-size:clamp(50px,7vw,83px)}
.shamil-reader-modal__body .shamil-inline-form{margin-bottom:0}
.shamil-reader-modal__body a:focus-visible,.shamil-reader-modal__body button:focus-visible{outline:2px solid #caa073;outline-offset:4px}
.shamil-reader-modal__body .shamil-editor-addendum{color:#1b2430}
body.shamil-reader-open{overflow:hidden!important}
@keyframes shamil-reader-arrive{from{opacity:0;transform:translateY(14px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){
 .shamil-reader-modal{padding:0}
 .shamil-reader-modal__panel{width:100%;height:100dvh;max-height:none;border:0;animation:shamil-reader-arrive .23s ease-out}
 .shamil-reader-modal__header{flex-basis:57px;min-height:57px;padding:0 14px;gap:8px}
 .shamil-reader-modal__identity{font-size:9px;letter-spacing:.09em}.shamil-reader-modal__identity i{display:none}
 .shamil-reader-modal__sigil{font-size:26px}
 .shamil-reader-modal__title{font-size:13px;text-align:left}
 .shamil-reader-modal__actions{gap:9px}.shamil-reader-modal__full{display:none}
 .shamil-reader-modal__close{width:40px;height:40px;font-size:28px}
 .shamil-reader-modal__body .shamil-hub-main{padding:18px}
 .shamil-reader-modal__body .shamil-hub-hero h1{font-size:clamp(54px,12.8vw,78px)}
 .shamil-reader-modal__body .shamil-hub-service{grid-template-columns:40% 60%}
 .shamil-reader-modal__body .shamil-hub-service-image{min-height:200px}
 .shamil-reader-modal__body .shamil-hub-service-copy h2{font-size:27px}
 .shamil-reader-modal__body .feature-page{min-height:0}
 .shamil-reader-modal__body .shamil-standard-body{padding:34px 22px}
}
@media(prefers-reduced-motion:reduce){.shamil-reader-modal__panel{animation:none}}
