/* Scoped homepage upgrade. Brand tokens and fonts remain owned by the Pajhwok theme. */
.pj-brief-editorial{grid-template-columns:minmax(0,1fr);align-items:start;min-width:0}
.pj-brief-editorial.pj-brief-with-aside{grid-template-columns:minmax(0,1fr) 340px}
.pj-mostread{min-width:0;border-block-start:3px solid var(--navy);padding:24px;background:var(--bg-2);color:var(--ink);border-radius:3px}
.pj-mostread-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:24px}
.pj-mostread-heading h2{font-size:clamp(27px,2.8vw,36px);margin-block-start:6px}
.pj-mostread-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:start}
.pj-mostread-lead{min-width:0;display:flex;flex-direction:column;gap:15px}
.pj-mostread-image{display:block;position:relative;min-width:0}
.pj-mostread-image>.pic{aspect-ratio:16/10;border-radius:3px}
.pj-mostread-image>.pj-rank{position:absolute;inset-inline-start:12px;inset-block-end:12px;background:var(--navy-2);color:#fff;padding:5px 9px;font-size:16px}
.pj-mostread-lead-copy{display:flex;flex-direction:column;gap:10px;min-width:0}
.pj-mostread-lead h3{font-size:clamp(21px,2vw,28px);line-height:1.32}
.pj-mostread-lead p{margin:0;color:var(--ink-2);font-size:14px;line-height:1.7}
.pj-mostread-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
.pj-mostread-meta .mono{font-size:11px;line-height:1.6}
.pj-mostread-list{display:flex;flex-direction:column;list-style:none;margin:0;padding:0;min-width:0}
.pj-mostread-list>li{display:grid;grid-template-columns:28px minmax(0,1fr) 88px;gap:12px;align-items:start;padding-block:16px;border-block-start:1px solid var(--line-2);min-width:0}
.pj-mostread-list>li:first-child{padding-block-start:0;border-block-start:0}
.pj-rank{font-family:inherit;font-variant-numeric:tabular-nums;font-size:19px;font-weight:700;line-height:1.5;color:var(--navy)}
.pj-mostread-item-copy{display:flex;flex-direction:column;gap:9px;min-width:0}
.pj-mostread-list h3{font-size:clamp(17px,1.5vw,21px);line-height:1.4}
.pj-mostread-thumb{display:block;min-width:0}
.pj-mostread-thumb>.pic{aspect-ratio:3/2;border-radius:2px}
.pj-mostread-single{grid-template-columns:minmax(0,1fr)}
.pj-mostread-single .pj-mostread-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}
.pj-mostread-footer{border-block-start:1px solid var(--line);padding-block-start:15px;margin-block-start:18px}
.pj-mostread-footer a{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-weight:700;font-size:13px}
.pj-mostread-footer svg{width:18px;height:18px}
.pj-narration-pick{display:inline-flex;align-items:center;gap:7px;border:0;padding:5px 0;background:transparent;font:inherit;font-size:12px;font-weight:700;color:var(--navy);text-align:start;cursor:pointer;min-height:32px;max-width:100%;line-height:1.5}
.pj-narration-pick[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}
.pj-narration-pick>span:first-child{font-size:11px}
.pj-narration-player{margin-block-start:20px;padding:16px;background:var(--bg);border:1px solid var(--line-2);border-radius:3px;min-width:0}
.pj-narration-current{display:grid;grid-template-columns:auto minmax(0,1fr) 32px;gap:12px;align-items:center;margin-block-end:10px;font-size:13px}
.pj-narration-current strong{font-weight:600;line-height:1.5}
.pj-narration-close{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line-2);border-radius:50%;background:var(--bg);color:var(--ink);font:inherit;font-size:23px;cursor:pointer}
.pj-narration-player audio{display:block;width:100%;height:42px;max-width:100%}
.pj-narration-status{color:var(--ink-2);font-size:13px;line-height:1.6;margin:8px 0 0}
.pj-narration-status:empty{display:none}
.pj-device-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--ink-2)}
.pj-device-controls .btn{background:var(--bg);color:var(--navy);font:inherit;cursor:pointer}
.pj-mostread [hidden]{display:none!important}
.pj-editorial-videos{background:linear-gradient(115deg,#101d37,var(--navy-2));padding-block:48px}
.pj-editorial-videos .video.pj-v2{column-gap:28px}
.pj-editorial-videos .pj-vlede h2{font-size:clamp(28px,3vw,40px)}
.pj-editorial-videos .player{aspect-ratio:16/9;border-radius:3px;background:#080e1c}
.pj-editorial-videos .pj-vside .vlist{padding-inline:1px;container-type:normal;scroll-snap-type:y proximity}
.pj-editorial-videos .pj-vside .vlist li{flex:0 0 auto;min-height:102px}
.pj-editorial-videos .pj-vside .vlist a{grid-template-columns:132px minmax(0,1fr);gap:14px;padding-block:12px}
.pj-editorial-videos .pj-vside .vlist h3{font-family:inherit;font-size:14px;font-weight:600;line-height:1.6}
.pj-editorial-videos .pj-vside .vlist .pic{aspect-ratio:16/9;border-radius:2px}
.pj-editorial-videos .pj-vhead{flex-wrap:wrap;gap:10px}
.pj-editorial-videos .pj-vhead .btn{font-size:12px;height:36px;padding-inline:12px}
.pj-editorial-videos .pj-vmain .vinfo{gap:8px}
.pj-editorial-videos .pj-vmain .vinfo h3{font-size:clamp(21px,2.3vw,30px);line-height:1.35}
.pj-video-selected{display:inline-flex;align-items:center;gap:7px;color:#c5d4f4;font-size:11px;font-weight:700;line-height:1.5}
.pj-video-selected::before{content:"";width:6px;height:6px;background:#c5d4f4;border-radius:50%;flex:none}
.pj-editorial-videos .pj-video-status{margin:0;color:#dbe5fa;font-size:12px;line-height:1.6}
.pj-editorial-videos .pj-video-status[hidden]{display:none}
.pj-editorial-videos :focus-visible{outline-color:#dbe5fa;outline-offset:4px}
.pj-editorial-videos .player[aria-busy=true]::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.15);pointer-events:none}
.pj-editorial-shorts{background:var(--bg-2);padding-block:42px;border-block-end:1px solid var(--line);min-width:0}
.pj-editorial-shorts .lede{margin-block-end:24px;gap:16px}
.pj-editorial-shorts .lede h2{font-size:clamp(28px,2.8vw,38px)}
.pj-short-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pj-editorial-shorts .shorts{display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;max-width:100%;margin:0;padding:2px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-inline:contain}
.pj-editorial-shorts .short{flex:0 0 calc((100% - 80px)/6);min-width:158px;scroll-snap-align:start;border-radius:3px}
.pj-editorial-shorts .short .pic{aspect-ratio:9/16}
.pj-editorial-shorts .short .pic::after{background:linear-gradient(180deg,rgba(0,0,0,.08) 22%,rgba(3,10,25,.82) 72%,rgba(3,10,25,.95))}
.pj-editorial-shorts .short::after{content:"\25b6\fe0e";position:absolute;inset-block-start:13px;inset-inline-end:13px;font-size:12px;color:#fff;width:27px;height:27px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(8,14,32,.45)}
.pj-editorial-shorts .short .t{padding:12px}
.pj-editorial-shorts .short .t h3{font-family:inherit;font-weight:700;font-size:14px;line-height:1.6;color:#fff;overflow-wrap:anywhere}
.pj-editorial-shorts .short .dur{inset-inline-start:10px;inset-inline-end:auto;top:12px}
.pj-editorial-features{padding-block:48px}
.pj-editorial-features .lede h2{font-size:clamp(29px,3.1vw,42px)}
.pj-features-shell{min-width:0}
.pj-features-with-aside{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.pj-features-content{min-width:0}
.pj-features-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}
.pj-feature-lead{display:flex;flex-direction:column;gap:19px;min-width:0}
.pj-feature-image{display:block;min-width:0;overflow:hidden;border-radius:3px}
.pj-feature-image>.pic{aspect-ratio:3/2;border-radius:0}
.pj-feature-image.pj-feature-mosaic{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:6px;aspect-ratio:3/2}
.pj-feature-mosaic>.pic{aspect-ratio:auto;min-width:0;min-height:0;height:100%}
.pj-feature-mosaic>.pic:first-child{grid-row:1/3}
.pj-feature-layout-squares .pj-feature-mosaic{aspect-ratio:1/1;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.pj-feature-layout-squares .pj-feature-mosaic>.pic:first-child{grid-row:auto;grid-column:1/-1}
.pj-feature-copy{display:flex;flex-direction:column;gap:13px;min-width:0}
.pj-feature-copy h3{font-size:clamp(24px,2.4vw,34px);line-height:1.3}
.pj-feature-copy p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.75}
.pj-feature-copy .by{font-size:12px;line-height:1.7;margin-block-start:2px}
.pj-feature-copy .mono{font-size:11px}
.pj-feature-supporting{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;align-content:start}
.pj-feature-card{display:flex;flex-direction:column;gap:10px;min-width:0}
.pj-feature-card-image{display:block;min-width:0}
.pj-feature-card-image>.pic{aspect-ratio:3/2;border-radius:2px}
.pj-feature-card>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.pj-feature-card :is(h3,h4){font-size:clamp(18px,1.55vw,22px);line-height:1.4}
.pj-features-count-1 .pj-feature-supporting{grid-template-columns:minmax(0,1fr)}
.pj-features-count-1 .pj-feature-card h3{font-size:clamp(22px,2.1vw,28px)}
.pj-features-single{grid-template-columns:minmax(0,1fr)}
.pj-features-single .pj-feature-lead{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:center}
.pj-feature-more{border-block-start:1px solid var(--line);padding-block-start:24px;margin-block-start:30px}
.pj-feature-more .sechd h3{font-family:inherit;font-size:14px;font-weight:700;line-height:1.5}
.pj-feature-more-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}
.pj-feature-aside{max-width:300px;min-width:0;align-self:start}
.pj-feature-aside>.ad{min-height:600px;max-width:300px}
.pj-features-with-aside .pj-features-grid{grid-template-columns:minmax(0,1fr)}
.pj-features-with-aside .pj-feature-supporting{grid-template-columns:repeat(2,minmax(0,1fr))}
.pj-features-with-aside .pj-feature-lead{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}
.pj-features-with-aside .pj-feature-copy h3{font-size:clamp(22px,2vw,29px)}
.pj-features-with-aside .pj-feature-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
:is(.pj-mostread,.pj-editorial-features) h3 a:hover,.pj-feature-card h4 a:hover,.pj-stv-txt h2 a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
:is(.pj-mostread,.pj-editorial-features,.pj-editorial-shorts) a:focus-visible{outline:2px solid var(--navy);outline-offset:4px;border-radius:2px}
:is(.pj-mostread,.pj-editorial-videos,.pj-editorial-shorts,.pj-editorial-features) :is(h2,h3,h4,p,strong){overflow-wrap:anywhere}
[dir=rtl] :is(.pj-mostread,.pj-editorial-features) h3{line-height:1.6}
[dir=rtl] .pj-mostread-heading .k,[dir=rtl] .pj-editorial-shorts .k{letter-spacing:0}
[dir=rtl] .pj-short-actions .pj-scrollbtns svg{transform:scaleX(-1)}
@media(min-width:1101px){
.pj-editorial-videos .pj-vside .vlist{height:100%;max-height:600px;align-self:stretch}
.pj-brief-with-aside .pj-mostread-grid{grid-template-columns:minmax(0,1fr)}
.pj-brief-with-aside .pj-mostread-lead{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px}
}
@media(max-width:1100px){
.pj-brief-editorial.pj-brief-with-aside{grid-template-columns:minmax(0,1fr)}
.pj-editorial-videos .pj-vside .vlist{height:auto;max-height:340px}
.pj-editorial-videos .pj-vside .vlist li{min-height:0}
.pj-features-with-aside{grid-template-columns:minmax(0,1fr)}
.pj-feature-aside{display:none}
.pj-feature-aside-widgets{display:block;width:100%;max-width:none}
.pj-feature-aside-widgets .pj-wz{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:28px;align-items:start}
.pj-features-with-aside .pj-features-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.pj-features-with-aside .pj-feature-lead{display:flex}
.pj-editorial-shorts .short{flex-basis:calc((100% - 48px)/4)}
}
@media(max-width:760px){
.pj-mostread{padding:20px 16px}
.pj-mostread-heading{align-items:flex-start;flex-wrap:wrap;margin-block-end:18px}
.pj-mostread-grid,.pj-mostread-single .pj-mostread-lead{grid-template-columns:minmax(0,1fr)}
.pj-mostread-list>li{grid-template-columns:28px minmax(0,1fr) 80px;gap:10px}
.pj-mostread-list>li:first-child{padding-block-start:16px;border-block-start:1px solid var(--line-2)}
.pj-editorial-videos,.pj-editorial-features{padding-block:34px}
.pj-editorial-videos .pj-vside .vlist a{grid-template-columns:112px minmax(0,1fr)}
.pj-editorial-videos .pj-vlede{margin-block-end:20px!important}
.pj-editorial-shorts{padding-block:32px}
.pj-editorial-shorts .short{flex-basis:calc((100% - 32px)/3);min-width:155px}
.pj-features-grid,.pj-features-with-aside .pj-features-grid,.pj-features-single .pj-feature-lead{grid-template-columns:minmax(0,1fr)}
.pj-feature-supporting{border-block-start:1px solid var(--line);padding-block-start:22px}
.pj-feature-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pj-feature-copy h3{font-size:27px}
.pj-features-count-1 .pj-feature-supporting{grid-template-columns:minmax(0,1fr)}
.pj-features-count-1 .pj-feature-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px}
.pj-features-count-1 .pj-feature-card h3{font-size:21px}
}
@media(max-width:430px){
.pj-mostread-list>li{grid-template-columns:24px minmax(0,1fr) 64px;gap:8px}
.pj-mostread-list h3{font-size:17px}
.pj-rank{font-size:17px}
.pj-mostread-meta{gap:5px 8px}
.pj-mostread{padding:16px 12px}
.pj-mostread-heading h2{font-size:27px}
.pj-narration-current{grid-template-columns:minmax(0,1fr) 30px;gap:7px}
.pj-narration-current>.k{grid-column:1;grid-row:1}
.pj-narration-current>strong{grid-column:1;grid-row:2}
.pj-narration-close{grid-column:2;grid-row:1/3}
.pj-editorial-videos .pj-vside .vlist a{grid-template-columns:92px minmax(0,1fr);gap:10px}
.pj-editorial-videos .pj-vside .vlist h3{font-size:13px}
.pj-editorial-videos .play b{width:58px;height:58px}
.pj-feature-supporting,.pj-feature-more-grid{gap:22px 14px}
.pj-feature-card :is(h3,h4){font-size:17px}
.pj-feature-copy h3{font-size:25px}
.pj-editorial-shorts .short{flex-basis:65%;min-width:0;max-width:205px}
.pj-short-actions .btn{white-space:normal;height:auto;min-height:40px;padding-block:7px}
}
@media(prefers-reduced-motion:reduce){
:is(.pj-mostread,.pj-editorial-videos,.pj-editorial-shorts,.pj-editorial-features) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
:is(.pj-mostread,.pj-editorial-videos,.pj-editorial-shorts,.pj-editorial-features) a:hover .pic img{transform:none}
}
