/* Shifa Ul-Dahar — Blog V11. Uses the locked website tokens and header/footer. */
.blog-root{color:var(--ink);background:var(--page);isolation:isolate;min-width:0}.blog-root :is(h1,h2,h3){font-family:var(--font-serif);letter-spacing:-.025em}.blog-root :is(h1,h2,h3,p){overflow-wrap:break-word}.blog-hero{padding:calc(var(--nav-h) + 47px) 0 56px;background:radial-gradient(ellipse at 90% 20%,rgba(211,230,203,.66),transparent 56%),linear-gradient(120deg,#fffef9,#f4f8ef);border-bottom:1px solid var(--line);position:relative;overflow:hidden}html[data-theme="dark"] .blog-hero{background:radial-gradient(ellipse at 85% 13%,rgba(40,93,70,.43),transparent 64%),linear-gradient(120deg,#09231b,#0d2c22);border-color:var(--line)}.blog-hero::before,.blog-explore::before{content:"";inset:0;position:absolute;background:url('../patterns/heritage-geometry.svg') center/310px;opacity:.023;pointer-events:none}html[data-theme="dark"] .blog-hero::before,html[data-theme="dark"] .blog-explore::before{opacity:.046}.blog-hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(24px,5vw,90px);align-items:center;min-height:320px}.blog-breadcrumb{display:flex;align-items:center;gap:11px;font-size:11px;font-weight:650;color:var(--muted);margin:0 0 25px}.blog-breadcrumb a:hover{color:var(--gold)}.blog-breadcrumb span[aria-current]{color:var(--gold)}.blog-hero-copy{max-width:600px}.blog-hero h1{font-size:clamp(38px,4.2vw,64px);line-height:1.14;margin:8px 0 19px;max-width:620px}.blog-hero h1 em{color:#b08338;font-style:normal}html[data-theme=dark] .blog-hero h1 em{color:var(--gold-light)}.blog-hero-lead{max-width:530px;color:var(--muted);font-size:14.5px;line-height:1.9;margin:0 0 18px}.blog-hero-pills{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;font-weight:720;color:var(--forest-2)}html[data-theme=dark] .blog-hero-pills{color:var(--gold-light)}.blog-hero-pills span{background:rgba(211,227,196,.48);border:1px solid rgba(172,142,77,.19);padding:7px 13px;border-radius:90px}html[data-theme=dark] .blog-hero-pills span{background:rgba(19,64,46,.74)}.blog-hero-visual{aspect-ratio:1.65;border-radius:36px 36px 36px 120px;position:relative;box-shadow:0 19px 46px rgba(11,48,37,.14);border:1px solid rgba(177,142,67,.38);overflow:hidden}.blog-hero-visual img{width:100%;height:100%;object-fit:cover}.blog-hero-visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(231,235,209,.14),transparent 36%)}.blog-hero-flourish{position:absolute;right:14px;bottom:12px;color:#ffe2a0;font-size:27px;filter:drop-shadow(0 0 9px rgba(0,0,0,.6))}.blog-explore{padding-top:75px!important;padding-bottom:96px!important;position:relative;isolation:isolate}.blog-explore::before{z-index:-1}.blog-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:26px}.blog-section-heading .eyebrow{margin-bottom:7px}.blog-section-heading h2{font-size:clamp(27px,3vw,40px);line-height:1.2;margin:0 0 5px}.blog-section-heading p{color:var(--muted);margin:0;font-size:13px}.blog-count{white-space:nowrap;font-size:12px;color:var(--muted);margin-bottom:5px}.blog-count strong{color:var(--gold);font:700 27px var(--font-serif)}.blog-tools{display:flex;align-items:center;justify-content:space-between;gap:17px;margin-bottom:24px}.blog-search{display:flex;gap:10px;align-items:center;min-width:210px;width:min(300px,100%);padding:0 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);height:44px}.blog-search:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(209,168,85,.12)}.blog-search .icon{height:16px;width:16px;color:var(--muted)}.blog-search input{border:0;outline:0;min-width:0;background:transparent;color:var(--ink);width:100%;font-size:12px}.blog-search input::placeholder{color:var(--muted)}.blog-categories{display:flex;gap:7px;flex-wrap:wrap}.blog-categories button{background:var(--surface);border:1px solid var(--line);border-radius:100px;color:var(--muted);font-size:11px;font-weight:750;padding:10px 14px;transition:background .5s var(--ease),color .4s,border-color .4s,transform .4s}.blog-categories button:hover{border-color:var(--gold);transform:translateY(-2px)}.blog-categories button.is-active{background:var(--forest-2);border-color:var(--forest-2);color:#fffaeb}html[data-theme=dark] .blog-categories button.is-active{background:var(--gold);color:#08251e}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.blog-card{min-width:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 9px 28px rgba(28,55,42,.035);transition:transform .75s var(--ease),box-shadow .75s var(--ease),border-color .5s var(--ease)}.blog-card:hover{transform:translateY(-7px);border-color:rgba(201,152,60,.56);box-shadow:0 22px 47px rgba(24,52,41,.1)}.blog-card-photo{display:block;aspect-ratio:16/9;position:relative;overflow:hidden;background:#123b2c}.blog-card-photo img{width:100%;height:100%;object-fit:cover;transition:transform 1.15s var(--ease)}.blog-card:hover .blog-card-photo img{transform:scale(1.045)}.blog-photo-shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 15%,rgba(249,218,144,.23) 48%,transparent 75%);transform:translateX(-140%);transition:transform 1.3s var(--ease)}.blog-card:hover .blog-photo-shine{transform:translateX(140%)}.blog-card-content{padding:19px 20px 20px;flex:1;display:flex;flex-direction:column;gap:10px}.blog-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:10px}.blog-meta .blog-category{background:rgba(216,184,108,.15);color:#a27628;border:1px solid rgba(185,142,64,.23);padding:3px 8px;border-radius:30px;font-weight:750}html[data-theme=dark] .blog-meta .blog-category{color:var(--gold-light)}.blog-meta time::before,.blog-meta span:last-child::before{content:'·';padding-inline-end:7px;color:var(--gold)}.blog-card h2{font-size:clamp(17px,1.35vw,22px);line-height:1.4;margin:0;min-height:2.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.blog-card h2 a:hover{color:var(--gold)}.blog-excerpt{font-size:12.5px;line-height:1.8;color:var(--muted);margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.blog-read{font-size:12px;font-weight:800;color:var(--forest-2);border-top:1px solid var(--line);margin-top:auto;padding-top:13px;display:flex;align-items:center;justify-content:space-between;transition:color .4s}html[data-theme=dark] .blog-read{color:var(--gold-light)}.blog-read span{border-radius:50%;height:28px;width:28px;display:grid;place-items:center;border:1px solid rgba(191,148,65,.43);font-size:16px;transition:transform .5s var(--ease),background .5s}.blog-read:hover{color:var(--gold)}.blog-read:hover span{transform:rotate(42deg);background:rgba(225,196,115,.25)}.blog-no-results{text-align:center;padding:70px 15px;background:var(--surface);border-radius:20px;border:1px solid var(--line);color:var(--muted)}.blog-cta{background:linear-gradient(110deg,#0c3e30,#235540);position:relative;overflow:hidden}.blog-cta::before{content:"";position:absolute;inset:0;background:url('../patterns/heritage-geometry.svg') center/300px;opacity:.08}.blog-cta-inner{padding-block:42px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative}.blog-cta :is(h2,p){color:#fffbee}.blog-cta h2{margin:0 0 6px;font-size:clamp(24px,3vw,37px)}.blog-cta p:not(.eyebrow){font-size:12px;margin:0;color:#d2e5d9;max-width:550px}.blog-cta .btn{flex:none}
/* Article: clean editorial reading layout, no oversized cards */
.blog-article-page{background:var(--page)}.blog-article-head{padding-top:calc(var(--nav-h) + 30px);max-width:1100px}.blog-article-head .blog-breadcrumb{margin-bottom:22px}.blog-back{font-size:12px;font-weight:750;color:var(--forest-2);display:inline-flex;gap:8px;align-items:center;margin-bottom:24px}html[data-theme=dark] .blog-back{color:var(--gold-light)}.blog-back:hover{color:var(--gold)}.blog-article-category{display:table;padding:5px 12px;background:rgba(224,194,113,.16);border:1px solid rgba(189,152,79,.22);border-radius:80px;font-size:11px;font-weight:750;color:var(--gold);margin-bottom:16px}.blog-article-head h1{font-size:clamp(33px,4vw,59px);line-height:1.22;max-width:1000px;margin:0 0 16px}.blog-article-summary{color:var(--muted);font-size:clamp(14px,1.4vw,18px);max-width:830px;line-height:1.7;margin:0 0 24px}.blog-article-byline{display:flex;flex-wrap:wrap;gap:17px;align-items:center;padding-bottom:27px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.blog-article-byline span:first-child{display:flex;align-items:center;gap:6px;font-weight:800;color:var(--ink)}.blog-article-byline .icon{height:16px;width:16px;color:var(--gold)}.blog-article-image{max-width:1100px;margin-top:30px}.blog-article-image img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:23px;box-shadow:0 20px 43px rgba(10,43,29,.1);border:1px solid var(--line)}.blog-article-layout{max-width:1100px;display:grid;grid-template-columns:minmax(0,690px) minmax(200px,270px);gap:clamp(30px,5vw,90px);align-items:start;padding-block:48px 85px}.blog-prose{min-width:0}.blog-prose h2{font-size:clamp(23px,2.6vw,30px);line-height:1.4;margin:0 0 18px}.blog-prose p{font-size:15px;line-height:2.0;color:var(--muted);margin:0 0 16px}.blog-prose-section{scroll-margin-top:110px;margin-bottom:38px}.blog-prose-section:not(:first-child){border-top:1px solid var(--line);padding-top:32px}.blog-article-aside{position:sticky;top:calc(var(--nav-h) + 18px)}.blog-aside-panel{background:var(--surface);border:1px solid var(--line);padding:26px;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.blog-aside-panel nav{display:grid;gap:13px}.blog-aside-panel nav a{font-size:12px;color:var(--muted);line-height:1.5;padding-inline-start:12px;border-inline-start:2px solid rgba(192,151,73,.32)}.blog-aside-panel nav a:hover{color:var(--gold);border-color:var(--gold)}.blog-aside-deco{font-size:44px;color:var(--gold);opacity:.29;text-align:center;margin:20px 0 -16px}.blog-disclaimer{display:flex;gap:15px;align-items:flex-start;border-radius:18px;background:var(--surface-2);padding:22px;border:1px solid var(--line);margin-top:20px}.blog-disclaimer .icon{color:var(--gold);flex:none;margin-top:3px}.blog-disclaimer p{font-size:12px;margin:0;line-height:1.8}.blog-article-cta{margin-top:40px;padding:28px;border-radius:20px;background:linear-gradient(110deg,#0e3e30,#255841);color:#fffbee}.blog-article-cta :is(h3,p){color:inherit}.blog-article-cta h3{font-size:27px;margin:0 0 8px}.blog-article-cta p:not(.eyebrow){font-size:12px;color:#d7e6db;margin:0 0 16px}.blog-article-cta .btn{min-height:43px}.blog-related{border-top:1px solid var(--line);padding:60px 0 90px!important;background:var(--surface-2)}.blog-related .blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.blog-related .blog-section-heading{align-items:center}.blog-related .blog-back{margin:0}.blog-not-found{padding-top:calc(var(--nav-h) + 80px);padding-bottom:110px;min-height:65vh}.blog-not-found h1{font-size:44px}
/* Urdu reading layout; match locked font usage, favor legibility */
html[lang="ur"] .blog-root :is(.blog-hero h1,.blog-section-heading h2,.blog-card h2,.blog-article-head h1,.blog-prose h2,.blog-cta h2,.blog-article-cta h3){font-family:'Noto Nastaliq Urdu',var(--font-serif);letter-spacing:0;font-weight:700;line-height:1.9}html[lang="ur"] .blog-root .blog-hero h1{font-size:clamp(29px,3.1vw,44px)}html[lang="ur"] .blog-root .blog-article-head h1{font-size:clamp(27px,3.15vw,45px)}html[lang="ur"] .blog-root :is(.blog-prose p,.blog-article-summary){font-family:'Noto Nastaliq Urdu',serif;line-height:3.0;font-size:14px}html[lang="ur"] .blog-card h2{font-size:16px;min-height:3.7em;-webkit-line-clamp:2}html[lang="ur"] .blog-card .blog-excerpt{font-family:'Noto Nastaliq Urdu',serif;font-size:10px;line-height:2.6;-webkit-line-clamp:2}html[lang="ur"] .blog-hero-lead{font-family:'Noto Nastaliq Urdu',serif;line-height:2.7;font-size:13px}html[lang="ur"] .blog-card-content{gap:7px}html[lang="ur"] .blog-prose-section{scroll-margin-top:100px}html[lang="ur"] .blog-article-byline,html[lang="ur"] .blog-meta{direction:rtl}html[lang="ur"] .blog-hero-inner{direction:rtl}html[lang="ur"] .blog-root .blog-article-head .blog-breadcrumb{direction:rtl}html[lang="ur"] .blog-root .blog-breadcrumb{flex-direction:row}
@media(max-width:1100px){.blog-grid{gap:15px}.blog-card-content{padding:15px}.blog-tools{align-items:flex-start;flex-wrap:wrap}.blog-categories{flex:1;justify-content:flex-end}.blog-article-layout{grid-template-columns:minmax(0,1fr) 225px;gap:35px}}
@media(max-width:800px){.blog-hero{padding-top:calc(var(--nav-h) + 25px);padding-bottom:31px}.blog-hero-inner{gap:20px;min-height:0}.blog-hero h1{font-size:38px}.blog-hero-visual{border-radius:28px 28px 28px 65px}.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.blog-article-layout{grid-template-columns:1fr;padding-top:34px}.blog-article-aside{display:none}.blog-related .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.blog-related .blog-card:last-child{display:none}.blog-cta-inner{padding-block:31px}}
@media(max-width:600px){.blog-hero{padding-top:calc(var(--nav-h) + 12px);padding-bottom:24px}.blog-hero-inner{grid-template-columns:1fr;gap:0}.blog-breadcrumb{margin-bottom:14px}.blog-hero-copy{z-index:1;position:relative;min-height:270px;padding:8px 0 13px}.blog-hero h1{font-size:clamp(30px,8vw,41px);max-width:82%;line-height:1.22}.blog-hero-lead{font-size:12px;max-width:86%;line-height:1.8}.blog-hero-pills{gap:6px;font-size:9px}.blog-hero-pills span{padding:5px 9px}.blog-hero-visual{position:absolute;right:-66px;bottom:2px;width:65%;height:calc(100% - 30px);border:0;border-radius:0;box-shadow:none;opacity:.33;pointer-events:none}.blog-hero-visual::after{background:linear-gradient(90deg,var(--page),transparent 65%)}html[data-theme=dark] .blog-hero-visual{opacity:.22}.blog-hero-visual img{object-fit:cover;object-position:32%}.blog-explore{padding-top:43px!important;padding-bottom:65px!important}.blog-section-heading{align-items:start}.blog-section-heading h2{font-size:27px}.blog-section-heading p{font-size:11px}.blog-tools{display:grid;gap:10px}.blog-search{width:100%;max-width:100%;height:43px}.blog-categories{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding:2px 0 10px;scrollbar-width:thin}.blog-categories button{flex:none;padding:8px 12px;font-size:10px}.blog-grid{gap:11px}.blog-card{border-radius:13px}.blog-card-content{padding:11px 11px 13px;gap:8px}.blog-card h2{font-size:14px;min-height:2.9em;line-height:1.45}.blog-meta{gap:4px;font-size:8.5px}.blog-meta .blog-category{padding:3px 6px}.blog-card .blog-excerpt{font-size:10px;line-height:1.55;-webkit-line-clamp:2}.blog-read{padding-top:9px;font-size:10px}.blog-read span{height:24px;width:24px;font-size:13px}.blog-count strong{font-size:22px}.blog-count{font-size:10px}.blog-cta-inner{display:grid;gap:20px}.blog-cta h2{font-size:26px}.blog-cta .btn{justify-self:start}.blog-article-head{padding-top:calc(var(--nav-h) + 18px)}.blog-article-head h1{font-size:31px;line-height:1.32}.blog-article-summary{font-size:13px}.blog-article-byline{gap:12px}.blog-article-image{margin-top:17px}.blog-article-image img{border-radius:14px}.blog-article-layout{padding-block:24px 55px}.blog-prose h2{font-size:22px}.blog-prose p{font-size:13px;line-height:1.9}.blog-related{padding:42px 0 60px!important}.blog-article-cta{padding:20px}.blog-article-cta h3{font-size:23px}html[lang="ur"] .blog-root .blog-hero h1{font-size:clamp(26px,6vw,32px);max-width:95%}html[lang="ur"] .blog-hero-copy{min-height:290px}html[lang="ur"] .blog-card h2{font-size:12px}html[lang="ur"] .blog-card .blog-excerpt{font-size:9px}html[lang="ur"] .blog-prose p{font-size:12px}html[lang="ur"] .blog-root .blog-article-head h1{font-size:28px}}
@media(max-width:380px){.blog-card-content{padding:9px;gap:6px}.blog-meta{font-size:8px}.blog-meta span:last-child{display:none}.blog-card h2{font-size:13px}.blog-categories button{font-size:9px}.blog-hero h1{font-size:29px}.blog-hero-pills span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.blog-card,.blog-card-photo img,.blog-photo-shine,.blog-categories button{transition:none!important}}
/* Keep user-provided cover fully proportionate within individual articles. */
.blog-article-image img{height:auto;display:block;max-height:none}
@media(max-width:600px){html[lang="ur"] .blog-prose p{font-size:14px;line-height:2.8}html[lang="ur"] .blog-root .blog-article-summary{font-size:13px;line-height:2.55}html[lang="ur"] .blog-card .blog-excerpt{font-size:10.4px}}
