/* NPS Blog — article page and blog list. Colours and fonts are the Sabha's own. */
.npsb,.npsb-list{
  --paper:#F7F2EA; --paper-2:#EFE7DA; --card:#FBF8F2;
  --ink:#1D1A17; --ink-2:#4B443C; --mute:#7A7064; --rule:#DDD2C1; --rule-2:#CDC1AD;
  --maroon:#6E1A1F; --red:#930001; --gold:#B08A4E; --gold-lt:#E2C38E;
  --f-hi-head:"Hind","Mukta",sans-serif;
  --f-hi-text:"Kokila","Tiro Devanagari Hindi",serif;
  --f-en-head:"Felix Titling","Cinzel","Trajan Pro",Georgia,serif;
  --f-en-text:"EB Garamond","Garamond",Georgia,serif;
  --wrap:1240px; --read:calc(42 * 16px); --top:var(--wp-admin--admin-bar--height,0px);
  color:var(--ink);font-family:var(--f-en-text);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;
}
body.npsb-body{margin:0;background:#F7F2EA}
.npsb *,.npsb *::before,.npsb *::after,.npsb-list *,.npsb-list *::before,.npsb-list *::after{box-sizing:border-box}
.npsb :where(h1,h2,h3,h4,p,ul,ol,figure,blockquote),.npsb-list :where(h1,h2,h3,h4,p,ul,ol,figure){margin:0;padding:0}
.npsb :where(ul,ol):not(.npsb-prose *),.npsb-list :where(ul,ol){list-style:none}
.npsb a,.npsb-list a{color:inherit}
.npsb img,.npsb-list img{display:block;max-width:100%;height:auto}
.npsb [lang="hi"],.npsb-list [lang="hi"]{font-family:var(--f-hi-text)}
.npsb :focus-visible,.npsb-list :focus-visible{outline:2px solid var(--red);outline-offset:3px}
.npsb-wrap{max-width:var(--wrap);margin:0 auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
.npsb-hh{font-family:var(--f-hi-head)!important;font-weight:700!important;line-height:1.38!important;text-wrap:balance;letter-spacing:0!important}
.npsb-eh{font-family:var(--f-en-head);font-weight:400;text-transform:uppercase;letter-spacing:.16em}
.npsb-ph{display:inline-block;font-family:var(--f-en-text);font-size:calc(.7 * 16px);letter-spacing:.12em;text-transform:uppercase;border:1px dashed currentColor;padding:0 6px;opacity:.7}

/* shared bits */
.npsb-chip{display:inline-flex;align-items:center;font-family:var(--f-hi-head);font-weight:500;font-size:calc(.9 * 16px);line-height:1.5;padding:3px 12px 2px;border:1px solid var(--rule-2);border-radius:999px;color:var(--ink-2);text-decoration:none;white-space:nowrap;background:transparent}
a.npsb-chip:hover{border-color:var(--maroon);color:var(--maroon)}
.npsb-chip--en{font-family:var(--f-en-text);font-size:calc(.95 * 16px)}
.npsb-date{font-family:var(--f-hi-text);font-size:calc(1.3 * 16px);color:var(--mute)}
.npsb-more{font-family:var(--f-hi-head);font-weight:500;font-size:calc(1 * 16px);color:var(--ink);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.npsb-more:hover{color:var(--red)}
.npsb-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.npsb-who{font-family:var(--f-hi-head);font-weight:500;font-size:calc(.98 * 16px);color:var(--ink);margin-top:4px}
.npsb-who[lang="en"]{font-family:var(--f-en-text);font-size:calc(1.02 * 16px)}

/* covers: the post's photo, or a letter cover in the topic's colour */
.npsb-cover{position:relative;overflow:hidden;background:var(--c,var(--paper-2));aspect-ratio:16/9;max-width:100%}
.npsb-cover img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.6,.2,1)}
a:hover .npsb-cover img{transform:scale(1.03)}
.npsb .npsb-cover img,.npsb-list .npsb-cover img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover}
.npsb-cover--type{display:flex;align-items:flex-end;justify-content:space-between;padding:6% 7%;color:var(--fg,#F4EFE6);background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.07) 1px,transparent 1.6px);background-size:14px 14px}
.npsb-cover--type::before{content:"";position:absolute;inset:10px;border:1px solid currentColor;opacity:.22;pointer-events:none}
.npsb-cover--type .ini{font-family:var(--f-hi-head);font-weight:700;font-size:clamp(calc(3 * 16px),4.6vw,calc(4.4 * 16px));line-height:1}
.npsb-cover--type .ini.en{font-family:var(--f-en-head);font-weight:400}
.npsb-cover--type .lab{font-family:var(--f-hi-head);font-weight:500;font-size:calc(.95 * 16px);opacity:.85;text-align:right;max-width:12ch;line-height:1.4}
.npsb-c-shukla{--c:#6E1A1F}.npsb-c-premchand{--c:#24403E}.npsb-c-sabha-prakashan{--c:#8A6A35}.npsb-c-abhilekh{--c:#3B3A46}.npsb-c-punaruday{--c:#5A2A1C}.npsb-c-english{--c:#1D1A17;--fg:#E2C38E}

/* ================= BLOG LIST ([nps_blog]) ================= */
.npsb-list{background:var(--paper);padding-block:clamp(40px,5vw,64px) 24px;position:relative}
.npsb-list.npsb-list{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important}
html:has(.npsb-list),body:has(.npsb-list){overflow-x:clip}
:is(.elementor-widget-container,.elementor-widget-wrap,.e-con-inner,.e-con,.elementor-column,.elementor-container,.elementor-section,.entry-content,.wp-block-post-content):has(> .npsb-list,> * > .npsb-list){max-width:none!important;padding-left:0!important;padding-right:0!important}
.npsb-feat{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(24px,4vw,64px);align-items:center;text-decoration:none;color:inherit;padding-bottom:clamp(40px,6vw,72px);border-bottom:1px solid var(--rule)}
.npsb-feat h2{font-size:clamp(calc(2 * 16px),3.6vw,calc(3.2 * 16px))!important;margin-top:14px!important;color:var(--ink)}
.npsb-feat:hover h2{color:var(--red)}
.npsb-feat .npsb-ex{font-family:var(--f-hi-text);font-size:calc(1.65 * 16px);line-height:1.75;color:var(--ink-2);margin-top:14px}
.npsb-feat .npsb-who{font-size:calc(1.02 * 16px);margin-top:16px}
.npsb-feat .npsb-cover--type .ini{font-size:clamp(calc(6 * 16px),14vw,calc(11 * 16px))}
.npsb-btn{display:inline-flex;align-items:center;gap:10px;margin-top:24px;background:var(--ink);color:var(--paper);font-family:var(--f-hi-head);font-weight:600;font-size:calc(1.02 * 16px);padding:11px 22px 9px;text-decoration:none;transition:background-color .3s}
.npsb-feat:hover .npsb-btn{background:var(--red)}
.npsb-state{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--ink);font-family:var(--f-hi-text);font-size:calc(1.5 * 16px);color:var(--ink-2)}
.npsb-state b{font-family:var(--f-hi-head);font-weight:700;color:var(--ink)}
.npsb-state a{font-family:var(--f-hi-head);font-size:calc(1 * 16px)}
.npsb-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3vw,48px)}
.npsb-row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(18px,2.4vw,32px);padding-block:clamp(26px,3vw,36px);border-bottom:1px solid var(--rule);text-decoration:none;color:inherit;align-items:start;min-width:0}
.npsb-row h3{font-size:clamp(calc(1.3 * 16px),1.7vw,calc(1.6 * 16px))!important;margin-top:10px!important;color:var(--ink)}
.npsb-row h3[lang="en"]{font-family:var(--f-en-text)!important;font-weight:500!important;line-height:1.25!important}
.npsb-row:hover h3{color:var(--red)}
.npsb-row .npsb-ex{font-family:var(--f-hi-text);font-size:calc(1.4 * 16px);line-height:1.6;color:var(--ink-2);margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.npsb-row .npsb-ex[lang="en"]{font-family:var(--f-en-text);font-size:calc(1.02 * 16px)}
.npsb-row .npsb-more{display:inline-block;margin-top:12px}
.npsb-empty{padding:48px 0;font-family:var(--f-hi-text);font-size:calc(1.6 * 16px);color:var(--mute)}
.npsb-pager{display:flex;gap:6px;justify-content:flex-end;align-items:center;padding-block:32px 48px}
.npsb-pager a,.npsb-pager span{display:grid;place-items:center;min-width:40px;height:40px;font-family:var(--f-en-text);font-size:calc(1.05 * 16px);text-decoration:none;color:var(--ink)}
.npsb-pager .cur{border-bottom:2px solid var(--ink)}
@media (max-width:900px){.npsb-feat,.npsb-rows{grid-template-columns:1fr}}
@media (max-width:560px){.npsb-row{grid-template-columns:1fr}.npsb-row .npsb-cover{aspect-ratio:16/8}}

/* ================= ARTICLE ================= */
.npsb{background:var(--paper)}
.npsb-progress{position:fixed;left:0;right:0;top:var(--top);height:3px;z-index:99990;pointer-events:none}
.npsb-progress i{display:block;height:100%;width:0;background:var(--red)}
.npsb-top{padding-block:clamp(36px,5vw,64px) 0}
.npsb-crumb{display:flex;align-items:center;gap:10px;font-family:var(--f-hi-head);font-weight:500;font-size:calc(.95 * 16px);color:var(--mute)}
.npsb-crumb a{text-decoration:none;color:var(--mute)}
.npsb-crumb a:hover{color:var(--red)}
.npsb-crumb .cur{color:var(--maroon)}
.npsb-head{max-width:calc(56 * 16px)}
.npsb-head h1{font-size:clamp(calc(2.3 * 16px),5vw,calc(4.1 * 16px))!important;line-height:1.3!important;margin-top:18px!important;color:var(--ink)}
.npsb-head h1[lang="en"]{font-family:var(--f-en-text)!important;font-weight:500!important;line-height:1.15!important}
.npsb-dek{font-family:var(--f-hi-text);font-size:clamp(calc(1.6 * 16px),2.2vw,calc(2 * 16px));line-height:1.65;color:var(--ink-2);margin-top:16px!important;max-width:calc(46 * 16px)}
.npsb-byline{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;margin-top:26px;font-family:var(--f-hi-head);font-size:calc(1 * 16px);color:var(--ink-2)}
.npsb-byline .who{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:600}
.npsb-av{width:38px;height:38px;border-radius:50%;background:var(--maroon);color:#F4EFE6;display:grid;place-items:center;font-family:var(--f-hi-head);font-weight:600;font-size:calc(1 * 16px);flex:none}
.npsb-byline .sep{display:flex;align-items:center;gap:8px}
.npsb-byline svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
.npsb-first{font-family:var(--f-hi-text);font-size:calc(1.3 * 16px);color:var(--mute);margin-top:10px!important}
.npsb-fig{margin-top:clamp(28px,4vw,48px)!important}
.npsb-fig img{width:100%;max-height:640px;object-fit:cover}
.npsb-fig figcaption{font-family:var(--f-hi-text);font-size:calc(1.3 * 16px);color:var(--mute);margin-top:10px}

.npsb-grid{display:grid;grid-template-columns:minmax(200px,calc(16 * 16px)) minmax(0,var(--read)) minmax(0,1fr);gap:clamp(32px,5vw,80px);padding-block:clamp(40px,5vw,64px) clamp(56px,7vw,96px)}
.npsb-grid--notoc{grid-template-columns:minmax(232px,calc(15 * 16px)) minmax(0,var(--read)) minmax(0,1fr)}
.npsb-rail{position:sticky;top:calc(var(--top) + 32px);align-self:start;display:flex;flex-direction:column;gap:32px}
.npsb-rail .npsb-eh{font-size:calc(.7 * 16px);color:var(--mute);margin-bottom:12px;display:block}
.npsb-toc a{display:block;padding:7px 0 6px 14px;border-left:2px solid var(--rule);text-decoration:none;font-family:var(--f-hi-head);font-weight:500;font-size:calc(.98 * 16px);line-height:1.45;color:var(--mute);transition:color .2s,border-color .2s}
.npsb-toc a:hover{color:var(--ink)}
.npsb-toc a.on{color:var(--ink);border-left-color:var(--maroon)}
.npsb-share{display:flex;gap:8px;flex-wrap:wrap}
.npsb-share a,.npsb-share button{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--rule-2);background:none;color:var(--ink);cursor:pointer;text-decoration:none;padding:0;transition:border-color .2s,color .2s,background-color .2s}
.npsb-share a:hover,.npsb-share button:hover{border-color:var(--ink);background:var(--ink);color:var(--paper)}
.npsb-share svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.npsb-share svg.fill{fill:currentColor;stroke:none}
.npsb-copied{font-family:var(--f-hi-head);font-size:calc(.9 * 16px);color:var(--maroon);min-height:1.4em;margin-top:6px!important}
.npsb-toc-m{display:none}

/* the article text — overrides inline styles pasted from Word / old editors */
.npsb-prose :is(p,li,blockquote,h2,h3) :is(span,font,strong,b,em,i,a){font-size:inherit!important;line-height:inherit!important;font-family:inherit!important}
.npsb-prose{min-width:0}
.npsb-prose>*+*{margin-top:1.15em}
.npsb-prose p,.npsb-prose li{font-family:var(--f-hi-text)!important;font-size:clamp(calc(1.6 * 16px),1.9vw,calc(1.8 * 16px))!important;line-height:1.75!important;color:var(--ink)!important;text-align:start!important}
.npsb-prose[lang="en"] p,.npsb-prose[lang="en"] li{font-family:var(--f-en-text)!important;font-size:clamp(calc(1.12 * 16px),1.25vw,calc(1.22 * 16px))!important;line-height:1.75!important}
.npsb-prose :is(h2,h3){font-family:var(--f-hi-head)!important;font-weight:700!important;line-height:1.4!important;color:var(--maroon)!important;margin-top:2em!important;scroll-margin-top:calc(var(--top) + 32px);text-wrap:balance;text-align:start!important}
.npsb-prose h2{font-size:clamp(calc(1.6 * 16px),2.3vw,calc(2 * 16px))!important}
.npsb-prose h3{font-size:clamp(calc(1.3 * 16px),1.8vw,calc(1.55 * 16px))!important;color:var(--ink)!important}
.npsb-prose :is(h2,h3)+p{margin-top:.6em}
.npsb-prose a{color:var(--maroon);text-underline-offset:4px}
.npsb-prose ul,.npsb-prose ol{padding-left:1.4em}
.npsb-prose blockquote{margin-block:1.8em!important;padding:4px 0 4px 26px!important;border-left:3px solid var(--gold)!important;background:none!important}
.npsb-prose blockquote p{font-size:clamp(calc(1.65 * 16px),2vw,calc(1.9 * 16px))!important;line-height:1.8!important;color:var(--ink-2)!important}
.npsb-prose blockquote cite{display:block;margin-top:10px;font-style:normal;font-family:var(--f-hi-head);font-size:calc(.98 * 16px);color:var(--mute)}
.npsb-prose figure{margin-block:2em!important}
.npsb-prose figcaption,.npsb-prose .wp-caption-text{font-family:var(--f-hi-text);font-size:calc(1.3 * 16px);color:var(--mute);margin-top:8px}
.npsb-prose img{height:auto}

.npsb-after{border-top:1px solid var(--rule);margin-top:48px!important;padding-top:28px;display:flex;flex-direction:column;gap:28px}
.npsb-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.npsb-tags .npsb-eh{font-size:calc(.7 * 16px);color:var(--mute);margin-right:6px}
.npsb-author{display:grid;grid-template-columns:auto 1fr;gap:18px;padding:24px;background:var(--card);border:1px solid var(--rule)}
.npsb-author .npsb-av{width:56px;height:56px;font-size:calc(1.3 * 16px)}
.npsb-author b{display:block;font-family:var(--f-hi-head);font-weight:700;font-size:calc(1.15 * 16px);line-height:1.4}
.npsb-author p{font-family:var(--f-hi-text);font-size:calc(1.45 * 16px);line-height:1.65;color:var(--ink-2);margin-top:4px!important}
.npsb-author .npsb-more{display:inline-block;margin-top:8px}
.npsb-pn{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--ink);border-bottom:1px solid var(--rule)}
.npsb-pn a{display:flex;flex-direction:column;gap:6px;padding:18px 18px 18px 0;text-decoration:none;color:var(--ink)}
.npsb-pn a+a,.npsb-pn span+a{border-left:1px solid var(--rule);padding-left:18px;text-align:right}
.npsb-pn small{font-family:var(--f-hi-head);font-weight:500;font-size:calc(.9 * 16px);color:var(--mute)}
.npsb-pn b{font-family:var(--f-hi-head);font-weight:700;font-size:calc(1.12 * 16px);line-height:1.45}
.npsb-pn a:hover b{color:var(--red)}

.npsb-next{background:var(--paper-2);padding-block:clamp(48px,6vw,80px)}
.npsb-next__hd{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:28px;flex-wrap:wrap}
.npsb-next__hd h2{font-size:clamp(calc(1.8 * 16px),3vw,calc(2.5 * 16px))!important;color:var(--ink)}
.npsb-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.4vw,32px)}
.npsb-card{display:flex;flex-direction:column;gap:12px;text-decoration:none;color:inherit;min-width:0}
.npsb-card h3{font-size:calc(1.3 * 16px)!important;color:var(--ink)}
.npsb-card h3[lang="en"]{font-family:var(--f-en-text)!important;font-weight:500!important}
.npsb-card:hover h3{color:var(--red)}

@media (max-width:1100px){.npsb-grid,.npsb-grid--notoc{grid-template-columns:minmax(180px,calc(14 * 16px)) minmax(0,1fr)}}
@media (max-width:860px){
  .npsb-grid,.npsb-grid--notoc{grid-template-columns:1fr;gap:0}
  .npsb-rail{display:none}
  .npsb-toc-m{display:block;margin-bottom:28px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
  .npsb-toc-m summary{cursor:pointer;padding:14px 0;font-family:var(--f-hi-head);font-weight:600;font-size:calc(1.05 * 16px);list-style:none;display:flex;justify-content:space-between}
  .npsb-toc-m summary::-webkit-details-marker{display:none}
  .npsb-toc-m summary::after{content:"+";font-family:var(--f-en-text);font-size:calc(1.3 * 16px)}
  .npsb-toc-m[open] summary::after{content:"–"}
  .npsb-toc-m .npsb-toc{padding-bottom:14px}
  .npsb-cards{grid-template-columns:1fr}
  .npsb-pn{grid-template-columns:1fr}.npsb-pn a+a,.npsb-pn span+a{border-left:0;border-top:1px solid var(--rule);padding-left:0;text-align:left}
}
@media (prefers-reduced-motion:reduce){.npsb *,.npsb-list *{transition:none!important}}
