/*
Theme Name: News Nigam
Theme URI: https://example.com/news-nigam
Author: News Nigam
Description: Premium-style Hindi news WordPress theme with breaking ticker, dark mode, responsive navigation, category sections and ad slots.
Version: 1.3.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: news-nigam
Tags: news, blog, custom-logo, custom-menu, featured-images, translation-ready
*/
:root{--nn-red:#c91525;--nn-red-dark:#a80f1d;--nn-ink:#171717;--nn-muted:#666;--nn-line:#e7e7e7;--nn-bg:#fff;--nn-card:#fff;--nn-soft:#f5f5f5;--nn-width:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--nn-bg);color:var(--nn-ink);font-family:system-ui,-apple-system,"Noto Sans Devanagari","Mangal",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--nn-red)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.nn-container{width:min(var(--nn-width),calc(100% - 32px));margin-inline:auto}.nn-topbar{background:#171717;color:#eee;font-size:12px}.nn-topbar .nn-container{display:flex;justify-content:space-between;gap:12px;padding:6px 0}.nn-masthead{padding:22px 0;border-bottom:1px solid var(--nn-line)}.nn-brand-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.nn-brand{display:flex;align-items:center;gap:12px}.nn-logo-mark{display:grid;place-items:center;background:var(--nn-red);color:#fff;width:52px;height:52px;font-weight:900;font-size:24px;border-radius:5px}.nn-brand-name{font-size:clamp(27px,4vw,42px);line-height:1.1;font-weight:900;letter-spacing:-1px}.nn-brand-name span{color:var(--nn-red)}.nn-tagline{color:var(--nn-muted);font-size:12px;margin-top:4px}.nn-header-ad{min-height:68px;max-width:468px;width:40%;display:flex;align-items:center;justify-content:center;border:1px dashed #ccc;background:var(--nn-soft);color:#888;font-size:12px;text-align:center;padding:8px}.nn-nav-wrap{background:var(--nn-red);color:#fff}.nn-nav-inner{display:flex;align-items:center;gap:18px}.nn-nav{display:flex;align-items:center;gap:0;flex:1}.nn-nav ul{display:flex;list-style:none;padding:0;margin:0;flex-wrap:wrap}.nn-nav li a{display:block;padding:12px 14px;font-weight:700;font-size:14px}.nn-nav li a:hover,.nn-nav li.current-menu-item>a{background:var(--nn-red-dark);color:#fff}.nn-nav-actions{display:flex;align-items:center;gap:8px}.nn-icon-button,.nn-menu-toggle{border:1px solid #ffffff70;background:transparent;color:#fff;border-radius:4px;padding:6px 10px;cursor:pointer}.nn-menu-toggle{display:none}.nn-ticker{background:#fff4f4;border-bottom:1px solid #f2d5d8}.nn-ticker-inner{display:flex;align-items:stretch;min-height:42px}.nn-ticker-label{background:#171717;color:#fff;font-size:13px;font-weight:800;padding:9px 14px;white-space:nowrap}.nn-ticker-label:before{content:"";display:inline-block;width:7px;height:7px;background:#ff293a;border-radius:50%;margin-right:8px;animation:nnpulse 1.3s infinite}.nn-ticker-text{padding:8px 14px;font-size:14px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nn-ticker-text a{margin-right:20px}.nn-ticker-text a:before{content:"•";color:var(--nn-red);padding-right:8px}@keyframes nnpulse{50%{opacity:.3}}.nn-main{padding:28px 0 50px}.nn-ad-slot{border:1px dashed #d0d0d0;background:var(--nn-soft);color:#888;min-height:90px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px;margin:0 auto 28px;font-size:12px}.nn-ad-slot.nn-sidebar-ad{min-height:250px}.nn-section{margin:0 0 36px}.nn-section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--nn-red);margin-bottom:18px;gap:12px}.nn-section-title{font-size:23px;font-weight:900;margin:0;padding:0 0 8px;line-height:1.25}.nn-section-title:before{content:"";display:inline-block;width:5px;height:22px;background:var(--nn-red);margin-right:10px;vertical-align:-4px}.nn-more{font-size:13px;color:var(--nn-red);font-weight:800}.nn-hero-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.nn-hero-main,.nn-story-card{min-width:0}.nn-thumb{position:relative;overflow:hidden;background:#e8e8e8;aspect-ratio:16/9}.nn-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.nn-story-card:hover .nn-thumb img,.nn-hero-main:hover .nn-thumb img{transform:scale(1.035)}.nn-cat-label{display:inline-block;background:var(--nn-red);color:#fff;padding:3px 8px;font-size:11px;font-weight:800;line-height:1.6}.nn-hero-copy{padding:14px 0}.nn-hero-title{font-size:clamp(23px,3vw,34px);line-height:1.3;margin:7px 0;font-weight:900}.nn-meta{font-size:12px;color:var(--nn-muted)}.nn-hero-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.nn-story-title{font-size:17px;line-height:1.4;margin:8px 0;font-weight:800}.nn-story-card .nn-meta{font-size:11px}.nn-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px}.nn-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.nn-list-story{display:grid;grid-template-columns:150px 1fr;gap:15px;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid var(--nn-line)}.nn-list-story .nn-thumb{aspect-ratio:4/3}.nn-list-story h2{font-size:19px;line-height:1.4;margin:4px 0 7px}.nn-excerpt{color:var(--nn-muted);font-size:14px}.nn-sidebar-widget{border:1px solid var(--nn-line);padding:16px;margin-bottom:22px}.nn-sidebar-widget h3{font-size:18px;margin:0 0 14px;padding-bottom:8px;border-bottom:2px solid var(--nn-red)}.nn-trending-item{display:grid;grid-template-columns:28px 1fr;gap:10px;margin:0 0 13px;font-weight:700;font-size:14px;line-height:1.4}.nn-trending-num{color:var(--nn-red);font-weight:900;font-size:20px}.nn-post-header{max-width:900px;margin:0 auto 22px}.nn-post-title{font-size:clamp(29px,5vw,48px);line-height:1.25;font-weight:900;margin:12px 0}.nn-post-featured{margin:0 auto 25px;max-width:1000px}.nn-post-content{max-width:800px;margin:0 auto;font-size:18px;line-height:1.9}.nn-post-content p{margin:0 0 1.3em}.nn-post-content h2,.nn-post-content h3{line-height:1.35;margin-top:1.6em}.nn-post-content a{color:var(--nn-red);text-decoration:underline}.nn-post-content blockquote{border-left:4px solid var(--nn-red);margin:24px 0;padding:8px 20px;background:var(--nn-soft)}.nn-pagination{margin:28px 0}.nn-pagination .page-numbers{display:inline-block;padding:8px 13px;border:1px solid var(--nn-line);margin-right:5px}.nn-pagination .current{background:var(--nn-red);color:white;border-color:var(--nn-red)}.nn-footer{background:#151515;color:#d8d8d8;padding:0 0 18px;margin-top:24px;border-top:1px solid #292929}.nn-footer-topline{height:4px;background:linear-gradient(90deg,#a90913,#e31b2b,#a90913)}.nn-footer-grid{display:grid;grid-template-columns:minmax(240px,1.55fr) minmax(140px,.8fr) minmax(150px,.9fr) minmax(230px,1.2fr);gap:34px;padding:38px 0 28px}.nn-footer h3{color:#fff;margin:0 0 17px;font-size:17px;line-height:1.4;font-weight:800;position:relative;padding-bottom:10px}.nn-footer h3:after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;background:#d41120}.nn-footer a{color:#d4d4d4;text-decoration:none;transition:color .18s ease}.nn-footer a:hover{color:#ff3945}.nn-footer-logo{display:inline-block;font-size:34px;line-height:1.1;font-weight:900;letter-spacing:-1px;margin:0 0 12px}.nn-footer-logo-news{color:#fff}.nn-footer-logo-nigam{color:#e31b2b}.nn-footer-tagline{margin:0 0 10px;color:#fff;font-size:14px;font-weight:700}.nn-footer-about{margin:0 0 16px;color:#aaa;font-size:13px;line-height:1.8;max-width:310px}.nn-footer-social{display:flex;gap:9px;margin:15px 0 0}.nn-footer-social a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #424242;border-radius:50%;background:#202020;color:#fff;font-size:15px;font-weight:800}.nn-footer-social a:hover{background:#d41120;border-color:#d41120;color:#fff}.nn-footer-links ul{list-style:none;padding:0;margin:0}.nn-footer-links li{margin:0;padding:0;border-bottom:1px solid #292929}.nn-footer-links li:last-child{border-bottom:0}.nn-footer-links li a{display:block;padding:8px 0;font-size:13px;line-height:1.4}.nn-footer-links li a:before{content:"›";color:#e31b2b;font-size:18px;margin-right:8px}.nn-footer-search>p{font-size:13px;line-height:1.7;color:#aaa;margin:-3px 0 15px}.nn-footer .nn-search-form{display:flex;gap:6px}.nn-footer .nn-search-form input{min-width:0;width:100%;height:43px;padding:10px 12px;border:1px solid #3b3b3b;border-radius:2px;background:#202020;color:#fff;box-shadow:none}.nn-footer .nn-search-form input::placeholder{color:#aaa}.nn-footer .nn-search-form button{min-height:43px;border:0;border-radius:2px;background:#d41120;color:#fff;padding:0 15px;font-weight:700;cursor:pointer}.nn-footer .nn-search-form button:hover{background:#f01c2b}.nn-footer-contact-note{margin-top:20px;color:#aaa;font-size:12px;display:flex;align-items:center;gap:8px}.nn-footer-red-dot{display:inline-block;width:7px;height:7px;background:#e31b2b;border-radius:50%;box-shadow:0 0 0 4px #e31b2b22}.nn-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #383838;margin-top:0;padding-top:16px;color:#999;font-size:12px;line-height:1.6}.nn-footer-bottom strong{color:#ddd}.nn-footer-bottom a{white-space:nowrap;color:#ddd}.nn-footer .nn-footer-widget{margin-top:15px;font-size:13px}.nn-search-form{display:flex;gap:6px}.nn-search-form input{min-width:0;width:100%;padding:9px;border:1px solid var(--nn-line);background:var(--nn-bg);color:var(--nn-ink)}.nn-search-form button{border:0;background:var(--nn-red);color:#fff;padding:0 12px;cursor:pointer}.screen-reader-text{position:absolute;left:-9999px}.nn-empty{padding:30px;background:var(--nn-soft)}body.nn-dark{--nn-ink:#ededed;--nn-muted:#aaa;--nn-line:#383838;--nn-bg:#171717;--nn-card:#222;--nn-soft:#252525}body.nn-dark .nn-masthead,body.nn-dark .nn-ticker{background:#1e1e1e}body.nn-dark .nn-ticker{border-color:#383838}body.nn-dark .nn-ticker-label{background:#000}body.nn-dark .nn-ticker-text{color:#eee}body.nn-dark .nn-sidebar-widget{background:#1e1e1e}body.nn-dark .nn-thumb{background:#333}body.nn-dark .nn-header-ad{background:#252525;border-color:#555}body.nn-dark .nn-ad-slot{background:#252525;border-color:#555}body.nn-dark .nn-nav-wrap{background:#a80f1d}
@media(max-width:900px){.nn-header-ad{width:32%}.nn-content-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.nn-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nn-hero-grid{grid-template-columns:1fr}.nn-hero-side{grid-template-columns:repeat(4,minmax(0,1fr))}.nn-hero-side .nn-story-title{font-size:14px}}
@media(max-width:700px){.nn-container{width:min(var(--nn-width),calc(100% - 24px))}.nn-topbar .nn-container{font-size:11px}.nn-masthead{padding:14px 0}.nn-logo-mark{width:43px;height:43px;font-size:20px}.nn-brand-name{font-size:27px}.nn-tagline{font-size:10px}.nn-header-ad{display:none}.nn-nav-inner{flex-wrap:wrap;gap:0}.nn-menu-toggle{display:block;margin:7px 0}.nn-nav{display:none;flex-basis:100%;order:3}.nn-nav.is-open{display:block}.nn-nav ul{display:block;width:100%}.nn-nav li a{padding:10px 12px;border-top:1px solid #ffffff30}.nn-nav-actions{margin-left:auto}.nn-ticker-label{padding:9px 10px;font-size:11px}.nn-ticker-text{font-size:12px;padding:8px}.nn-main{padding-top:18px}.nn-content-grid{grid-template-columns:1fr}.nn-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:14px}.nn-sidebar-widget{margin-bottom:0}.nn-sidebar .nn-ad-slot{grid-column:1/-1}.nn-hero-side{grid-template-columns:repeat(2,minmax(0,1fr))}.nn-hero-title{font-size:25px}.nn-card-grid{gap:18px 12px}.nn-story-title{font-size:15px}.nn-list-story{grid-template-columns:115px 1fr;gap:12px}.nn-list-story h2{font-size:16px}.nn-excerpt{display:none}.nn-footer-grid{grid-template-columns:1fr 1fr}.nn-footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:420px){.nn-topbar .nn-container span:last-child{display:none}.nn-brand-name{font-size:24px}.nn-card-grid{grid-template-columns:1fr 1fr}.nn-sidebar{grid-template-columns:1fr}.nn-footer-grid{grid-template-columns:1fr}.nn-footer-grid>div:first-child{grid-column:auto}.nn-list-story{grid-template-columns:100px 1fr}.nn-list-story h2{font-size:14px}}

/* Custom News Nigam generated logo */
.nn-logo-image{display:block;max-width:390px;width:100%;}.nn-logo-image img{width:100%;height:auto;max-height:95px;object-fit:contain;object-position:left center}.nn-brand{min-width:0}@media(max-width:700px){.nn-logo-image{max-width:255px}.nn-logo-image img{max-height:65px}}

/* Header refinement: logo-only brand, aligned and responsive */
.nn-brand{display:flex;align-items:center;min-width:0;flex:0 1 auto}
.nn-logo-image{display:block;width:clamp(220px,34vw,390px);max-width:100%;line-height:0}
.nn-logo-image img{display:block;width:100%;height:auto;max-height:88px;object-fit:contain;object-position:left center}
.nn-brand .custom-logo-link{display:block;line-height:0}
.nn-brand .custom-logo{display:block;width:auto;max-width:min(390px,100%);max-height:88px;object-fit:contain}
@media(max-width:700px){.nn-brand-row{gap:10px}.nn-logo-image{width:min(255px,70vw)}.nn-logo-image img{max-height:62px}.nn-brand .custom-logo{max-width:min(255px,70vw);max-height:62px}.nn-header-ad{display:none}}

/* Minimal logo-only masthead */
.nn-masthead{padding:14px 0}.nn-brand-row{justify-content:center}.nn-brand{justify-content:center;width:100%}.nn-logo-image{width:clamp(220px,34vw,390px);margin-inline:auto}.nn-logo-image img{max-height:82px;object-position:center}.nn-brand .custom-logo-link{margin-inline:auto}.nn-brand .custom-logo{margin-inline:auto;max-width:min(390px,100%);max-height:82px}
@media(max-width:700px){.nn-masthead{padding:10px 0}.nn-logo-image{width:min(250px,72vw)}.nn-logo-image img{max-height:58px}.nn-brand .custom-logo{max-width:min(250px,72vw);max-height:58px}}


/* v1.2.1 layout fixes: compact logo masthead and prevent inline thumbnail/title collisions */
.nn-masthead{padding:8px 0!important;min-height:0!important}
.nn-brand-row{min-height:0!important;padding:0!important;justify-content:center!important}
.nn-brand{min-height:0!important;margin:0!important;padding:0!important}
.nn-logo-image{display:block!important;width:clamp(200px,28vw,330px)!important;max-width:100%!important;margin:0 auto!important;line-height:0!important}
.nn-logo-image img{display:block!important;width:100%!important;height:auto!important;max-height:68px!important;object-fit:contain!important;object-position:center!important}
.nn-brand .custom-logo-link{display:block!important;margin:0 auto!important;line-height:0!important}
.nn-brand .custom-logo{display:block!important;width:auto!important;max-width:min(330px,78vw)!important;max-height:68px!important;height:auto!important;object-fit:contain!important;margin:0 auto!important}
.nn-thumb{display:block!important;width:100%!important;aspect-ratio:16/9!important;position:relative;overflow:hidden;line-height:0;flex:none}
.nn-thumb img{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover!important}
.nn-hero-grid,.nn-hero-side,.nn-card-grid,.nn-content-grid{min-width:0}
.nn-hero-main,.nn-story-card{min-width:0;align-self:start}
.nn-hero-copy{display:block;min-width:0;padding:12px 0 0}
.nn-hero-title,.nn-story-title,.nn-list-story h2,.nn-section-title{overflow-wrap:anywhere;word-break:normal}
.nn-story-title{margin:8px 0 6px;line-height:1.45}
.nn-section-head{min-width:0;align-items:flex-end}
.nn-section-title{line-height:1.3;margin:0;padding:0 0 8px}
.nn-card-grid{align-items:start}
.nn-list-story{align-items:start;min-width:0}
.nn-list-story>div{min-width:0}
.nn-main{clear:both;overflow-wrap:break-word}
@media(max-width:700px){
 .nn-masthead{padding:6px 0!important}
 .nn-logo-image{width:min(220px,72vw)!important}
 .nn-logo-image img{max-height:48px!important}
 .nn-brand .custom-logo{max-width:min(220px,72vw)!important;max-height:48px!important}
 .nn-hero-grid{gap:16px}
 .nn-hero-side{align-items:start;gap:14px}
 .nn-section{margin-bottom:28px}
 .nn-section-head{margin-bottom:14px}
}


/* News Nigam editorial homepage refresh v1.3.0 */
:root{--nn-width:1436px;--nn-red:#c91420;--nn-red-dark:#a90914;--nn-ink:#101820;--nn-muted:#68717c;--nn-line:#e4e6e8;--nn-soft:#f5f6f7}
body{font-family:Arial,"Noto Sans Devanagari","Mangal",sans-serif;line-height:1.5}
.nn-container{width:min(var(--nn-width),calc(100% - 100px))}
.nn-topbar{background:#191c20;color:#f4f4f4;font-size:13px}
.nn-topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.nn-top-info,.nn-socials{display:flex;align-items:center;gap:13px;white-space:nowrap}
.nn-top-info i{height:15px;width:1px;background:#7c8085;display:block}
.nn-weather-mini{color:#fff}.nn-weather-mini:first-letter{color:#ffc928}
.nn-socials>a{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#1672cf;border-radius:4px;font-weight:900;font-size:13px}
.nn-socials>a:nth-of-type(2){background:#050505}.nn-socials>a:nth-of-type(3){background:#d62976}.nn-socials>a:nth-of-type(4){background:#e62117}.nn-socials>a:nth-of-type(5){background:#229ed9}
.nn-socials>span{margin-right:3px}
.nn-dark-toggle{border:0;background:transparent;color:#f6f6f6;padding:4px 0 4px 18px;cursor:pointer;font-size:13px;margin-left:26px}
.nn-masthead{background:#fff;padding:12px 0;border-bottom:0}
.nn-brand-row{display:grid;grid-template-columns:minmax(330px, .47fr) minmax(0,1fr);align-items:center;gap:30px;min-height:100px}
.nn-brand{width:100%;justify-content:flex-start}
.nn-logo-image{width:100%;max-width:430px;margin:0!important;display:block}
.nn-logo-image img{width:100%;height:104px;max-height:104px;object-fit:fill;object-position:center}
.nn-brand .custom-logo-link{margin:0;max-width:100%}
.nn-brand .custom-logo{width:100%;height:104px;max-height:104px;max-width:430px;object-fit:contain;object-position:left center}
.nn-header-ad{width:100%;height:98px;max-width:none;min-height:0;padding:0;border:0;background:#fff;display:block;overflow:hidden}
.nn-header-ad img{width:100%;height:100%;object-fit:cover}
.nn-nav-wrap{background:linear-gradient(90deg,#b90e18,#d00f1d);box-shadow:0 2px 4px #00000012}
.nn-nav-inner{gap:0;min-height:48px;align-items:stretch}
.nn-nav{min-width:0}
.nn-nav ul{width:100%;flex-wrap:nowrap;justify-content:space-between}
.nn-nav li{flex:0 0 auto}
.nn-nav li a{padding:13px 15px;font-size:15px;white-space:nowrap;line-height:22px}
.nn-nav li:first-child a{background:#a90a14}
.nn-menu-chevron{font-size:12px;opacity:.8;margin-left:3px}
.nn-nav-actions{margin-left:auto;flex-shrink:0}
.nn-icon-button{border:0;border-radius:0;height:48px;width:42px;padding:0;font-size:25px}
.nn-search-toggle{font-size:28px}
.nn-menu-toggle{display:none}
.nn-search-panel{padding:12px 0}
.nn-ticker{background:#fff;border:1px solid #dedfe2;border-radius:4px;margin:12px auto 0;width:min(var(--nn-width),calc(100% - 100px));}
.nn-ticker-inner{width:100%;min-height:40px;display:flex;align-items:stretch}
.nn-ticker-label{background:#d20e1b;color:#fff;padding:8px 15px;border-radius:3px;font-size:14px;display:flex;align-items:center;gap:10px;box-shadow:2px 0 5px #0002}
.nn-ticker-label:before{display:none}
.nn-bolt{font-size:24px;line-height:1}
.nn-ticker-text{flex:1;min-width:0;padding:9px 12px;color:#20252b;font-size:13px}
.nn-ticker-text a{margin-right:19px;font-weight:600}
.nn-ticker-arrows{display:flex;align-items:center;border-left:1px solid #eee}
.nn-ticker-arrows span{padding:0 13px;font-size:22px;color:#4d5660}
.nn-main{padding:17px 0 50px}
.nn-front-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1.02fr) minmax(300px,1.02fr);gap:18px;align-items:start}
.nn-lead-column,.nn-middle-column,.nn-right-column{min-width:0}
.nn-feature-lead{position:relative;overflow:hidden;border-radius:3px;background:#151515;min-height:428px}
.nn-feature-lead .nn-hero-image{position:absolute;inset:0;aspect-ratio:auto;height:100%;background:#242424}
.nn-feature-lead .nn-hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 22%,rgba(0,0,0,.1) 42%,rgba(0,0,0,.9) 100%)}
.nn-feature-lead .nn-hero-image img{height:100%;width:100%;object-fit:cover}
.nn-feature-lead .nn-hero-copy{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:20px;color:#fff}
.nn-feature-lead .nn-cat-label{margin-bottom:7px;border-radius:2px}
.nn-feature-lead .nn-hero-title{font-size:clamp(25px,2.3vw,34px);line-height:1.28;margin:6px 0 9px;color:#fff}
.nn-feature-lead .nn-hero-title a{color:#fff}
.nn-feature-lead .nn-excerpt{font-size:15px;line-height:1.55;color:#f5f5f5;margin:0 0 14px}
.nn-feature-lead .nn-hero-meta{color:#fff;font-size:12px}
.nn-feature-lead .nn-hero-meta span{margin:0 8px;color:#ddd}
.nn-middle-column{border:1px solid #e5e7e9;border-radius:4px;padding:0 12px}
.nn-horizontal-story{display:grid;grid-template-columns:112px minmax(0,1fr);gap:13px;padding:9px 0;border-bottom:1px solid #e8e8e8;align-items:start}
.nn-horizontal-story:last-child{border-bottom:0}
.nn-horizontal-story .nn-thumb{display:block;aspect-ratio:1.2;min-width:0;border-radius:2px}
.nn-horizontal-copy{min-width:0}
.nn-horizontal-copy .nn-cat-label{font-size:10px;padding:2px 7px;margin-bottom:4px}
.nn-horizontal-copy h2{font-size:15px;line-height:1.38;margin:1px 0 7px;font-weight:800;overflow-wrap:anywhere}
.nn-horizontal-copy .nn-meta{font-size:11px;white-space:normal}
.nn-sidebar-banner{display:block;width:100%;margin-bottom:13px;overflow:hidden;border-radius:3px}
.nn-sidebar-banner img{width:100%;height:auto;aspect-ratio:1.48;object-fit:cover}
.nn-sidebar-widget{padding:0;margin:0 0 20px;border:1px solid #e2e4e6;border-radius:4px;background:#fff}
.nn-trending-widget h3{padding:10px 14px;margin:0;border-bottom:1px solid #e5e5e5;font-size:19px;color:#172338}
.nn-trending-widget h3 span{color:#ed1c24;font-size:22px;margin-right:6px}
.nn-trending-widget ol{list-style:none;margin:0;padding:0 13px}
.nn-trending-widget li{counter-increment:trend;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;border-bottom:1px solid #eee;padding:9px 0;font-size:14px;font-weight:700;line-height:1.4}
.nn-trending-widget li:last-child{border-bottom:0}
.nn-trending-widget li:before{content:counter(trend);display:flex;align-items:center;justify-content:center;background:#d51620;color:#fff;border-radius:50%;width:25px;height:25px;font-size:14px}
.nn-bottom-banner img{aspect-ratio:3.2}
.nn-category-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) 1.05fr;margin:10px 0 20px;border:1px solid #e2e4e6;border-radius:4px;background:#fff;overflow:hidden}
.nn-category-strip>a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-right:1px solid #e7e7e7;min-width:0}
.nn-tile-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:8px;background:#cf101c;color:#fff;font-weight:900;font-size:23px}
.nn-category-strip b{display:block;font-size:15px;line-height:1.3}
.nn-category-strip small{display:block;color:#6b7280;font-size:12px;line-height:1.35;margin-top:2px}
.nn-category-strip .nn-all-categories{justify-content:center;background:#c9101b;color:#fff;font-weight:800;white-space:nowrap}
.nn-section{margin:0 0 30px}
.nn-section-head{border-bottom:1px solid #e5e5e5;margin-bottom:13px}
.nn-section-title{font-size:23px;padding-bottom:9px}
.nn-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #e8e8e8;border-radius:4px;padding:0 10px}
.nn-latest-card{display:grid;grid-template-columns:116px minmax(0,1fr);gap:12px;padding:12px 12px 12px 0;margin-right:12px;border-right:1px solid #e4e4e4;min-width:0}
.nn-latest-card:nth-child(3n){border-right:0;margin-right:0}
.nn-latest-card .nn-thumb{aspect-ratio:1;display:block;border-radius:3px}
.nn-latest-copy{min-width:0}
.nn-latest-copy .nn-cat-label{font-size:10px;padding:2px 6px}
.nn-latest-copy h3{font-size:15px;line-height:1.4;margin:4px 0 7px;font-weight:800;overflow-wrap:anywhere}
.nn-latest-copy p{font-size:12px;line-height:1.5;color:#737b85;margin:0}
.nn-card-grid{gap:18px}
.nn-story-card .nn-thumb{display:block}
.nn-thumb{display:block;min-width:0}
.nn-list-story .nn-thumb{display:block}
.nn-ad-slot{margin:0 auto 24px}
body.nn-dark .nn-topbar{background:#0d0e10}
body.nn-dark .nn-masthead,body.nn-dark .nn-category-strip,body.nn-dark .nn-middle-column,body.nn-dark .nn-sidebar-widget,body.nn-dark .nn-latest-grid{background:#1d1f22;color:#f3f3f3}
body.nn-dark .nn-horizontal-story,body.nn-dark .nn-latest-card,body.nn-dark .nn-trending-widget li{border-color:#3b3b3b}
body.nn-dark .nn-horizontal-copy h2,body.nn-dark .nn-latest-copy h3,body.nn-dark .nn-trending-widget h3{color:#f3f3f3}
body.nn-dark .nn-ticker{background:#222;border-color:#444}
body.nn-dark .nn-ticker-text{color:#f4f4f4}
body.nn-dark .nn-category-strip small,body.nn-dark .nn-latest-copy p{color:#bbb}
@media(max-width:1200px){
 .nn-container{width:calc(100% - 48px)}
 .nn-ticker{width:calc(100% - 48px)}
 .nn-brand-row{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:20px}
 .nn-front-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
 .nn-right-column{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}
 .nn-right-column .nn-sidebar-banner{margin:0}
 .nn-right-column .nn-trending-widget{grid-row:span 2}
 .nn-bottom-banner{display:none}
 .nn-nav li a{padding-inline:10px;font-size:14px}
}
@media(max-width:900px){
 .nn-container,.nn-ticker{width:calc(100% - 32px)}
 .nn-brand-row{grid-template-columns:1fr;gap:8px}
 .nn-brand{justify-content:center}
 .nn-logo-image{max-width:340px}
 .nn-logo-image img,.nn-brand .custom-logo{height:82px;max-height:82px;object-fit:contain;object-position:center}
 .nn-header-ad{display:none}
 .nn-front-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
 .nn-right-column{grid-column:1/-1;grid-template-columns:1fr 1fr}
 .nn-category-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nn-category-strip .nn-all-categories{min-height:56px}
 .nn-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nn-latest-card:nth-child(3n){border-right:1px solid #e4e4e4;margin-right:12px}
 .nn-latest-card:nth-child(2n){border-right:0;margin-right:0}
 .nn-nav ul{flex-wrap:wrap}
}
@media(max-width:650px){
 .nn-container,.nn-ticker{width:calc(100% - 24px)}
 .nn-topbar-inner{min-height:34px}
 .nn-top-info{gap:7px;font-size:11px}
 .nn-top-info span:first-child{max-width:140px;overflow:hidden;text-overflow:ellipsis}
 .nn-socials>span,.nn-socials>a,.nn-dark-toggle span{display:none}
 .nn-dark-toggle{display:block;margin-left:0;padding-left:5px}
 .nn-masthead{padding:7px 0}
 .nn-brand-row{min-height:0}
 .nn-logo-image{width:min(300px,78vw)}
 .nn-logo-image img,.nn-brand .custom-logo{height:74px;max-height:74px}
 .nn-nav-inner{min-height:44px;flex-wrap:wrap;align-items:center}
 .nn-menu-toggle{display:block;border:0;padding:10px 0;margin:0 8px 0 0;font-size:14px}
 .nn-nav{display:none;flex-basis:100%;order:3}
 .nn-nav.is-open{display:block}
 .nn-nav ul{display:block;width:100%}
 .nn-nav li a{padding:10px 12px;border-top:1px solid #ffffff30}
 .nn-nav-actions{margin-left:auto}
 .nn-icon-button{height:44px;width:42px}
 .nn-ticker{margin-top:8px}
 .nn-ticker-inner{min-height:38px}
 .nn-ticker-label{font-size:11px;padding:8px 9px;gap:5px}
 .nn-bolt{font-size:19px}
 .nn-ticker-text{font-size:12px;padding:9px 8px}
 .nn-ticker-arrows{display:none}
 .nn-main{padding-top:13px}
 .nn-front-grid{grid-template-columns:1fr;gap:13px}
 .nn-feature-lead{min-height:360px}
 .nn-feature-lead .nn-hero-copy{padding:14px}
 .nn-feature-lead .nn-hero-title{font-size:25px}
 .nn-feature-lead .nn-excerpt{font-size:13px}
 .nn-middle-column{padding:0 10px}
 .nn-horizontal-story{grid-template-columns:105px minmax(0,1fr);gap:11px}
 .nn-horizontal-copy h2{font-size:14px}
 .nn-right-column{grid-column:auto;display:block}
 .nn-right-column .nn-sidebar-banner{margin-bottom:12px}
 .nn-category-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
 .nn-category-strip>a{padding:8px;border-bottom:1px solid #e7e7e7}
 .nn-category-strip .nn-all-categories{grid-column:1/-1}
 .nn-latest-grid{grid-template-columns:1fr;padding:0 10px}
 .nn-latest-card,.nn-latest-card:nth-child(3n),.nn-latest-card:nth-child(2n){grid-template-columns:105px minmax(0,1fr);border-right:0;border-bottom:1px solid #e4e4e4;margin:0;padding:11px 0}
 .nn-latest-card:last-child{border-bottom:0}
 .nn-latest-copy h3{font-size:14px}
 .nn-latest-copy p{display:none}
 .nn-section-title{font-size:21px}
 .nn-content-grid{grid-template-columns:1fr}
 .nn-list-story{grid-template-columns:105px minmax(0,1fr);gap:11px}
 .nn-list-story h2{font-size:15px}
 .nn-sidebar{grid-template-columns:1fr}
 .nn-footer-grid{grid-template-columns:1fr 1fr}
}

.nn-logo-image img{object-fit:contain!important;height:92px!important;max-height:92px!important;object-position:left center!important}
.nn-brand .custom-logo{object-fit:contain!important;height:92px!important;max-height:92px!important;object-position:left center!important}
@media(max-width:900px){.nn-logo-image img,.nn-brand .custom-logo{object-position:center!important;height:82px!important;max-height:82px!important}}
@media(max-width:650px){.nn-logo-image img,.nn-brand .custom-logo{height:70px!important;max-height:70px!important}}

/* v1.3.1 footer refinement */
@media(max-width:1000px){.nn-footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:26px}.nn-footer-search{grid-column:1/-1;max-width:460px}.nn-footer-about{max-width:420px}}
@media(max-width:700px){.nn-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px;padding:28px 0 22px}.nn-footer-brand{grid-column:1/-1}.nn-footer-search{grid-column:1/-1;max-width:none}.nn-footer-logo{font-size:30px}.nn-footer h3{font-size:16px;margin-bottom:12px}.nn-footer-links li a{padding:7px 0}.nn-footer-bottom{align-items:flex-start;flex-direction:column;gap:8px;margin-top:0;padding-top:13px}.nn-footer .nn-search-form input{height:42px}.nn-footer .nn-search-form button{min-height:42px}}
@media(max-width:380px){.nn-footer-grid{grid-template-columns:1fr}.nn-footer-brand,.nn-footer-search{grid-column:auto}}


/* v1.3.2 single article layout and dedicated article ad slots */
.nn-single-main{padding-top:18px}
.nn-breadcrumbs{display:flex;align-items:center;gap:9px;min-width:0;margin:0 0 18px;color:#777;font-size:12px;line-height:1.6;overflow:hidden}
.nn-breadcrumbs a{color:var(--nn-red);white-space:nowrap}
.nn-breadcrumbs>span{flex-shrink:0;color:#aaa}
.nn-breadcrumb-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nn-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:30px}
.nn-article-card{min-width:0}
.nn-post-header{max-width:none;margin:0 0 20px}
.nn-post-title{font-size:clamp(30px,3.2vw,43px);line-height:1.28;letter-spacing:-.35px;margin:10px 0 12px;overflow-wrap:anywhere}
.nn-post-deck{font-size:18px;line-height:1.65;color:var(--nn-muted);margin:0 0 16px}
.nn-post-byline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--nn-line);border-bottom:1px solid var(--nn-line);font-size:12px;color:var(--nn-muted)}
.nn-byline-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--nn-red);color:#fff;font-size:11px;font-weight:900}
.nn-post-byline strong,.nn-post-byline small{display:block}
.nn-post-byline strong{color:var(--nn-ink);font-size:13px}
.nn-post-byline small{margin-top:2px}
.nn-read-time{margin-left:auto;background:var(--nn-soft);border-radius:3px;padding:5px 8px}
.nn-post-featured{max-width:none;margin:0 0 22px}
.nn-post-featured img{width:100%;max-height:580px;object-fit:cover;border-radius:4px}
.nn-post-featured figcaption{font-size:12px;color:var(--nn-muted);padding:7px 2px 0;line-height:1.5}
.nn-post-content{max-width:none;margin:0;font-size:18px;line-height:1.95;overflow-wrap:anywhere}
.nn-post-content p{margin:0 0 1.35em}
.nn-post-content h2{font-size:27px;border-left:4px solid var(--nn-red);padding-left:12px;margin:1.5em 0 .65em}
.nn-post-content h3{font-size:22px;margin:1.4em 0 .6em}
.nn-post-content ul,.nn-post-content ol{padding-left:1.5em;margin:0 0 1.4em}
.nn-post-content figure{margin:24px 0}
.nn-post-content figure img{border-radius:4px}
.nn-post-content iframe,.nn-post-content video{max-width:100%}
.nn-article-top-ad .nn-ad-slot,.nn-article-bottom-ad .nn-ad-slot{min-height:90px;margin:18px 0 24px}
.nn-article-sidebar{min-width:0}
.nn-article-sidebar-sticky{position:sticky;top:20px}
.nn-article-ad-panel{border:1px solid var(--nn-line);padding:10px;margin-bottom:18px;background:var(--nn-card);border-radius:4px}
.nn-ad-caption{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#888;margin:0 0 8px}
.nn-article-ad-panel .nn-ad-slot{min-height:250px;margin:0;border:1px dashed #d0d0d0;padding:8px;overflow:hidden}
.nn-article-ad-tall .nn-ad-slot{min-height:280px}
.nn-article-ad-panel .nn-ad-slot iframe,.nn-article-ad-panel .nn-ad-slot ins,.nn-article-ad-panel .nn-ad-slot img{max-width:100%}
.nn-article-latest{border:1px solid var(--nn-line);border-radius:4px;padding:15px;background:var(--nn-card)}
.nn-article-latest h2{font-size:19px;line-height:1.4;margin:0 0 10px;padding-bottom:10px;border-bottom:2px solid var(--nn-red)}
.nn-article-related{display:grid;grid-template-columns:92px minmax(0,1fr);gap:11px;padding:11px 0;border-bottom:1px solid var(--nn-line);align-items:start}
.nn-article-related:last-child{border-bottom:0;padding-bottom:0}
.nn-related-thumb{display:block;aspect-ratio:4/3;background:var(--nn-soft);overflow:hidden;border-radius:3px}
.nn-related-thumb img{width:100%;height:100%;object-fit:cover}
.nn-article-related strong{display:block;font-size:13px;line-height:1.5;font-weight:800}
.nn-article-related small{display:block;color:var(--nn-muted);font-size:10px;margin-top:5px}
.nn-muted-note{font-size:13px;color:var(--nn-muted)}
.nn-post-taxonomy{margin:20px 0;padding:12px 0;border-top:1px solid var(--nn-line);font-size:13px;color:var(--nn-muted);overflow-wrap:anywhere}
.nn-taxonomy-label{font-weight:800;color:var(--nn-ink);margin-right:8px}
.nn-post-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 0;border-top:1px solid var(--nn-line);border-bottom:1px solid var(--nn-line);font-size:12px}
.nn-post-share strong{margin-right:4px}
.nn-post-share a{display:inline-flex;align-items:center;padding:7px 10px;background:var(--nn-soft);border-radius:3px;font-weight:700}
.nn-post-share a:hover{background:var(--nn-red);color:#fff}
.nn-post-navigation{margin:20px 0 28px}
.nn-post-navigation .nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nn-post-navigation .nav-links a{display:flex;flex-direction:column;gap:5px;padding:13px;border:1px solid var(--nn-line);border-radius:4px;min-width:0}
.nn-post-navigation .nav-links a span{font-size:11px;color:var(--nn-red);font-weight:800}
.nn-post-navigation .nav-links a strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.nn-post-navigation .nav-next{text-align:right}
body.nn-dark .nn-article-ad-panel,body.nn-dark .nn-article-latest{background:#1e1e1e;border-color:#383838}
body.nn-dark .nn-read-time,body.nn-dark .nn-post-share a{background:#292929}
@media(max-width:980px){.nn-single-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.nn-post-title{font-size:clamp(29px,4vw,39px)}.nn-post-content{font-size:17px}}
@media(max-width:760px){.nn-single-grid{grid-template-columns:minmax(0,1fr);gap:26px}.nn-article-sidebar-sticky{position:static}.nn-article-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nn-article-latest{grid-column:1/-1}.nn-article-ad-panel{margin:0}.nn-post-title{font-size:clamp(27px,6vw,36px)}.nn-post-deck{font-size:16px}.nn-post-featured img{max-height:430px}.nn-article-ad-panel .nn-ad-slot{min-height:220px}}
@media(max-width:480px){.nn-breadcrumbs{margin-bottom:12px}.nn-post-title{font-size:27px;line-height:1.3}.nn-post-byline{gap:8px}.nn-read-time{margin-left:0}.nn-post-content{font-size:17px;line-height:1.85}.nn-post-content h2{font-size:23px}.nn-post-content h3{font-size:20px}.nn-article-sidebar{grid-template-columns:1fr}.nn-article-latest{grid-column:auto}.nn-post-navigation .nav-links{grid-template-columns:1fr}.nn-post-navigation .nav-next{text-align:left}}

/* PWA install and push notification opt-in panels */
.nn-app-prompt,.nn-notify-prompt{position:fixed;z-index:99999;right:18px;bottom:18px;width:min(350px,calc(100vw - 28px));box-sizing:border-box;padding:22px 20px 18px;background:#fff;color:#171717;border:1px solid #e5e5e5;border-top:4px solid #c91525;border-radius:12px;box-shadow:0 12px 45px #0003;font-family:inherit}.nn-app-prompt[hidden],.nn-notify-prompt[hidden]{display:none}.nn-app-prompt strong,.nn-notify-prompt strong{display:block;font-size:17px;font-weight:900;margin:0 25px 6px 0}.nn-app-prompt p,.nn-notify-prompt p{font-size:13px;line-height:1.6;color:#555;margin:0 0 13px}.nn-app-close,.nn-notify-close{position:absolute;right:10px;top:7px;border:0;background:transparent;color:#555;font-size:24px;line-height:1;cursor:pointer}.nn-app-action,.nn-notify-action{display:block;width:100%;border:0;border-radius:6px;background:#c91525;color:#fff;font-family:inherit;font-size:14px;font-weight:700;padding:11px 14px;cursor:pointer}.nn-app-help{display:block;font-size:11px;color:#666;margin-top:9px}.nn-notify-bell{display:block;font-size:25px;margin-bottom:7px}.nn-notify-later{display:block;width:100%;border:0;background:transparent;color:#666;font-family:inherit;font-size:12px;font-weight:600;padding:10px 5px 0;cursor:pointer}.nn-app-prompt .nn-app-action[hidden]{display:none}@media(max-width:600px){.nn-app-prompt,.nn-notify-prompt{right:12px;bottom:12px;width:calc(100vw - 24px)}}

.nn-notify-prompt{top:18px;bottom:auto}@media(max-width:600px){.nn-notify-prompt{top:12px;bottom:auto}}
