/* Pajoohesh Pro | Reader Edition v3 — scoped to article pages */
html:has(.article-shell){scrollbar-width:thin;scrollbar-color:#c7d3cf #f8f9f6}
html:has(.article-shell)::-webkit-scrollbar{width:8px}
html:has(.article-shell)::-webkit-scrollbar-track{background:#f8f9f6}
html:has(.article-shell)::-webkit-scrollbar-thumb{background:#c7d3cf;border-radius:99px;border:2px solid #f8f9f6}
body:has(.article-shell){background:#f8f9f6;color:#253d41}
body:has(.article-shell) .site-head{background:rgba(250,251,248,.95);border-bottom:1px solid #e8eeea;box-shadow:none}
.article-shell{--reader-ink:#233c40;--reader-muted:#596e70;--reader-line:#e4ebe7;--reader-accent:#156973;--reader-cream:#f6faf7;--reader-size:15px;padding:30px 0 96px}
.article-shell .wrap{width:min(1170px,calc(100% - 42px))}
.article-shell .article-hero{grid-template-columns:minmax(0,1.35fr) minmax(275px,.65fr);background:#fff;border:1px solid var(--reader-line);border-radius:24px;box-shadow:0 7px 35px rgba(30,63,59,.035)}
.article-shell .article-hero-copy{padding:clamp(28px,4vw,54px)}
.article-shell .breadcrumbs{font-size:.78rem;color:#687c7b;margin-bottom:20px;line-height:2}
.article-shell .breadcrumbs a{color:#315c60}
.article-shell .article-hero .tag{background:#e9f3ef;color:#166470;border:0;font-size:.73rem;padding:5px 13px}
.article-shell .article-hero h1{font-family:Ravi,IRANSans,Tahoma,sans-serif;font-weight:700;letter-spacing:0;font-size:clamp(1.95rem,3.25vw,2.95rem);line-height:1.53;color:#203d41;margin:15px 0 17px;text-wrap:pretty}
.article-shell .article-hero .lead{font:400 clamp(.95rem,1.2vw,1.04rem)/2.15 IRANSans,Tahoma,sans-serif;color:#567074;max-width:52ch}
.article-shell .article-meta{gap:7px;margin-top:24px}
.article-shell .article-meta span{background:#f4f7f5;border:1px solid #eef2ef;color:#607576;font-size:.74rem;padding:5px 11px;border-radius:8px}
.article-shell .article-hero-media{min-height:260px;max-height:345px;overflow:hidden;background:#e8efec}
.article-shell .article-hero-media img{width:100%;height:100%;object-fit:cover}
.article-shell .article-layout{direction:rtl;display:grid;grid-template-columns:minmax(196px,224px) minmax(0,1fr);gap:clamp(28px,4.4vw,62px);align-items:start;margin-top:34px}
.article-shell .article-layout>.article{grid-column:2;grid-row:1;max-width:100%;min-width:0;padding:clamp(28px,4.35vw,58px);border:1px solid var(--reader-line);border-radius:23px;background:#fff;box-shadow:0 7px 28px rgba(23,64,58,.025);font:400 var(--reader-size)/2.18 IRANSans,Tahoma,Arial,sans-serif;color:var(--reader-ink);text-align:start;letter-spacing:0;overflow-wrap:break-word}
.article-shell .article p{line-height:inherit;margin:0 0 20px;max-width:77ch}
.article-shell .article li{line-height:2.1;margin:8px 0}
.article-shell .article :is(ol,ul){padding-inline-start:25px;margin:12px 0 23px}
.article-shell .article h2{border:0;padding:0;margin:48px 0 19px;font:700 clamp(1.3rem,1.85vw,1.57rem)/1.75 IRANSans,Tahoma,sans-serif;color:#1b4d52;letter-spacing:0;scroll-margin-top:112px;text-wrap:pretty}
.article-shell .article h2:not(:first-child)::before{content:'';display:inline-block;width:6px;height:18px;border-radius:6px;margin-inline-end:10px;background:#b9d5cc;vertical-align:-3px}
.article-shell .article h3{font:700 1.12rem/1.8 IRANSans,Tahoma,sans-serif;color:#25555a;margin:30px 0 13px}
.article-shell .article :is(p,li,summary,a,span){overflow-wrap:anywhere}
.article-shell .article a{color:#176b73;text-decoration-color:#b3d4cc;text-underline-offset:4px}
.article-shell .article a:hover{color:#0b4b52}
.article-shell .quick-answer{background:#eff7f3;border:1px solid #d8e8e0;border-inline-start:3px solid #3a8b80;border-right-color:#d8e8e0;padding:22px 23px;color:#234d4d;border-radius:14px;margin:0 0 26px;font-size:.99em;line-height:2.13}
.article-shell .quick-answer strong{color:#135c5e}
.article-shell .article-trust{display:flex;gap:7px 18px;flex-wrap:wrap;margin:0 0 38px;padding:0 0 18px;border:0;border-bottom:1px solid var(--reader-line);border-radius:0;background:transparent;color:#6c7d7b;font-size:.74rem;line-height:1.8}
.article-shell .article-trust strong{color:#536d6e;font-weight:700}
.article-shell .article :is(.article-case,.article-expert,.article-final,.expert-section,.case-study){border-radius:15px;border-color:#e0e9e4;background:#f8faf8;box-shadow:none}
.article-shell .article .warning{border:1px solid #eddfc2;border-inline-start:3px solid #c99a55;background:#fffbf3;border-radius:13px;line-height:2.05;color:#614e34}
.article-shell .article .check,.article-shell .article .action-plan li{background:#f9fbf9;border-color:#e6eee8;border-radius:10px}
.article-shell .article .faq details{border-color:#e6ece8;padding:16px 0}
.article-shell .article .faq summary{color:#214e53;line-height:1.9}
.article-shell .article .faq summary:hover{color:#11646b}
.article-shell .article .related a,.article-shell .article-related__grid a{border:1px solid #e1eae5;border-radius:12px;background:#fcfdfc;box-shadow:none;padding:16px;transition:border-color .15s,background .15s;transform:none}
.article-shell .article .related a:hover,.article-shell .article-related__grid a:hover{background:#f4faf6;border-color:#a8cec4;transform:none;box-shadow:none}
.article-shell .article .cta{border-radius:16px;background:#174b51;padding:24px 27px;box-shadow:none}
.article-shell .article :is(pre,table){max-width:100%;overflow-x:auto}
.article-shell .article-layout>.article-sidebar{grid-column:1;grid-row:1;position:sticky;top:96px;display:block;max-height:none;overflow:visible;overscroll-behavior:auto;scrollbar-width:none;padding:0;box-shadow:none}
.article-shell .article-layout>.article-sidebar::-webkit-scrollbar{display:none}
.article-shell .article-sidebar__panel{border:0;border-inline-end:1px solid #e0e8e4;border-radius:0;background:transparent;box-shadow:none;padding:6px 0 6px 18px}
.article-shell .article-sidebar__eyebrow{font-size:.72rem;color:#7d9090}
.article-shell .article-sidebar__title{font:700 1.02rem/1.75 IRANSans,Tahoma,sans-serif;color:#294d51;margin:4px 0 14px}
.article-shell .article-sidebar__nav{display:grid;gap:2px}
.article-shell .article-sidebar__nav a{font:400 .78rem/1.85 IRANSans,Tahoma,sans-serif;color:#667a79;display:block;border:0;border-inline-start:2px solid transparent;background:transparent;border-radius:6px;padding:7px 10px;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.article-shell .article-sidebar__nav a:hover{color:#155e65;background:#eef6f2}
.article-shell .article-sidebar__nav a.is-current{background:#e8f3ed;color:#17636c;font-weight:700;border-inline-start-color:#28867b}
.article-shell .article-sidebar__hint{display:none!important}
.article-shell .article-sidebar__footer{margin:16px 0 0;padding-top:13px;border-top:1px solid #e4ebe6}
.article-shell .article-sidebar__back{color:#357178;font-size:.77rem;font-weight:700;line-height:1.8}
.reader-meter{padding:0 7px 12px;border-bottom:1px solid #e4ebe7;margin:0 0 12px}
.reader-meter__line{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#738483;font:400 .73rem/1.7 IRANSans,Tahoma,sans-serif}
.reader-meter__line strong{font-weight:700;color:#176d71}
.reader-meter__track{display:block;height:4px;border-radius:20px;background:#e7eeea;overflow:hidden;margin-top:8px}
.reader-meter__fill{display:block;width:var(--reader-progress,0%);height:100%;background:#2b857a;border-radius:20px;transition:width .15s ease}
.reader-extra{margin-top:4px}
.reader-extra summary{list-style:none;cursor:pointer;color:#206b70;font:700 .76rem/1.85 IRANSans,Tahoma,sans-serif;border-radius:9px;padding:9px 10px}
.reader-extra summary::-webkit-details-marker{display:none}
.reader-extra summary::before{content:'+';display:inline-block;vertical-align:baseline;font-size:1.05rem;margin-inline-end:8px}
.reader-extra[open] summary::before{content:'−'}
.reader-extra summary:hover{background:#eff5f1}
.reader-extra__links{display:grid;gap:2px;margin-top:3px}
.reader-controls{display:flex;align-items:center;gap:7px;margin:18px 0 3px;padding:13px 7px 0;border-top:1px solid #e2eae5}
.reader-controls span{font-size:.73rem;color:#738684;margin-inline-end:auto}
.reader-controls button{font:700 .89rem IRANSans,Tahoma,sans-serif;min-width:34px;min-height:32px;border:1px solid #d7e2da;border-radius:9px;background:#fff;color:#235d62;cursor:pointer}
.reader-controls button:hover:not(:disabled){background:#eaf4ee;border-color:#afcbc3}
.reader-controls button:disabled{opacity:.35;cursor:not-allowed}
.reader-mobile-toggle{display:none}
.reader-top-progress{position:fixed;inset-inline:0;top:71px;height:3px;z-index:41;pointer-events:none;background:linear-gradient(90deg,#9abfae,#1d7775);transform:scaleX(var(--reader-scroll,0));transform-origin:right center;opacity:.92}
.article-shell :is(.article-sidebar__nav a,.reader-controls button,.reader-mobile-toggle,.reader-extra summary):focus-visible{outline:2px solid #146a72;outline-offset:3px}
@media(max-width:1000px){
 .article-shell .wrap{width:min(930px,calc(100% - 34px))}
 .article-shell .article-layout{grid-template-columns:1fr;gap:14px;margin-top:20px}
 .article-shell .article-layout>.article{grid-column:1;grid-row:2;padding:clamp(26px,5vw,48px)}
 .article-shell .article-layout>.article-sidebar{grid-column:1;grid-row:1;position:static;top:auto;max-height:none;overflow:visible}
 .article-shell .article-sidebar__panel{padding:13px 16px;border:1px solid #e0e8e4;border-radius:15px;background:#fff}
 .article-shell .article-sidebar__eyebrow,.article-shell .article-sidebar__title,.article-shell .article-sidebar__footer{display:none}
 .reader-mobile-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;background:transparent;font:700 .9rem/1.8 IRANSans,Tahoma,sans-serif;color:#275d60;padding:4px 0;text-align:right;cursor:pointer}
 .reader-mobile-toggle::after{content:'+';font-size:1.4rem;font-weight:400;line-height:1}
 .article-shell .article-sidebar[data-mobile-open="true"] .reader-mobile-toggle::after{content:'−'}
 .article-shell .article-sidebar__nav{display:none;padding:12px 0 0;border-top:1px solid #edf1ee;margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
 .article-shell .article-sidebar[data-mobile-open="true"] .article-sidebar__nav{display:grid}
 .article-shell .article-sidebar__nav a{font-size:.79rem}
 .article-shell .reader-meter{margin:5px 0 0;border:0;padding:0 2px}
 .article-shell .reader-controls{margin:8px 0 0;padding:8px 0 0}
 .article-shell .reader-extra{grid-column:1/-1}
 .article-shell .reader-extra__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
}
@media(max-width:650px){
 .article-shell{padding:16px 0 60px}
 .article-shell .wrap{width:calc(100% - 24px)}
 .article-shell .article-hero{grid-template-columns:1fr;border-radius:18px}
 .article-shell .article-hero-copy{padding:25px 22px}
 .article-shell .breadcrumbs{margin-bottom:12px}
 .article-shell .article-hero h1{font-size:clamp(1.6rem,6vw,2.05rem);line-height:1.67}
 .article-shell .article-hero-media{min-height:192px;max-height:245px}
 .article-shell .article-layout>.article{padding:27px 21px;border-radius:17px;font-size:var(--reader-size)}
 .article-shell .article p{max-width:100%;margin-bottom:17px}
 .article-shell .article h2{font-size:1.27rem;line-height:1.8;margin:37px 0 17px}
 .article-shell .article h3{font-size:1.06rem}
 .article-shell .article-trust{gap:5px 12px}
 .article-shell .article-sidebar__nav,.article-shell .reader-extra__links{grid-template-columns:1fr}
 .reader-top-progress{top:63px}
 .article-shell .article .related,.article-shell .article .article-related__grid{grid-template-columns:1fr}
 .article-shell .quick-answer{padding:18px 19px}
}
@media(prefers-reduced-motion:reduce){
 .reader-meter__fill,.article-shell .article-sidebar__nav a,.article-shell .article .related a,.article-shell .article-related__grid a{transition:none}
}

/* Reader v4: calm regular-weight justified reading text */
.article-shell .article-layout>.article{font-weight:400;line-height:2;letter-spacing:0}
.article-shell .article p,
.article-shell .article li,
.article-shell .quick-answer,
.article-shell .article .warning,
.article-shell .article blockquote{
 font-weight:400;
 text-align:justify;
 text-align-last:start;
 text-justify:inter-word;
}
.article-shell .article p{line-height:2}
.article-shell .article li{line-height:2}
.article-shell .article :is(h1,h2,h3,h4,h5,h6,summary){text-align:start}
