/*
Theme Name: Na Mira da Mídia — Portal 1.4.2
Theme URI: https://namiradamidia.com/
Author: Editorial Glauciano
Description: Tema editorial responsivo para o Na Mira da Mídia, inspirado na organização visual de grandes portais de notícias, com home em blocos, páginas de matéria, menu móvel, busca, mais lidas e SEO social.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: na-mira-midia
*/

:root{--nmm-accent:#ef1745;--nmm-dark:#111;--nmm-text:#191919;--nmm-muted:#6f7275;--nmm-border:#e7e7e7;--nmm-soft:#f6f6f6;--nmm-white:#fff;--nmm-radius:4px;--nmm-shell:1240px;--nmm-font:'Poppins',Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--nmm-text);font-family:var(--nmm-font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}body.no-scroll{overflow:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.site-shell{width:min(calc(100% - 40px),var(--nmm-shell));margin-inline:auto}.skip-link,.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;background:#fff;padding:10px;z-index:9999}.site-header{position:relative;z-index:100;background:#fff}.masthead{background:var(--nmm-accent);height:132px;display:flex;align-items:center}.masthead-inner{height:100%;display:grid;grid-template-columns:56px 1fr 56px;align-items:center}.site-logo{justify-self:center;display:block}.site-logo-img{width:auto;height:104px;max-width:min(640px,80vw);object-fit:contain}.icon-btn{width:48px;height:48px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;padding:12px;color:#fff}.icon-btn svg,.section-link svg,.search-submit svg,.article-share-row svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.desktop-nav{border-bottom:1px solid var(--nmm-border);background:#fff;position:sticky;top:0}.nav-inner{display:flex;align-items:center;overflow:auto;scrollbar-width:none}.nav-inner::-webkit-scrollbar{display:none}.primary-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;white-space:nowrap}.primary-menu>li{position:relative}.primary-menu a{display:block;padding:17px 14px;font-size:14px;font-weight:700}.primary-menu>li>a:hover,.primary-menu>li.current-menu-item>a,.primary-menu>li.current-category-ancestor>a{color:var(--nmm-accent)}.primary-menu .sub-menu{position:absolute;top:100%;left:0;min-width:220px;background:#fff;box-shadow:0 15px 50px rgba(0,0,0,.13);list-style:none;margin:0;padding:8px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;border-top:3px solid var(--nmm-accent)}.primary-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:none}.primary-menu .sub-menu a{padding:10px 12px}.breaking-strip{border-bottom:1px solid var(--nmm-border);background:#fff}.breaking-inner{min-height:50px;display:flex;gap:22px;align-items:center;overflow:hidden}.breaking-label{display:flex;align-items:center;gap:8px;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.08em;flex:none}.breaking-label i{display:block;width:9px;height:9px;border-radius:50%;background:var(--nmm-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--nmm-accent),transparent 82%)}.breaking-links{display:flex;gap:28px;white-space:nowrap;overflow:hidden}.breaking-links a{font-size:13px;font-weight:600;color:#454545}.breaking-links a+ a{border-left:1px solid var(--nmm-border);padding-left:28px}.hero-section{padding-top:30px;padding-bottom:34px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.75fr);gap:24px}.hero-main{min-height:520px}.media-cover{position:relative;display:block;height:100%;overflow:hidden;background:#222;border-radius:var(--nmm-radius)}.media-cover>img,.media-cover>.media-placeholder{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .35s}.media-cover:hover>img{transform:scale(1.02)}.hero-gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.86) 100%)}.hero-copy{position:absolute;left:0;right:0;bottom:0;padding:36px;color:#fff}.hero-copy .post-kicker{color:#fff;background:var(--nmm-accent);padding:6px 9px;border-radius:3px}.hero-copy h1{font-size:clamp(34px,4.2vw,58px);line-height:1.02;letter-spacing:-.045em;margin:15px 0 12px;font-weight:800;max-width:900px}.hero-copy p{font-size:17px;line-height:1.45;margin:0;max-width:760px;color:rgba(255,255,255,.9)}.hero-side{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}.hero-mini{min-width:0}.hero-mini-image{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden;border-radius:var(--nmm-radius);margin-bottom:10px}.hero-mini-image img,.hero-mini-image .media-placeholder{width:100%;height:100%;object-fit:cover;transition:transform .3s}.hero-mini:hover .hero-mini-image img{transform:scale(1.035)}.post-kicker{display:inline-block;color:var(--nmm-accent);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.hero-mini h2{font-size:16px;line-height:1.18;letter-spacing:-.02em;margin:6px 0 0;font-weight:800}.hero-mini h2 a:hover,.horizontal-card h3 a:hover,.grid-card h2 a:hover,.category-side-item h3 a:hover,.category-lead h3 a:hover{color:var(--nmm-accent)}.media-placeholder{display:block;background:linear-gradient(135deg,#eee,#ddd)}.section-pad{padding:52px 0}.latest-section{border-top:1px solid var(--nmm-border)}.two-col-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:64px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.section-title{font-size:30px;line-height:1.05;margin:0;font-weight:900;letter-spacing:-.045em;display:flex;align-items:center;gap:10px}.section-title:before{content:"";display:block;width:7px;height:27px;background:var(--nmm-accent);border-radius:1px}.section-title--small{font-size:25px}.section-title--small:before{height:23px;width:6px}.section-link{font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:7px;color:var(--nmm-accent);white-space:nowrap}.section-link svg{width:17px}.latest-list{border-top:1px solid var(--nmm-border)}.horizontal-card{display:grid;grid-template-columns:220px 1fr;gap:22px;padding:22px 0;border-bottom:1px solid var(--nmm-border)}.horizontal-thumb{aspect-ratio:16/10;overflow:hidden;background:#eee;border-radius:var(--nmm-radius)}.horizontal-thumb img,.horizontal-thumb .media-placeholder{width:100%;height:100%;object-fit:cover}.horizontal-copy h3{font-size:22px;line-height:1.16;letter-spacing:-.025em;margin:6px 0 7px;font-weight:800}.horizontal-copy p{color:var(--nmm-muted);font-size:14px;line-height:1.5;margin:0 0 8px}.horizontal-copy time,.category-side-item time,.grid-card time{color:#919396;font-size:12px}.load-more-btn{margin:28px auto 0;min-height:46px;padding:0 24px;border-radius:3px;border:1px solid var(--nmm-accent);background:#fff;color:var(--nmm-accent);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;cursor:pointer}.load-more-btn:hover{background:var(--nmm-accent);color:#fff}.load-more-btn:disabled{opacity:.6;cursor:wait}.popular-box,.sticky-popular{border-top:4px solid var(--nmm-dark);padding-top:20px;align-self:start}.popular-box .section-title:before,.sticky-popular .section-title:before{display:none}.popular-list{list-style:none;margin:20px 0 0;padding:0}.popular-list li{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:16px 0;border-top:1px solid var(--nmm-border)}.popular-list li:first-child{border-top:0}.popular-list li>span{font-size:35px;line-height:1;color:var(--nmm-accent);font-weight:900;letter-spacing:-.05em}.popular-list li a{display:block;font-size:16px;line-height:1.25;font-weight:800;margin-top:4px}.popular-list li a:hover{color:var(--nmm-accent)}.category-block--soft{background:var(--nmm-soft)}.category-block{border-top:1px solid var(--nmm-border)}.category-feature-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:42px}.category-lead-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#eee;border-radius:var(--nmm-radius);margin-bottom:18px}.category-lead-img img,.category-lead-img .media-placeholder{width:100%;height:100%;object-fit:cover}.category-lead h3{font-size:31px;line-height:1.08;letter-spacing:-.035em;margin:7px 0 9px;font-weight:900}.category-lead p{margin:0;color:var(--nmm-muted);font-size:15px}.category-side-list{border-top:1px solid var(--nmm-border)}.category-side-item{display:grid;grid-template-columns:150px 1fr;gap:17px;padding:17px 0;border-bottom:1px solid var(--nmm-border)}.category-side-img{aspect-ratio:16/10;overflow:hidden;background:#eee;border-radius:3px}.category-side-img img,.category-side-img .media-placeholder{width:100%;height:100%;object-fit:cover}.category-side-item h3{font-size:17px;line-height:1.2;margin:5px 0 8px;font-weight:800;letter-spacing:-.02em}.site-footer{background:var(--nmm-dark);color:#fff;margin-top:0}.footer-inner{min-height:210px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:24px}.footer-logo .site-logo-img{height:68px;max-width:min(430px,82vw)}.footer-copy{font-size:12px;color:#bbb;margin:0}.mobile-drawer{position:fixed;z-index:1002;left:0;top:0;bottom:0;width:min(88vw,390px);background:#fff;transform:translateX(-102%);transition:transform .25s ease;overflow:auto}.mobile-drawer.is-open{transform:none}.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1001;opacity:0;transition:opacity .22s}.drawer-backdrop.is-visible{opacity:1}.drawer-head{height:86px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--nmm-border)}.drawer-logo .site-logo-img{height:54px;max-width:260px}.drawer-close{color:#111}.drawer-search{padding:18px;border-bottom:1px solid var(--nmm-border)}.mobile-menu,.mobile-drawer .primary-menu{display:block;list-style:none;margin:0;padding:10px 18px;white-space:normal}.mobile-menu a,.mobile-drawer .primary-menu a{padding:13px 0;border-bottom:1px solid #eee;font-weight:800;display:block}.mobile-menu .sub-menu,.mobile-drawer .sub-menu{list-style:none;margin:0;padding:0 0 0 14px}.search-form{display:flex;border:1px solid #d7d7d7;background:#fff;border-radius:3px;overflow:hidden}.search-field{min-width:0;width:100%;border:0;outline:0;padding:14px 15px;background:transparent}.search-submit{width:52px;border:0;background:var(--nmm-accent);color:#fff;display:grid;place-items:center;cursor:pointer}.search-submit svg{width:20px}.search-overlay{position:fixed;inset:0;z-index:1003;background:rgba(10,10,10,.92);display:flex;align-items:flex-start;justify-content:center;padding-top:14vh;opacity:0;visibility:hidden;transition:.2s}.search-overlay.is-open{opacity:1;visibility:visible}.search-panel{width:min(760px,calc(100% - 36px));position:relative}.search-close{position:absolute;right:0;top:-62px}.search-eyebrow{text-align:center;color:#fff;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.search-panel .search-form{height:66px}.search-panel .search-field{font-size:20px}.article-page{padding-top:46px}.article-narrow{max-width:980px}.breadcrumbs{display:flex;gap:9px;align-items:center;font-size:12px;color:#858585;margin-bottom:24px}.breadcrumbs a:hover{color:var(--nmm-accent)}.article-header>.post-kicker{font-size:12px;margin-bottom:12px}.article-title{font-size:clamp(38px,5.3vw,64px);line-height:1.02;letter-spacing:-.052em;margin:0 0 18px;font-weight:900}.article-subtitle{font-size:21px;line-height:1.4;color:#5b5d60;margin:0 0 20px;max-width:900px}.article-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#747679;border-bottom:1px solid var(--nmm-border);padding-bottom:20px}.article-meta strong{color:#222}.article-share-row{display:flex;align-items:center;gap:9px;padding-top:18px}.article-share-row>span{font-size:12px;font-weight:800;margin-right:3px}.article-share-row a,.article-share-row button{width:38px;height:38px;border:1px solid #ddd;border-radius:50%;display:grid;place-items:center;background:#fff;color:#222;cursor:pointer}.article-share-row a:hover,.article-share-row button:hover,.article-share-row button.copied{color:#fff;background:var(--nmm-accent);border-color:var(--nmm-accent)}.article-share-row svg{width:17px;height:17px}.article-image-wrap{max-width:1120px;margin-top:32px}.article-image{width:100%;max-height:760px;object-fit:cover;border-radius:3px}.article-hero figcaption{font-size:11px;color:#8a8a8a;margin-top:8px}.article-layout{display:grid;grid-template-columns:minmax(0,780px) minmax(280px,340px);gap:70px;max-width:1150px;margin-top:42px;margin-bottom:68px;align-items:start}.article-content{font-family:var(--nmm-font);font-size:19px;line-height:1.78;color:#292929}.article-content p{margin:0 0 1.35em}.article-content h2{font-size:31px;line-height:1.15;letter-spacing:-.03em;margin:1.6em 0 .55em}.article-content h3{font-size:25px;line-height:1.2;margin:1.5em 0 .5em}.article-content a{color:var(--nmm-accent);text-decoration:underline;text-underline-offset:2px}.article-content blockquote{border-left:4px solid var(--nmm-accent);margin:1.5em 0;padding:5px 0 5px 24px;font-size:23px;line-height:1.5;font-weight:700}.article-content figure{margin:1.8em 0}.article-content figcaption{font-size:12px;color:#858585}.article-content ul,.article-content ol{padding-left:24px}.article-sidebar{min-width:0}.sticky-popular{position:sticky;top:90px}.read-more-box{border-top:4px solid var(--nmm-accent);border-bottom:1px solid var(--nmm-border);padding:20px 0;margin:42px 0}.read-more-box h2{font-size:18px;margin:0 0 12px}.read-more-box ul{margin:0;padding-left:20px}.read-more-box li{margin:8px 0;font-weight:700}.read-more-box a:hover{color:var(--nmm-accent)}.author-box{display:flex;gap:18px;border-top:1px solid var(--nmm-border);padding-top:26px;margin-top:36px}.author-box img{width:74px;height:74px;border-radius:50%;object-fit:cover}.author-box span{font-size:11px;text-transform:uppercase;color:#888}.author-box h3{font-size:19px;margin:2px 0 5px}.author-box p{font-size:13px;color:#707070;margin:0}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.grid-card-img{display:block;aspect-ratio:16/10;overflow:hidden;background:#eee;margin-bottom:12px;border-radius:3px}.grid-card-img img,.grid-card-img .media-placeholder{width:100%;height:100%;object-fit:cover}.grid-card h2{font-size:18px;line-height:1.2;letter-spacing:-.02em;margin:6px 0 7px;font-weight:800}.grid-card p{font-size:13px;color:var(--nmm-muted);margin:0 0 8px}.archive-header{padding:16px 0 32px;border-bottom:1px solid var(--nmm-border);margin-bottom:32px}.archive-eyebrow{color:var(--nmm-accent);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.archive-header h1{font-size:48px;letter-spacing:-.045em;line-height:1.05;margin:6px 0 0}.archive-description{max-width:760px;color:var(--nmm-muted);margin-top:12px}.archive-description p{margin:0}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px 25px}.pagination{margin-top:52px}.pagination .nav-links{display:flex;justify-content:center;gap:7px}.pagination .page-numbers{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--nmm-border);font-weight:700;font-size:13px}.pagination .current,.pagination .page-numbers:hover{background:var(--nmm-accent);border-color:var(--nmm-accent);color:#fff}.empty-state{text-align:center;padding:70px 0}.empty-state .search-form{max-width:520px;margin:25px auto}.error-code{display:block;font-size:90px;font-weight:900;line-height:1;color:var(--nmm-accent)}.page-title{font-size:52px;line-height:1.04;letter-spacing:-.04em;margin-top:0}
@media(max-width:1050px){.hero-grid{grid-template-columns:1.25fr .75fr}.hero-side{grid-template-columns:1fr}.hero-side .hero-mini:nth-child(n+3){display:none}.two-col-layout{gap:36px}.category-feature-grid{gap:28px}.article-layout{grid-template-columns:minmax(0,1fr) 290px;gap:42px}.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.site-shell{width:min(calc(100% - 28px),var(--nmm-shell))}.masthead{height:104px}.masthead-inner{grid-template-columns:46px 1fr 46px}.site-logo-img{height:78px;max-width:min(430px,74vw)}.desktop-nav{display:none}.breaking-inner{min-height:44px}.breaking-links a{font-size:12px}.hero-section{padding-top:18px}.hero-grid{display:block}.hero-main{min-height:430px}.hero-side{display:grid;grid-template-columns:1fr 1fr;margin-top:18px}.hero-side .hero-mini:nth-child(n+3){display:block}.hero-copy{padding:24px}.hero-copy h1{font-size:38px}.hero-copy p{font-size:14px}.section-pad{padding:40px 0}.two-col-layout{grid-template-columns:1fr}.popular-box{margin-top:20px}.category-feature-grid{grid-template-columns:1fr}.category-side-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.category-side-item{grid-template-columns:1fr}.category-side-img{margin-bottom:8px}.article-page{padding-top:28px}.article-layout{grid-template-columns:1fr;margin-top:30px}.article-sidebar{display:none}.article-title{font-size:44px}.article-narrow{max-width:none}.article-image-wrap{width:100%;}.article-image{border-radius:0}.grid-4{grid-template-columns:repeat(2,1fr)}.archive-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.masthead{height:94px}.masthead .icon-btn{width:42px;height:42px;padding:10px}.site-logo-img{height:70px;max-width:min(345px,72vw)}.breaking-links a:nth-child(n+2){display:none}.hero-main{min-height:420px}.hero-copy h1{font-size:34px;line-height:1.04}.hero-copy p{display:none}.hero-side{grid-template-columns:1fr 1fr;gap:16px 12px}.hero-mini h2{font-size:15px}.horizontal-card{grid-template-columns:125px 1fr;gap:14px;padding:16px 0}.horizontal-copy h3{font-size:17px;margin-top:4px}.horizontal-copy p{display:none}.section-title{font-size:25px}.section-link{font-size:12px}.category-lead h3{font-size:27px}.category-side-list{grid-template-columns:1fr}.category-side-item{grid-template-columns:120px 1fr}.category-side-img{margin-bottom:0}.article-title{font-size:37px}.article-subtitle{font-size:18px}.article-meta{align-items:flex-start;flex-direction:column;gap:4px}.article-content{font-size:18px;line-height:1.72}.article-content h2{font-size:27px}.article-share-row>span{display:none}.grid-4,.archive-grid{grid-template-columns:1fr}.article-latest .grid-4{grid-template-columns:1fr 1fr}.article-latest .grid-card p,.article-latest .grid-card time{display:none}.archive-header h1,.page-title{font-size:38px}.footer-inner{min-height:180px}.footer-logo .site-logo-img{height:58px;max-width:min(330px,80vw)}}

/* v1.1 hardening: prevents legacy page-builder/theme CSS from collapsing the portal layout */
.nmm-front .site-main,.nmm-single .site-main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important}
.nmm-front .hero-grid,.nmm-front .two-col-layout,.nmm-front .category-feature-grid,.nmm-single .article-layout{float:none!important}
.site-header .site-logo,.site-footer .footer-logo{line-height:0!important}
.site-header .site-logo img,.site-footer .footer-logo img{display:block!important;width:auto!important}
.nmm-front .site-main>section{clear:both}


/* v1.2 activation-safe header/logo overrides */
body .site-header .masthead{height:132px!important;background:var(--nmm-accent)!important}
body .site-header .site-logo-img{height:100px!important;width:auto!important;max-width:min(610px,78vw)!important;object-fit:contain!important}
@media(max-width:820px){body .site-header .masthead{height:104px!important}body .site-header .site-logo-img{height:78px!important;max-width:min(430px,74vw)!important}}
@media(max-width:560px){body .site-header .masthead{height:94px!important}body .site-header .site-logo-img{height:70px!important;max-width:min(345px,72vw)!important}}

/* ============================================================
   v1.3 — header + home hardening
   ============================================================ */
body .site-header{overflow:visible!important}
body .site-header .masthead{height:150px!important;background:var(--nmm-accent)!important;display:flex!important;align-items:center!important}
body .site-header .masthead-inner{position:relative!important;height:100%!important;display:block!important}
body .site-header .menu-toggle{position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important}
body .site-header .search-toggle{position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important}
body .site-header .site-logo{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(640px,66vw)!important;max-width:calc(100% - 160px)!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;line-height:0!important;z-index:2!important}
body .site-header .site-logo-img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;max-height:124px!important;object-fit:contain!important;margin:0 auto!important}
body .desktop-nav .nav-inner{justify-content:center!important}
body .desktop-nav .primary-menu{justify-content:center!important;margin-inline:auto!important}
body .desktop-nav .primary-menu a{font-family:var(--nmm-font)!important;font-size:13px!important;font-weight:700!important;padding:16px 15px!important}

.nmm-home-main{overflow:hidden}
.nmm-front .breaking-strip{position:relative;z-index:2}
.nmm-front .breaking-inner{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:18px!important;min-height:48px!important}
.nmm-front .breaking-viewport{overflow:hidden;min-width:0}
.nmm-front .breaking-links{display:flex!important;gap:0!important;width:max-content!important;max-width:none!important;overflow:visible!important;will-change:transform}
.nmm-front .breaking-links a{display:block!important;flex:none!important;padding:0 28px!important;border-left:1px solid var(--nmm-border)!important;font-size:12px!important;line-height:48px!important;font-weight:600!important;color:#333!important}
.nmm-front .breaking-links a:first-child{border-left:0!important;padding-left:0!important}

.nmm-front .hero-section{padding-top:28px!important;padding-bottom:34px!important}
.nmm-front .hero-grid--slider{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(300px,.72fr)!important;gap:24px!important;align-items:stretch!important}
.nmm-front .hero-carousel{position:relative!important;min-width:0!important;height:548px!important;overflow:hidden!important;border-radius:6px!important;background:#111!important;isolation:isolate}
.nmm-front .hero-carousel-track{position:relative!important;width:100%!important;height:100%!important}
.nmm-front .hero-slide{position:absolute!important;inset:0!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:scale(1.012)!important;transition:opacity .55s ease,visibility .55s ease,transform .65s ease!important}
.nmm-front .hero-slide.is-active{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:scale(1)!important;z-index:2!important}
.nmm-front .hero-slide .media-cover{height:100%!important;border-radius:0!important}
.nmm-front .hero-slide .media-cover>img,.nmm-front .hero-slide .media-cover>.media-placeholder{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.nmm-front .hero-slide .hero-gradient{background:linear-gradient(180deg,rgba(0,0,0,.03) 18%,rgba(0,0,0,.18) 48%,rgba(0,0,0,.88) 100%)!important}
.nmm-front .hero-slide .hero-copy{padding:34px 38px 44px!important}
.nmm-front .hero-slide .hero-copy h1{font-size:clamp(34px,3.25vw,52px)!important;line-height:1.02!important;letter-spacing:-.038em!important;margin:13px 0 10px!important;max-width:860px!important}
.nmm-front .hero-slide .hero-copy p{font-size:15px!important;line-height:1.45!important;max-width:760px!important}
.nmm-front .hero-dots{position:absolute!important;right:22px!important;bottom:20px!important;z-index:8!important;display:flex!important;gap:8px!important;align-items:center!important}
.nmm-front .hero-dot{width:9px!important;height:9px!important;border:0!important;border-radius:999px!important;padding:0!important;background:rgba(255,255,255,.52)!important;cursor:pointer!important;transition:width .2s ease,background .2s ease!important}
.nmm-front .hero-dot.is-active{width:28px!important;background:#fff!important}
.nmm-front .hero-progress{position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;background:rgba(255,255,255,.20)!important;z-index:8!important;overflow:hidden!important}
.nmm-front .hero-progress span{display:block!important;width:0;height:100%!important;background:var(--nmm-accent)!important}
.nmm-front .hero-carousel.is-running .hero-progress span{animation:nmmHeroProgress var(--nmm-carousel-interval,4800ms) linear forwards!important}
@keyframes nmmHeroProgress{from{width:0}to{width:100%}}

.nmm-front .hero-side--rail{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;align-content:start!important;min-width:0!important}
.nmm-front .hero-side--rail .hero-mini{display:block!important;min-width:0!important}
.nmm-front .hero-side--rail .hero-mini-image{aspect-ratio:16/10!important;margin-bottom:9px!important;border-radius:5px!important}
.nmm-front .hero-side--rail .hero-mini h2{font-size:15px!important;line-height:1.18!important;margin-top:5px!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important}
.nmm-front .hero-side--rail .post-kicker{font-size:10px!important}

.nmm-front .two-col-layout{align-items:start!important}
.nmm-front .latest-column,.nmm-front .popular-box{min-width:0!important}
.nmm-front .horizontal-card{align-items:start!important}
.nmm-front .horizontal-thumb{min-width:0!important}
.nmm-front .horizontal-copy{min-width:0!important}
.nmm-front .horizontal-copy h3,.nmm-front .category-side-item h3,.nmm-front .category-lead h3{overflow-wrap:anywhere!important}
.nmm-front .empty-inline{padding:26px 0;margin:0;color:var(--nmm-muted);font-size:14px;border-bottom:1px solid var(--nmm-border)}
.nmm-front .category-feature-grid{align-items:start!important}
.nmm-front .category-side-item>div{min-width:0!important}

@media(max-width:1050px){
  body .site-header .site-logo{width:min(600px,64vw)!important;max-width:calc(100% - 140px)!important}
  body .site-header .site-logo-img{max-height:112px!important}
  .nmm-front .hero-grid--slider{grid-template-columns:minmax(0,1.42fr) minmax(270px,.72fr)!important;gap:20px!important}
  .nmm-front .hero-carousel{height:500px!important}
  .nmm-front .hero-side--rail{grid-template-columns:1fr!important}
  .nmm-front .hero-side--rail .hero-mini:nth-child(n+3){display:none!important}
  .nmm-front .hero-side--rail .hero-mini{display:grid!important;grid-template-columns:128px minmax(0,1fr)!important;gap:13px!important;align-items:start!important}
  .nmm-front .hero-side--rail .hero-mini-image{margin:0!important;aspect-ratio:16/10!important}
}

@media(max-width:820px){
  body .site-header .masthead{height:122px!important}
  body .site-header .site-logo{width:min(470px,78vw)!important;max-width:calc(100% - 100px)!important}
  body .site-header .site-logo-img{max-height:96px!important}
  body .site-header .menu-toggle{left:-4px!important}
  body .site-header .search-toggle{right:-4px!important}
  .nmm-front .breaking-inner{grid-template-columns:auto minmax(0,1fr)!important}
  .nmm-front .hero-section{padding-top:16px!important}
  .nmm-front .hero-grid--slider{display:block!important}
  .nmm-front .hero-carousel{height:450px!important}
  .nmm-front .hero-slide .hero-copy{padding:22px 20px 30px!important}
  .nmm-front .hero-slide .hero-copy h1{font-size:31px!important;line-height:1.05!important;max-width:88%!important}
  .nmm-front .hero-side--rail{margin-top:18px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px 14px!important}
  .nmm-front .hero-side--rail .hero-mini,.nmm-front .hero-side--rail .hero-mini:nth-child(n+3){display:block!important}
  .nmm-front .hero-side--rail .hero-mini-image{margin-bottom:8px!important}
}

@media(max-width:560px){
  body .site-header .masthead{height:108px!important}
  body .site-header .masthead-inner{width:calc(100% - 20px)!important}
  body .site-header .site-logo{width:min(420px,80vw)!important;max-width:calc(100% - 80px)!important}
  body .site-header .site-logo-img{max-height:84px!important}
  body .site-header .menu-toggle,body .site-header .search-toggle{width:38px!important;height:38px!important;padding:8px!important}
  .nmm-front .breaking-label{font-size:10px!important}
  .nmm-front .breaking-links a{font-size:11px!important;padding-right:20px!important;line-height:44px!important;max-width:72vw!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .nmm-front .breaking-links a:nth-child(n+2){display:block!important}
  .nmm-front .hero-carousel{height:385px!important;border-radius:4px!important}
  .nmm-front .hero-slide .hero-copy{padding:16px 15px 26px!important}
  .nmm-front .hero-slide .hero-copy h1{font-size:24px!important;line-height:1.08!important;letter-spacing:-.03em!important;max-width:86%!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important}
  .nmm-front .hero-slide .hero-copy p{display:none!important}
  .nmm-front .hero-dots{right:15px!important;bottom:14px!important}
  .nmm-front .hero-side--rail{grid-template-columns:1fr 1fr!important;gap:16px 12px!important}
  .nmm-front .hero-side--rail .hero-mini h2{font-size:14px!important;-webkit-line-clamp:3!important}
  .nmm-front .two-col-layout{gap:32px!important}
  .nmm-front .horizontal-card{grid-template-columns:118px minmax(0,1fr)!important;gap:13px!important}
  .nmm-front .horizontal-copy h3{font-size:16px!important}
  .nmm-front .category-side-item{grid-template-columns:112px minmax(0,1fr)!important}
}

@media(prefers-reduced-motion:reduce){
  .nmm-front .hero-slide{transition:none!important}
  .nmm-front .hero-progress{display:none!important}
}

/* v1.3.1 mobile header and hero refinements */
.nmm-front .hero-slide .media-cover>img{object-position:center center!important}
@media(max-width:820px){
  .nmm-front .hero-slide .media-cover>img{object-position:center top!important}
  .nmm-front .hero-copy .post-kicker{font-size:10px!important;padding:5px 8px!important}
}
@media(max-width:560px){
  .nmm-front .hero-slide .media-cover>img{object-position:center 22%!important}
  .nmm-front .hero-copy .post-kicker{font-size:9px!important;padding:4px 7px!important}
  .nmm-front .hero-dots{bottom:12px!important;right:12px!important}
}

/* ===== v1.4.0: visual centering, compact mobile hero, reliable links/tickers ===== */
body .site-header .masthead{height:126px!important}
body .site-header .masthead-inner{position:relative!important;display:block!important;height:100%!important}
body .site-header .site-logo{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(500px,58vw)!important;max-width:calc(100% - 126px)!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;margin:0!important;padding:0!important;z-index:2!important}
body .site-header .site-logo-img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;max-height:110px!important;object-fit:contain!important;margin:0 auto!important}
body .site-header .menu-toggle,body .site-header .search-toggle{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:4!important}
body .site-header .menu-toggle{left:0!important}
body .site-header .search-toggle{right:0!important}

/* The entire active lead story is a real, unobstructed link. */
.nmm-front .hero-carousel-track{z-index:1!important}
.nmm-front .hero-slide{z-index:0!important}
.nmm-front .hero-slide.is-active{z-index:3!important;pointer-events:auto!important}
.nmm-front .hero-slide .media-cover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;z-index:1!important;pointer-events:auto!important;cursor:pointer!important}
.nmm-front .hero-slide .hero-gradient,.nmm-front .hero-slide .hero-copy{pointer-events:none!important}
.nmm-front .hero-slide .hero-copy .post-kicker{pointer-events:none!important}
.nmm-front .hero-dots,.nmm-front .hero-progress{z-index:8!important}

/* AGORA: no ellipsis/hidden siblings; JS moves the track continuously. */
.nmm-front .breaking-viewport{overflow:hidden!important;min-width:0!important}
.nmm-front .breaking-links{display:flex!important;align-items:center!important;width:max-content!important;max-width:none!important;overflow:visible!important;white-space:nowrap!important;will-change:transform!important}
.nmm-front .breaking-links a,.nmm-front .breaking-links a:nth-child(n+2){display:block!important;flex:none!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}

@media(max-width:820px){
  body .site-header .masthead{height:112px!important}
  body .site-header .masthead-inner{width:calc(100% - 22px)!important}
  body .site-header .site-logo{width:min(330px,68vw)!important;max-width:calc(100% - 92px)!important}
  body .site-header .site-logo-img{max-height:88px!important}
  body .site-header .menu-toggle{left:0!important}
  body .site-header .search-toggle{right:0!important}
  .nmm-front .hero-carousel{height:360px!important}
  .nmm-front .hero-slide .hero-copy{padding:18px 18px 28px!important}
  .nmm-front .hero-slide .hero-copy h1{font-size:27px!important;line-height:1.08!important;letter-spacing:-.028em!important;max-width:88%!important;margin:9px 0 0!important;-webkit-line-clamp:4!important}
}

@media(max-width:560px){
  body .site-header .masthead{height:102px!important}
  body .site-header .masthead-inner{width:calc(100% - 20px)!important}
  body .site-header .site-logo{width:min(270px,70vw)!important;max-width:calc(100% - 86px)!important}
  body .site-header .site-logo-img{max-height:78px!important}
  body .site-header .menu-toggle,body .site-header .search-toggle{width:40px!important;height:40px!important;padding:8px!important}

  .nmm-front .hero-section{padding-top:14px!important;padding-bottom:26px!important}
  .nmm-front .hero-carousel{height:300px!important;border-radius:5px!important;background:#111!important}
  .nmm-front .hero-slide .media-cover>img{object-fit:contain!important;object-position:center center!important;background:#111!important;transform:none!important}
  .nmm-front .hero-slide .hero-gradient{background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.28) 58%,rgba(0,0,0,.92) 100%)!important}
  .nmm-front .hero-slide .hero-copy{padding:14px 14px 23px!important}
  .nmm-front .hero-slide .hero-copy h1{font-size:21px!important;line-height:1.12!important;letter-spacing:-.02em!important;max-width:82%!important;margin:8px 0 0!important;font-weight:800!important;-webkit-line-clamp:4!important}
  .nmm-front .hero-copy .post-kicker{font-size:8px!important;padding:4px 6px!important;border-radius:2px!important}
  .nmm-front .hero-dots{right:12px!important;bottom:11px!important;gap:6px!important}
  .nmm-front .hero-dot{width:7px!important;height:7px!important}
  .nmm-front .hero-dot.is-active{width:22px!important}

  .nmm-front .breaking-inner{gap:13px!important;min-height:44px!important}
  .nmm-front .breaking-label{font-size:10px!important}
  .nmm-front .breaking-links a{font-size:11px!important;line-height:44px!important;padding:0 24px!important}
}


/* ===== v1.4.1: desktop logo/footer clipping fix =====
   The previous bundled SVG canvas was narrower than the rendered wordmark,
   which clipped the final letters in both header and footer on desktop. */
@media(min-width:821px){
  body .site-header{overflow:visible!important}
  body .site-header .masthead{height:150px!important;overflow:visible!important}
  body .site-header .masthead-inner{overflow:visible!important}
  body .site-header .site-logo{
    left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
    width:min(500px,54vw)!important;max-width:calc(100% - 150px)!important;
    overflow:visible!important;
  }
  body .site-header .site-logo-img{
    width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;
    object-fit:contain!important;object-position:center!important;overflow:visible!important;
  }
}
body .site-footer{overflow:visible!important}
body .site-footer .footer-inner{overflow:visible!important;padding:34px 20px!important}
body .site-footer .footer-logo{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:min(430px,76vw)!important;max-width:100%!important;overflow:visible!important;line-height:0!important;
}
body .site-footer .footer-logo .site-logo-img{
  display:block!important;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;margin:0 auto!important;overflow:visible!important;
}
@media(max-width:820px){
  body .site-footer .footer-logo{width:min(330px,78vw)!important}
}
@media(max-width:560px){
  body .site-footer .footer-logo{width:min(285px,78vw)!important}
}


/* ===== v1.4.2: definitive raster-logo fix =====
   Uses transparent high-resolution PNG wordmarks so Chrome/desktop cannot crop SVG text glyphs. */
body .site-header, body .site-header .masthead, body .site-header .masthead-inner,
body .site-header .site-logo, body .mobile-drawer .drawer-head, body .mobile-drawer .drawer-logo,
body .site-footer, body .site-footer .footer-inner, body .site-footer .footer-logo { overflow:visible!important; }

body .site-header .masthead{height:148px!important}
body .site-header .masthead-inner{position:relative!important;display:block!important;height:100%!important}
body .site-header .site-logo{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  width:min(570px,58vw)!important;max-width:calc(100% - 150px)!important;height:auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;
}
body .site-header .site-logo .site-logo-img{
  display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;margin:0 auto!important;
}
body .site-header .menu-toggle,body .site-header .search-toggle{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:5!important}
body .site-header .menu-toggle{left:0!important} body .site-header .search-toggle{right:0!important}

body .mobile-drawer .drawer-head{height:104px!important;padding:0 18px!important;gap:12px!important}
body .mobile-drawer .drawer-logo{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:245px!important;max-width:calc(100% - 54px)!important;height:auto!important;line-height:0!important;
}
body .mobile-drawer .drawer-logo .site-logo-img{
  display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;
}

body .site-footer .footer-inner{min-height:220px!important;padding:38px 20px!important;gap:22px!important}
body .site-footer .footer-logo{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:min(440px,72vw)!important;max-width:100%!important;height:auto!important;line-height:0!important;
}
body .site-footer .footer-logo .site-logo-img{
  display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;margin:0 auto!important;
}

@media(max-width:820px){
  body .site-header .masthead{height:112px!important}
  body .site-header .masthead-inner{width:calc(100% - 24px)!important}
  body .site-header .site-logo{width:min(345px,67vw)!important;max-width:calc(100% - 96px)!important}
  body .mobile-drawer .drawer-logo{width:230px!important}
  body .site-footer .footer-logo{width:min(340px,78vw)!important}
}
@media(max-width:560px){
  body .site-header .masthead{height:102px!important}
  body .site-header .masthead-inner{width:calc(100% - 20px)!important}
  body .site-header .site-logo{width:min(290px,68vw)!important;max-width:calc(100% - 86px)!important}
  body .site-header .menu-toggle,body .site-header .search-toggle{width:40px!important;height:40px!important;padding:8px!important}
  body .mobile-drawer .drawer-head{height:94px!important}
  body .mobile-drawer .drawer-logo{width:215px!important;max-width:calc(100% - 50px)!important}
  body .site-footer .footer-logo{width:min(300px,80vw)!important}
}
