/*
Theme Name: Notícias Populares
Theme URI: https://noticiaspopulares.com.br
Author: Notícias Populares
Description: Tema de portal de notícias com identidade visual de telejornal: manchete em destaque, barra "Urgente / Ao vivo", editorias coloridas, mais lidas, faixa de vídeos, modo escuro, SEO (NewsArticle, Open Graph, breadcrumbs) e espaços publicitários discretos. Leve, rápido e mobile-first.
Version: 1.1.0
Requires at least: 6.3
Tested up to: 7.1
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: noticias-populares
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, translation-ready, threaded-comments, block-styles, wide-blocks
*/

/* 1. Tokens — paleta extraída do logo NP */
:root {
	--np-primary: #2283F9;
	--np-primary-rgb: 34 131 249;
	--np-glow: #3CB5FB;
	--np-glow-rgb: 60 181 251;
	--np-ice: #7BDCFE;
	--np-deep: #0D2C63;
	--np-night: #06162C;
	--np-ink: #030C18;
	--np-urgent: #E3193F;
	--np-urgent-rgb: 227 25 63;
	--np-magenta: #F63ABB;
	--bg: #EEF2F8;
	--surface: #FFFFFF;
	--surface-2: #F6F8FC;
	--text: #0A1730;
	--text-2: #2A3956;
	--muted: #5E6E89;
	--line: #DCE3EE;
	--shadow: 0 1px 2px rgb(10 23 48 / .06), 0 10px 30px -14px rgb(10 23 48 / .22);
	--shadow-lg: 0 2px 4px rgb(10 23 48 / .06), 0 22px 44px -18px rgb(10 23 48 / .35);
	--f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1320px;
	--gutter: clamp(16px, 3vw, 32px);
	--r: 14px;
	--r-sm: 10px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--brand-line: linear-gradient(90deg, var(--np-urgent) 0%, var(--np-magenta) 22%, var(--np-primary) 55%, var(--np-glow) 80%, var(--np-ice) 100%);
	color-scheme: light;
}
[data-scheme="dark"] {
	--bg: #050D1B;
	--surface: #0B1830;
	--surface-2: #0F1F3B;
	--text: #EAF0FA;
	--text-2: #C3CFE3;
	--muted: #8D9DB9;
	--line: #19294A;
	--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 30px -14px rgb(0 0 0 / .7);
	--shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 24px 48px -18px rgb(0 0 0 / .85);
	color-scheme: dark;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html.np-lock { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--np-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--np-glow); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--np-primary); color: #fff; }
.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; margin: 0; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: #fff; color: var(--np-night); font-weight: 700; border-radius: 8px; }
.np-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.np-icon { flex: none; display: inline-block; vertical-align: middle; }
.np-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 0; color: inherit; transition: background .2s; }
.np-iconbtn:hover { background: rgb(255 255 255 / .12); }
.np-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; animation: np-pulse 1.6s infinite; }
@keyframes np-pulse { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .7); } 70% { box-shadow: 0 0 0 8px rgb(255 255 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); } }
.np-btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 26px; border-radius: 999px; background: linear-gradient(135deg, var(--np-glow), var(--np-primary) 55%, var(--np-deep)); color: #fff; font: 800 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 10px 30px -10px rgb(var(--np-primary-rgb) / .8), inset 0 1px 0 rgb(255 255 255 / .35); transition: transform .2s var(--ease), box-shadow .2s; }
.np-btn:hover { color: #fff; transform: translateY(-2px); }

/* 3. Cabeçalho — fundo com a capa da marca (cover.jpg) */
.np-header { position: relative; color: #fff; background: var(--np-night); }
.np-topbar { position: relative; z-index: 2; background: rgb(3 12 24 / .72); border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 12.5px; color: rgb(255 255 255 / .72); }
.np-topbar__in { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.np-topbar__date { white-space: nowrap; }
.np-topbar__nav ul { list-style: none; display: flex; gap: 18px; }
.np-topbar__nav a:hover { color: #fff; }
.np-topbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.np-scheme { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); background: rgb(255 255 255 / .06); color: #fff; }
.np-scheme .np-icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; transition: background .25s, color .25s; color: rgb(255 255 255 / .6); }
html:not([data-scheme="dark"]) .np-scheme .np-icon--sun, [data-scheme="dark"] .np-scheme .np-icon--moon { background: #fff; color: var(--np-night); }
.np-masthead { position: relative; isolation: isolate; background: linear-gradient(90deg, rgb(3 12 24 / .94) 0%, rgb(6 22 44 / .78) 32%, rgb(6 22 44 / .25) 70%, rgb(6 22 44 / .55) 100%), url("assets/img/cover.webp") center 42% / cover no-repeat, var(--np-night); }
.np-masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px 220px at 170px 50%, rgb(var(--np-primary-rgb) / .45), transparent 70%); }
.np-masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-line); box-shadow: 0 0 18px rgb(var(--np-glow-rgb) / .6); }
.np-masthead__in { display: flex; align-items: center; gap: 28px; min-height: 152px; padding-block: 16px; }
.np-menu-toggle { display: none; color: #fff; }
.np-masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.np-live-btn { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: var(--np-urgent); color: #fff; font: 800 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; box-shadow: 0 8px 24px -8px rgb(var(--np-urgent-rgb) / .9); }
.np-live-btn:hover { color: #fff; filter: brightness(1.1); }
.np-hsearch { display: flex; align-items: center; width: 300px; height: 46px; padding: 0 4px 0 18px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.np-hsearch:focus-within { background: rgb(255 255 255 / .16); border-color: var(--np-glow); }
.np-hsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 14.5px; }
.np-hsearch input::placeholder { color: rgb(255 255 255 / .6); }
.np-hsearch .np-iconbtn { width: 38px; height: 38px; background: var(--np-primary); color: #fff; }
.np-hsearch .np-iconbtn:hover { background: var(--np-glow); }
.np-brand { margin: 0; font-size: inherit; }
.np-brand__link { display: inline-flex; align-items: center; color: #fff; }
.np-brand__link:hover { color: #fff; }
.np-brand__logo { width: auto; height: 118px; filter: drop-shadow(0 10px 28px rgb(var(--np-primary-rgb) / .65)) drop-shadow(0 0 1px rgb(255 255 255 / .4)); transition: transform .4s var(--ease); }
.np-brand__link:hover .np-brand__logo { transform: rotate(-3deg) scale(1.05); }
.np-brand--footer .np-brand__logo { height: 128px; }
.np-brand--compact .np-brand__logo { height: 64px; }

/* 4. Barra de editorias (fixa) */
.np-navbar { position: sticky; top: 0; z-index: 50; background: rgb(6 22 44 / .97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgb(255 255 255 / .06); transition: box-shadow .3s; }
.admin-bar .np-navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .np-navbar { top: 0; } }
.np-navbar.is-stuck { box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); }
.np-navbar__in { display: flex; align-items: center; min-height: 54px; }
.np-navbar__mini { width: 0; overflow: hidden; opacity: 0; transition: width .35s var(--ease), opacity .3s, margin .35s; flex: none; }
.np-navbar__mini { display: flex; align-items: center; background: none; }
.np-navbar__mini img { display: block; height: 40px; width: auto; max-width: none; background: none; border-radius: 0; box-shadow: none; filter: none; }
.np-navbar.is-stuck .np-navbar__mini { width: 54px; opacity: 1; margin-right: 16px; }
.np-nav { flex: 1; min-width: 0; }
.np-menu { list-style: none; display: flex; align-items: stretch; }
.np-nav .np-menu { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.np-nav .np-menu::-webkit-scrollbar { display: none; }
.np-nav .np-menu a { --cat: var(--np-glow); position: relative; display: flex; align-items: center; height: 54px; padding: 0 15px; white-space: nowrap; color: rgb(255 255 255 / .86); font: 700 14px/1 var(--f-display); font-stretch: 92%; text-transform: uppercase; letter-spacing: .06em; transition: color .2s; }
.np-nav .np-menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--cat); transform: scaleY(0); transform-origin: bottom; transition: transform .25s var(--ease); box-shadow: 0 0 14px var(--cat); }
.np-nav .np-menu a:hover, .np-nav .current-menu-item > a { color: #fff; }
.np-nav .np-menu a:hover::after, .np-nav .current-menu-item > a::after { transform: scaleY(1); }
.np-nav .sub-menu { display: none; }

/* 5. Barra "Urgente" */
.np-ticker { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.np-ticker__in { display: flex; align-items: stretch; min-height: 46px; }
.np-ticker__label { position: relative; display: flex; align-items: center; gap: 10px; flex: none; margin-left: calc(var(--gutter) * -1); padding: 0 30px 0 var(--gutter); color: #fff; font: 900 14px/1 var(--f-display); font-stretch: 110%; text-transform: uppercase; letter-spacing: .1em; background: linear-gradient(135deg, #FF3B5C, var(--np-urgent) 60%, #B30F2E); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
@media (min-width: 1384px) { .np-ticker__label { margin-left: 0; padding-left: 18px; } }
.np-ticker__viewport { flex: 1; padding-left: 6px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.np-ticker__track { list-style: none; display: flex; width: max-content; height: 100%; animation: np-marquee 70s linear infinite; }
.np-ticker:hover .np-ticker__track, .np-ticker:focus-within .np-ticker__track, .np-ticker.is-paused .np-ticker__track { animation-play-state: paused; }
.np-ticker__track li { display: flex; align-items: center; gap: 10px; padding: 0 22px; white-space: nowrap; font-weight: 600; font-size: 14.5px; color: var(--text); }
.np-ticker__track li::after { content: ""; width: 7px; height: 7px; margin-left: 22px; transform: rotate(45deg); background: var(--np-urgent); opacity: .85; }
.np-ticker__time { color: var(--np-urgent); font: 800 13px/1 var(--f-display); }
@keyframes np-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.np-ticker__pause { flex: none; width: 46px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); display: grid; place-items: center; }
.np-ticker__pause .r, .np-ticker.is-paused .np-ticker__pause .p { display: none; }
.np-ticker.is-paused .np-ticker__pause .r { display: inline; }

/* 6. Etiquetas, meta e cards */
.np-badge { --cat: var(--np-primary); display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--cat); font: 800 11.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; }
.np-badge::before { content: ""; width: 8px; height: 8px; background: var(--cat); transform: skewX(-14deg); box-shadow: 0 0 10px var(--cat); }
a.np-badge:hover { color: var(--cat); filter: brightness(1.15); }
[data-scheme="dark"] .np-badge { filter: brightness(1.25); }
.np-time { font-size: 12.5px; }
.np-card__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.np-card { --cat: var(--np-primary); position: relative; display: flex; flex-direction: column; min-width: 0; }
.np-card__media { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--np-deep), var(--np-night)); }
.np-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.np-card:hover .np-card__media img { transform: scale(1.05); }
.np-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.np-card:hover .np-card__title a { background-size: 100% 2px; }
.np-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.np-card__body .np-badge { position: relative; z-index: 2; }
.np-card__excerpt { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0; }
.np-thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, rgb(var(--np-primary-rgb) / .5), transparent 60%), linear-gradient(135deg, var(--np-deep), var(--np-ink)); }
.np-thumb-ph img { width: 34%; height: auto; max-width: 150px; object-fit: contain; filter: drop-shadow(0 6px 18px rgb(var(--np-primary-rgb) / .6)); }
.np-card:hover .np-thumb-ph img { transform: none; }

.np-card--card { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.np-card--card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cat); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); z-index: 2; }
.np-card--card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.np-card--card:hover::after { transform: scaleX(1); }
.np-card--card .np-card__media { aspect-ratio: 16 / 9; }
.np-card--card .np-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.np-card--card .np-card__title { font-size: 19px; font-weight: 800; font-stretch: 88%; line-height: 1.16; }
.np-card--card .np-card__meta { margin-top: auto; }

.np-card--list { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.np-card--list:last-child { border-bottom: 0; }
.np-card--list .np-card__media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.np-card--list .np-card__body { display: flex; flex-direction: column; gap: 7px; }
.np-card--list .np-card__title { font-size: 17.5px; font-weight: 800; font-stretch: 88%; line-height: 1.18; }

.np-card--overlay, .np-card--hero { border-radius: var(--r); overflow: hidden; isolation: isolate; color: #fff; background: var(--np-ink); box-shadow: var(--shadow); }
.np-card--overlay .np-card__media, .np-card--hero .np-card__media { position: absolute; inset: 0; z-index: -1; }
.np-card--overlay .np-card__media::after, .np-card--hero .np-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(3 12 24 / .96) 0%, rgb(3 12 24 / .72) 34%, rgb(3 12 24 / .15) 64%, rgb(3 12 24 / 0) 100%); }
.np-card--overlay .np-card__body, .np-card--hero .np-card__body { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; }
.np-card--overlay { min-height: 220px; justify-content: flex-end; }
.np-card--overlay .np-card__title { font-size: 21px; font-weight: 800; font-stretch: 88%; line-height: 1.12; text-shadow: 0 2px 12px rgb(0 0 0 / .5); }
.np-card--overlay .np-card__title a:hover, .np-card--hero .np-card__title a:hover { color: #fff; }
.np-card--overlay .np-card__meta, .np-card--hero .np-card__meta { color: rgb(255 255 255 / .72); }
.np-card--overlay .np-badge, .np-card--hero .np-badge, .np-article__head .np-badge { color: #fff; background: var(--cat); padding: 6px 14px 6px 9px; border-radius: 3px; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); filter: none; }
.np-card--overlay .np-badge::before, .np-card--hero .np-badge::before, .np-article__head .np-badge::before { background: #fff; width: 6px; height: 6px; box-shadow: none; }
.np-card--overlay::after, .np-card--hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); pointer-events: none; transition: box-shadow .3s; }
.np-card--overlay:hover::after, .np-card--hero:hover::after { box-shadow: inset 0 0 0 2px var(--cat), 0 0 40px -6px var(--cat); }

.np-card--hero { min-height: 100%; aspect-ratio: 16 / 10; justify-content: flex-end; }
.np-card--hero .np-card__body { padding: clamp(22px, 3vw, 40px); gap: 14px; }
.np-card--hero .np-card__title { font-size: clamp(30px, 3.5vw, 54px); font-weight: 900; font-stretch: 82%; line-height: 1.0; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 4px 24px rgb(0 0 0 / .55); max-width: 22ch; }
.np-card--hero .np-card__excerpt { color: rgb(255 255 255 / .82); font-size: 17px; max-width: 62ch; }
.np-card--hero .np-badge { font-size: 13px; }

.np-card--text { padding: 16px 18px 18px; border-radius: var(--r-sm); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); color: #fff; transition: background .25s, transform .3s var(--ease); }
.np-card--text::before { content: ""; position: absolute; left: 18px; top: -1px; width: 42px; height: 3px; background: var(--cat); box-shadow: 0 0 12px var(--cat); }
.np-card--text:hover { background: rgb(255 255 255 / .08); transform: translateY(-3px); }
.np-card--text .np-card__body { display: flex; flex-direction: column; gap: 9px; }
.np-card--text .np-card__title { font-size: 17px; font-weight: 800; font-stretch: 90%; line-height: 1.2; }
.np-card--text .np-card__title a:hover { color: #fff; }
.np-card--text .np-card__meta { color: rgb(255 255 255 / .6); }
.np-card--text .np-badge, .np-card--video .np-badge { filter: brightness(1.35) saturate(1.1); }

.np-card--video { color: #fff; }
.np-card--video .np-card__media { aspect-ratio: 16 / 9; border-radius: var(--r-sm); box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.np-card--video .np-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(3 12 24 / .55), transparent 55%); }
.np-card--video .np-card__body { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.np-card--video .np-card__title { font-size: 17px; font-weight: 800; font-stretch: 90%; line-height: 1.2; }
.np-card--video .np-card__title a:hover { color: #fff; }
.np-card--video .np-card__meta { color: rgb(255 255 255 / .6); }
.np-play { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--np-urgent); color: #fff; box-shadow: 0 0 0 6px rgb(var(--np-urgent-rgb) / .25), 0 8px 24px -4px rgb(var(--np-urgent-rgb) / .8); transition: transform .3s var(--ease); }
.np-play .np-icon { fill: currentColor; margin-left: 3px; }
.np-card:hover .np-play { transform: scale(1.12); }
.np-card--overlay .np-play, .np-card--hero .np-play { left: auto; bottom: auto; right: 16px; top: 16px; width: 40px; height: 40px; }
.np-card--hero .np-play { width: 56px; height: 56px; right: 24px; top: 24px; }
.np-play--sm { position: static; width: 34px; height: 34px; box-shadow: 0 0 0 5px rgb(var(--np-urgent-rgb) / .22); }

.np-card--rank { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; padding: 14px 0; }
.np-card__rank { font: 900 54px/.9 var(--f-display); font-stretch: 110%; letter-spacing: -.04em; text-align: center; color: transparent; -webkit-text-stroke: 1.6px var(--np-primary); }
li:first-child .np-card__rank { -webkit-text-stroke: 0; background: linear-gradient(180deg, var(--np-ice), var(--np-primary) 60%, var(--np-deep)); -webkit-background-clip: text; background-clip: text; }
.np-card--rank .np-card__body { display: flex; flex-direction: column; gap: 6px; }
.np-card--rank .np-card__title { font-size: 16px; font-weight: 800; font-stretch: 90%; line-height: 1.2; }

/* 7. Manchete (hero) */
.np-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 48px); overflow: hidden; background: radial-gradient(900px 480px at 8% -10%, rgb(var(--np-primary-rgb) / .38), transparent 65%), radial-gradient(700px 420px at 105% 110%, rgb(246 58 187 / .16), transparent 60%), linear-gradient(180deg, var(--np-night) 0%, #041022 60%, var(--np-ink) 100%); }
.np-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/img/bg-grid.webp") center / cover; opacity: .28; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.np-hero__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.np-hero__side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 20px; }
.np-hero__side .np-card--overlay { min-height: 0; }
.np-hero__side .np-card__title { font-size: 19px; }
.np-hero__side .np-card__body { padding: 16px 18px; gap: 8px; }
.np-hero__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }

/* 8. Seções e layout */
.np-main { display: block; }
.np-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.np-layout__side { min-width: 0; }
.np-sticky { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 28px; }
.np-layout--home { padding-top: 12px; }
.np-layout--home .np-sticky { margin-top: clamp(36px, 5vw, 56px); }
.np-shead { --cat: var(--np-primary); display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.np-shead__title { position: relative; flex: none; padding: 9px 30px 9px 16px; color: #fff; font: 900 20px/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 75%, #fff) -20%, var(--cat) 45%, color-mix(in srgb, var(--cat) 70%, #000) 120%); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3); }
.np-shead__line { flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cat), color-mix(in srgb, var(--cat) 15%, transparent) 70%, transparent); }
.np-shead__more { display: inline-flex; align-items: center; gap: 6px; color: var(--cat); font: 800 12.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; transition: gap .2s; }
.np-shead__more:hover { color: var(--cat); gap: 10px; }
.np-sec { margin: clamp(36px, 5vw, 56px) 0; }
.np-sec__grid { display: grid; gap: 22px; }
.np-sec--grid .np-sec__grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.np-sec--grid3 .np-sec__grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.np-sec--lead .np-sec__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(4, auto); column-gap: 28px; row-gap: 0; }
.np-sec--lead .np-card--card { grid-row: 1 / span 4; }
.np-sec--lead .np-card--card .np-card__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; font-stretch: 84%; line-height: 1.06; }
.np-sec--lead .np-card--card .np-card__body { padding: 20px 22px 22px; gap: 12px; }
.np-sec--lead .np-card--list:nth-child(2) { padding-top: 0; }
.np-sec--lead .np-card--list { grid-template-columns: 132px 1fr; }
.np-sec--mosaic { margin: clamp(40px, 6vw, 72px) 0; }
.np-sec__band { position: relative; isolation: isolate; padding: clamp(32px, 4vw, 52px) 0; color: #fff; overflow: hidden; background: radial-gradient(800px 400px at 0% 0%, color-mix(in srgb, var(--cat) 55%, transparent), transparent 70%), radial-gradient(600px 400px at 100% 100%, color-mix(in srgb, var(--cat) 30%, transparent), transparent 70%), linear-gradient(180deg, var(--np-night), var(--np-ink)); }
.np-sec__band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/img/bg-grid.webp") center / cover; opacity: .22; mix-blend-mode: screen; }
.np-sec__band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cat), transparent); box-shadow: 0 0 22px var(--cat); }
.np-sec__band .np-shead__more { color: #fff; }
.np-sec__band .np-shead__line { background: linear-gradient(90deg, var(--cat), rgb(255 255 255 / .1) 70%, transparent); }
.np-sec--mosaic .np-sec__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 18px; }
.np-sec--mosaic .np-card:first-child { grid-column: span 2; grid-row: span 2; }
.np-sec--mosaic .np-card:first-child .np-card__title { font-size: clamp(24px, 2.4vw, 36px); font-weight: 900; font-stretch: 84%; line-height: 1.04; }
.np-sec--mosaic .np-card:first-child .np-card__body { padding: 26px 28px; }
.np-sec--mosaic .np-card:not(:first-child) .np-card__title { font-size: 17px; }
.np-sec--mosaic .np-card:not(:first-child) .np-card__body { padding: 16px; gap: 8px; }
.np-sec--mosaic.np-sec--n3 .np-sec__grid, .np-sec--mosaic.np-sec--n4 .np-sec__grid { grid-template-columns: 2fr 1fr 1fr; }
.np-sec--mosaic.np-sec--n3 .np-sec__grid { grid-template-columns: 2fr 1fr; }
.np-sec--mosaic.np-sec--n3 .np-card:first-child, .np-sec--mosaic.np-sec--n4 .np-card:first-child { grid-column: span 1; }
.np-sec--mosaic.np-sec--n4 .np-card:nth-child(4) { grid-column: span 2; }
.np-mostread { background: var(--surface); border-radius: var(--r); padding: 22px 22px 8px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.np-mostread::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-line); }
.np-mostread__title { display: flex; align-items: center; gap: 10px; font: 900 20px/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.np-mostread__title .np-icon { color: var(--np-urgent); }
.np-mostread__list { list-style: none; }
.np-mostread__list li + li { border-top: 1px solid var(--line); }
.np-videos { position: relative; isolation: isolate; color: #fff; padding: clamp(36px, 5vw, 60px) 0; margin: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(700px 360px at 85% 0%, rgb(var(--np-urgent-rgb) / .22), transparent 70%), radial-gradient(800px 420px at 0% 100%, rgb(var(--np-primary-rgb) / .3), transparent 70%), var(--np-ink); }
.np-videos::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/img/bg-grid.webp") center / cover; opacity: .2; mix-blend-mode: screen; }
.np-videos__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.np-videos__title { display: flex; align-items: center; gap: 14px; font: 900 clamp(22px, 2.6vw, 32px)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.np-videos__nav { display: flex; gap: 8px; }
.np-videos__nav .np-iconbtn { border: 1px solid rgb(255 255 255 / .2); font-size: 24px; line-height: 1; color: #fff; }
.np-videos__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.np-videos__track::-webkit-scrollbar { display: none; }
.np-videos__track > * { scroll-snap-align: start; }

/* 9. Páginas internas */
.np-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.np-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.np-crumbs li + li::before { content: "›"; opacity: .6; }
.np-pagehead { --cat: var(--np-primary); position: relative; isolation: isolate; color: #fff; padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); overflow: hidden; background: radial-gradient(700px 360px at 0% 0%, color-mix(in srgb, var(--cat) 55%, transparent), transparent 70%), linear-gradient(180deg, var(--np-night), var(--np-ink)); }
.np-pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/img/bg-grid.webp") center / cover; opacity: .25; mix-blend-mode: screen; }
.np-pagehead::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--cat), transparent 70%); }
.np-pagehead .np-crumbs ol { color: rgb(255 255 255 / .65); margin-bottom: 18px; }
.np-pagehead .np-crumbs a:hover { color: #fff; }
.np-pagehead__kicker { margin: 0 0 8px; color: var(--np-glow); font: 800 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .14em; }
.np-pagehead__title { font-size: clamp(36px, 6vw, 76px); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.02em; }
.np-pagehead--archive .np-pagehead__title { background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--cat) 40%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.np-pagehead__desc { margin-top: 14px; color: rgb(255 255 255 / .78); max-width: 70ch; font-size: 17px; }
.np-pagehead__desc p:last-child { margin: 0; }
.np-pagehead .np-searchform { margin-top: 22px; max-width: 560px; }
.np-subcats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.np-subcats a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); font-size: 13px; font-weight: 600; }
.np-subcats a:hover { background: #fff; color: var(--np-night); }
.np-layout--archive { padding-block: 40px 20px; }
.np-archive { background: var(--surface); border-radius: var(--r); padding: 8px 24px; box-shadow: var(--shadow); }
.np-archive__lead { margin: 16px 0 6px; }
.np-archive__lead .np-card--overlay { aspect-ratio: 16 / 8; }
.np-archive__lead .np-card__title { font-size: clamp(24px, 3vw, 38px); font-weight: 900; font-stretch: 84%; line-height: 1.04; }
.np-archive .np-card--list { grid-template-columns: 220px 1fr; gap: 22px; padding: 20px 0; }
.np-archive .np-card--list .np-card__title { font-size: 21px; }
.np-empty { background: var(--surface); border-radius: var(--r); padding: 48px 32px; text-align: center; box-shadow: var(--shadow); }
.np-empty__big { font: 900 30px/1.1 var(--f-display); }
.np-empty .np-searchform { max-width: 520px; margin: 18px auto 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.page-numbers.current { background: var(--np-primary); color: #fff; }
a.page-numbers:hover { background: var(--np-night); color: #fff; }
.np-searchform { display: flex; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 4px; transition: border-color .2s; }
.np-searchform:focus-within { border-color: var(--np-primary); }
.np-searchform input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0 16px; font-size: 16px; color: var(--text); }
.np-searchform button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px; background: var(--np-primary); color: #fff; font: 800 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; }
.np-searchform button:hover { background: var(--np-deep); }
.np-pagehead .np-searchform, .np-404 .np-searchform, .np-drawer .np-searchform { background: rgb(255 255 255 / .96); border-color: transparent; }
.np-pagehead .np-searchform input, .np-404 .np-searchform input, .np-drawer .np-searchform input { color: var(--np-night); }
.np-page__body { max-width: 860px; padding-block: 40px; }
.np-page__img { margin: 0 0 32px; border-radius: var(--r); overflow: hidden; }
.np-404 { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(60px, 10vw, 120px) 0; overflow: hidden; background: radial-gradient(600px 400px at 50% 0%, rgb(var(--np-primary-rgb) / .45), transparent 70%), linear-gradient(180deg, var(--np-night), var(--np-ink)); }
.np-404::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/img/bg-grid.webp") center / cover; opacity: .3; mix-blend-mode: screen; }
.np-404__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.np-404__code { margin: 0; font: 900 clamp(120px, 22vw, 260px)/.8 var(--f-display); font-stretch: 125%; letter-spacing: -.05em; background: linear-gradient(180deg, #E5F7FF, var(--np-glow) 35%, var(--np-primary) 65%, var(--np-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 40px rgb(var(--np-primary-rgb) / .6)); }
.np-404__title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; text-transform: uppercase; }
.np-404__text { max-width: 54ch; color: rgb(255 255 255 / .78); font-size: 17px; }
.np-404 .np-searchform { width: min(520px, 100%); }

/* 10. Matéria */
.np-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 100; pointer-events: none; }
.admin-bar .np-progress { top: 32px; }
.np-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--np-primary), var(--np-glow) 60%, var(--np-magenta)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgb(var(--np-glow-rgb) / .8); }
.np-article__hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: radial-gradient(800px 400px at 0% 0%, color-mix(in srgb, var(--cat) 45%, transparent), transparent 70%), linear-gradient(180deg, var(--np-night), var(--np-ink)); }
.np-article__hero.has-image { min-height: min(80vh, 760px); display: flex; align-items: flex-end; }
.np-article__bg { position: absolute; inset: 0; z-index: -1; }
.np-article__bg img { width: 100%; height: 100%; object-fit: cover; animation: np-kenburns 18s ease-out both; }
@keyframes np-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.np-article__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--np-ink) 0%, rgb(3 12 24 / .88) 28%, rgb(3 12 24 / .35) 62%, rgb(3 12 24 / .15) 100%), linear-gradient(90deg, rgb(3 12 24 / .55), transparent 60%); }
.np-article__hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--cat), var(--np-glow) 50%, transparent); }
.np-article__head { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.np-article__head .np-crumbs ol { color: rgb(255 255 255 / .7); }
.np-article__head .np-crumbs a:hover { color: #fff; }
.np-article__head .np-badge { font-size: 13px; }
.np-article__title { max-width: 20ch; font-size: clamp(34px, 5.2vw, 76px); font-weight: 900; font-stretch: 80%; line-height: .98; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 4px 30px rgb(0 0 0 / .45); }
.np-article__dek { max-width: 62ch; margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: rgb(255 255 255 / .85); }
.np-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .14); font-size: 14px; }
.np-article__author { display: flex; align-items: center; gap: 12px; }
.np-article__author a { font-weight: 700; color: #fff; }
.np-article__author small { display: block; color: rgb(255 255 255 / .65); font-size: 13px; margin-top: 2px; }
.np-avatar { border-radius: 50%; box-shadow: 0 0 0 2px var(--np-glow); }
.np-article__read { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); font-weight: 600; font-size: 13px; }
.np-article__caption { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.np-layout--single { padding-block: 34px 20px; }
.np-layout--single .np-layout__main { max-width: 780px; }
.np-share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.np-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 700; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.np-share__btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.np-share__label { display: none; }
.np-share--whatsapp, .np-share--copy { padding: 0 18px; }
.np-share--whatsapp .np-share__label, .np-share--copy .np-share__label { display: inline; }
.np-share--whatsapp { background: #25D366; border-color: #25D366; color: #fff; box-shadow: 0 8px 22px -10px #25D366; }
.np-share--whatsapp:hover { background: #1EBE5A; }
.np-share--facebook:hover { background: #1877F2; }
.np-share--x:hover { background: #000; }
.np-share--telegram:hover { background: #229ED9; }
.np-share--linkedin:hover { background: #0A66C2; }
.np-share--copy:hover, .np-share--copy.is-done { background: var(--np-primary); color: #fff; }
.np-content { font-size: 1.1875rem; line-height: 1.75; color: var(--text-2); overflow-wrap: break-word; }
.np-content > * { margin: 0 0 1.3em; }
.np-content > p:first-of-type { font-size: 1.3rem; line-height: 1.6; color: var(--text); font-weight: 500; }
.np-content > p:first-of-type::first-letter { float: left; margin: .06em .1em 0 0; font: 900 4.4em/.78 var(--f-display); background: linear-gradient(180deg, var(--np-glow), var(--np-primary) 55%, var(--np-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.np-content a { color: var(--np-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgb(var(--np-primary-rgb) / .35); }
.np-content a:hover { text-decoration-color: currentColor; }
.np-content h2, .np-content h3, .np-content h4 { color: var(--text); margin: 1.8em 0 .6em; font-weight: 900; font-stretch: 90%; line-height: 1.1; }
.np-content h2 { font-size: clamp(26px, 2.6vw, 34px); padding-left: 16px; border-left: 5px solid var(--cat, var(--np-primary)); }
.np-content h3 { font-size: 24px; }
.np-content strong { color: var(--text); }
.np-content ul, .np-content ol { padding-left: 1.3em; }
.np-content li { margin-bottom: .4em; }
.np-content li::marker { color: var(--np-primary); font-weight: 800; }
.np-content blockquote { position: relative; margin: 2em 0; padding: 28px 30px 26px 76px; border: 0; border-radius: var(--r); background: linear-gradient(135deg, rgb(var(--np-primary-rgb) / .1), rgb(var(--np-glow-rgb) / .04)); color: var(--text); font-size: 1.4rem; line-height: 1.45; font-weight: 600; font-style: italic; }
.np-content blockquote::before { content: "“"; position: absolute; left: 18px; top: 4px; font: 900 96px/1 var(--f-display); color: var(--np-primary); }
.np-content blockquote p { margin: 0 0 .5em; }
.np-content blockquote cite { display: block; font-size: 14px; font-style: normal; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.np-content figure { margin-inline: 0; }
.np-content img { border-radius: var(--r-sm); }
.np-content figcaption, .wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 8px; text-align: left; }
.np-content .alignwide { margin-inline: calc(min(120px, 6vw) * -1); max-width: none; }
.np-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.np-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.np-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.np-content .aligncenter { margin-inline: auto; }
.np-content iframe { width: 100%; border-radius: var(--r-sm); }
.np-content .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.np-content .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; height: 100%; }
.np-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.np-content th, .np-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.np-content hr { border: 0; height: 3px; width: 80px; background: var(--brand-line); margin: 2.4em auto; border-radius: 3px; }
.np-content pre, .np-content code { font-size: .85em; background: var(--surface-2); border-radius: 6px; }
.np-content pre { padding: 16px; overflow: auto; }
.np-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 36px 0 0; }
.np-tags span { font: 800 12.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 6px; }
.np-tags a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.np-tags a:hover { border-color: var(--np-primary); color: var(--np-primary); }
.np-share-cta { margin: 36px 0; padding: 26px 26px 6px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.np-share-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--np-glow), var(--np-primary), var(--np-magenta)); }
.np-share-cta p { font-family: var(--f-display); font-size: 20px; font-stretch: 95%; margin-bottom: 14px; }
.np-share-cta .np-share { margin-bottom: 20px; }
.np-authorbox { display: flex; gap: 18px; align-items: flex-start; padding: 24px; margin: 30px 0; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.np-authorbox p { margin: 0; color: var(--text-2); font-size: 15px; }
.np-authorbox__name { font: 900 18px/1.2 var(--f-display); margin-bottom: 6px !important; }
.np-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.np-postnav a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.np-postnav a:hover { transform: translateY(-3px); color: inherit; }
.np-postnav .nav-next a { text-align: right; }
.np-postnav__k { font: 800 12px/1 var(--f-display); color: var(--np-primary); text-transform: uppercase; letter-spacing: .1em; }
.np-postnav__t { font: 800 17px/1.2 var(--f-display); font-stretch: 90%; }
.np-related { padding: clamp(32px, 5vw, 56px) 0; margin-top: 30px; background: var(--surface-2); border-top: 1px solid var(--line); }
.np-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.np-comments { margin: 40px 0; }
.np-comments__title, .comment-reply-title { font: 900 24px/1.1 var(--f-display); margin-bottom: 18px; }
.np-comments__list { list-style: none; }
.np-comments__list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.np-comments__list .children { list-style: none; padding-left: 28px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12.5px; color: var(--muted); margin: 4px 0 8px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--surface); color: var(--text); }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--np-primary); outline: 0; }
.comment-form .submit { border: 0; border-radius: 999px; padding: 14px 26px; background: var(--np-primary); color: #fff; font: 800 14px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.widget { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); font-size: 15px; }
.widget-title { font: 900 18px/1 var(--f-display); font-stretch: 110%; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border: 0; }
.np-ad { margin: 28px auto; text-align: center; }
.np-ad__label { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); opacity: .8; }
.np-ad__inner { display: flex; justify-content: center; }
.np-ad__inner img { margin-inline: auto; border-radius: var(--r-sm); }
.np-ad--ad-sidebar .np-ad__inner { padding: 12px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.np-ad--inline { margin: 2em 0; padding: 14px 0; border-block: 1px solid var(--line); }

/* 11. Gaveta (celular) */
.np-drawer { position: fixed; inset: 0; z-index: 200; }
.np-drawer__backdrop { position: absolute; inset: 0; background: rgb(3 12 24 / .6); opacity: 0; transition: opacity .25s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.np-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); overflow-y: auto; padding: 18px 20px 30px; color: #fff; background: linear-gradient(180deg, rgb(6 22 44 / .82), var(--np-ink) 45%), url("assets/img/cover.webp") center top / auto 320px no-repeat, var(--np-ink); transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: 20px 0 60px rgb(0 0 0 / .5); }
.np-drawer.is-open .np-drawer__backdrop { opacity: 1; }
.np-drawer.is-open .np-drawer__panel { transform: none; }
.np-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.np-drawer .np-searchform { margin-bottom: 18px; }
.np-menu--drawer { flex-direction: column; }
.np-menu--drawer a { --cat: var(--np-glow); display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid rgb(255 255 255 / .08); font: 800 17px/1 var(--f-display); font-stretch: 95%; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.np-menu--drawer a::before { content: ""; width: 10px; height: 10px; background: var(--cat); transform: skewX(-14deg); box-shadow: 0 0 10px var(--cat); }
.np-menu--drawer .sub-menu { list-style: none; padding-left: 22px; }
.np-menu--drawer .sub-menu a { font-size: 14px; }
.np-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.np-social__link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .12); transition: background .2s, transform .2s; }
.np-social__link:hover { color: #fff; background: var(--np-primary); transform: translateY(-2px); }
.np-social--top .np-social__link { width: 26px; height: 26px; border: 0; background: none; }
.np-social--top .np-icon { width: 14px; height: 14px; }
.np-social--drawer { margin-top: 24px; }
.np-social--footer { margin-top: 22px; }
.np-social--footer .np-social__link { width: 42px; height: 42px; }

/* 12. Rodapé — fundo com a capa da marca (cover.jpg) */
.np-footer { position: relative; isolation: isolate; overflow: hidden; color: rgb(255 255 255 / .78); margin-top: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, rgb(3 12 24 / .5) 0%, rgb(3 12 24 / .8) 50%, rgb(3 12 24 / .97) 100%), url("assets/img/cover.webp") center 30% / cover no-repeat, var(--np-ink); }
.np-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-line); box-shadow: 0 0 18px rgb(var(--np-glow-rgb) / .6); }
.np-footer__glow { position: absolute; z-index: -1; left: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgb(var(--np-primary-rgb) / .28), transparent); pointer-events: none; }
.np-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: clamp(40px, 6vw, 72px) 0 40px; }
.np-footer__about { margin: 18px 0 0; max-width: 46ch; font-size: 15.5px; line-height: 1.6; }
.np-footer__h { font: 900 15px/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 18px; }
.np-footer__cats ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; }
.np-footer__cats a { --cat: var(--np-glow); display: flex; align-items: center; gap: 10px; padding: 9px 0; font-weight: 600; font-size: 15px; color: rgb(255 255 255 / .85); transition: transform .2s, color .2s; }
.np-footer__cats a::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--cat); transform: skewX(-14deg); box-shadow: 0 0 8px var(--cat); }
.np-footer__cats a:hover { color: #fff; transform: translateX(3px); }
.np-footer__widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.np-footer .widget { background: none; box-shadow: none; padding: 0; color: inherit; }
.np-footer .widget-title { color: #fff; border-color: rgb(255 255 255 / .12); }
.np-footer .widget li { border-color: rgb(255 255 255 / .08); }
.np-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 22px 0 28px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13.5px; }
.np-footer__bottom p { margin: 0; }
.np-footer__menu ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.np-footer__menu a:hover, .np-totop:hover { color: #fff; }
.np-totop { margin-left: auto; font-weight: 700; }

/* 13. Responsivo */
@media (max-width: 1180px) {
	.np-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
	.np-sec--grid .np-sec__grid, .np-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-videos__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 1023px) {
	.np-hero__grid { grid-template-columns: 1fr; }
	.np-hero__side { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.np-hero__side .np-card--overlay { aspect-ratio: 4 / 3.4; }
	.np-hero__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-layout { grid-template-columns: minmax(0, 1fr); }
	.np-layout--single .np-layout__main { max-width: none; }
	.np-sticky { position: static; }
	.np-layout--home .np-sticky { margin-top: 0; }
	.np-sec--mosaic .np-sec__grid, .np-sec--mosaic.np-sec--n3 .np-sec__grid, .np-sec--mosaic.np-sec--n4 .np-sec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
	.np-sec--mosaic.np-sec--n3 .np-card:first-child, .np-sec--mosaic.np-sec--n4 .np-card:first-child { grid-column: span 2; grid-row: span 1; }
	.np-sec--mosaic.np-sec--n4 .np-card:nth-child(4) { grid-column: span 1; }
	.np-footer__top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
	.np-topbar__nav, .np-social--top { display: none; }
	.np-masthead { background: linear-gradient(90deg, rgb(3 12 24 / .8), rgb(6 22 44 / .4) 50%, rgb(3 12 24 / .8)), url("assets/img/cover.webp") 62% 40% / cover no-repeat, var(--np-night); }
	.np-masthead::before { background: radial-gradient(280px 130px at 50% 50%, rgb(var(--np-primary-rgb) / .45), transparent 70%); }
	.np-masthead__in { min-height: 96px; gap: 6px; padding-block: 10px; justify-content: space-between; }
	.np-menu-toggle { display: inline-grid; margin-left: -8px; }
	.np-brand--header { margin-inline: auto; }
	.np-brand--header .np-brand__logo { height: 72px; }
	.np-masthead__actions { margin-left: 0; }
	.np-hsearch { width: 42px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.np-hsearch input { display: none; }
	.np-hsearch .np-iconbtn { background: none; }
	.np-live-btn { display: none; }
	.np-sec--lead .np-sec__grid { grid-template-columns: 1fr; }
	.np-sec--lead .np-card--card { grid-row: auto; margin-bottom: 8px; }
	.np-sec--lead .np-card--list:nth-child(2) { padding-top: 14px; }
	.np-sec--grid3 .np-sec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-archive .np-card--list { grid-template-columns: 150px 1fr; gap: 16px; }
	.np-archive .np-card--list .np-card__title { font-size: 18px; }
	.np-article__hero.has-image { min-height: 72vh; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.np-ticker__in { min-height: 42px; }
	.np-ticker__label { padding-right: 24px; font-size: 12.5px; gap: 8px; }
	.np-ticker__track li { font-size: 13.5px; padding: 0 16px; }
	.np-ticker__pause { display: none; }
	.np-hero { padding-top: 0; }
	.np-hero__grid { margin-inline: calc(var(--gutter) * -1); gap: 14px; }
	.np-card--hero { aspect-ratio: auto; min-height: 500px; border-radius: 0; }
	.np-card--hero .np-card__title { font-size: 34px; }
	.np-card--hero .np-card__excerpt { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.np-hero__side, .np-hero__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.np-hero__side::-webkit-scrollbar, .np-hero__row::-webkit-scrollbar { display: none; }
	.np-hero__side .np-card--overlay { flex: 0 0 80%; scroll-snap-align: start; aspect-ratio: 4 / 3.4; }
	.np-hero__row { margin: 14px calc(var(--gutter) * -1) 0; }
	.np-hero__row .np-card--text { flex: 0 0 72%; scroll-snap-align: start; }
	.np-shead { gap: 10px; margin-bottom: 16px; }
	.np-shead__title { font-size: 16.5px; padding: 8px 24px 8px 12px; }
	.np-shead__more { font-size: 11.5px; }
	.np-sec { margin: 36px 0; }
	.np-sec--grid .np-sec__grid, .np-sec--grid3 .np-sec__grid, .np-grid-4 { grid-template-columns: 1fr; gap: 0; }
	.np-sec__grid > .np-card--card:not(:first-child) { display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: start; background: none; box-shadow: none; border-radius: 0; padding: 14px 0; border-top: 1px solid var(--line); overflow: visible; }
	.np-sec__grid > .np-card--card:not(:first-child)::after { display: none; }
	.np-sec__grid > .np-card--card:not(:first-child):hover { transform: none; }
	.np-sec__grid > .np-card--card:not(:first-child) .np-card__media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
	.np-sec__grid > .np-card--card:not(:first-child) .np-card__body { padding: 0; gap: 7px; }
	.np-sec__grid > .np-card--card:not(:first-child) .np-card__title { font-size: 16.5px; }
	.np-sec__grid > .np-card--card:first-child { margin-bottom: 8px; }
	.np-card--list, .np-sec--lead .np-card--list, .np-archive .np-card--list { grid-template-columns: 116px 1fr; gap: 14px; }
	.np-card--list .np-card__title, .np-archive .np-card--list .np-card__title { font-size: 16.5px; }
	.np-sec--mosaic .np-sec__grid, .np-sec--mosaic.np-sec--n3 .np-sec__grid, .np-sec--mosaic.np-sec--n4 .np-sec__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 12px; }
	.np-sec--mosaic .np-card { min-height: 220px; }
	.np-sec--mosaic .np-card:first-child, .np-sec--mosaic.np-sec--n3 .np-card:first-child, .np-sec--mosaic.np-sec--n4 .np-card:first-child { grid-column: span 2; grid-row: span 1; min-height: 360px; }
	.np-sec--mosaic .np-card:first-child .np-card__body { padding: 18px; }
	.np-sec--mosaic .np-card:first-child .np-card__title { font-size: 26px; }
	.np-sec--mosaic .np-card:not(:first-child) .np-card__title { font-size: 15px; }
	.np-sec--mosaic .np-card:not(:first-child) .np-card__body { padding: 12px; }
	.np-sec--mosaic .np-card:not(:first-child) .np-card__meta { display: none; }
	.np-videos__track { grid-auto-columns: 78%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
	.np-videos__nav { display: none; }
	.np-archive { padding: 4px 16px; }
	.np-archive__lead { margin: -4px -16px 6px; }
	.np-archive__lead .np-card--overlay { aspect-ratio: 4 / 3.4; border-radius: var(--r) var(--r) 0 0; }
	.np-article__title { font-size: 36px; }
	.np-article__head { gap: 14px; }
	.np-content { font-size: 1.125rem; }
	.np-content > p:first-of-type { font-size: 1.2rem; }
	.np-content blockquote { padding: 22px 20px 20px 56px; font-size: 1.2rem; }
	.np-content blockquote::before { font-size: 72px; left: 12px; }
	.np-content .alignwide { margin-inline: 0; }
	.np-share__btn { height: 44px; min-width: 44px; }
	.np-postnav .nav-links { grid-template-columns: 1fr; }
	.np-footer { background-position: 0 0, 70% 0, 0 0; background-size: auto, auto 340px, auto; }
	.np-footer__cats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-footer__bottom { flex-direction: column; align-items: flex-start; }
	.np-totop { margin-left: 0; }
	.np-brand--footer .np-brand__logo { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.np-ticker__viewport { overflow-x: auto; }
	.np-ticker__track { animation: none !important; }
}
@media print {
	.np-header, .np-navbar, .np-ticker, .np-footer, .np-share, .np-share-cta, .np-layout__side, .np-related, .np-progress, .np-ad { display: none !important; }
	.np-article__hero { color: #000; background: none; min-height: 0 !important; }
	.np-article__bg { display: none; }
	.np-article__title, .np-article__dek { color: #000; text-shadow: none; }
}

/* 14. Widgets de bloco (padrões do WordPress) */
.widget .wp-block-heading, .widget .wp-block-search__label { display: block; font: 900 18px/1 var(--f-display); font-stretch: 110%; text-transform: uppercase; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.wp-block-search__inside-wrapper { display: flex; border: 2px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); }
.wp-block-search__inside-wrapper:focus-within { border-color: var(--np-primary); }
.wp-block-search__input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: none; padding: 0 14px; color: var(--text); }
.wp-block-search__button { border: 0; border-radius: 999px; padding: 10px 18px; margin: 0; background: var(--np-primary); color: #fff; font: 800 12.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; }
.wp-block-search__button:hover { background: var(--np-deep); }
.widget .wp-block-latest-posts__list li a, .widget .wp-block-latest-comments a { font: 800 15.5px/1.25 var(--f-display); font-stretch: 90%; }
.widget .wp-block-latest-comments { padding: 0; margin: 0; }
.widget .wp-block-latest-comments__comment { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.widget .wp-block-categories-list a, .widget .wp-block-archives-list a { font-weight: 600; }
.widget .wp-block-categories-list a::before, .widget .wp-block-archives-list a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--np-primary); transform: skewX(-14deg); vertical-align: middle; }
.widget .no-comments { color: var(--muted); margin: 0; }
.np-sticky > .widget { margin: 0; }
@media (max-width: 640px) {
	.np-share { flex-wrap: wrap; overflow: visible; gap: 8px; }
	.np-share--copy .np-share__label { display: none; }
	.np-share--copy { padding: 0 12px; }
	.np-share__btn { flex: none; }
}
.np-card--list .np-play { width: 30px; height: 30px; left: 8px; bottom: 8px; box-shadow: 0 0 0 4px rgb(var(--np-urgent-rgb) / .25); }
.np-card--list .np-play .np-icon { width: 14px; height: 14px; }

/* 1.1.0 — matéria: imagem de capa no texto, avatar da marca e correções de largura no celular */
.np-layout__main, .np-layout > *, .np-article, .np-article__head, .np-article__meta > * { min-width: 0; }
.np-article__title, .np-article__dek { overflow-wrap: break-word; }
.np-content { overflow-wrap: break-word; }
.np-content a, .np-content code, .np-content td, .np-content th { overflow-wrap: anywhere; }
.np-content img, .np-content video, .np-content iframe, .np-content embed, .np-content object, .np-content figure, .np-content table, .np-content pre, .np-content .wp-block-embed, .np-content .wp-caption, .np-content > * { max-width: 100%; }
.np-content img, .np-content video { height: auto; }
.np-content .wp-caption { width: auto !important; }
.np-content pre { overflow-x: auto; white-space: pre-wrap; }
.np-content table { width: 100%; }
.np-content .np-resumo { box-sizing: border-box; max-width: 100%; }
.np-figure { margin: 0 0 28px; }
.np-figure__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); background: var(--surface-2); }
.np-figure figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.np-avatar--brand { background: var(--np-night); }
@media (max-width: 1023px) {
	.np-content .alignwide, .np-content .alignfull { margin-inline: 0; width: auto; max-width: 100%; }
}
@media (max-width: 640px) {
	.np-layout--single { padding-block: 22px 10px; }
	.single .np-layout--single, .single .np-article__head { padding-inline: 18px; }
	.np-article__title { font-size: clamp(28px, 8.4vw, 36px); line-height: 1.05; }
	.np-article__dek { font-size: 16px; }
	.np-content { font-size: 1.0625rem; line-height: 1.65; }
	.np-content > p:first-of-type { font-size: 1.125rem; }
	.np-content h2 { font-size: 24px; padding-left: 12px; border-left-width: 4px; }
	.np-content .np-resumo { padding: 14px 16px !important; border-left-width: 5px !important; }
	.np-content .np-resumo ul { padding-left: 1.1em !important; }
	.np-content th, .np-content td { padding: 10px 8px; font-size: .95em; }
	.np-content .alignleft, .np-content .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.np-figure { margin: 0 -18px 22px; }
	.np-figure__img { border-radius: 0; box-shadow: none; }
	.np-figure figcaption { padding-inline: 18px; }
	.np-authorbox { padding: 18px; gap: 14px; }
	.np-share-cta { padding: 20px 18px 4px; }
}
