/*
 * KhabarThali 6.23 — publication-wide editorial typography and read-state pass.
 * Additive layer: existing component and feature CSS remains loaded and intact.
 */
:root{
  --kt623-ink:#17191c;
  --kt623-muted:#667078;
  --kt623-line:#e2e4e7;
  --kt623-soft:#f7f5f1;
  --kt623-paper:#fff;
  --kt623-link:var(--kt-headline-color,#003f8f);
  --kt623-read:var(--kt-headline-visited,#c61f2f);
  --kt623-accent:var(--kt-red,#e6002c);
  --kt623-ui-size:var(--kt-ui-size,18px);
}

/* One Devanagari family everywhere. Keep SVG/icon rendering untouched. */
body.kbt6,
body.kbt6 :where(h1,h2,h3,h4,h5,h6,p,a,span,small,strong,b,em,time,label,button,input,select,textarea,option,li,blockquote,figcaption,summary){
  font-family:var(--kt-font-family,"Mukta","Noto Sans Devanagari","Nirmala UI",Mangal,sans-serif);
}
body.kbt6{font-size:var(--kt623-ui-size);color:var(--kt623-ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body.kbt6 p,body.kbt6 li{line-height:1.75}

/* Publication typography: compact but readable, closer to Nepali newsroom sites. */
.kt615-main-nav .kt-menu>li>a{font-size:15px!important;font-weight:700!important;line-height:1.25!important}
.kt615-topic-wrap a,.kt615-topic-wrap button{font-size:12.5px!important;font-weight:600!important}
.kt615-shell-top,.kt615-shell-top a{font-size:12.5px!important}
.kt615-publication-note strong{font-size:14px!important}.kt615-publication-note span{font-size:11.5px!important}

/* Site-wide headline colour and persistent read state. The JS layer mirrors :visited
   with a local read class so browser privacy restrictions do not make the state flaky. */
.kt618-feature h2 a,
.kt618-main-lead h3 a,
.kt618-category h3 a,
.kt618-category h4 a,
.kt618-must-read h3 a,
.kt618-province h3 a,
.kt618-province-links a,
.kt618-special h3 a,
.kt618-pulse li a,
.kt618-archive-lead h2 a,
.kt618-archive-item h2 a,
.kt-news-grid .kt-card h3 a,
.kt-ref-sidebar h3 a,
.kt-ref-sidebar h4 a,
.kt-post-navigation strong,
.kt-ref-post-nav strong{
  color:var(--kt623-link)!important;
  text-decoration:none!important;
  transition:color .16s ease,opacity .16s ease;
}
.kt618-feature h2 a:visited,
.kt618-main-lead h3 a:visited,
.kt618-category h3 a:visited,
.kt618-category h4 a:visited,
.kt618-must-read h3 a:visited,
.kt618-province h3 a:visited,
.kt618-province-links a:visited,
.kt618-special h3 a:visited,
.kt618-pulse li a:visited,
.kt618-archive-lead h2 a:visited,
.kt618-archive-item h2 a:visited,
.kt-news-grid .kt-card h3 a:visited,
.kt-ref-sidebar h3 a:visited,
.kt-ref-sidebar h4 a:visited,
.is-read-headline{
  color:var(--kt623-read)!important;
}
.kt618-feature h2 a:hover,
.kt618-main-lead h3 a:hover,
.kt618-category h3 a:hover,
.kt618-category h4 a:hover,
.kt618-archive-lead h2 a:hover,
.kt618-archive-item h2 a:hover,
.kt-news-grid .kt-card h3 a:hover,
.kt618-feature h2 a:focus-visible,
.kt618-main-lead h3 a:focus-visible,
.kt618-category h3 a:focus-visible,
.kt618-category h4 a:focus-visible,
.kt618-archive-lead h2 a:focus-visible,
.kt618-archive-item h2 a:focus-visible{
  color:var(--kt623-read)!important;
}

/* Clear tactile feedback before navigation. */
.kt618-feature a:active,.kt618-category a:active,.kt618-main-news a:active,.kt618-archive a:active,.kt-news-grid a:active{opacity:.68;transform:translateY(1px)}

/* Category / archive title = Category name ______ News. */
.kt618-archive-head{padding:28px clamp(18px,3vw,38px) 23px!important;background:var(--kt-category-panel-bg,var(--kt623-soft))!important}
.kt618-archive-title-row{grid-template-columns:auto minmax(72px,1fr) auto!important;gap:16px!important}
.kt618-archive-title-row h1{font-size:clamp(38px,4vw,58px)!important;line-height:1.08!important;font-weight:800!important;letter-spacing:-.035em!important}
.kt618-archive-title-row span{height:1px!important;background:color-mix(in srgb,var(--kt-category-accent,var(--kt623-accent)) 50%,var(--kt623-line))!important}
.kt618-archive-title-row b{font-size:12px!important;letter-spacing:.1em!important;color:var(--kt-category-accent,var(--kt623-accent))!important}
.kt618-archive-head>p:last-child{font-size:16px!important;line-height:1.7!important;max-width:920px!important}
.kt618-archive-body{padding:30px clamp(18px,3vw,38px) 40px!important}
.kt618-archive-lead{gap:30px!important;padding-bottom:30px!important;margin-bottom:28px!important}
.kt618-archive-lead h2{font-size:clamp(34px,3.2vw,48px)!important;line-height:1.22!important;font-weight:800!important;letter-spacing:-.025em!important}
.kt618-archive-lead p{font-size:18px!important;line-height:1.75!important}
.kt618-archive-item{gap:24px!important;padding:22px 0!important}
.kt618-archive-item h2{font-size:26px!important;line-height:1.35!important;font-weight:750!important}
.kt618-archive-item p{font-size:16px!important;line-height:1.7!important}
.kt618-meta{font-size:12px!important}

/* Homepage desk headings: consistent Category name ______ NEWS language. */
.kt618-section-title{align-items:center!important;margin-bottom:20px!important}
.kt618-section-rule{display:grid!important;grid-template-columns:auto minmax(40px,1fr) auto!important;align-items:center!important;gap:14px!important;width:100%!important}
.kt618-section-rule h2{font-size:clamp(30px,2.6vw,42px)!important;line-height:1.12!important;font-weight:800!important;letter-spacing:-.025em!important}
.kt618-section-rule span{height:1px!important;background:color-mix(in srgb,var(--kt-category-accent,var(--kt623-accent)) 38%,var(--kt623-line))!important}
.kt618-section-rule small{font-size:11px!important;font-weight:800!important;letter-spacing:.11em!important;text-transform:uppercase!important;color:var(--kt-category-accent,var(--kt623-accent))!important}
.kt618-section-title>a{font-size:13px!important;font-weight:700!important}

/* Selected desks remain visually distinct but use only site palette/tint variables. */
.kt618-category{border-top:1px solid color-mix(in srgb,var(--kt-category-accent) 22%,var(--kt623-line))!important;border-bottom:1px solid color-mix(in srgb,var(--kt-category-accent) 18%,var(--kt623-line))!important;padding:30px clamp(18px,2.4vw,32px)!important;margin:18px calc(clamp(18px,2.4vw,32px) * -1)!important}
.kt618-category.is-variant-0{background:var(--kt-category-tint-1,#fff8f0)!important}
.kt618-category.is-variant-1{background:var(--kt-category-tint-2,#f2f7ff)!important}
.kt618-category.is-variant-2{background:var(--kt-category-tint-3,#f1fbf5)!important}
.kt618-category.is-variant-3{background:var(--kt-category-tint-4,#fff3f6)!important}
.kt618-category.is-variant-4{background:var(--kt-category-tint-5,#f7f3ff)!important}
.kt618-category.is-variant-5{background:var(--kt-category-tint-6,#fffbe8)!important}
.kt618-category-lead h3{font-size:clamp(32px,3vw,45px)!important;line-height:1.22!important;font-weight:800!important;letter-spacing:-.025em!important}
.kt618-category-lead p{font-size:17px!important;line-height:1.7!important;color:var(--kt623-muted)!important}
.kt618-news-list h4{font-size:18px!important;line-height:1.45!important;font-weight:700!important}
.kt618-news-list small{font-size:11.5px!important}

/* Lead stream. */
.kt618-feature h2{font-size:clamp(42px,5vw,70px)!important;line-height:1.12!important;font-weight:800!important;letter-spacing:-.035em!important}
.kt618-feature .kt618-meta{font-size:12px!important}
.kt618-main-lead h3{font-size:clamp(34px,3.4vw,50px)!important;line-height:1.2!important;font-weight:800!important}
.kt618-main-lead p{font-size:17px!important}
.kt618-pulse li>a{font-size:17px!important;line-height:1.45!important;font-weight:650!important}
.kt618-pulse time{font-size:12px!important}

/* Static pages / author / search / single article share the same editorial scale. */
.kt-page{font-size:18px!important}
.kt-page-header h1{font-size:clamp(40px,4vw,56px)!important;line-height:1.12!important;font-weight:800!important;letter-spacing:-.03em!important}
.kt-page-header p{font-size:18px!important;line-height:1.7!important}
.kt-page-content,.kt-page .kt-article-body{font-size:var(--kt-body-size,18px)!important;line-height:1.9!important}
.kt-author-profile h1{font-size:clamp(38px,3.8vw,54px)!important;line-height:1.15!important;font-weight:800!important}
.kt-author-profile p,.kt-author-profile span,.kt-author-profile a{font-size:16px!important}
.kt-news-grid .kt-card h3{font-size:22px!important;line-height:1.4!important;font-weight:750!important}

.kt-ref-article-header h1{font-family:var(--kt-font-family)!important;font-size:clamp(44px,4.6vw,66px)!important;line-height:1.14!important;font-weight:800!important;letter-spacing:-.035em!important}
.kt-ref-deck{font-size:20px!important;line-height:1.65!important}
.kt-ref-article-meta{font-size:13px!important}
.kt-ref-author-name,.kt-ref-author-name a{font-size:19px!important;font-weight:800!important}
.kt-ref-article-body{font-family:var(--kt-font-family)!important;font-size:var(--kt-body-size,18px)!important;line-height:1.95!important}
.kt-ref-article-body :where(p,li){font-size:inherit!important;line-height:inherit!important}
.kt-ref-sidebar h2,.kt-ref-sidebar h3{font-family:var(--kt-font-family)!important}

/* Footer = same font, larger touch/read size. */
.kt615-footer{font-family:var(--kt-font-family)!important}
.kt615-footer h3,.kt615-footer h4{font-size:20px!important;font-weight:800!important}
.kt615-footer p,.kt615-footer a,.kt615-footer li{font-size:15px!important;line-height:1.65!important}

/* Rendering performance without deleting any feature/code: defer below-fold paint. */
.kt618-category,.kt618-special,.kt618-photo,.kt618-video,.kt618-reader,.kt618-province,.kt618-must-read{content-visibility:auto;contain-intrinsic-size:auto 760px}

html[data-theme="dark"]{
  --kt623-ink:#f5f7f8;--kt623-muted:#aeb7bd;--kt623-line:#26343c;--kt623-paper:#0c151b;--kt623-soft:#111d24;
}
html[data-theme="dark"] .kt618-category{border-color:#26343c!important}

@media(max-width:1100px){
  body.kbt6{font-size:17px}
  .kt615-main-nav .kt-menu>li>a{font-size:14px!important}
  .kt618-feature h2{font-size:clamp(34px,8.6vw,48px)!important;line-height:1.24!important}
  .kt618-category{margin-inline:-16px!important;padding-inline:16px!important}
  .kt618-category-lead h3,.kt618-main-lead h3{font-size:clamp(29px,7.3vw,39px)!important;line-height:1.28!important}
  .kt618-news-list h4{font-size:16.5px!important}
  .kt618-archive-head{padding:24px 18px 20px!important}
  .kt618-archive-body{padding:22px 18px 34px!important}
  .kt618-archive-title-row h1{font-size:clamp(34px,8vw,46px)!important}
  .kt618-archive-lead h2{font-size:clamp(31px,7.2vw,40px)!important}
  .kt618-archive-item h2{font-size:22px!important}
  .kt-page-header h1{font-size:clamp(34px,8vw,44px)!important}
  .kt-ref-article-header h1{font-size:clamp(34px,8.2vw,46px)!important;line-height:1.25!important}
  .kt-ref-deck{font-size:18px!important}
  .kt-news-grid .kt-card h3{font-size:19px!important}
}

@media(max-width:600px){
  body.kbt6{font-size:17px!important}
  .kt615-main-nav .kt-menu>li>a{font-size:15px!important}
  .kt618-section-title{margin-bottom:16px!important}
  .kt618-section-rule{gap:9px!important}
  .kt618-section-rule h2{font-size:27px!important;white-space:nowrap}
  .kt618-section-rule small{font-size:9.5px!important}
  .kt618-section-title>a{font-size:11.5px!important}
  .kt618-feature h2{font-size:clamp(33px,9vw,41px)!important;line-height:1.26!important}
  .kt618-feature .kt618-meta{font-size:11px!important}
  .kt618-category{padding-block:24px!important;margin-block:12px!important}
  .kt618-category-lead h3,.kt618-main-lead h3{font-size:30px!important;line-height:1.3!important}
  .kt618-category-lead p,.kt618-main-lead p{font-size:15px!important}
  .kt618-news-list h4{font-size:17px!important;line-height:1.45!important}
  .kt618-pulse li>a{font-size:16px!important}
  .kt618-archive-title-row{gap:9px!important}
  .kt618-archive-title-row h1{font-size:36px!important}
  .kt618-archive-title-row b{font-size:9.5px!important}
  .kt618-archive-head>p:last-child{font-size:15px!important}
  .kt618-archive-lead{display:block!important}
  .kt618-archive-lead-image{display:block!important;margin-bottom:15px!important}
  .kt618-archive-lead h2{font-size:31px!important;line-height:1.3!important}
  .kt618-archive-lead p{font-size:15px!important}
  .kt618-archive-item{grid-template-columns:124px minmax(0,1fr)!important;gap:14px!important}
  .kt618-archive-item h2{font-size:18px!important;line-height:1.42!important}
  .kt618-archive-item p{display:none!important}
  .kt-page{font-size:17px!important}
  .kt-page-header h1{font-size:34px!important;line-height:1.2!important}
  .kt-page-header p{font-size:16px!important}
  .kt-author-profile h1{font-size:34px!important}
  .kt-author-profile p,.kt-author-profile span,.kt-author-profile a{font-size:15px!important}
  .kt-news-grid .kt-card h3{font-size:19px!important}
  .kt-ref-article-header h1{font-size:35px!important;line-height:1.27!important}
  .kt-ref-deck{font-size:17px!important}
  .kt-ref-article-meta{font-size:11.5px!important}
  .kt-ref-author-name,.kt-ref-author-name a{font-size:17px!important}
  .kt615-footer h3,.kt615-footer h4{font-size:18px!important}
  .kt615-footer p,.kt615-footer a,.kt615-footer li{font-size:14.5px!important}
}

/* Category navigation feedback: selected archive remains obvious without turning the header red. */
.kt615-main-nav .current-menu-item>a,
.kt615-main-nav .current-menu-ancestor>a,
.kt615-main-nav .current-category-ancestor>a,
.kt615-main-nav .current-post-ancestor>a{
  color:var(--kt623-read)!important;
  position:relative;
}
.kt615-main-nav .current-menu-item>a::after,
.kt615-main-nav .current-menu-ancestor>a::after,
.kt615-main-nav .current-category-ancestor>a::after{
  content:"";position:absolute;left:8px;right:8px;bottom:-8px;height:2px;background:var(--kt623-read);border-radius:2px;
}
@media(max-width:1100px){
  .kt615-main-nav .current-menu-item>a::after,.kt615-main-nav .current-menu-ancestor>a::after,.kt615-main-nav .current-category-ancestor>a::after{bottom:-5px}
}
.kt-ref-post-nav a,.kt-post-navigation a{color:var(--kt623-link)!important;text-decoration:none!important}
.kt-ref-post-nav a:visited,.kt-post-navigation a:visited,.kt-ref-post-nav a.is-read-headline,.kt-post-navigation a.is-read-headline{color:var(--kt623-read)!important}
