/* NewsTrendsKE Premium 1.6: small shared UI layer; no fonts or external assets. */
.ntp-appearance-select{appearance:auto;max-width:90px;min-width:70px;border:1px solid #667487;border-radius:4px;background:#202d40;color:#fff;font-size:11px;font-weight:700;line-height:1.3;padding:4px 6px;cursor:pointer}
.ntp-appearance-select:focus-visible{outline:2px solid #f2b4bd;outline-offset:2px}
.ntp-reading-progress{position:fixed;top:0;left:0;width:100%;height:3px;border:0;border-radius:0;z-index:10000;appearance:none;-webkit-appearance:none;pointer-events:none;background:transparent;color:var(--accent)}
.ntp-reading-progress::-webkit-progress-bar{background:transparent}
.ntp-reading-progress::-webkit-progress-value{background:var(--accent)}
.ntp-reading-progress::-moz-progress-bar{background:var(--accent)}
.ntp-reader-tools{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:5px 0 17px;color:var(--muted)}
.ntp-reader-tools-label{font-size:12px;margin-right:6px}
.ntp-text-size{min-width:35px;min-height:35px;padding:4px 7px;background:var(--paper);border:1px solid var(--line);border-radius:3px;color:var(--text);font-size:13px;font-weight:700}
.ntp-text-size:hover,.ntp-text-size[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
.article-content.entry-content{--ntp-article-scale:1;font-size:calc(18px * var(--ntp-article-scale))}
.article-content.entry-content[data-ntp-text-size="small"]{--ntp-article-scale:.92}
.article-content.entry-content[data-ntp-text-size="large"]{--ntp-article-scale:1.14}
.article-content.entry-content p,.article-content.entry-content li{font-size:1em;line-height:1.78}
.article-cover figcaption,.entry-content figcaption,.wp-caption-text{color:var(--muted);font-size:12px;line-height:1.65}
.ntp-photo-credit{font-weight:650}
.ntp-search-discovery{border-block:1px solid var(--line);padding:14px 0;margin:18px 0 32px}
.ntp-search-discovery-label{font-size:12px;font-weight:800;color:var(--text);margin-right:9px}
.ntp-search-desk-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.ntp-search-desk-links a{border:1px solid var(--line);padding:5px 10px;font-size:12px;color:var(--text);border-radius:3px}
.ntp-search-desk-links a:hover,.ntp-search-desk-links a[aria-current="page"]{border-color:var(--accent);color:var(--accent)}
.search-form{flex-wrap:wrap}.search-form .ntp-search-filter{border:1px solid #ccd1d8;padding:9px 8px;background:var(--paper);color:var(--text);font-size:13px;max-width:100%}
.ntp-partner-audience,.ntp-partner-reporting{padding:23px 0;border-top:1px solid var(--line);margin-top:25px}
.ntp-partner-audience h2,.ntp-partner-reporting h2{font-family:var(--font-serif);font-size:clamp(23px,2.5vw,31px)}
.ntp-partner-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;margin:15px 0 0;list-style:none}
.ntp-partner-list li{background:var(--warm);border:1px solid var(--line);padding:16px 19px}
.ntp-partner-list strong{display:block;color:var(--ink);margin-bottom:6px}
.ntp-partner-list span{display:block;font-size:14px;color:var(--text)}
/* Dark mode is driven by an early, very small preference bootstrap. */
html[data-ntp-theme="dark"]{color-scheme:dark;--ink:#f0f4fa;--ink-deep:#080e18;--text:#dbe3ed;--muted:#acbacb;--quiet:#a7b5c5;--paper:#101722;--warm:#1b2738;--line:#334256;--accent:#ff7485;--accent-dark:#ff9aaa;background:#101722}
html[data-ntp-theme="dark"] body{background:var(--paper);color:var(--text)}
html[data-ntp-theme="dark"] .site-header,html[data-ntp-theme="dark"] .search-popover,html[data-ntp-theme="dark"] .nav-menu .sub-menu{background:var(--paper);color:var(--text)}
html[data-ntp-theme="dark"] .topline{background:#080e18}
html[data-ntp-theme="dark"] .brand,html[data-ntp-theme="dark"] .brand:hover,html[data-ntp-theme="dark"] .footer-wordmark{color:var(--ink)}
html[data-ntp-theme="dark"] .brand-subtitle,html[data-ntp-theme="dark"] .masthead-kicker,html[data-ntp-theme="dark"] .hero-intro p,html[data-ntp-theme="dark"] .ntp-focus-deck,html[data-ntp-theme="dark"] .story-excerpt,html[data-ntp-theme="dark"] .article-deck,html[data-ntp-theme="dark"] .byline-details,html[data-ntp-theme="dark"] .breadcrumbs{color:var(--muted)}
html[data-ntp-theme="dark"] .header-search>summary,html[data-ntp-theme="dark"] .search-text{color:var(--text)}
html[data-ntp-theme="dark"] .search-field,html[data-ntp-theme="dark"] .search-form input,html[data-ntp-theme="dark"] .search-form select,html[data-ntp-theme="dark"] .comment-form input,html[data-ntp-theme="dark"] .comment-form textarea{background:var(--paper);color:var(--text);border-color:var(--line)}
html[data-ntp-theme="dark"] .nav-menu .sub-menu a:hover,html[data-ntp-theme="dark"] .hero-side-card,html[data-ntp-theme="dark"] .story-card,html[data-ntp-theme="dark"] .sidebar-feature,html[data-ntp-theme="dark"] .sidebar-widget,html[data-ntp-theme="dark"] .ntp-why-matters,html[data-ntp-theme="dark"] .ntp-partner-card,html[data-ntp-theme="dark"] .ntp-partner-contact,html[data-ntp-theme="dark"] .ntp-author-card,html[data-ntp-theme="dark"] .author-box,html[data-ntp-theme="dark"] .empty-state{background:var(--warm);border-color:var(--line)}
html[data-ntp-theme="dark"] .story-body,html[data-ntp-theme="dark"] .hero-side-content,html[data-ntp-theme="dark"] .ntp-core-desk,html[data-ntp-theme="dark"] .ntp-insights-item,html[data-ntp-theme="dark"] .ntp-latest-item{background:transparent;color:var(--text)}
html[data-ntp-theme="dark"] .ntp-market-intro p,html[data-ntp-theme="dark"] .ntp-lifestyle-header p,html[data-ntp-theme="dark"] .ntp-explore-note p,html[data-ntp-theme="dark"] .ntp-partner-hero p,html[data-ntp-theme="dark"] .footer-about p{color:var(--muted)}
html[data-ntp-theme="dark"] .story-title,html[data-ntp-theme="dark"] .story-title a,html[data-ntp-theme="dark"] .hero-side-content h2,html[data-ntp-theme="dark"] .hero-side-content h2 a,html[data-ntp-theme="dark"] .ntp-core-brief h4,html[data-ntp-theme="dark"] .ntp-insights-item h3,html[data-ntp-theme="dark"] .ntp-latest-item h3{color:var(--ink)}
html[data-ntp-theme="dark"] .hero-main-content,html[data-ntp-theme="dark"] .hero-main-content h2,html[data-ntp-theme="dark"] .hero-main-content p,html[data-ntp-theme="dark"] .hero-main-content .category-link{color:#fff}
html[data-ntp-theme="dark"] .ntp-ad-caption{color:var(--muted)}
html[data-ntp-theme="dark"] .site-footer{background:#111b29;color:var(--text)}
html[data-ntp-theme="dark"] .ntp-text-size,html[data-ntp-theme="dark"] .ntp-search-desk-links a{background:var(--paper);color:var(--text);border-color:var(--line)}
html[data-ntp-theme="dark"] .ntp-text-size[aria-pressed="true"]{color:var(--accent);border-color:var(--accent)}
html[data-ntp-theme="dark"] .entry-content,html[data-ntp-theme="dark"] .entry-content p,html[data-ntp-theme="dark"] .entry-content li,html[data-ntp-theme="dark"] .article-content-shell{color:var(--text)}
html[data-ntp-theme="dark"] .entry-content blockquote,html[data-ntp-theme="dark"] .wp-block-quote{border-color:var(--accent);background:var(--warm)}
html[data-ntp-theme="dark"] .entry-content pre,html[data-ntp-theme="dark"] .entry-content code{background:#1d2b3b;color:#e9eef7}
html[data-ntp-theme="dark"] .entry-content table th,html[data-ntp-theme="dark"] .entry-content table td{border-color:var(--line)}
html[data-ntp-theme="dark"] .disclosure-label{color:#ffc4cd;border-color:#ad5360}
html[data-ntp-theme="dark"] .story-meta,html[data-ntp-theme="dark"] .hero-meta,html[data-ntp-theme="dark"] .ntp-author-title{color:var(--muted)}
html[data-ntp-theme="dark"] .search-button{background:#a61c30;color:#fff}
html[data-ntp-theme="dark"] .skip-link:focus{background:var(--paper);color:var(--text)}
html[data-ntp-theme="dark"] ::selection{background:#813442;color:#fff}
@media(max-width:760px){.ntp-partner-list{grid-template-columns:1fr}.ntp-reader-tools{justify-content:flex-start}.ntp-appearance-select{max-width:72px;padding:4px 3px}}
@media(max-width:520px){.ntp-search-filter{width:100%}.ntp-search-discovery{margin-bottom:20px}.ntp-reader-tools-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.story-image,.nav-menu>li>a::after{transition:none!important}}

html[data-ntp-theme="light"]{color-scheme:light}
html[data-ntp-theme="dark"] .mobile-navigation>nav{background:var(--paper);border-color:var(--line)}
html[data-ntp-theme="dark"] .ntp-ad{background:transparent;border-color:var(--line)}
html[data-ntp-theme="dark"] .ntp-ad-home{background:transparent}
html[data-ntp-theme="dark"] .ntp-share-button{background:var(--warm);color:var(--text);border-color:var(--line)}
html[data-ntp-theme="dark"] .ntp-share-button:hover{background:#263649;color:var(--accent)}
html[data-ntp-theme="dark"] .ntp-search-desk-links a[aria-current="page"]{color:var(--accent);border-color:var(--accent)}
@media(prefers-color-scheme:dark){html:not([data-ntp-theme]){color-scheme:dark;--ink:#f0f4fa;--text:#dbe3ed;--muted:#acbacb;--paper:#101722;--warm:#1b2738;--line:#334256;background:#101722}}

/* v1.6.1 keyboard, contrast and touch refinements. */
:where(a, button, input, select, textarea, summary):focus-visible { outline:3px solid #b91c35 !important; outline-offset:3px; }
[data-ntp-theme="dark"] :where(a, button, input, select, textarea, summary):focus-visible { outline-color:#ff9ea9 !important; }
.ntp-text-size, .ntp-appearance-select { min-height:40px; }
.ntp-reader-tools-label, .article-cover figcaption, .entry-content figcaption { font-size:max(13px, .8125rem); }
@media (prefers-reduced-motion:reduce) { html:focus-within {scroll-behavior:auto;} *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important;} }
@media (forced-colors:active) { .ntp-reading-progress { forced-color-adjust:auto; } .ntp-text-size[aria-pressed="true"] {outline:2px solid Highlight;}}
