/*
Theme Name: Nostalgia Arcade
Theme URI: https://nostalgiagames.com.br
Author: Rogerio Lima
Author URI: https://nostalgiagames.com.br
Description: Tema próprio do Nostalgia Games — O Espaço Retrogamer. Estética de fliperama: fundo escuro, neon magenta e ciano, scanlines de CRT e selos de plataforma por console. Capa magazine com destaque e trilhos por plataforma, arquivos de categoria com identidade própria de cada console e leitura de post otimizada para textos longos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nostalgia-arcade
Tags: blog, news, entertainment, two-columns, right-sidebar, grid-layout, custom-logo, custom-menu, custom-colors, featured-images, translation-ready, threaded-comments, block-styles, wide-blocks, footer-widgets
*/

/* =========================================================================
   1. Tokens
   ====================================================================== */

:root {
	--nga-void: #05040d;
	--nga-bg: #0a0814;
	--nga-surface: #15122a;
	--nga-surface-2: #1d1938;
	--nga-line: rgba(126, 116, 196, 0.22);
	--nga-line-strong: rgba(126, 116, 196, 0.45);
	--nga-text: #e9e7f7;
	--nga-muted: #9d96c4;

	--nga-magenta: #ff2d78;
	--nga-magenta-rgb: 255, 45, 120;
	--nga-cyan: #21e6ff;
	--nga-cyan-rgb: 33, 230, 255;
	--nga-amber: #ffb000;
	--nga-lime: #6dff6a;

	/* Cor de destaque por item; templates sobrescrevem inline. */
	--badge: var(--nga-magenta);

	--nga-display: "Chakra Petch", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--nga-pixel: "Press Start 2P", ui-monospace, "Courier New", monospace;
	--nga-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--nga-wrap: 1240px;
	--nga-gap: 28px;
	--nga-radius: 4px;

	--nga-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
	--nga-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* =========================================================================
   2. Base
   ====================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nga-header-h, 0px) + 16px);
	/* Trava a rolagem horizontal aqui, não no <body>. overflow-x no body cria
	   um novo bloco de contenção para position:fixed no Chrome mobile: o
	   anuncio (fixed, injetado pelo Google) para de travar na viewport real e
	   passa a "grudar" num ponto do documento -- foi o que cortou o texto
	   bem na linha do cabecalho. No <html> essa regra nao tem esse efeito. */
	overflow-x: hidden;
}

body {
	margin: 0;
	background-color: var(--nga-bg);
	background-image:
		radial-gradient(1100px 620px at 12% -8%, rgba(var(--nga-magenta-rgb), 0.16), transparent 62%),
		radial-gradient(1000px 560px at 88% 4%, rgba(var(--nga-cyan-rgb), 0.13), transparent 60%),
		linear-gradient(180deg, var(--nga-bg) 0%, var(--nga-void) 100%);
	background-attachment: fixed;
	color: var(--nga-text);
	font-family: var(--nga-display);
	font-size: 17px;
	line-height: 1.65;
}

img,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--nga-cyan);
	text-decoration: none;
	transition: color 0.18s var(--nga-ease);
}

a:hover,
a:focus {
	color: var(--nga-magenta);
}

:focus-visible {
	outline: 2px solid var(--nga-cyan);
	outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nga-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p {
	margin: 0 0 1.15em;
}

hr {
	border: 0;
	height: 1px;
	background: var(--nga-line);
	margin: 2.5rem 0;
}

::selection {
	background: var(--nga-magenta);
	color: #fff;
}

/* =========================================================================
   3. Utilitários e acessibilidade
   ====================================================================== */

.nga-container {
	width: 100%;
	max-width: var(--nga-wrap);
	margin-inline: auto;
	padding-inline: 20px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--nga-surface);
	clip-path: none;
	color: var(--nga-cyan);
	display: block;
	height: auto;
	left: 8px;
	padding: 14px 22px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.nga-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: var(--nga-magenta);
	color: #fff;
	padding: 12px 20px;
	font-family: var(--nga-pixel);
	font-size: 11px;
}

.nga-skip:focus {
	left: 12px;
	top: 12px;
	color: #fff;
}

/* =========================================================================
   4. Efeito CRT
   ====================================================================== */

.nga-crt {
	position: fixed;
	inset: 0;
	/* Baixo de proposito: acima do conteudo, abaixo do cabecalho, dos menus e
	   dos anuncios. Antes ficava em 9998 e pintava scanlines por cima dos
	   blocos do AdSense -- o que fica feio e a politica do AdSense proibe. */
	z-index: 5;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s var(--nga-ease);
	background-image:
		repeating-linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.22) 0px,
			rgba(0, 0, 0, 0.22) 1px,
			transparent 1px,
			transparent 3px
		);
	mix-blend-mode: multiply;
}

.nga-crt::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

.nga-crt-on .nga-crt {
	opacity: 0.55;
}

/* =========================================================================
   5. Cabeçalho
   ====================================================================== */

.nga-header {
	position: relative;
	z-index: 60;
	border-bottom: 1px solid var(--nga-line);
	background: linear-gradient(180deg, rgba(10, 8, 20, 0.92), rgba(10, 8, 20, 0.72));
	backdrop-filter: blur(10px);
}

.nga-topbar {
	border-bottom: 1px solid var(--nga-line);
	font-size: 12px;
	color: var(--nga-muted);
}

.nga-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	flex-wrap: wrap;
}

.nga-topbar__date {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
}

.nga-blink {
	color: var(--nga-lime);
	animation: nga-blink 1.2s steps(2, start) infinite;
}

@keyframes nga-blink {
	to { opacity: 0; }
}

.nga-social {
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nga-social a {
	color: var(--nga-muted);
}

.nga-social a:hover {
	color: var(--nga-cyan);
}

/* Marca */

.nga-masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 26px;
}

.nga-brand__title {
	margin: 0;
	font-size: clamp(28px, 5vw, 46px);
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nga-brand__title a {
	color: var(--nga-text);
}

.nga-brand__glow {
	position: relative;
	display: inline-block;
	isolation: isolate;
	color: #fff;
	text-shadow:
		0 0 6px rgba(var(--nga-magenta-rgb), 0.9),
		0 0 22px rgba(var(--nga-magenta-rgb), 0.55),
		0 0 48px rgba(var(--nga-magenta-rgb), 0.3);
}

/* Aberração cromática sutil, como monitor de tubo */
.nga-brand__glow::before {
	content: attr(data-text);
	position: absolute;
	inset: 0;
	color: var(--nga-cyan);
	opacity: 0.55;
	transform: translateX(-2px);
	text-shadow: none;
	z-index: -1;
}

.nga-brand__tagline {
	margin: 6px 0 0;
	font-family: var(--nga-pixel);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--nga-amber);
	text-transform: uppercase;
}

.custom-logo-link img {
	max-height: 74px;
	width: auto;
}

.nga-masthead__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nga-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	background: rgba(var(--nga-cyan-rgb), 0.05);
	color: var(--nga-text);
	cursor: pointer;
	font-size: 18px;
	transition: border-color 0.18s var(--nga-ease), box-shadow 0.18s var(--nga-ease), color 0.18s var(--nga-ease);
}

.nga-iconbtn:hover {
	border-color: var(--nga-cyan);
	color: var(--nga-cyan);
	box-shadow: 0 0 16px rgba(var(--nga-cyan-rgb), 0.35);
}

.nga-nav-toggle {
	display: none;
}

.nga-burger {
	display: block;
	width: 20px;
}

.nga-burger span {
	display: block;
	height: 2px;
	background: currentColor;
	margin: 4px 0;
	transition: transform 0.2s var(--nga-ease), opacity 0.2s var(--nga-ease);
}

.nga-nav-open .nga-burger span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nga-nav-open .nga-burger span:nth-child(2) {
	opacity: 0;
}

.nga-nav-open .nga-burger span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Navegação */

.nga-nav {
	border-top: 1px solid var(--nga-line);
	background: rgba(5, 4, 13, 0.5);
}

.nga-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nga-menu li {
	position: relative;
}

.nga-menu a {
	display: block;
	padding: 14px 16px;
	color: var(--nga-text);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	position: relative;
}

.nga-menu > li > a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 8px;
	height: 2px;
	background: var(--nga-magenta);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.22s var(--nga-ease);
	box-shadow: 0 0 12px rgba(var(--nga-magenta-rgb), 0.8);
}

.nga-menu > li:hover > a::after,
.nga-menu > li:focus-within > a::after,
.nga-menu > li.current-menu-item > a::after {
	transform: scaleX(1);
}

.nga-menu > li.current-menu-item > a,
.nga-menu a:hover {
	color: var(--nga-cyan);
}

/* Submenu */

.nga-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--nga-surface);
	border: 1px solid var(--nga-line-strong);
	box-shadow: var(--nga-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s var(--nga-ease), transform 0.18s var(--nga-ease), visibility 0.18s;
	z-index: 70;
}

.nga-menu li:hover > .sub-menu,
.nga-menu li:focus-within > .sub-menu,
.nga-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nga-menu .sub-menu a {
	padding: 10px 16px;
	font-size: 12px;
	letter-spacing: 0.06em;
}

.nga-submenu-toggle {
	display: none;
	position: absolute;
	right: 4px;
	top: 6px;
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: var(--nga-muted);
	cursor: pointer;
}

/* Gaveta de busca */

.nga-searchdrawer {
	border-top: 1px solid var(--nga-line);
	background: rgba(5, 4, 13, 0.85);
	padding-block: 18px;
}

.nga-searchform {
	display: flex;
	gap: 10px;
}

.nga-searchform__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 16px;
	background: var(--nga-surface);
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-text);
	font-family: var(--nga-display);
	font-size: 15px;
}

.nga-searchform__input::placeholder {
	color: var(--nga-muted);
}

.nga-searchform__submit {
	padding: 13px 24px;
	border: 0;
	border-radius: var(--nga-radius);
	background: var(--nga-magenta);
	color: #fff;
	font-family: var(--nga-pixel);
	font-size: 10px;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: box-shadow 0.18s var(--nga-ease), transform 0.12s var(--nga-ease);
}

.nga-searchform__submit:hover {
	box-shadow: 0 0 22px rgba(var(--nga-magenta-rgb), 0.65);
	transform: translateY(-1px);
}

/* Cabeçalho fixo compacto */

.nga-header.is-stuck {
	position: sticky;
	top: 0;
}

/* Preso no topo, o cabeçalho encolhe: some a barra de data e a assinatura,
   sobrando marca reduzida + menu. Ocupa bem menos tela. */
.nga-header.is-stuck .nga-topbar,
.nga-header.is-stuck .nga-brand__tagline {
	display: none;
}

.nga-header.is-stuck .nga-masthead__inner {
	padding-block: 10px;
}

.nga-header.is-stuck .nga-brand__title {
	font-size: clamp(20px, 3vw, 30px);
}

.nga-header.is-stuck .custom-logo-link img {
	max-height: 46px;
}

/* =========================================================================
   6. Faixa de últimas
   ====================================================================== */

.nga-ticker {
	border-bottom: 1px solid var(--nga-line);
	background: rgba(var(--nga-magenta-rgb), 0.07);
	overflow: hidden;
}

.nga-ticker__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 46px;
}

.nga-ticker__label {
	flex: 0 0 auto;
	font-family: var(--nga-pixel);
	font-size: 9px;
	letter-spacing: 0.1em;
	color: var(--nga-amber);
	text-transform: uppercase;
	padding: 6px 12px;
	border: 1px solid rgba(255, 176, 0, 0.4);
	border-radius: var(--nga-radius);
	animation: nga-pulse 2s ease-in-out infinite;
}

@keyframes nga-pulse {
	50% { box-shadow: 0 0 18px rgba(255, 176, 0, 0.45); }
}

.nga-ticker__viewport {
	flex: 1 1 auto;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}

.nga-ticker__track {
	display: flex;
	gap: 42px;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	font-size: 14px;
}

.nga-ticker__track.is-running {
	animation: nga-marquee 46s linear infinite;
	width: max-content;
}

.nga-ticker:hover .nga-ticker__track.is-running {
	animation-play-state: paused;
}

.nga-ticker__track a {
	color: var(--nga-text);
}

.nga-ticker__track a:hover {
	color: var(--nga-magenta);
}

@keyframes nga-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* =========================================================================
   7. Layout
   ====================================================================== */

.nga-main {
	display: block;
	padding-bottom: 72px;
}

.nga-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 48px;
	align-items: start;
	padding-block: 44px;
}

.nga-no-sidebar .nga-layout {
	grid-template-columns: minmax(0, 1fr);
}

.nga-layout__main {
	min-width: 0;
}

/* --nga-header-h e a altura real do cabecalho presto, medida no JS. Sem isso
   a lateral gruda a 24px do topo e passa POR BAIXO do cabecalho, escondendo o
   primeiro widget (que e justamente o bloco de anuncio). */
.nga-layout__side {
	min-width: 0;
	position: sticky;
	/* O offset de travamento é publicado pelo main.js (setSideSticky):
	   sidebar mais ALTA que a viewport rola até o FIM dela chegar à dobra
	   e fica fixa ali (o padrão Q2W3 dos temas do mercado — todo o
	   conteúdo da lateral fica alcançável). Sidebar mais BAIXA fica fixa
	   abaixo do cabeçalho preso. */
	top: var(--nga-side-top, 100px);
}

/*
 * Desktop: o PRIMEIRO widget (o anúncio do AdSense) fica fixo no topo,
 * abaixo do cabeçalho preso, enquanto o RESTO da sidebar rola por baixo
 * dele — o padrão Q2W3 dos temas do mercado para sidebar mais alta que a
 * viewport: o anúncio fica visível o tempo todo e os widgets seguintes
 * continuam alcançáveis durante a leitura do artigo.
 */
@media (min-width: 1080px) {
	.nga-layout__side > .widget:first-child {
		position: sticky;
		top: calc(var(--nga-header-h, 0px) + 16px);
		z-index: 5;
	}
}

.nga-section {
	padding-block: 28px;
}

.nga-grid {
	display: grid;
	gap: var(--nga-gap);
}

.nga-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nga-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nga-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================================
   8. Cabeçalho de seção
   ====================================================================== */

.nga-section__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 26px;
}

.nga-section__title {
	margin: 0;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	white-space: nowrap;
}

.nga-section__title span {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--sec, var(--nga-cyan));
	border-radius: var(--nga-radius);
	color: var(--sec, var(--nga-cyan));
	box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.4);
}

.nga-section__rule {
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, var(--sec, var(--nga-cyan)), transparent);
	opacity: 0.5;
}

.nga-section__more {
	flex: 0 0 auto;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nga-muted);
}

.nga-section__more:hover {
	color: var(--sec, var(--nga-cyan));
}

/* =========================================================================
   9. Selo de plataforma e metadados
   ====================================================================== */

.nga-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 11px;
	border: 1px solid var(--badge);
	border-radius: 2px;
	background: color-mix(in srgb, var(--badge) 12%, transparent);
	color: var(--badge);
	font-family: var(--nga-pixel);
	font-size: 8px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.6;
}

.nga-badge:hover {
	color: #fff;
	background: var(--badge);
}

.nga-badge__dot {
	width: 5px;
	height: 5px;
	background: currentColor;
	border-radius: 50%;
	box-shadow: 0 0 8px currentColor;
}

.nga-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12.5px;
	color: var(--nga-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nga-meta a {
	color: var(--nga-muted);
}

.nga-meta a:hover {
	color: var(--nga-cyan);
}

.nga-meta__sep {
	opacity: 0.4;
}

/* =========================================================================
   10. Cards
   ====================================================================== */

.nga-card {
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, var(--nga-surface), rgba(21, 18, 42, 0.55));
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	overflow: hidden;
	transition: transform 0.24s var(--nga-ease), border-color 0.24s var(--nga-ease), box-shadow 0.24s var(--nga-ease);
}

.nga-card:hover {
	transform: translateY(-4px);
	border-color: var(--badge);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--badge) 40%, transparent), 0 20px 44px rgba(0, 0, 0, 0.55);
}

.nga-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--nga-surface-2);
	border-bottom: 2px solid var(--badge);
}

.nga-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--nga-ease), filter 0.3s var(--nga-ease);
	filter: saturate(1.05);
}

.nga-card:hover .nga-card__media img {
	transform: scale(1.06);
	filter: saturate(1.25);
}

/* Fallback quando o post não tem imagem destacada */
.nga-card__placeholder {
	position: absolute;
	inset: 0;
	background-color: var(--nga-surface-2);
	background-image:
		linear-gradient(rgba(var(--nga-cyan-rgb), 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--nga-cyan-rgb), 0.14) 1px, transparent 1px);
	background-size: 26px 26px;
}

.nga-card__placeholder::after {
	content: "NO SIGNAL";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--nga-pixel);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: color-mix(in srgb, var(--badge) 70%, transparent);
}

/* Scanline por cima da imagem */
.nga-card__scan {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.16) 0px,
		rgba(0, 0, 0, 0.16) 1px,
		transparent 1px,
		transparent 4px
	);
	opacity: 0.6;
}

.nga-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 16px 18px 20px;
}

.nga-card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
}

.nga-card__title a {
	color: var(--nga-text);
}

.nga-card__title a:hover {
	color: var(--badge);
}

/* Item de lista (arquivos e busca) */

.nga-item {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 26px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--nga-line);
}

.nga-items > .nga-item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.nga-item__media {
	aspect-ratio: 16 / 10;
	border-radius: var(--nga-radius);
	border: 1px solid var(--nga-line);
	border-bottom-width: 2px;
	border-bottom-color: var(--badge);
	overflow: hidden;
}

.nga-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--nga-ease);
}

.nga-item:hover .nga-item__media img {
	transform: scale(1.05);
}

.nga-item__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.nga-item__title {
	margin: 0;
	font-size: clamp(20px, 2.4vw, 26px);
}

.nga-item__title a {
	color: var(--nga-text);
}

.nga-item__title a:hover {
	color: var(--badge);
}

.nga-item__excerpt {
	margin: 0;
	color: var(--nga-muted);
	font-family: var(--nga-body);
	font-size: 15.5px;
	line-height: 1.6;
}

/* =========================================================================
   11. Home — destaque
   ====================================================================== */

.nga-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: var(--nga-gap);
	padding-block: 44px;
}

.nga-hero__lead {
	position: relative;
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	overflow: hidden;
	background: var(--nga-surface);
	transition: border-color 0.24s var(--nga-ease), box-shadow 0.24s var(--nga-ease);
}

.nga-hero__lead:hover {
	border-color: var(--badge);
	box-shadow: 0 0 46px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--badge) 45%, transparent);
}

.nga-hero__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--nga-surface-2);
}

.nga-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--nga-ease);
}

.nga-hero__lead:hover .nga-hero__media img {
	transform: scale(1.04);
}

.nga-hero__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 26px 30px;
	border-top: 2px solid var(--badge);
}

.nga-hero__title {
	margin: 0;
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.12;
}

.nga-hero__title a {
	color: #fff;
}

.nga-hero__title a:hover {
	color: var(--badge);
}

.nga-hero__excerpt {
	margin: 0;
	color: var(--nga-muted);
	font-family: var(--nga-body);
	font-size: 16px;
}

.nga-hero__side {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	background: var(--nga-surface);
	transition: border-color 0.22s var(--nga-ease), transform 0.22s var(--nga-ease);
}

.nga-hero__side:hover {
	border-color: var(--badge);
	transform: translateX(3px);
}

.nga-hero__side .nga-card__media {
	aspect-ratio: 4 / 3;
	border-radius: 2px;
	border-bottom-width: 2px;
}

.nga-hero__side-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.nga-hero__side-title {
	margin: 0;
	font-size: 17px;
	line-height: 1.25;
}

.nga-hero__side-title a {
	color: var(--nga-text);
}

.nga-hero__side-title a:hover {
	color: var(--badge);
}

/* =========================================================================
   12. Arquivo de console
   ====================================================================== */

.nga-console {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--nga-line);
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--badge) 14%, transparent), transparent 78%),
		var(--nga-void);
}

.nga-console__glow {
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 360px;
	background: radial-gradient(ellipse at center, color-mix(in srgb, var(--badge) 42%, transparent), transparent 70%);
	filter: blur(24px);
	pointer-events: none;
}

/* Grade tipo "chão de fliperama" */
.nga-console::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(color-mix(in srgb, var(--badge) 12%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--badge) 12%, transparent) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(180deg, transparent, #000);
	opacity: 0.5;
	pointer-events: none;
}

.nga-console__inner {
	position: relative;
	z-index: 1;
	padding-block: 56px 44px;
}

.nga-console__kicker {
	margin: 0 0 12px;
	font-family: var(--nga-pixel);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--badge);
}

.nga-console__title {
	margin: 0;
	font-size: clamp(38px, 7vw, 76px);
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow:
		0 0 10px color-mix(in srgb, var(--badge) 75%, transparent),
		0 0 40px color-mix(in srgb, var(--badge) 45%, transparent);
}

.nga-console__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	margin-top: 20px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nga-muted);
}

.nga-console__stat strong {
	display: block;
	font-family: var(--nga-pixel);
	font-size: 13px;
	color: var(--badge);
	letter-spacing: 0.02em;
	margin-bottom: 4px;
}

.nga-console__desc {
	max-width: 68ch;
	margin-top: 20px;
	color: var(--nga-muted);
	font-family: var(--nga-body);
	font-size: 16px;
}

.nga-console__children {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
}

.nga-console__children a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-text);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: border-color 0.18s var(--nga-ease), color 0.18s var(--nga-ease);
}

.nga-console__children a:hover {
	border-color: var(--badge);
	color: var(--badge);
}

.nga-console__children span {
	font-family: var(--nga-pixel);
	font-size: 8px;
	color: var(--nga-muted);
}

/* Cabeçalho de arquivo simples */

.nga-archive-head {
	padding-block: 46px 10px;
	border-bottom: 1px solid var(--nga-line);
}

.nga-archive-head__kicker {
	margin: 0 0 8px;
	font-family: var(--nga-pixel);
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nga-amber);
}

.nga-archive-head__title {
	margin: 0;
	font-size: clamp(28px, 5vw, 48px);
	text-transform: uppercase;
}

.nga-archive-head__desc {
	margin: 12px 0 20px;
	color: var(--nga-muted);
	font-family: var(--nga-body);
}

/* =========================================================================
   13. Post individual
   ====================================================================== */

.nga-single__cover {
	position: relative;
	max-height: 60vh;
	overflow: hidden;
	border-bottom: 2px solid var(--badge);
}

.nga-single__cover img {
	width: 100%;
	height: 100%;
	max-height: 60vh;
	object-fit: cover;
}

.nga-single__cover-scan {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.2) 0px,
		rgba(0, 0, 0, 0.2) 1px,
		transparent 1px,
		transparent 4px
	);
	pointer-events: none;
}

.nga-single__cover-fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(10, 8, 20, 0.85) 100%);
	pointer-events: none;
}

.nga-single__headline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 40px;
}

.nga-single__title {
	margin: 0;
	font-size: clamp(30px, 5vw, 54px);
	line-height: 1.08;
	color: #fff;
}

.nga-has-cover .nga-single__headline {
	padding-top: 28px;
}

/* Corpo do texto — fonte de leitura, não a display */

.nga-single__content {
	font-family: var(--nga-body);
	font-size: 18px;
	line-height: 1.78;
	color: #dcd9ee;
	max-width: 76ch;
}

.nga-single__content > * + * {
	margin-top: 1.3em;
}

.nga-single__content h2,
.nga-single__content h3,
.nga-single__content h4 {
	font-family: var(--nga-display);
	color: #fff;
	margin-top: 1.9em;
	margin-bottom: 0.6em;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.nga-single__content h2 {
	font-size: 1.62em;
	padding-left: 16px;
	border-left: 3px solid var(--badge);
}

.nga-single__content h3 {
	font-size: 1.32em;
	color: var(--nga-cyan);
}

.nga-single__content a {
	color: var(--nga-cyan);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.nga-single__content a:hover {
	color: var(--nga-magenta);
}

.nga-single__content img,
.nga-single__content figure img {
	border-radius: var(--nga-radius);
	border: 1px solid var(--nga-line);
}

.nga-single__content figure {
	margin: 2em 0;
}

.nga-single__content figcaption,
.wp-caption-text {
	margin-top: 10px;
	font-family: var(--nga-display);
	font-size: 13px;
	color: var(--nga-muted);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nga-single__content blockquote,
.wp-block-quote {
	margin: 2em 0;
	padding: 22px 26px;
	border: 1px solid var(--nga-line);
	border-left: 3px solid var(--badge);
	border-radius: var(--nga-radius);
	background: rgba(21, 18, 42, 0.6);
	font-family: var(--nga-display);
	font-size: 1.12em;
	font-style: normal;
	color: #fff;
}

.nga-single__content blockquote p:last-child,
.wp-block-quote p:last-child {
	margin-bottom: 0;
}

.nga-single__content ul,
.nga-single__content ol {
	padding-left: 1.4em;
}

.nga-single__content li + li {
	margin-top: 0.5em;
}

.nga-single__content ul li::marker {
	color: var(--badge);
}

.nga-single__content code,
.nga-single__content kbd {
	padding: 2px 7px;
	background: var(--nga-surface-2);
	border: 1px solid var(--nga-line);
	border-radius: 3px;
	font-family: var(--nga-pixel);
	font-size: 0.72em;
	color: var(--nga-lime);
}

.nga-single__content pre {
	padding: 20px;
	background: var(--nga-void);
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}

.nga-single__content pre code {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 1em;
}

.nga-single__content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15px;
	display: block;
	overflow-x: auto;
}

.nga-single__content th,
.nga-single__content td {
	padding: 10px 14px;
	border: 1px solid var(--nga-line);
	border-top-width: 0;
	border-left-width: 0;
	text-align: left;
}

.nga-single__content th:first-child,
.nga-single__content td:first-child {
	border-left-width: 1px;
}

.nga-single__content tr:first-child th,
.nga-single__content tr:first-child td {
	border-top-width: 1px;
}

.nga-single__content th {
	background: var(--nga-surface-2);
	font-family: var(--nga-display);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.06em;
}

/* Tags */

.nga-single__tags {
	margin-top: 40px;
}

.nga-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nga-tags a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nga-tags a:hover {
	border-color: var(--nga-cyan);
	color: var(--nga-cyan);
}

/* Compartilhar */

.nga-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
	padding: 18px 20px;
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	background: rgba(21, 18, 42, 0.5);
}

.nga-share__label {
	font-family: var(--nga-pixel);
	font-size: 9px;
	letter-spacing: 0.1em;
	color: var(--nga-amber);
	text-transform: uppercase;
}

.nga-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nga-share__link {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-text);
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nga-share__link:hover {
	border-color: var(--nga-magenta);
	color: var(--nga-magenta);
	box-shadow: 0 0 16px rgba(var(--nga-magenta-rgb), 0.3);
}

/* Navegação entre posts */

.nga-postnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
}

.nga-postnav__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px;
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	background: var(--nga-surface);
	transition: border-color 0.2s var(--nga-ease), transform 0.2s var(--nga-ease);
}

.nga-postnav__item--next {
	text-align: right;
	grid-column: 2;
}

.nga-postnav__item:hover {
	border-color: var(--nga-cyan);
	transform: translateY(-2px);
}

.nga-postnav__label {
	font-family: var(--nga-pixel);
	font-size: 8px;
	letter-spacing: 0.1em;
	color: var(--nga-muted);
	text-transform: uppercase;
}

.nga-postnav__title {
	color: var(--nga-text);
	font-size: 16px;
	line-height: 1.3;
	font-weight: 600;
}

.nga-related {
	margin-top: 52px;
}

/* =========================================================================
   14. Widgets e barra lateral
   ====================================================================== */

.widget {
	margin-bottom: 30px;
	padding: 20px;
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	background: rgba(21, 18, 42, 0.62);
	font-size: 15px;
}

.widget-title {
	margin: 0 0 16px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border-bottom: 1px solid var(--nga-line);
	padding-bottom: 12px;
}

.widget-title span {
	position: relative;
	color: var(--nga-cyan);
}

.widget-title span::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -13px;
	width: 42px;
	height: 2px;
	background: var(--nga-magenta);
	box-shadow: 0 0 10px rgba(var(--nga-magenta-rgb), 0.8);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 9px 0;
	border-bottom: 1px dashed var(--nga-line);
}

.widget li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.widget a {
	color: var(--nga-text);
}

.widget a:hover {
	color: var(--nga-magenta);
}

.widget img {
	border-radius: 3px;
}

.widget select,
.widget input[type="text"],
.widget input[type="email"],
.widget input[type="search"] {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	background: var(--nga-surface-2);
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-text);
	font-family: var(--nga-display);
	font-size: 14px;
}

.widget button,
.widget input[type="submit"] {
	margin-top: 10px;
	padding: 11px 20px;
	border: 0;
	border-radius: var(--nga-radius);
	background: var(--nga-magenta);
	color: #fff;
	font-family: var(--nga-pixel);
	font-size: 9px;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.widget button:hover,
.widget input[type="submit"]:hover {
	box-shadow: 0 0 20px rgba(var(--nga-magenta-rgb), 0.55);
}

/* Nuvem de tags */

.wp-block-tag-cloud a,
.tagcloud a {
	display: inline-block;
	margin: 0 5px 7px 0;
	padding: 5px 10px;
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	font-size: 12px !important;
	color: var(--nga-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wp-block-tag-cloud a:hover,
.tagcloud a:hover {
	border-color: var(--nga-cyan);
	color: var(--nga-cyan);
}

/* =========================================================================
   15. Comentários
   ====================================================================== */

.nga-comments {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--nga-line);
}

.nga-comments__title {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 24px;
}

.nga-comments__list,
.nga-comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nga-comments__list .children {
	margin-left: 28px;
	padding-left: 20px;
	border-left: 1px solid var(--nga-line);
}

.nga-comments__list li.comment {
	margin-bottom: 22px;
	padding: 20px;
	border: 1px solid var(--nga-line);
	border-radius: var(--nga-radius);
	background: rgba(21, 18, 42, 0.5);
}

.nga-comments__list .bypostauthor > .comment-body {
	border-left: 3px solid var(--nga-amber);
	padding-left: 14px;
}

.comment-meta img.avatar {
	border-radius: 3px;
	border: 1px solid var(--nga-line-strong);
	float: left;
	margin-right: 14px;
}

.comment-metadata {
	font-size: 12px;
	color: var(--nga-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.comment-content {
	clear: both;
	padding-top: 12px;
	font-family: var(--nga-body);
	font-size: 15.5px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nga-muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 16px;
	background: var(--nga-surface);
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-text);
	font-family: var(--nga-body);
	font-size: 15px;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

/* =========================================================================
   16. Botões, paginação e estados
   ====================================================================== */

.nga-btn,
.wp-block-button__link {
	display: inline-block;
	padding: 13px 26px;
	border: 0;
	border-radius: var(--nga-radius);
	background: var(--nga-magenta);
	color: #fff;
	font-family: var(--nga-pixel);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: box-shadow 0.2s var(--nga-ease), transform 0.15s var(--nga-ease);
}

.nga-btn:hover,
.wp-block-button__link:hover {
	color: #fff;
	box-shadow: 0 0 26px rgba(var(--nga-magenta-rgb), 0.6);
	transform: translateY(-2px);
}

.navigation.pagination {
	margin-top: 48px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--nga-line-strong);
	border-radius: var(--nga-radius);
	color: var(--nga-text);
	font-family: var(--nga-pixel);
	font-size: 10px;
	letter-spacing: 0.04em;
	transition: border-color 0.18s var(--nga-ease), color 0.18s var(--nga-ease), box-shadow 0.18s var(--nga-ease);
}

.page-numbers:hover {
	border-color: var(--nga-cyan);
	color: var(--nga-cyan);
	box-shadow: 0 0 16px rgba(var(--nga-cyan-rgb), 0.3);
}

.page-numbers.current {
	background: var(--nga-magenta);
	border-color: var(--nga-magenta);
	color: #fff;
	box-shadow: 0 0 20px rgba(var(--nga-magenta-rgb), 0.5);
}

.page-numbers.dots {
	border-color: transparent;
}

/* Estado vazio e 404 */

.nga-none,
.nga-404 {
	padding-block: 80px;
	text-align: center;
}

.nga-none__pixel,
.nga-404__code {
	margin: 0 0 20px;
	font-family: var(--nga-pixel);
	font-size: clamp(22px, 6vw, 48px);
	color: var(--nga-magenta);
	letter-spacing: 0.06em;
	text-shadow: 0 0 20px rgba(var(--nga-magenta-rgb), 0.6);
	animation: nga-flicker 4s infinite;
}

@keyframes nga-flicker {
	0%, 92%, 100% { opacity: 1; }
	93% { opacity: 0.4; }
	95% { opacity: 1; }
	97% { opacity: 0.6; }
}

.nga-none__title,
.nga-404__title {
	font-size: clamp(24px, 4vw, 38px);
	text-transform: uppercase;
}

.nga-none__text,
.nga-404__text {
	color: var(--nga-muted);
	font-family: var(--nga-body);
	max-width: 52ch;
	margin-inline: auto;
}

.nga-none .nga-searchform,
.nga-404 .nga-searchform {
	max-width: 520px;
	margin: 28px auto 0;
}

.nga-404__actions {
	margin-top: 26px;
}

.nga-404__recent {
	margin-top: 70px;
	text-align: left;
}

/* Voltar ao topo */

.nga-totop {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 90;
	width: 48px;
	height: 48px;
	border: 1px solid var(--nga-magenta);
	border-radius: var(--nga-radius);
	background: rgba(10, 8, 20, 0.9);
	color: var(--nga-magenta);
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 0 20px rgba(var(--nga-magenta-rgb), 0.35);
	transition: transform 0.2s var(--nga-ease);
}

.nga-totop:hover {
	transform: translateY(-3px);
	color: #fff;
	background: var(--nga-magenta);
}

/* =========================================================================
   17. Rodapé
   ====================================================================== */

.nga-footer {
	position: relative;
	border-top: 1px solid var(--nga-line);
	background: linear-gradient(180deg, rgba(5, 4, 13, 0.6), var(--nga-void));
}

.nga-footer::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--nga-magenta), var(--nga-cyan), var(--nga-amber), var(--nga-magenta));
	opacity: 0.85;
}

.nga-footer__widgets {
	padding-block: 52px 30px;
}

.nga-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px;
}

.nga-footer__col .widget {
	background: transparent;
	border: 0;
	padding: 0;
}

.nga-footer__bar {
	border-top: 1px solid var(--nga-line);
	padding-block: 22px;
}

.nga-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
}

.nga-footer__credit {
	margin: 0;
	font-size: 13px;
	color: var(--nga-muted);
}

.nga-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nga-footer__menu a {
	color: var(--nga-muted);
}

.nga-footer__menu a:hover {
	color: var(--nga-cyan);
}

/* =========================================================================
   17b. Anúncios
   ====================================================================== */

/* Só contenção de largura -- nunca posição, z-index ou display do anúncio
   em si. Mexer no position/z-index do elemento do próprio anúncio foi
   tentado antes sem confirmação de que resolvia algo, e reduz a garantia de
   que o Google renderiza o bloco exatamente como decidiu; revertido. */
.widget ins.adsbygoogle,
.widget .adsbygoogle {
	max-width: 100%;
}

/* =========================================================================
   18. Classes do WordPress
   ====================================================================== */

.alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	max-width: min(1100px, 92vw);
	margin-inline: auto;
}

.alignfull {
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.wp-caption {
	max-width: 100%;
}

.sticky .nga-card__body::before,
.sticky .nga-item__body::before {
	content: "★ Destaque";
	font-family: var(--nga-pixel);
	font-size: 8px;
	color: var(--nga-amber);
	letter-spacing: 0.1em;
}

.gallery-caption {
	color: var(--nga-muted);
	font-size: 13px;
}

.nga-linkpages {
	margin-top: 2em;
	font-family: var(--nga-pixel);
	font-size: 10px;
	letter-spacing: 0.06em;
}

.nga-linkpages a,
.nga-linkpages > span {
	display: inline-block;
	padding: 6px 11px;
	margin-right: 5px;
	border: 1px solid var(--nga-line-strong);
	border-radius: 3px;
}

/* Blocos comuns do editor */

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-image img {
	border-radius: var(--nga-radius);
}

.wp-block-separator {
	border-color: var(--nga-line);
}

/* =========================================================================
   19. Responsivo
   ====================================================================== */

@media (max-width: 1080px) {
	.nga-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.nga-layout__side {
		position: static;
	}

	.nga-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.nga-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nga-hero__lead {
		grid-row: auto;
	}

	.nga-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nga-item {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 18px;
	}

	/* O GTranslate esta em modo flutuante "top_right" (config do plugin) e fica
	   fixo por cima do canto superior direito. Reserva espaco pra data do
	   topo nao correr por baixo das bandeiras. */
	.nga-topbar__inner {
		padding-right: 96px;
	}

	/* Sem cabecalho fixo no celular. Rede de seguranca: mesmo que a classe
	   is-stuck entre por algum motivo, aqui ela nao gruda nada. */
	.nga-header.is-stuck {
		position: static;
	}

	.nga-header.is-stuck .nga-topbar,
	.nga-header.is-stuck .nga-brand__tagline {
		display: revert;
	}

	.nga-header.is-stuck .nga-masthead__inner {
		padding-block: 26px;
	}

	/* O botao "voltar ao topo" batia no anuncio ancorado do Google, que ocupa
	   a faixa de baixo da tela. Sobe pra nao colidir. */
	.nga-totop {
		bottom: 88px;
		right: 14px;
	}

	/* Menu vira gaveta */
	.nga-nav-toggle {
		display: inline-flex;
	}

	.nga-nav {
		display: none;
	}

	.nga-nav.is-open {
		display: block;
	}

	.nga-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-block: 8px;
	}

	.nga-menu li {
		border-bottom: 1px solid var(--nga-line);
	}

	.nga-menu > li > a::after {
		display: none;
	}

	.nga-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		border: 0;
		box-shadow: none;
		background: rgba(0, 0, 0, 0.3);
		padding-left: 14px;
	}

	.nga-menu li.is-open > .sub-menu {
		display: block;
	}

	.nga-submenu-toggle {
		display: block;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.nga-grid--3,
	.nga-grid--4,
	.nga-postnav,
	.nga-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nga-postnav__item--next {
		grid-column: 1;
		text-align: left;
	}

	.nga-item {
		grid-template-columns: minmax(0, 1fr);
	}

	.nga-hero__side {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	.nga-single__content {
		font-size: 17px;
	}

	.nga-topbar__inner {
		justify-content: center;
	}

	.nga-console__inner {
		padding-block: 40px 32px;
	}

	.nga-searchform {
		flex-direction: column;
	}
}

/* =========================================================================
   20. Movimento reduzido
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.nga-ticker__track.is-running {
		animation: none;
	}
}

/* Impressão */

@media print {
	.nga-header,
	.nga-footer,
	.nga-crt,
	.nga-totop,
	.nga-share,
	.nga-postnav,
	.nga-related,
	.nga-layout__side,
	.nga-ticker {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.nga-single__content {
		color: #000;
		max-width: none;
	}
}
