
/* Kahuta News v1.4.3: precisely centered trending ranks, light/night contrast */
body .knasc-trending ol{list-style:none!important;counter-reset:none;padding:0!important;margin:0!important}
body .knasc-trending li{display:flex!important;align-items:center!important;gap:11px!important;min-width:0}
body .knasc-trending li>b{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;text-align:center!important;vertical-align:middle!important;
 flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;
 min-height:32px!important;margin:0!important;padding:0!important;border-radius:50%!important;
 background:#c90b2c!important;color:#fff!important;
 font:800 14px/1 Arial,Helvetica,sans-serif!important;font-variant-numeric:tabular-nums!important;
 direction:ltr!important;letter-spacing:0!important;transform:none!important
}
body .knasc-trending li>a{min-width:0;flex:1 1 auto}
/* WordPress theme night mode is a body class, not a media-only setting. */
body.dark-mode{--knasc-night-surface:#232b36;--knasc-night-border:#465266;--knasc-night-text:#f2f5fb}
body.dark-mode main,body.dark-mode .site-main{color:#edf1f7}
body.dark-mode :is(.entry-title,.page-title,.archive-title,.section-title,.widget-title,
 .post-title,.card-title,.news-title,.knasc-trending h2,.knasc-video h2,
 .knasc-contact-info h2,.knasc-contact-hero h1,.knasc-contact-help strong){
 color:#f7f8fc!important;text-shadow:none!important
}
body.dark-mode :is(.entry-content,.entry-summary,.post-excerpt,.card-body,
 .news-card,.article-meta,.post-meta,.knasc-trending li a,.knasc-contact-urdu){
 color:#e5eaf3!important
}
body.dark-mode :is(.news-card,.post-card,.knasc-trending,.knasc-video,
 .knasc-contact-card,.knasc-contact-help>div,.sidebar .widget,.related,.article-card){
 background:var(--knasc-night-surface)!important;
 border-color:var(--knasc-night-border)!important;color:var(--knasc-night-text)!important
}
body.dark-mode .knasc-trending li{border-color:#465266!important}
body.dark-mode .knasc-trending li a{color:#f2f5fc!important}
body.dark-mode .knasc-trending li>b{background:#e51e41!important;color:#fff!important}
body.dark-mode :is(.knasc-contact-info h2,.knasc-contact-help span,
 .knasc-contact-muted,.knasc-phone-number,.knasc-contact-address,
 .knasc-contact-note){color:#edf1f7!important}
body.dark-mode .knasc-contact-role{background:#511d2b!important;color:#fff!important;border-color:#9d4054!important}
body.dark-mode .knasc-contact-phone-row{background:#303b4b!important;border-color:#536075!important}
body.dark-mode .knasc-contact-hero{background-color:#192332!important}
body.dark-mode .knasc-contact-hero :is(h1,p,span){color:#fff!important}
body.dark-mode .knasc-contact-help strong{background:#bb1531!important;color:#fff!important}
body.dark-mode :is(.entry-content a,.post-content a){color:#a9d4ff}
body.dark-mode :is(.entry-content a,.post-content a):hover{color:#fff}
body.dark-mode :is(input,textarea,select){background:#2b3543;color:#f4f6fb;border-color:#68758b}
body.dark-mode :is(input,textarea)::placeholder{color:#b6c2d3}
body.dark-mode .knasc-contact-btn,body.dark-mode .knasc-social-link{color:#fff!important}
@media(prefers-color-scheme:dark){
 body:not(.dark-mode){color-scheme:normal}
}
