/*
Theme Name: Nf Discover
Theme URI: https://www.facebook.com/mukeshgusaiana/
Author: Mukesh Gusaiana
Author URI: https://www.facebook.com/mukeshgusaiana/
Description: Nf Discover is an ultra pro Google Discover and Google News optimized WordPress theme for breaking news, viral news, government schemes, automobile updates, technology news and trending stories. Built with advanced SEO controls, NewsArticle schema, sitemap and news sitemap, robots manager, ads manager, starter publisher pages, mobile-first layout and high-performance news publishing features.
Version: 7.8.7
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nf-discover
Tags: news, magazine, blog, google-discover, google-news, seo, schema, adsense, mobile-friendly, responsive, hindi-news, english-news
*/
:root{--bg:#fff;--surface:#f7f7f8;--card:#fff;--text:#101114;--muted:#686b73;--brand:#d71920;--brand-dark:#ab1016;--border:#e7e7ea;--dark:#0e1116;--max:1180px;--radius:14px;--shadow:0 8px 24px rgba(16,17,20,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.6;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto;display:block}.container{width:min(var(--max),calc(100% - 32px));margin-inline:auto}.screen-reader-text{position:absolute;left:-9999px}.site-topbar{background:var(--dark);color:#fff;font-size:13px}.topbar-inner{height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar-left{display:flex;align-items:center;gap:10px;min-width:0}.live-dot{width:8px;height:8px;border-radius:999px;background:var(--brand);box-shadow:0 0 0 4px rgba(215,25,32,.18)}.topbar-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-links{display:flex;gap:16px;color:#d5d7dc}.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1000}.header-main{height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}.menu-toggle{display:none;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:-.04em;font-size:32px;line-height:1}.brand-mark{display:inline-grid;place-items:center;background:var(--brand);color:#fff;width:38px;height:38px;border-radius:10px;font-size:22px;letter-spacing:-.08em}.brand span:last-child{color:var(--dark)}.brand img{max-height:48px;width:auto}.header-actions{display:flex;align-items:center;gap:14px}.search-form{display:flex;align-items:center;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:#fff}.search-form input{width:190px;border:0;padding:10px 12px;outline:none}.search-form button{border:0;background:var(--brand);color:#fff;padding:10px 14px;cursor:pointer}.main-nav{border-top:1px solid var(--border);height:44px;display:flex;align-items:center;justify-content:center}.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px;overflow-x:auto}.main-nav a{display:block;padding:11px 14px;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.main-nav .current-menu-item>a,.main-nav a:hover{color:var(--brand)}.breaking{background:var(--brand);color:#fff}.breaking-inner{height:40px;display:flex;align-items:center;gap:14px;overflow:hidden}.breaking-label{background:#fff;color:var(--brand);font-size:12px;font-weight:900;padding:4px 9px;border-radius:999px;text-transform:uppercase}.breaking-title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-top:26px}.hero-card{position:relative;border-radius:var(--radius);overflow:hidden;min-height:420px;background:#111;box-shadow:var(--shadow)}.hero-card img{width:100%;height:420px;object-fit:cover}.hero-overlay{position:absolute;inset:auto 0 0 0;padding:34px;background:linear-gradient(transparent,rgba(0,0,0,.86));color:#fff}.tag{display:inline-flex;align-items:center;background:var(--brand);color:#fff;font-size:12px;font-weight:900;padding:4px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.03em}.hero-title{font-size:42px;line-height:1.05;margin:13px 0 8px;letter-spacing:-.04em}.meta{color:var(--muted);font-size:13px}.hero-overlay .meta{color:#e8e8e8}.side-stack{display:grid;gap:18px}.side-card{display:grid;grid-template-columns:140px 1fr;gap:14px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:16px}.side-card img{width:140px;height:94px;object-fit:cover;border-radius:12px}.side-card h3{font-size:18px;line-height:1.2;margin:0 0 6px;letter-spacing:-.02em}.section-head{display:flex;align-items:center;justify-content:space-between;margin:34px 0 16px;border-bottom:2px solid var(--dark)}.section-head h2{margin:0;background:var(--dark);color:#fff;padding:7px 12px;font-size:16px;text-transform:uppercase;letter-spacing:.03em}.content-layout{display:grid;grid-template-columns:1fr 330px;gap:34px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:.18s ease;box-shadow:0 1px 0 rgba(0,0,0,.02)}.post-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.post-thumb{aspect-ratio:16/9;background:var(--surface);overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-body{padding:14px}.post-title{font-size:20px;line-height:1.22;margin:8px 0 8px;letter-spacing:-.025em}.post-excerpt{margin:0;color:var(--muted);font-size:14px}.sidebar{position:relative}.widget-box{border:1px solid var(--border);border-radius:var(--radius);padding:18px;background:#fff;margin-bottom:22px}.widget-title{margin:0 0 14px;font-size:16px;text-transform:uppercase;border-left:4px solid var(--brand);padding-left:10px}.trend-list{counter-reset:item;display:grid;gap:14px}.trend-item{counter-increment:item;display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;border-bottom:1px solid var(--border);padding-bottom:12px}.trend-item:before{content:counter(item);font-weight:900;color:var(--brand);font-size:24px;line-height:1}.trend-item h4{margin:0;font-size:16px;line-height:1.25}.newsletter{background:var(--dark);color:#fff}.newsletter p{color:#c9ccd3;margin:0}.archive-header{padding:30px 0 10px}.archive-title{font-size:34px;line-height:1.1;margin:0;letter-spacing:-.04em}.site-main{padding-bottom:42px}.single-wrap{max-width:820px;margin:0 auto;padding:30px 0 50px}.single-title{font-size:48px;line-height:1.05;margin:10px 0 14px;letter-spacing:-.05em}.single-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin-bottom:22px}.single-featured{border-radius:var(--radius);overflow:hidden;margin:20px 0}.entry-content{font-size:19px;line-height:1.78}.entry-content p{margin:0 0 1.2em}.entry-content h2{font-size:30px;line-height:1.18;margin-top:1.6em;letter-spacing:-.03em}.entry-content a{color:var(--brand);text-decoration:underline}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.site-footer{background:var(--dark);color:#fff;margin-top:48px}.footer-inner{padding:34px 0;display:grid;grid-template-columns:1.5fr 1fr;gap:30px}.footer-brand{font-size:28px;font-weight:900;letter-spacing:-.04em}.footer-links{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end;color:#d3d5db}.copyright{border-top:1px solid rgba(255,255,255,.1);padding:14px 0;color:#b8bbc3;font-size:13px}.nav-open .main-nav{display:block}.pagination{margin:30px 0;display:flex;gap:8px;justify-content:center}.pagination .page-numbers{border:1px solid var(--border);padding:8px 12px;border-radius:8px}.pagination .current{background:var(--brand);color:#fff;border-color:var(--brand)}
@media(max-width:900px){.topbar-links,.main-nav{display:none}.menu-toggle{display:block}.header-main{height:64px}.brand{font-size:25px}.brand-mark{width:32px;height:32px}.search-form input{display:none}.home-grid,.content-layout{grid-template-columns:1fr}.hero-card,.hero-card img{min-height:0;height:auto}.hero-overlay{position:static;background:var(--dark);padding:18px}.hero-title{font-size:28px}.post-grid,.related-grid{grid-template-columns:1fr 1fr}.sidebar{display:none}.main-nav{height:auto;border-top:1px solid var(--border);padding:8px 0}.main-nav ul{display:block}.main-nav a{padding:10px 16px}.footer-inner{grid-template-columns:1fr}.footer-links{justify-content:flex-start}.single-title{font-size:34px}.entry-content{font-size:18px}.side-card{grid-template-columns:120px 1fr}.side-card img{width:120px;height:82px}.search-form{border:0}.search-form button{border-radius:999px}}
@media(max-width:560px){.container{width:min(100% - 24px,var(--max))}.breaking-inner{height:36px}.breaking-label{display:none}.post-grid,.related-grid{grid-template-columns:1fr}.hero-title{font-size:25px}.side-card{grid-template-columns:110px 1fr}.side-card img{width:110px;height:74px}.side-card h3{font-size:16px}.single-title{font-size:30px}.entry-content{font-size:17px}.topbar-inner{height:30px}.post-title{font-size:19px}}


/* v1.1 Discover polish: tighter spacing, better type rhythm, image + meta cards */
:root{--radius-sm:10px;--gap:22px}
body{font-size:16px;line-height:1.58;-webkit-font-smoothing:antialiased}
.container{width:min(var(--max),calc(100% - 36px))}
.site-main{padding-top:0;padding-bottom:46px}.site-footer{margin-top:42px}
.site-topbar{font-size:12.5px}.topbar-inner{height:32px}.header-main{height:70px}.main-nav{height:42px}.main-nav a{padding:10px 13px}
.breaking-inner{height:38px}.home-grid{gap:22px;margin-top:22px}.side-stack{gap:16px}.section-head{margin:30px 0 14px}.content-layout{gap:30px}.post-grid{gap:20px}
.hero-card{min-height:400px}.hero-card img{height:400px}.hero-overlay{padding:30px}.hero-title{font-size:40px;line-height:1.06;margin:12px 0 8px}.side-card{gap:13px;padding-bottom:14px}.side-card h3{font-size:17px;line-height:1.22}
.tag{font-size:11px;padding:4px 8px;line-height:1;letter-spacing:.04em}.meta{font-size:12.5px;color:var(--muted);line-height:1.35}.byline{font-size:12.5px;color:var(--muted);line-height:1.35}.byline a{color:inherit}.byline a:hover{color:var(--brand)}
.post-card{border-radius:6px;overflow:hidden;background:#fff}.post-card:hover{transform:translateY(-3px)}.post-thumb{display:block;aspect-ratio:16/10;background:var(--surface)}.post-body{padding:13px 14px 15px}.post-meta-row{display:flex;align-items:center;gap:9px;justify-content:space-between;margin-bottom:9px}.post-meta-row .tag{flex:0 0 auto}.post-meta-row .meta{white-space:nowrap}.post-title{font-size:19px;line-height:1.24;margin:0 0 7px;letter-spacing:-.025em}.post-excerpt{margin:9px 0 0;color:var(--muted);font-size:14px;line-height:1.48}.archive-title{font-size:32px}.single-wrap{padding:28px 0 48px}.single-title{font-size:46px}.entry-content{font-size:18.5px;line-height:1.76}.widget-box{padding:16px;margin-bottom:20px}.trend-list{gap:12px}.footer-inner{padding:30px 0}
@media(min-width:901px){.post-grid .post-card:first-child{grid-column:span 2;display:grid;grid-template-columns:1.15fr 1fr;align-items:stretch}.post-grid .post-card:first-child .post-thumb{aspect-ratio:auto;height:100%}.post-grid .post-card:first-child .post-title{font-size:25px}.post-grid .post-card:first-child .post-body{padding:18px}.post-grid .post-card:first-child .post-excerpt{font-size:15px}}
@media(max-width:900px){.container{width:min(100% - 28px,var(--max))}.header-main{height:62px}.home-grid{margin-top:18px}.hero-overlay{padding:17px}.hero-title{font-size:28px}.post-grid,.related-grid{gap:16px}.post-title{font-size:18px}.post-excerpt{display:none}.content-layout{gap:22px}.single-title{font-size:34px}.entry-content{font-size:18px}}
@media(max-width:560px){.container{width:min(100% - 22px,var(--max))}.topbar-inner{height:29px}.breaking-inner{height:34px}.brand{font-size:24px}.section-head{margin:24px 0 12px}.section-head h2{font-size:14px;padding:7px 10px}.post-card{border-radius:13px}.post-body{padding:12px}.post-meta-row{gap:7px;margin-bottom:8px}.post-meta-row .meta{font-size:12px}.post-title{font-size:17px;line-height:1.25}.byline{font-size:12px}.hero-title{font-size:24px}.side-card{grid-template-columns:104px 1fr}.side-card img{width:104px;height:70px}.single-title{font-size:29px}.entry-content{font-size:17px;line-height:1.72}}

/* v1.2 homepage card consistency + tighter header/ticker + paginated 12-post latest grid */
:root{--shadow-soft:0 10px 28px rgba(16,17,20,.08)}
.site-topbar{font-size:12px}.topbar-inner{height:28px}.header-main{height:60px}.brand{font-size:29px}.brand-mark{width:34px;height:34px;border-radius:9px;font-size:20px}.brand img{max-height:42px}.main-nav{height:36px}.main-nav a{padding:8px 12px;font-size:13px}.breaking{margin:0}.breaking-inner{height:34px;gap:10px}.breaking-label{font-size:11px;padding:3px 8px}.breaking-title{font-size:13.5px}.home-grid{margin-top:18px;gap:20px}.section-head{margin:26px 0 14px}.content-layout{gap:28px}.post-grid{gap:18px}.latest-grid{align-items:stretch}
.post-card,.side-card,.trend-card{background:#fff;border:1px solid var(--border);border-radius:6px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.02);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.post-card:hover,.side-card:hover,.trend-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:#dedee3}.side-stack{gap:14px}.side-card{display:grid;grid-template-columns:132px 1fr;gap:0;align-items:stretch;padding:0;border-bottom:1px solid var(--border)}.side-thumb{display:block;min-height:100%}.side-card img,.side-thumb>div{width:132px;height:100%;min-height:112px;object-fit:cover;border-radius:0}.side-body{padding:11px 12px}.compact-meta{margin-bottom:7px}.compact-meta .tag{font-size:10px;padding:3px 7px}.side-card h3{font-size:16px;line-height:1.22;margin:0 0 6px;letter-spacing:-.02em}.side-card .byline{font-size:12px}.trend-list{counter-reset:none}.trend-item:before{display:none}.trend-card-list{display:grid;gap:12px}.trend-card{display:grid;grid-template-columns:86px 1fr;gap:0;align-items:stretch}.trend-thumb{display:block}.trend-thumb img,.trend-thumb>div{width:86px;height:76px;object-fit:cover}.trend-card>div{padding:9px 10px}.trend-card h4{font-size:14px;line-height:1.25;margin:3px 0 0;letter-spacing:-.01em}.pagination{grid-column:1/-1;margin:28px 0 4px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.pagination .page-numbers{min-width:38px;text-align:center;border:1px solid var(--border);background:#fff;padding:8px 12px;border-radius:999px;font-size:14px;font-weight:700}.pagination a.page-numbers:hover{border-color:var(--brand);color:var(--brand)}.pagination .current{background:var(--brand);color:#fff;border-color:var(--brand)}
@media(min-width:901px){.latest-grid .post-card:first-child{grid-column:auto;display:block}.latest-grid .post-card:first-child .post-thumb{aspect-ratio:16/10;height:auto}.latest-grid .post-card:first-child .post-title{font-size:19px}.latest-grid .post-card:first-child .post-body{padding:13px 14px 15px}.latest-grid .post-card:first-child .post-excerpt{font-size:14px}.hero-card{min-height:390px}.hero-card img{height:390px}}
@media(max-width:900px){.topbar-inner{height:27px}.header-main{height:56px}.main-nav{height:auto}.breaking-inner{height:32px}.home-grid{margin-top:14px;gap:14px}.side-stack{gap:12px}.side-card{grid-template-columns:124px 1fr}.side-card img,.side-thumb>div{width:124px;min-height:94px}.side-body{padding:10px 11px}.post-grid,.related-grid{gap:14px}.content-layout{gap:18px}.section-head{margin:22px 0 12px}}
@media(max-width:560px){.site-topbar{display:none}.header-main{height:54px}.breaking-inner{height:30px}.breaking-title{font-size:12.5px}.brand{font-size:23px}.brand-mark{width:30px;height:30px}.home-grid{margin-top:12px}.side-card{grid-template-columns:108px 1fr;border-radius:13px}.side-card img,.side-thumb>div{width:108px;min-height:84px}.side-body{padding:9px 10px}.compact-meta .tag{display:none}.side-card h3{font-size:15.5px}.trend-card{grid-template-columns:80px 1fr}.trend-thumb img,.trend-thumb>div{width:80px;height:70px}.pagination .page-numbers{padding:7px 11px;min-width:34px;font-size:13px}}

/* v1.3 single/archive sidebar + Trending Now */
.inner-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:32px;align-items:start}.primary-column{min-width:0}.single-layout{padding-top:26px}.single-layout .single-wrap{max-width:none;margin:0;padding:0 0 42px}.single-layout .sidebar,.archive-layout .sidebar{position:sticky;top:112px}.single-layout .related-section{margin-top:6px}.archive-layout{padding-bottom:18px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-layout .pagination{justify-content:flex-start}.single-featured img{width:100%;height:auto}.trending-widget{padding:15px}.trending-widget .widget-title{margin-bottom:12px}.trend-card .post-meta-row{margin-bottom:6px}.trend-body{min-width:0}.trend-card h4 a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.single-meta a{color:inherit}.single-meta a:hover{color:var(--brand)}
@media(min-width:901px){.single-layout .related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.single-layout .entry-content{max-width:820px}.single-layout .single-title{max-width:900px}.archive-grid .post-card:first-child{grid-column:auto;display:block}.archive-grid .post-card:first-child .post-thumb{aspect-ratio:16/10;height:auto}.archive-grid .post-card:first-child .post-title{font-size:19px}.archive-grid .post-card:first-child .post-body{padding:13px 14px 15px}}
@media(max-width:900px){.inner-layout{grid-template-columns:1fr}.single-layout{padding-top:20px}.single-layout .sidebar,.archive-layout .sidebar{position:static;display:block}.archive-grid{grid-template-columns:1fr 1fr}.single-layout .related-grid{grid-template-columns:1fr 1fr}.sidebar .widget-box{margin-bottom:16px}.trend-card-list{grid-template-columns:1fr 1fr}.archive-layout .pagination{justify-content:center}}
@media(max-width:560px){.single-layout{padding-top:16px}.archive-grid,.single-layout .related-grid,.trend-card-list{grid-template-columns:1fr}.single-layout .single-wrap{padding-bottom:32px}.single-featured{margin:16px 0}.single-layout .sidebar{margin-top:4px}.archive-layout .sidebar{margin-top:20px}}

/* v1.4 header/menu alignment and portal polish */
.site-header{box-shadow:0 1px 0 rgba(0,0,0,.03)}
.header-main{height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.header-left{display:flex;align-items:center;gap:24px;min-width:0;flex:1}
.header-left .custom-logo-link,.header-left .brand{flex:0 0 auto}
.main-nav{border-top:0;height:auto;display:flex;align-items:center;justify-content:flex-start;min-width:0;flex:1}
.main-nav ul{justify-content:flex-start;gap:2px;min-width:0;scrollbar-width:none}
.main-nav ul::-webkit-scrollbar{display:none}
.main-nav a{padding:8px 10px;font-size:13px;line-height:1;border-radius:999px;white-space:nowrap}
.main-nav .current-menu-item>a,.main-nav a:hover{background:rgba(215,25,32,.08);color:var(--brand)}
.header-actions{flex:0 0 auto}.search-form input{width:170px}.breaking{margin:0;border-top:0}.breaking-inner{height:32px}.brand img,.custom-logo{max-height:40px;width:auto}.brand{font-size:27px}.brand-mark{width:32px;height:32px;font-size:19px;border-radius:8px}
.single-layout,.archive-layout{align-items:start}.single-layout .sidebar,.archive-layout .sidebar{position:sticky;top:82px}.related-section{margin-top:12px}.related-grid .post-card{height:100%}
@media(min-width:901px){.menu-toggle{display:none!important}.nav-open .main-nav{display:flex}.site-header+.breaking{margin-top:0}}
@media(max-width:1100px){.header-left{gap:16px}.main-nav a{padding:8px 8px;font-size:12.5px}.search-form input{width:135px}}
@media(max-width:900px){.header-main{height:56px}.header-left{gap:12px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:56px;background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);box-shadow:0 14px 24px rgba(0,0,0,.08);z-index:1001}.nav-open .main-nav{display:block}.main-nav ul{display:block;width:min(var(--max),calc(100% - 28px));margin:0 auto;padding:8px 0}.main-nav a{border-radius:8px;padding:11px 4px;font-size:14px}.breaking-inner{height:30px}.single-layout .sidebar,.archive-layout .sidebar{position:static}}
@media(max-width:560px){.header-main{height:52px}.main-nav{top:52px}.header-left{gap:10px}.breaking-inner{height:30px}.header-actions .search-form button{padding:9px 11px}.brand img,.custom-logo{max-height:34px}.brand{font-size:22px}.brand-mark{width:29px;height:29px;font-size:17px}}


/* v1.6 Discover trust, schema companion UI, and ad hooks */
:root{--radius:6px;--radius-sm:4px}
.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 0;color:var(--muted);font-size:13px}.breadcrumbs a{color:var(--muted)}.breadcrumbs a:hover{color:var(--brand)}
.author-box{max-width:820px;margin:0 0 28px;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;display:grid;grid-template-columns:72px 1fr;gap:16px;align-items:center}.author-box img{border-radius:999px}.author-box h3{margin:0 0 5px;font-size:18px}.author-box p{margin:0 0 8px;color:var(--muted);font-size:14px;line-height:1.55}.author-box a{font-weight:800;color:var(--brand);font-size:14px}
.single-featured img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.single-featured{background:var(--surface)}
.dpn-ad-slot{border:1px dashed var(--border);border-radius:var(--radius);background:#fafafa;color:var(--muted);font-size:13px;text-align:center;padding:18px;margin:22px 0}.entry-content .dpn-ad-slot{margin:28px 0}
.related-section .post-excerpt{display:none}.archive-header{padding-top:18px}.single-layout{padding-top:18px}
@media(max-width:900px){.author-box{grid-template-columns:56px 1fr;padding:14px}.author-box img{width:56px;height:56px}.breadcrumbs{margin-top:10px}.single-layout{padding-top:14px}}
@media(max-width:560px){.author-box{grid-template-columns:1fr}.author-avatar{display:none}.breadcrumbs{font-size:12px}}


/* v1.7 compact Discover footer, horizontal breadcrumbs, SVG icons */
.icon{display:inline-block;vertical-align:-.15em;flex:0 0 auto}.menu-toggle{display:inline-flex;align-items:center;justify-content:center;color:var(--text);width:38px;height:38px;border-radius:var(--radius)}.menu-toggle:hover{background:var(--surface);color:var(--brand)}.search-form button{display:inline-flex;align-items:center;justify-content:center;min-width:44px}.topbar-sep{display:inline-block;width:4px;height:4px;border-radius:999px;background:rgba(255,255,255,.55);margin:0 8px;vertical-align:middle}.breadcrumbs{margin:12px 0 0;overflow:hidden;color:var(--muted);font-size:13px}.breadcrumb-scroll{display:flex;align-items:center;gap:7px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 0 6px}.breadcrumb-scroll::-webkit-scrollbar{display:none}.breadcrumbs a,.breadcrumbs span{flex:0 0 auto}.breadcrumbs a{color:var(--muted)}.breadcrumbs [aria-current="page"]{max-width:48vw;overflow:hidden;text-overflow:ellipsis;color:#7a7d85}.breadcrumb-sep{display:inline-flex;align-items:center;color:#a0a3aa}.breadcrumb-sep .icon{width:11px;height:11px}
.site-footer{background:#0e1116;color:#fff;margin-top:48px}.footer-grid{padding:42px 0 26px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px;border-bottom:1px solid rgba(255,255,255,.1)}.footer-about p{color:#c9ccd3;margin:.55rem 0 0;max-width:430px}.footer-note{font-size:14px}.footer-section h3{margin:0 0 12px;font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#fff}.footer-section a{display:block;color:#d3d5db;font-size:14px;margin:8px 0}.footer-section a:hover,.footer-links a:hover{color:#fff}.footer-menu-row{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}.footer-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-start;color:#d3d5db}.footer-links ul{list-style:none;display:flex;gap:14px;flex-wrap:wrap;margin:0;padding:0}.footer-links a{color:#d3d5db;font-size:14px}.copyright{border-top:0;padding:14px 0 18px;color:#b8bbc3;font-size:13px}.footer-inner{display:none}
@media(max-width:900px){.breadcrumb-scroll{padding-bottom:5px}.breadcrumbs [aria-current="page"]{max-width:68vw}.footer-grid{grid-template-columns:1fr 1fr;padding:32px 0 20px}.footer-about{grid-column:1/-1}.footer-menu-row{padding:12px 0}.footer-links,.footer-links ul{gap:10px}}
@media(max-width:560px){.breadcrumbs{margin-top:8px;font-size:12px}.breadcrumb-scroll{gap:6px}.breadcrumbs [aria-current="page"]{max-width:74vw}.footer-grid{grid-template-columns:1fr;gap:20px}.footer-brand{font-size:24px}.footer-section a{margin:7px 0}.menu-toggle{width:34px;height:34px}}

.meta-sep{display:inline-block;width:4px;height:4px;border-radius:999px;background:currentColor;opacity:.5;margin:0 7px;vertical-align:middle}

/* v1.8 universal Discover-ready author bio */
.author-box{grid-template-columns:88px 1fr;padding:20px;align-items:start}.author-avatar{line-height:0}.dpn-author-img{width:88px;height:88px;border-radius:999px;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px var(--border)}.author-label{display:inline-flex;margin:0 0 6px;color:var(--brand);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.author-box h3,.author-archive-hero h1{margin:0 0 3px}.author-role{margin:0 0 8px!important;color:#343741!important;font-size:13px!important;font-weight:800}.author-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px}.author-links a{font-size:13px;font-weight:900;color:var(--brand)}.author-archive-hero{margin:18px 0 28px;padding:24px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;display:grid;grid-template-columns:104px 1fr;gap:20px;align-items:start}.author-archive-hero .dpn-author-img{width:104px;height:104px}.author-archive-hero p{max-width:760px;color:var(--muted);line-height:1.6;margin:0 0 8px}
@media(max-width:560px){.author-box,.author-archive-hero{grid-template-columns:64px 1fr;gap:12px;padding:14px}.author-box .dpn-author-img,.author-archive-hero .dpn-author-img{width:64px;height:64px}.author-box .author-avatar{display:block}.author-archive-hero h1{font-size:24px}}

/* v1.9 dynamic footer about */
.footer-about-text{color:#d7dae1;margin:.65rem 0 0;max-width:560px;font-size:15px;line-height:1.65}.footer-note{color:#aeb3bd;font-size:13.5px;line-height:1.55}.footer-about .footer-brand{display:inline-flex;align-items:center;gap:8px}.footer-about .footer-brand:before{content:"";width:8px;height:22px;border-radius:3px;background:var(--brand);display:inline-block}
@media(max-width:560px){.footer-about-text{font-size:14.5px;line-height:1.6}}


/* v2.0 Discover/Google News date-time meta */
.news-time-meta{display:grid;grid-template-columns:1fr;gap:8px;margin:14px 0 22px;color:var(--muted);font-size:13.5px;line-height:1.35}
.news-time-meta span,.news-time-meta time{display:flex;align-items:center;gap:7px;min-width:0}
.news-time-meta .icon{flex:0 0 auto;color:var(--brand)}
.news-time-meta strong{color:var(--text);font-weight:800}
.news-time-meta a{color:var(--text);font-weight:800}
.news-time-meta a:hover{color:var(--brand)}
@media(min-width:760px){.news-time-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px}.meta-author{grid-column:1/-1}}
@media(max-width:560px){.news-time-meta{font-size:13px}.news-time-meta span,.news-time-meta time{align-items:flex-start}.news-time-meta .icon{margin-top:1px}}

/* v2.1: Keep single post author/date/time meta in one horizontal line on all devices */
.single-meta.news-time-meta{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  white-space:nowrap;
  scrollbar-width:none;
  padding-bottom:2px;
}
.single-meta.news-time-meta::-webkit-scrollbar{display:none}
.single-meta.news-time-meta > *{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:max-content;
}
.single-meta.news-time-meta svg{
  flex:0 0 auto;
  width:15px;
  height:15px;
}
.single-meta.news-time-meta span,
.single-meta.news-time-meta time{white-space:nowrap}
@media(max-width:560px){
  .single-meta.news-time-meta{
    flex-wrap:nowrap;
    gap:10px;
    font-size:12.5px;
    margin-bottom:16px;
  }
}


/* v2.2: Publisher-style single post meta: By Author Month Day, Year | Time TZ */
.single-meta.compact-news-meta{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:7px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
  margin-bottom:18px;
  padding-bottom:2px;
}
.single-meta.compact-news-meta::-webkit-scrollbar{display:none}
.single-meta.compact-news-meta > *{flex:0 0 auto;min-width:max-content;display:inline}
.single-meta.compact-news-meta .meta-author{color:var(--muted)}
.single-meta.compact-news-meta .meta-author a{color:var(--text);font-weight:800}
.single-meta.compact-news-meta .meta-author a:hover{color:var(--brand)}
.single-meta.compact-news-meta .meta-time{color:var(--muted)}
@media(max-width:560px){.single-meta.compact-news-meta{font-size:13px;gap:6px;margin-bottom:15px}}


/* v2.4 Google Discover typography system: fast system fonts, clear news hierarchy */
:root{
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --font-news:Georgia,"Times New Roman",serif;
  --font-meta:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --type-body:18px;
  --type-body-mobile:17px;
  --lh-body:1.72;
  --lh-tight:1.08;
  --lh-title:1.14;
  --tracking-title:-.035em;
}
html{font-size:100%;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  letter-spacing:0;
  word-break:normal;
  overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,h5,h6,.brand,.section-head h2,.widget-title{
  font-family:var(--font-sans);
  font-weight:850;
  color:var(--text);
  text-wrap:balance;
}
.hero-title,.single-title,.archive-title{
  font-weight:900;
  letter-spacing:var(--tracking-title);
  line-height:var(--lh-tight);
}
.single-title{
  max-width:980px;
  font-size:clamp(2rem,5vw,3.35rem);
  margin:12px 0 12px;
}
.hero-title{font-size:clamp(1.75rem,4.2vw,2.75rem)}
.archive-title{font-size:clamp(1.75rem,3vw,2.35rem)}
.post-title,.side-card h3,.trend-item h4{
  font-weight:850;
  line-height:1.22;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.post-title{font-size:clamp(1.05rem,1.7vw,1.24rem)}
.side-card h3{font-size:clamp(.98rem,1.35vw,1.1rem)}
.trend-item h4{font-size:1rem}
.entry-content{
  font-family:var(--font-news);
  font-size:var(--type-body);
  line-height:var(--lh-body);
  color:#1d1f24;
  letter-spacing:0;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote{margin-bottom:1.15em}
.entry-content h2,
.entry-content h3,
.entry-content h4{
  font-family:var(--font-sans);
  color:var(--text);
  line-height:1.18;
  letter-spacing:-.025em;
  margin:1.55em 0 .55em;
}
.entry-content h2{font-size:clamp(1.45rem,3vw,2rem)}
.entry-content h3{font-size:clamp(1.25rem,2.2vw,1.55rem)}
.entry-content blockquote{
  border-left:4px solid var(--brand);
  padding:6px 0 6px 18px;
  margin-left:0;
  color:#30333a;
  font-size:1.06em;
  font-style:italic;
}
.entry-content li{margin:.35em 0}
.meta,.byline,.single-meta,.compact-news-meta,.news-time-meta,.tag,.breadcrumb-scroll,.footer-note,.post-excerpt{
  font-family:var(--font-meta);
}
.single-meta.compact-news-meta{
  font-size:13.5px;
  line-height:1.35;
  letter-spacing:0;
}
.meta,.byline{font-size:12.5px;letter-spacing:.005em}
.tag{
  font-size:11px;
  line-height:1;
  letter-spacing:.055em;
  font-weight:900;
}
.post-excerpt{font-size:14px;line-height:1.55;color:var(--muted)}
.section-head h2{
  font-size:14px;
  letter-spacing:.08em;
  line-height:1;
}
.widget-title{font-size:14px;letter-spacing:.06em;line-height:1.2}
.footer-about-text{font-size:15px;line-height:1.65}
.footer-section a,.footer-links a{font-size:14px;line-height:1.35}
button,input,select,textarea{font-family:var(--font-sans)}
@media(max-width:900px){
  body{font-size:16px;line-height:1.58}
  .single-title{font-size:clamp(1.85rem,7vw,2.35rem);line-height:1.09;letter-spacing:-.035em}
  .hero-title{font-size:clamp(1.55rem,6vw,2rem);line-height:1.12}
  .post-title{font-size:1.08rem;line-height:1.24}
  .entry-content{font-size:var(--type-body-mobile);line-height:1.74}
  .entry-content h2{font-size:1.55rem}
  .entry-content h3{font-size:1.32rem}
}
@media(max-width:560px){
  .container{width:min(100% - 24px,var(--max))}
  .brand{letter-spacing:-.035em}
  .single-title{font-size:1.9rem;line-height:1.1;margin-top:10px}
  .single-meta.compact-news-meta{font-size:12.75px;line-height:1.3}
  .entry-content{font-size:17px;line-height:1.76}
  .entry-content p{margin-bottom:1.08em}
  .post-title{font-size:1.06rem}
  .side-card h3{font-size:1rem}
  .breadcrumb-scroll{font-size:12px}
  .footer-about-text{font-size:14.5px;line-height:1.6}
}

/* v2.5 Publisher typography reset: consistent Discover/news readability */
:root{
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --font-news:var(--font-sans);
  --font-meta:var(--font-sans);
  --type-body:18px;
  --type-body-mobile:17px;
  --lh-body:1.72;
  --lh-title:1.16;
  --tracking-title:-.018em;
}
html{font-size:100%;-webkit-text-size-adjust:100%}
body,button,input,select,textarea{
  font-family:var(--font-sans);
}
body{
  font-size:16px;
  line-height:1.6;
  letter-spacing:0;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,h5,h6,
.brand,
.section-head h2,
.widget-title,
.post-title,
.side-card h3,
.trend-item h4,
.entry-content,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.meta,.byline,.single-meta,.compact-news-meta,.news-time-meta,.tag,.breadcrumb-scroll,.footer-note,.post-excerpt{
  font-family:var(--font-sans);
}
.hero-title,.single-title,.archive-title{
  font-weight:800;
  letter-spacing:var(--tracking-title);
  line-height:var(--lh-title);
  color:var(--text);
  text-wrap:balance;
}
.single-title{
  max-width:920px;
  font-size:clamp(2rem,4.2vw,3rem);
  margin:12px 0 12px;
}
.hero-title{
  font-size:clamp(1.65rem,3.5vw,2.45rem);
  line-height:1.14;
  font-weight:800;
}
.archive-title{font-size:clamp(1.65rem,2.8vw,2.15rem);font-weight:800}
.post-title,.side-card h3,.trend-item h4{
  font-weight:750;
  line-height:1.28;
  letter-spacing:-.012em;
  text-wrap:balance;
}
.post-title{font-size:clamp(1.02rem,1.45vw,1.16rem)}
.post-grid .post-card:first-child .post-title{font-size:clamp(1.12rem,2vw,1.38rem)}
.side-card h3{font-size:1rem;line-height:1.28}
.trend-item h4{font-size:.98rem;line-height:1.3}
.entry-content{
  font-size:var(--type-body);
  line-height:var(--lh-body);
  color:#1f2228;
  letter-spacing:0;
  max-width:100%;
}
.entry-content p{margin:0 0 1.15em}
.entry-content ul,.entry-content ol{margin:0 0 1.15em;padding-left:1.25em}
.entry-content h2,.entry-content h3,.entry-content h4{
  font-weight:800;
  color:var(--text);
  line-height:1.24;
  letter-spacing:-.012em;
  margin:1.55em 0 .55em;
}
.entry-content h2{font-size:clamp(1.38rem,2.5vw,1.85rem)}
.entry-content h3{font-size:clamp(1.2rem,2vw,1.45rem)}
.entry-content blockquote{
  border-left:4px solid var(--brand);
  padding:6px 0 6px 18px;
  margin:1.3em 0;
  color:#30333a;
  font-size:1.02em;
  font-style:normal;
  font-weight:500;
}
.meta,.byline{font-size:12.5px;letter-spacing:0;color:var(--muted)}
.single-meta.compact-news-meta{
  font-size:13.5px;
  line-height:1.35;
  letter-spacing:0;
  font-weight:500;
}
.single-meta.compact-news-meta .meta-author a{font-weight:700}
.tag{
  font-size:10.5px;
  line-height:1;
  letter-spacing:.045em;
  font-weight:800;
}
.post-excerpt{font-size:14px;line-height:1.55;color:var(--muted);font-weight:400}
.section-head h2{font-size:13.5px;letter-spacing:.065em;line-height:1;font-weight:800}
.widget-title{font-size:14px;letter-spacing:.045em;line-height:1.2;font-weight:800}
.footer-brand{font-weight:800;letter-spacing:-.018em}
.footer-about-text{font-size:15px;line-height:1.65}
.footer-section a,.footer-links a{font-size:14px;line-height:1.35}
@media(max-width:900px){
  body{font-size:16px;line-height:1.58}
  .single-title{font-size:clamp(1.82rem,6.2vw,2.25rem);line-height:1.14;letter-spacing:-.016em}
  .hero-title{font-size:clamp(1.5rem,5.5vw,1.95rem);line-height:1.16}
  .post-title{font-size:1.06rem;line-height:1.28}
  .entry-content{font-size:var(--type-body-mobile);line-height:1.74}
  .entry-content h2{font-size:1.48rem}
  .entry-content h3{font-size:1.28rem}
}
@media(max-width:560px){
  .single-title{font-size:1.82rem;line-height:1.15;margin-top:10px}
  .single-meta.compact-news-meta{font-size:12.75px;line-height:1.3}
  .entry-content{font-size:17px;line-height:1.74}
  .entry-content p{margin-bottom:1.08em}
  .post-title{font-size:1.04rem}
  .side-card h3{font-size:.98rem}
  .breadcrumb-scroll{font-size:12px}
  .footer-about-text{font-size:14.5px;line-height:1.6}
}


/* v2.6 Typography final: single system font + balanced news scale */
:root{
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --font-news:var(--font-sans);
  --font-meta:var(--font-sans);
  --type-body:17.5px;
  --type-body-mobile:17px;
  --lh-body:1.72;
  --lh-title:1.18;
  --tracking-title:-.012em;
}
html{font-size:100%;-webkit-text-size-adjust:100%}
body,
button,
input,
select,
textarea,
h1,h2,h3,h4,h5,h6,
.brand,
.main-nav,
.section-head h2,
.widget-title,
.hero-title,
.single-title,
.archive-title,
.post-title,
.side-card h3,
.trend-item h4,
.entry-content,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.meta,
.byline,
.single-meta,
.compact-news-meta,
.news-time-meta,
.tag,
.breadcrumb-scroll,
.footer-note,
.post-excerpt,
.footer-about-text{
  font-family:var(--font-sans)!important;
}
body{
  font-size:16px;
  line-height:1.6;
  letter-spacing:0;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,h5,h6{
  font-weight:700;
  letter-spacing:-.01em;
}
.hero-title,
.single-title,
.archive-title{
  font-weight:740!important;
  letter-spacing:var(--tracking-title);
  line-height:var(--lh-title);
  text-wrap:balance;
}
.single-title{
  max-width:900px;
  font-size:clamp(1.85rem,3.35vw,2.55rem)!important;
  line-height:1.18!important;
  margin:12px 0 10px;
}
.hero-title{
  font-size:clamp(1.45rem,3vw,2.15rem)!important;
  line-height:1.18!important;
  font-weight:740!important;
}
.archive-title{
  font-size:clamp(1.45rem,2.4vw,1.95rem)!important;
  font-weight:740!important;
}
.post-title,
.side-card h3,
.trend-item h4{
  font-weight:650!important;
  line-height:1.32!important;
  letter-spacing:-.006em;
  text-wrap:balance;
}
.post-title{font-size:clamp(1rem,1.3vw,1.1rem)!important}
.post-grid .post-card:first-child .post-title{font-size:clamp(1.08rem,1.65vw,1.24rem)!important}
.side-card h3{font-size:.98rem!important}
.trend-item h4{font-size:.96rem!important}
.entry-content{
  font-size:var(--type-body)!important;
  line-height:var(--lh-body)!important;
  font-weight:400;
  color:#1f2228;
  letter-spacing:0;
}
.entry-content p{margin:0 0 1.12em}
.entry-content ul,
.entry-content ol{margin:0 0 1.12em;padding-left:1.25em}
.entry-content h2,
.entry-content h3,
.entry-content h4{
  font-weight:700!important;
  line-height:1.26!important;
  letter-spacing:-.008em;
  margin:1.5em 0 .55em;
}
.entry-content h2{font-size:clamp(1.32rem,2.1vw,1.7rem)!important}
.entry-content h3{font-size:clamp(1.16rem,1.7vw,1.35rem)!important}
.meta,
.byline{
  font-size:12.5px;
  line-height:1.35;
  letter-spacing:0;
  color:var(--muted);
  font-weight:500;
}
.single-meta.compact-news-meta{
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:500;
  letter-spacing:0;
}
.single-meta.compact-news-meta .meta-author a{font-weight:650!important}
.tag{
  font-size:10.5px!important;
  line-height:1;
  letter-spacing:.04em;
  font-weight:700!important;
}
.post-excerpt{
  font-size:14px!important;
  line-height:1.55!important;
  color:var(--muted);
  font-weight:400;
}
.section-head h2,
.widget-title{
  font-size:13.5px!important;
  line-height:1.15;
  letter-spacing:.055em;
  font-weight:700!important;
}
.brand,
.footer-brand{font-weight:750!important;letter-spacing:-.014em}
.footer-about-text{font-size:15px!important;line-height:1.65!important}
@media(max-width:900px){
  .single-title{
    font-size:clamp(1.65rem,5.4vw,2.05rem)!important;
    line-height:1.18!important;
  }
  .hero-title{
    font-size:clamp(1.38rem,4.8vw,1.78rem)!important;
    line-height:1.18!important;
  }
  .post-title{font-size:1.04rem!important;line-height:1.32!important}
  .entry-content{font-size:var(--type-body-mobile)!important;line-height:1.72!important}
  .entry-content h2{font-size:1.42rem!important}
  .entry-content h3{font-size:1.22rem!important}
}
@media(max-width:560px){
  .single-title{
    font-size:1.68rem!important;
    line-height:1.19!important;
    margin-top:10px;
  }
  .single-meta.compact-news-meta{font-size:12.5px!important;line-height:1.3!important}
  .entry-content{font-size:17px!important;line-height:1.72!important}
  .post-title{font-size:1.02rem!important}
  .side-card h3{font-size:.96rem!important}
  .breadcrumb-scroll{font-size:12px!important}
}

/* v2.9 Sidebar Trending Now: flat theme-matched list (no card inside card) */
.trending-widget{padding:16px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px 0 rgba(0,0,0,.02)}
.trending-widget .widget-title{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0 0 10px;border:0;border-bottom:2px solid var(--dark);color:var(--text)}
.trending-widget .widget-title:before{content:"";width:4px;height:16px;border-radius:2px;background:var(--brand)}
.trend-card-list{display:grid;gap:0;counter-reset:none}
.trend-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;padding:12px 0;border-bottom:1px solid var(--border);transition:none}
.trend-card:first-child{padding-top:0}
.trend-card:last-child{padding-bottom:0;border-bottom:0}
.trend-card:before{display:none!important}
.trend-card:hover{transform:none;box-shadow:none;border-color:var(--border)}
.trend-thumb{display:block;aspect-ratio:4/3;background:var(--surface);overflow:hidden;border-radius:var(--radius)}
.trend-thumb img,.trend-thumb>div{width:100%!important;height:100%!important;object-fit:cover;border-radius:var(--radius)!important}
.trend-body{min-width:0;padding:0!important}
.trend-body .post-meta-row{margin:0 0 6px;display:flex;align-items:center;gap:7px;justify-content:flex-start;min-width:0}
.trend-body .tag{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;padding:3px 7px;line-height:1.1}
.trend-body .meta{font-size:12px;white-space:nowrap;color:var(--muted)}
.trend-title,.trend-card h4{margin:0!important;font-size:.96rem!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.006em}
.trend-title a,.trend-card h4 a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.trend-title a:hover{color:var(--brand)}
@media(max-width:900px){.trend-card-list{grid-template-columns:1fr 1fr;gap:0 18px}.trend-card{grid-template-columns:96px minmax(0,1fr)}}
@media(max-width:560px){.trend-card-list{grid-template-columns:1fr}.trend-card{grid-template-columns:92px minmax(0,1fr)}.trend-title,.trend-card h4{font-size:.94rem!important}}


/* v3.0: Single/archive sidebar Trending Now - flat publisher layout, no nested card look */
.single-layout .dpn-sidebar-area,
.archive-layout .dpn-sidebar-area{display:block!important;visibility:visible!important}
.dpn-trending-widget{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:0;margin:0 0 20px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.dpn-sidebar-head{display:flex;align-items:center;gap:9px;padding:13px 14px;border-bottom:2px solid var(--dark);background:#fff}
.dpn-sidebar-head-mark{width:4px;height:18px;border-radius:2px;background:var(--brand);flex:0 0 auto}
.dpn-sidebar-head h3{margin:0;font-size:14px;line-height:1.2;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:var(--text)}
.dpn-trending-list{display:block;padding:0 14px;background:#fff}
.dpn-trending-row{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:12px;align-items:center;padding:13px 0;border:0!important;border-bottom:1px solid var(--border)!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;transform:none!important}
.dpn-trending-row:last-child{border-bottom:0!important}
.dpn-trending-row:before{display:none!important;content:none!important}
.dpn-trending-thumb{display:block;width:96px;aspect-ratio:4/3;background:var(--surface);border-radius:var(--radius);overflow:hidden;flex:0 0 auto}
.dpn-trending-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;display:block}
.dpn-trending-content{min-width:0;padding:0!important;background:transparent!important}
.dpn-trending-meta{display:flex;align-items:center;gap:7px;margin:0 0 6px;font-size:12px;line-height:1.15;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dpn-trending-cat{display:inline-block;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--brand);color:#fff;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;line-height:1}
.dpn-trending-content h4{margin:0!important;font-size:15px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.006em!important}
.dpn-trending-content h4 a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:inherit;text-decoration:none}
.dpn-trending-content h4 a:hover{color:var(--brand)}
@media(max-width:900px){.single-layout .dpn-sidebar-area,.archive-layout .dpn-sidebar-area{display:block!important}.dpn-trending-list{padding:0 12px}.dpn-trending-row{grid-template-columns:92px minmax(0,1fr)!important}.dpn-trending-thumb{width:92px}.dpn-trending-content h4{font-size:14.5px!important}}
@media(max-width:560px){.dpn-trending-widget{margin-top:4px}.dpn-sidebar-head{padding:12px}.dpn-trending-list{padding:0 12px}.dpn-trending-row{grid-template-columns:88px minmax(0,1fr)!important;gap:11px;padding:12px 0}.dpn-trending-thumb{width:88px}.dpn-trending-content h4{font-size:14px!important}}


/* v4.5 compact UPK-style official SVG share icons */
.upk-story-share{width:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;margin:26px 0 24px auto!important;padding:14px 0!important;border-top:1px solid var(--border)!important;border-bottom:1px solid var(--border)!important}
.upk-story-share a{width:34px!important;height:34px!important;border-radius:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;text-decoration:none!important;line-height:1!important;transition:transform .15s ease,opacity .15s ease,box-shadow .15s ease!important}
.upk-story-share svg{width:18px!important;height:18px!important;display:block!important;fill:currentColor!important;flex:0 0 auto!important}
.upk-story-share a:hover{opacity:.92!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(0,0,0,.13)!important}
.upk-share-facebook{background:#1877F2!important}.upk-share-whatsapp{background:#25D366!important}.upk-share-x{background:#000!important}.upk-share-link{background:#6B7280!important}
@media(max-width:560px){.upk-story-share{justify-content:flex-start!important;margin:22px 0!important;padding:13px 0!important;gap:6px!important}.upk-story-share a{width:33px!important;height:33px!important}.upk-story-share svg{width:17px!important;height:17px!important}}



/* v4.6 global color contrast audit: red brand + readable dark sections */
:root{
  --brand:#d71920;
  --brand-dark:#ab1016;
  --dark:#0e1116;
  --dark-2:#061133;
  --text:#101114;
  --muted:#686b73;
  --text-on-dark:#ffffff;
  --muted-on-dark:rgba(255,255,255,.82);
}

/* Hero/featured dark surfaces must not inherit dark heading color */
.hero-card,
.hero-overlay,
.newsletter,
.site-footer,
.site-topbar,
.breaking{
  color:var(--text-on-dark)!important;
}

.hero-overlay .hero-title,
.hero-overlay h1,
.hero-overlay h2,
.hero-overlay h3,
.hero-card .hero-title,
.hero-card h1,
.hero-card h2,
.newsletter h2,
.newsletter h3,
.site-footer h2,
.site-footer h3,
.site-footer .footer-brand,
.breaking-title,
.breaking a,
.site-topbar a{
  color:var(--text-on-dark)!important;
}

.hero-overlay .meta,
.hero-overlay .byline,
.hero-overlay .post-excerpt,
.newsletter p,
.newsletter .meta,
.site-footer p,
.site-footer .footer-about-text,
.site-footer .footer-note,
.site-footer .copyright,
.site-footer .footer-links,
.site-footer .footer-links a,
.site-footer .footer-section a,
.site-topbar .topbar-links,
.site-topbar .topbar-text{
  color:var(--muted-on-dark)!important;
}

/* Section title strips: dark background + white text, with red underline accent */
.section-head{
  border-bottom:2px solid var(--brand)!important;
}
.section-head h2,
.section-head .section-title,
.dpn-sidebar-head h3,
.trending-widget .widget-title{
  color:#fff!important;
}
.section-head h2{
  background:var(--dark)!important;
  color:#fff!important;
  border-left:4px solid var(--brand)!important;
}

/* Sidebar headers stay readable on white cards */
.dpn-sidebar-head{
  background:var(--dark)!important;
  border-bottom:2px solid var(--brand)!important;
}
.dpn-sidebar-head-mark{background:var(--brand)!important}
.dpn-trending-widget{background:#fff!important;color:var(--text)!important}
.dpn-trending-content h4,
.dpn-trending-content h4 a{color:var(--text)!important}
.dpn-trending-content h4 a:hover{color:var(--brand)!important}
.dpn-trending-meta{color:var(--muted)!important}

/* Light cards and normal content must remain dark text on white */
.post-card,
.post-card h2,
.post-card h3,
.post-card .post-title,
.side-card,
.side-card h3,
.widget-box,
.author-box,
.entry-content,
.single-title,
.archive-title,
.single-wrap,
.content-layout,
.home-grid .side-stack{
  color:var(--text)!important;
}
.post-card .meta,
.side-card .meta,
.widget-box .meta,
.single-meta,
.compact-news-meta,
.author-box p{
  color:var(--muted)!important;
}

/* Footer: dark surface readable links + red brand accent */
.site-footer{background:var(--dark)!important;color:#fff!important}
.site-footer a{color:rgba(255,255,255,.86)!important}
.site-footer a:hover{color:#fff!important}
.footer-about .footer-brand:before,
.footer-section h3:after{background:var(--brand)!important}
.footer-section h3{color:#fff!important}

/* Breaking ticker keeps red brand and strong contrast */
.breaking{background:var(--brand)!important;color:#fff!important}
.breaking-label{background:#fff!important;color:var(--brand)!important}

/* Mobile hero moves overlay below image; keep it dark and readable */
@media(max-width:900px){
  .hero-overlay{background:var(--dark)!important;color:#fff!important}
  .hero-overlay .hero-title{color:#fff!important}
  .hero-overlay .meta{color:rgba(255,255,255,.82)!important}
}

/* v4.7: Sidebar Daily Brief timeline */
.dpn-daily-brief{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  margin:0 0 20px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.dpn-brief-head{
  padding:15px 15px 13px;
  background:linear-gradient(135deg,var(--dark),#111827);
  color:#fff;
  border-bottom:3px solid var(--brand);
}
.dpn-brief-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
  color:#fff;
  background:var(--brand);
  border-radius:999px;
  padding:3px 8px;
  font-size:10px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.dpn-brief-head h3{
  margin:0;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:750;
  letter-spacing:-.01em;
}
.dpn-brief-head p{
  margin:6px 0 0;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.45;
}
.dpn-brief-timeline{
  position:relative;
  padding:12px 14px 13px;
  background:#fff;
}
.dpn-brief-timeline:before{
  content:"";
  position:absolute;
  top:22px;
  bottom:22px;
  left:73px;
  width:2px;
  background:linear-gradient(var(--brand),rgba(228,0,43,.12));
}
.dpn-brief-item{
  position:relative;
  display:grid;
  grid-template-columns:46px 16px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:10px 0;
  border-bottom:1px solid var(--border);
}
.dpn-brief-item:last-child{border-bottom:0}
.dpn-brief-item time{
  color:var(--brand);
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  white-space:nowrap;
  padding-top:2px;
}
.dpn-brief-dot{
  position:relative;
  z-index:1;
  width:12px;
  height:12px;
  margin-top:2px;
  border-radius:999px;
  background:var(--brand);
  border:3px solid #fff;
  box-shadow:0 0 0 2px rgba(228,0,43,.18);
}
.dpn-brief-content{min-width:0}
.dpn-brief-content span{
  display:block;
  margin:0 0 4px;
  color:var(--muted);
  font-size:10px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dpn-brief-content h4{
  margin:0;
  font-size:14.5px;
  line-height:1.32;
  font-weight:650;
  letter-spacing:-.006em;
}
.dpn-brief-content h4 a{
  color:var(--text);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.dpn-brief-content h4 a:hover{color:var(--brand)}
@media(max-width:900px){
  .dpn-daily-brief{margin-top:16px}
  .dpn-brief-timeline:before{left:72px}
}


/* v4.8 final mobile polish: sidebar order, hero sizing, menu reliability, LCP-safe layout */
:root{--radius:6px;--mobile-gap:18px}
@media(max-width:900px){
  body.nav-open{overflow:hidden}
  .content-layout,.single-layout,.archive-layout{display:flex!important;flex-direction:column!important;gap:22px!important}
  .content-layout>main,.single-layout>main,.archive-layout>main{order:1;min-width:0}
  .content-layout>.sidebar,.single-layout>.sidebar,.archive-layout>.sidebar{display:block!important;order:2!important;width:100%!important;position:static!important;margin-top:8px!important}
  .sidebar .widget-box{padding:14px!important;margin-bottom:16px!important;border-radius:6px!important}
  .hero-card{min-height:0!important;border-radius:6px!important;box-shadow:none!important;background:#0e1116!important}
  .hero-card img{width:100%!important;height:clamp(210px,58vw,360px)!important;object-fit:cover!important;min-height:0!important}
  .hero-overlay{position:static!important;background:#0e1116!important;color:#fff!important;padding:16px!important}
  .hero-title{font-size:clamp(24px,7vw,32px)!important;line-height:1.16!important;letter-spacing:-.025em!important;margin:10px 0 6px!important}
  .hero-overlay .meta,.hero-overlay .byline{color:rgba(255,255,255,.84)!important}
  .site-header{position:sticky;top:0;z-index:1000}
  .main-nav{max-height:calc(100vh - 56px);overflow:auto;-webkit-overflow-scrolling:touch}
  .nav-open .main-nav{display:block!important}
  .main-nav a{min-height:42px;display:flex!important;align-items:center}
  .single-featured img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  .single-title{font-size:clamp(28px,8vw,36px)!important;line-height:1.16!important;letter-spacing:-.025em!important}
  .single-wrap{padding-top:18px!important;padding-bottom:32px!important}
  .entry-content{font-size:17px!important;line-height:1.72!important}
  .single-meta{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;white-space:nowrap!important;gap:8px!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .single-meta::-webkit-scrollbar{display:none}
  .upk-story-share{justify-content:flex-start!important;overflow-x:auto!important;padding-bottom:2px!important;scrollbar-width:none}
  .upk-story-share::-webkit-scrollbar{display:none}
  .daily-brief,.dpn-daily-brief{overflow:hidden}
}
@media(max-width:560px){
  .container{width:min(100% - 20px,var(--max))!important}
  .header-main{height:54px!important}
  .brand img{max-height:38px!important}.brand{font-size:22px!important}
  .breaking-inner{height:32px!important}.breaking-title{font-size:12.5px!important}
  .post-card,.widget-box,.single-featured,.side-card img,.post-thumb{border-radius:6px!important}
  .post-body{padding:12px!important}.post-title{font-size:18px!important;line-height:1.28!important}
  .footer-inner,.footer-grid{gap:18px!important;padding:26px 0!important}
}
@media(min-width:901px){
  .single-layout .sidebar,.archive-layout .sidebar,.content-layout .sidebar{display:block!important}
  .sidebar{align-self:start}
}

/* v5.6 Ads Manager */
.dpn-ad-slot{margin:24px 0;padding:0;text-align:center;clear:both}
.dpn-ad-label{font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#8a8f98;margin:0 0 8px;text-align:center;font-weight:600}
.dpn-ad-code{display:block;max-width:100%;min-height:1px;overflow:hidden}
.dpn-ad-code ins{max-width:100%}
.dpn-ad-after_featured{margin:18px 0 26px}
.dpn-ad-end_article{margin:28px 0 18px;border-top:1px solid var(--upk-line,#e7e7e7);border-bottom:1px solid var(--upk-line,#e7e7e7);padding:18px 0}
.entry-content .dpn-ad-slot{margin:26px auto}
@media(max-width:760px){.dpn-ad-slot{margin:20px 0}.entry-content .dpn-ad-slot{margin:22px 0}.dpn-ad-desktop-only{display:none!important}}
@media(min-width:761px){.dpn-ad-mobile-only{display:none!important}}

