/* 2.9.42. Scoped to the market updates page, no global theme overrides. */
.kn-market-page{direction:rtl;max-width:1200px!important;padding:22px 15px 65px}
.kn-market-hero{display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;min-height:225px;padding:30px 42px;margin:0 0 20px;border-radius:14px;background:radial-gradient(ellipse at 65% 20%,#245e7b77,transparent 45%),linear-gradient(115deg,#07192e,#18354e 68%,#07192e);color:#fff;box-shadow:0 6px 18px #112a4226}
.kn-market-hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(100deg,transparent 0 49px,#ffffff07 50px 51px);pointer-events:none}
.kn-market-hero-copy{z-index:1;max-width:650px}
.kn-market-hero-kicker{font-size:13px;color:#e9bd57;font-weight:700}
.kn-market-hero h1{font-size:clamp(32px,4vw,53px);line-height:1.7;color:#fff!important;margin:0;font-weight:900}
.kn-market-hero p{font-size:clamp(14px,1.6vw,19px);color:#e4edf6;margin:0;line-height:2}
.kn-market-hero-art{display:flex;align-items:end;position:relative;flex:0 0 39%;height:180px;direction:ltr}
.kn-market-hero-art img:first-child{position:absolute;width:70%;height:180px;object-fit:contain;left:26%;top:0;filter:drop-shadow(0 9px 8px #0008)}
.kn-market-hero-art img:last-child{position:absolute;width:58%;height:135px;object-fit:contain;left:0;bottom:-8px;filter:drop-shadow(0 7px 7px #0008)}
.kn-market-status{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eef4fa;border:1px solid #d9e5f0;border-radius:12px;padding:12px 18px;margin-bottom:20px;font-size:14px;color:#334e69}
.kn-market-reload{border:1px solid #c8d9e8;border-radius:9px;background:#fff;color:#13588e;padding:8px 14px;font:inherit;cursor:pointer;white-space:nowrap}
.kn-market-reload:hover{background:#e2effa}
.kn-market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.kn-market-card{min-width:0;overflow:hidden;border-radius:15px;border:1px solid #dfe5ed;background:white;box-shadow:0 6px 20px #102b4c1c}
.kn-market-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:156px;padding:14px 22px;background:linear-gradient(110deg,#14395e,#0b284a);color:#fff}
.kn-market-head>div{min-width:0;flex:1}
.kn-market-head span{font-size:13px;font-weight:600}
.kn-market-head h2{font-size:clamp(19px,2.3vw,29px);line-height:1.8;color:inherit!important;font-weight:900;margin:2px 0 0}
.kn-market-head small{font-size:12px;opacity:.85}
.kn-market-head img{width:42%;max-width:190px;height:128px;object-fit:contain;flex:none;filter:drop-shadow(0 8px 7px #0005)}
.kn-market-gold .kn-market-head{background:linear-gradient(115deg,#d99c16,#f6d572,#d6a225);color:#241900}
.kn-market-silver .kn-market-head{background:linear-gradient(115deg,#3a4c61,#8295a9,#536a80);color:#fff}
.kn-market-currency .kn-market-head{background:linear-gradient(115deg,#073d8c,#1161bb)}
.kn-market-other .kn-market-head{background:linear-gradient(115deg,#087b80,#0c9b9c)}
.kn-market-currency-mark,.kn-market-oil-mark{font:800 70px/1 Arial,sans-serif;opacity:.25}
.kn-market-rows{padding:12px 16px 18px}
.kn-market-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 12px;border-bottom:1px solid #e5e9ee;font-size:15px;min-height:56px}
.kn-market-row:nth-child(odd){background:#f7f9fc;border-radius:8px}
.kn-market-label{color:#26394d;font-weight:600}
.kn-market-value{font:800 clamp(16px,1.7vw,22px)/1.6 Tahoma,Arial,sans-serif;direction:ltr;white-space:nowrap;color:#173c65}
.kn-market-gold .kn-market-value{color:#9a6400}
.kn-market-silver .kn-market-value{color:#39566e}
.kn-market-currency .kn-market-value{color:#076c47}
.kn-market-loading,.kn-market-unavailable{padding:18px 6px;font-size:15px;color:#67798b}
.kn-market-disclaimer{font-size:13px;color:#647486;line-height:2;margin:20px 0}
@media(max-width:760px){.kn-market-grid{grid-template-columns:1fr}.kn-market-hero{padding:24px;min-height:175px}.kn-market-hero-art{height:140px}.kn-market-hero-art img:first-child{height:140px}.kn-market-hero-art img:last-child{height:110px}.kn-market-head{min-height:135px}}
@media(max-width:500px){.kn-market-page{padding:12px 10px 45px}.kn-market-hero{padding:19px;min-height:155px}.kn-market-hero-copy{max-width:65%}.kn-market-hero-art{flex-basis:34%;height:115px}.kn-market-hero-art img:first-child{height:110px}.kn-market-hero-art img:last-child{height:90px}.kn-market-hero h1{font-size:28px}.kn-market-hero p{font-size:12px}.kn-market-head{padding:12px 15px;min-height:115px}.kn-market-head img{height:105px}.kn-market-row{font-size:13px}.kn-market-value{font-size:16px}.kn-market-status{font-size:12px;padding:9px 11px}}

/* 2.9.45: tighter card rhythm on desktop and mobile */
.kn-market-grid{gap:16px}.kn-market-head{min-height:128px}.kn-market-head img{height:108px}.kn-market-row{min-height:48px;padding:10px 12px}.kn-market-rows{padding:8px 13px 13px}
@media(max-width:500px){.kn-market-head{min-height:105px}.kn-market-head img{height:90px}.kn-market-row{min-height:45px;padding:9px}}

/* v2.9.46: normal theme sidebar and compact two-column content */
.kn-market-shell{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start;padding-top:22px;padding-bottom:40px;max-width:1250px;margin-inline:auto}
.kn-market-shell>.kn-market-page{width:100%;max-width:none!important;min-width:0;padding:0}
.kn-market-shell>.kn-market-sidebar{min-width:0}
.kn-market-shell>.kn-market-sidebar .sidebar{width:100%;max-width:100%;float:none;position:static;margin:0}
.kn-market-shell .kn-market-grid{gap:16px}
.kn-market-shell .kn-market-head{min-height:122px;padding:12px 16px}
.kn-market-shell .kn-market-head img{height:100px}
.kn-market-shell .kn-market-hero{min-height:185px;padding:22px 26px}
.kn-market-shell .kn-market-hero-art{height:145px}
.kn-market-shell .kn-market-row{padding:10px 8px;font-size:13px}
.kn-market-shell .kn-market-value{font-size:16px}
@media(max-width:980px){.kn-market-shell{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.kn-market-shell .kn-market-grid{grid-template-columns:1fr}}
@media(max-width:700px){.kn-market-shell{display:block;padding:12px 12px 30px}.kn-market-shell>.kn-market-sidebar{margin-top:25px}.kn-market-shell .kn-market-grid{grid-template-columns:1fr}}

/* v2.9.47: advertisement sidebar, without the general news sidebar */
.kn-market-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;direction:rtl;max-width:1200px;margin-inline:auto}
.kn-market-shell .kn-market-page{min-width:0;width:100%;padding-inline:0}
.kn-market-sidebar{min-width:0;padding-top:22px}
.kn-market-sidebar .ad-area,.kn-market-sidebar .ad-widget{max-width:100%;box-sizing:border-box}
.kn-market-sidebar img{max-width:100%;height:auto;display:block}
@media(max-width:900px){.kn-market-shell{grid-template-columns:minmax(0,1fr)}.kn-market-sidebar{padding-top:0}}

/* 2.9.48: retain advertisement images in widget columns */
.kn-market-sidebar .widget,.kn-market-sidebar .ad-widget,.kn-market-sidebar .wp-block-image{max-width:100%;margin:0 0 18px}
.kn-market-sidebar img{display:block;max-width:100%;height:auto;object-fit:contain;border-radius:9px}
.kn-market-sidebar .widget-title{margin:0 0 10px}
.kn-market-rows{direction:ltr}
.kn-market-row{direction:ltr;text-align:left}
.kn-market-label{text-align:left}
.kn-market-disclaimer{direction:ltr;text-align:left}

/* Market 2.9.49: premium readable English rate rows and ad-only sidebar */
.kn-market-page .kn-market-row{font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;line-height:1.5!important;min-height:64px}
.kn-market-page .kn-market-label{font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;font-weight:700!important;letter-spacing:.05px;color:#263849}
.kn-market-page .kn-market-value{font-family:Arial,Helvetica,sans-serif!important;font-size:20px!important;font-weight:800!important;letter-spacing:.1px}
.kn-market-page .kn-market-gold .kn-market-value{color:#9c6300}
.kn-market-page .kn-market-rows{padding:12px}
.kn-market-sidebar{min-width:0}
.kn-market-sidebar .widget,.kn-market-sidebar .ad-widget,.kn-market-sidebar .wp-block-image{margin-bottom:16px}
.kn-market-sidebar img{max-width:100%;height:auto;display:block;border-radius:10px}
.kn-market-ad-admin-note{padding:14px;border:1px dashed #c9d5e1;border-radius:8px;background:#f8fafc;color:#566679;font:14px/1.8 Arial,sans-serif}
@media(max-width:650px){.kn-market-page .kn-market-row{font-size:14px!important;min-height:56px}.kn-market-page .kn-market-label{font-size:14px!important}.kn-market-page .kn-market-value{font-size:17px!important}}

.kn-market-page .kn-market-extra[hidden]{display:none!important}
.kn-market-expand{display:block;width:100%;padding:12px 14px;margin-top:9px;border:1px solid #d5e0eb;border-radius:9px;background:#f1f6fb;color:#174d7c;font:700 15px Arial,sans-serif;cursor:pointer;text-align:center}
.kn-market-expand:hover,.kn-market-expand:focus-visible{background:#e3effa}

/* 2.9.53: dedicated full-width market page */
body.page-template-page-market-updates .kn-market-shell{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:1440px!important;margin-inline:auto!important;padding-inline:clamp(12px,2.5vw,36px)!important;box-sizing:border-box!important}
body.page-template-page-market-updates .kn-market-shell>.kn-market-page{width:100%!important;max-width:100%!important}
body.page-template-page-market-updates .kn-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){body.page-template-page-market-updates .kn-market-grid{grid-template-columns:minmax(0,1fr)}}

/* 2.9.54: advertisements inside full-width market content, no desktop sidebar */
body.page-template-page-market-updates .kn-market-inline-ads{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin:25px 0;align-items:start}
body.page-template-page-market-updates .kn-market-inline-ads .ad-widget{margin:0;min-width:0;max-width:100%;overflow:hidden;text-align:center}
body.page-template-page-market-updates .kn-market-inline-ads img,body.page-template-page-market-updates .kn-market-inline-ads iframe{max-width:100%;height:auto}
@media(max-width:700px){body.page-template-page-market-updates .kn-market-inline-ads{grid-template-columns:1fr}}

/* 2.9.55: accessible market tabs */
.kn-market-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.kn-market-tab{border:1px solid #cbd8e4;background:#f4f7fa;color:#1b3a55;border-radius:10px;padding:11px 20px;font-size:15px;font-weight:700;cursor:pointer}
.kn-market-tab[aria-selected="true"]{background:#123e68;color:#fff;border-color:#123e68}
.kn-market-tab-panel[hidden]{display:none!important}

/* v2.9.57: refined responsive market tables, accessible tab presentation */
body.page-template-page-market-updates .kn-market-tabs{background:#edf3f8;padding:8px;border:1px solid #dce6ef;border-radius:14px;display:flex;gap:8px;direction:rtl}
body.page-template-page-market-updates .kn-market-tab{flex:1;min-width:145px;box-shadow:none;transition:background .15s ease,color .15s ease}
body.page-template-page-market-updates .kn-market-tab:focus-visible{outline:3px solid #e2ac38;outline-offset:2px}
body.page-template-page-market-updates .kn-market-card{overflow:hidden}
body.page-template-page-market-updates .kn-market-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 12px!important;min-height:58px}
body.page-template-page-market-updates .kn-market-label{min-width:0;overflow-wrap:anywhere;direction:rtl;text-align:right!important;font-family:Tahoma,Arial,sans-serif!important;font-weight:600!important}
body.page-template-page-market-updates .kn-market-value{white-space:nowrap;direction:ltr;text-align:left!important;font-variant-numeric:tabular-nums}
body.page-template-page-market-updates .kn-market-rows{direction:rtl!important}
body.page-template-page-market-updates .kn-market-status{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
body.page-template-page-market-updates .kn-market-reload:disabled{opacity:.55;cursor:wait}
@media(max-width:650px){
 body.page-template-page-market-updates .kn-market-tabs{flex-direction:column}
 body.page-template-page-market-updates .kn-market-tab{min-width:0;width:100%;flex:auto}
 body.page-template-page-market-updates .kn-market-row{gap:8px;padding:12px 8px!important}
 body.page-template-page-market-updates .kn-market-label{font-size:13px!important}
 body.page-template-page-market-updates .kn-market-value{font-size:15px!important}
}

/* 2.9.58 global indicators */
.kn-market-oil-note{margin:0 18px 20px;padding:12px 15px;border-radius:10px;background:#f2f5f9;color:#536475;font-size:14px;line-height:1.8;direction:rtl}
body.page-template-page-market-updates .kn-market-other .kn-market-value{color:#174e78!important}

/* v2.9.59 — Global indicator source time and compact mobile hierarchy */
body.page-template-page-market-updates [data-market="global"] .kn-market-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px}
body.page-template-page-market-updates .kn-market-source-time{grid-column:1/-1;font-size:12px;color:#5d7084;text-align:right;direction:rtl}
body.page-template-page-market-updates [data-market="global"] .kn-market-value{direction:ltr;font-variant-numeric:tabular-nums}
@media(max-width:480px){body.page-template-page-market-updates [data-market="global"] .kn-market-row{grid-template-columns:1fr;gap:3px}body.page-template-page-market-updates [data-market="global"] .kn-market-value{text-align:right!important}}

/* v2.9.60: accessible keyboard tabs and stronger dark-mode legibility */
body.page-template-page-market-updates .kn-market-tab[aria-selected="true"]{font-weight:800}
body.page-template-page-market-updates .kn-market-tab:focus-visible{outline:3px solid #dca42c;outline-offset:3px}
body.page-template-page-market-updates .kn-market-tab-panel[hidden],body.page-template-page-market-updates .kn-market-extra[hidden]{display:none!important}
body.page-template-page-market-updates .kn-market-row{color:#213449}
body.page-template-page-market-updates .kn-market-row .kn-market-label{color:#26384a!important;-webkit-text-fill-color:#26384a!important}
body.page-template-page-market-updates .kn-market-row .kn-market-value{opacity:1!important}
@media(prefers-reduced-motion:reduce){body.page-template-page-market-updates .kn-market-tab{transition:none!important}}

/* v2.9.61 — 30-day direction directly beside the rate */
body.page-template-page-market-updates .kn-market-value{display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
body.page-template-page-market-updates .kn-market-trend{font:700 12px/1.4 Arial,Tahoma,sans-serif;direction:ltr;white-space:nowrap;border-radius:20px;padding:4px 7px;display:inline-block}
body.page-template-page-market-updates .kn-market-trend-up{background:#e0f6e8;color:#08743b}
body.page-template-page-market-updates .kn-market-trend-down{background:#fde5e5;color:#b91c1c}
body.page-template-page-market-updates .kn-market-trend-flat{background:#e9eef2;color:#526170}
@media(max-width:450px){body.page-template-page-market-updates .kn-market-value{gap:5px}body.page-template-page-market-updates .kn-market-trend{font-size:11px;padding:3px 5px}}

/* v2.9.62: English-only market updates and 30-day indicators */
body.page-template-page-market-updates .kn-market-shell,body.page-template-page-market-updates .kn-market-page,body.page-template-page-market-updates .kn-market-rows{direction:ltr!important}
body.page-template-page-market-updates .kn-market-label{text-align:left!important;direction:ltr!important;font-family:Arial,sans-serif!important}
body.page-template-page-market-updates .kn-market-value{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;direction:ltr!important;text-align:right!important}
body.page-template-page-market-updates .kn-market-trend{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;direction:ltr!important}
body.page-template-page-market-updates .kn-market-row{direction:ltr!important}
body.page-template-page-market-updates .kn-market-tabs{direction:ltr!important}
@media(max-width:450px){body.page-template-page-market-updates .kn-market-row{align-items:flex-start!important}body.page-template-page-market-updates .kn-market-value{font-size:14px!important}}

/* 2.9.63: Urdu page layout with English numerical rate rows */
body.page-template-page-market-updates .kn-market-shell{direction:rtl!important}
body.page-template-page-market-updates .kn-market-hero-copy,body.page-template-page-market-updates .kn-market-head,body.page-template-page-market-updates .kn-market-status{direction:rtl;text-align:right}
body.page-template-page-market-updates .kn-market-row{direction:rtl}
body.page-template-page-market-updates .kn-market-label{direction:ltr;text-align:left!important;font-family:Arial,Tahoma,sans-serif!important}
body.page-template-page-market-updates .kn-market-value{direction:ltr;text-align:left!important}
body.page-template-page-market-updates .kn-market-trend{display:inline-block;direction:ltr;margin-inline-start:8px;white-space:nowrap}

/* v2.9.65: Pakistan fuel prices */
body.page-template-page-market-updates .kn-market-fuel .kn-market-head{background:linear-gradient(110deg,#254766,#146e7c);color:#fff}
body.page-template-page-market-updates .kn-market-fuel .kn-market-value{color:#0a6272}
body.page-template-page-market-updates .kn-market-fuel .kn-market-row{flex-wrap:wrap}
body.page-template-page-market-updates .kn-market-fuel .kn-market-source-time{width:100%;font-size:12px;color:#64748b}

/* v2.9.66: clearer petrol and diesel values on small screens */
body.page-template-page-market-updates .kn-market-fuel .kn-market-row{display:flex;align-items:center;gap:10px}
body.page-template-page-market-updates .kn-market-fuel .kn-market-value{font-variant-numeric:tabular-nums;font-weight:800}
body.page-template-page-market-updates .kn-market-fuel .kn-market-source-time{font-size:12px;line-height:1.6}
@media(max-width:480px){body.page-template-page-market-updates .kn-market-fuel .kn-market-row{gap:8px}}

/* v2.9.67: historical comparison on a separate full-width line */
body.page-template-page-market-updates .kn-market-fuel .kn-market-fuel-history{display:block;width:100%;font-size:12px;line-height:1.7;color:#475569;font-variant-numeric:tabular-nums}

.kn-market-fuel-credit{font-size:11px;color:#64748b;margin:10px 0 0}.kn-market-fuel-credit a{color:inherit;text-decoration:underline}

/* v2.9.80: compact fuel card when no verified records exist */
.kn-market-fuel{min-height:0!important;height:auto!important}
.kn-market-fuel .kn-market-rows{min-height:0!important;padding-bottom:8px}
.kn-market-fuel .kn-market-unavailable{margin:12px 0!important;padding:8px 0!important}
.kn-market-fuel-credit{display:none!important}

.kn-market-fuel-notification{display:inline-block;font-size:12px;color:#135e96;text-decoration:underline;overflow-wrap:anywhere}.kn-market-fuel-notification:hover{color:#0a3c68}

/* v2.9.89: prominent petrol/diesel labels and rates; discreet source link */
body.page-template-page-market-updates .kn-market-fuel .kn-market-label{font-size:clamp(17px,2vw,22px);font-weight:800;line-height:1.45}
body.page-template-page-market-updates .kn-market-fuel .kn-market-value{font-size:clamp(23px,2.7vw,32px);font-weight:900;line-height:1.3}
body.page-template-page-market-updates .kn-market-fuel .kn-market-fuel-notification{display:block;width:100%;font-size:10px;line-height:1.35;font-weight:400;opacity:.8;margin-top:1px}
@media(max-width:520px){body.page-template-page-market-updates .kn-market-fuel .kn-market-label{font-size:17px}body.page-template-page-market-updates .kn-market-fuel .kn-market-value{font-size:24px}}

/* v2.9.90: use stored effective date as a clearly readable footer line in fuel rows */
body.page-template-page-market-updates .kn-market-fuel .kn-market-fuel-effective{display:block;flex-basis:100%;width:100%;font-size:clamp(14px,1.6vw,17px);font-weight:700;line-height:1.55;color:#31536d;margin-top:7px;direction:ltr;text-align:left}
body.page-template-page-market-updates .kn-market-fuel .kn-market-fuel-notification{font-size:10px}

/* v2.10.22: Pakistan fuel movement against the previous verified effective rate.
   As requested: green for rise, red for fall. */
body.page-template-page-market-updates .kn-market-fuel .kn-fuel-price-direction{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 9px;font:700 13px/1.4 Arial,sans-serif;white-space:nowrap;direction:ltr}
body.page-template-page-market-updates .kn-market-fuel .kn-fuel-price-up{background:#dcfce7;color:#166534}
body.page-template-page-market-updates .kn-market-fuel .kn-fuel-price-down{background:#fee2e2;color:#991b1b}
body.page-template-page-market-updates .kn-market-fuel .kn-fuel-price-flat{background:#e2e8f0;color:#475569}
body.page-template-page-market-updates .kn-market-fuel .kn-fuel-price-no-baseline{font-size:11px;color:#64748b;width:100%}
@media(max-width:480px){body.page-template-page-market-updates .kn-market-fuel .kn-fuel-price-direction{font-size:12px;padding:4px 7px}}
