/*
Theme Name: DiarioGeek.com.br
Theme URI: https://www.diariogeek.com.br
Author: MuleRun
Author URI: https://mulerun.com
Description: Tema limpo e moderno para blogs de notícias sobre tecnologia e inteligência artificial. Tipografia técnica, acentos em ciano elétrico e layout editorial em pt-BR.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: diariogeek
Tags: blog, news, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens & Reset
   ========================================================================== */

:root {
	/* Cores — espaço profundo + ciano elétrico */
	--vt-ink: #0b1220;
	--vt-ink-2: #101a2e;
	--vt-ink-3: #17233c;
	--vt-paper: #f6f8fa;
	--vt-surface: #ffffff;
	--vt-line: #dde4ec;
	--vt-line-dark: rgba(148, 180, 216, 0.16);
	--vt-text: #24303f;
	--vt-text-soft: #5b6b7d;
	--vt-text-inverse: #e8eef6;
	--vt-text-inverse-soft: #93a3b8;
	--vt-accent: #0891b2;      /* ciano acessível sobre claro */
	--vt-accent-bright: #2ee6ff; /* ciano elétrico sobre escuro */
	--vt-accent-ink: #05606f;
	--vt-signal: #b7f34d;      /* lima-sinal p/ tag IA */
	--vt-glow: rgba(46, 230, 255, 0.14);

	/* Tipografia */
	--vt-font-display: "Sora", "Segoe UI", sans-serif;
	--vt-font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
	--vt-font-mono: "IBM Plex Mono", "Courier New", monospace;

	/* Métrica */
	--vt-max: 1200px;
	--vt-radius: 10px;
	--vt-radius-lg: 16px;
	--vt-shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 8px 24px -12px rgba(11, 18, 32, 0.12);
	--vt-shadow-hover: 0 2px 4px rgba(11, 18, 32, 0.06), 0 20px 40px -16px rgba(8, 145, 178, 0.22);
	--vt-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--vt-paper);
	color: var(--vt-text);
	font-family: var(--vt-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--vt-line);
	margin: 2.5rem 0;
}

/* ==========================================================================
   2. Base Typography & Links
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--vt-font-display);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--vt-ink);
	margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
	margin: 0 0 1.25em;
}

a {
	color: var(--vt-accent);
	text-decoration: none;
	transition: color 0.2s var(--vt-ease);
}

a:hover {
	color: var(--vt-accent-ink);
}

code, kbd, pre, samp {
	font-family: var(--vt-font-mono);
	font-size: 0.9em;
}

code {
	background: #eef3f7;
	border: 1px solid var(--vt-line);
	border-radius: 4px;
	padding: 0.1em 0.4em;
	color: var(--vt-accent-ink);
}

pre {
	background: var(--vt-ink);
	color: var(--vt-text-inverse);
	border-radius: var(--vt-radius);
	padding: 1.25rem 1.5rem;
	overflow-x: auto;
	line-height: 1.6;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 3px solid var(--vt-accent);
	color: var(--vt-ink);
	font-family: var(--vt-font-display);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

blockquote cite {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--vt-font-mono);
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--vt-text-soft);
}

::selection {
	background: var(--vt-accent-bright);
	color: var(--vt-ink);
}

/* Rótulo técnico reutilizável */
.vt-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vt-accent);
}

.vt-kicker::before {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: currentColor;
	flex: none;
}

/* ==========================================================================
   3. Layout & Accessibility
   ========================================================================== */

.vt-container {
	max-width: var(--vt-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.vt-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 3.5rem;
	padding: 3rem 0 4rem;
}

.vt-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

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

.screen-reader-text:focus {
	background-color: var(--vt-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--vt-accent-ink);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

:focus-visible {
	outline: 2px solid var(--vt-accent);
	outline-offset: 2px;
}

/* Seções com título */
.vt-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid var(--vt-line);
	padding-bottom: 0.85rem;
}

.vt-section-head h2 {
	margin: 0;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.vt-section-head h2::before {
	content: "";
	width: 9px;
	height: 9px;
	background: var(--vt-accent-bright);
	border: 2px solid var(--vt-accent);
	transform: rotate(45deg);
	flex: none;
}

.vt-section-head .vt-more {
	font-family: var(--vt-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ==========================================================================
   4. Site Header & Navigation
   ========================================================================== */

.vt-topbar {
	background: var(--vt-ink);
	color: var(--vt-text-inverse-soft);
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	border-bottom: 1px solid var(--vt-line-dark);
}

.vt-topbar .vt-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 34px;
	gap: 1rem;
}

.vt-topbar__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-transform: uppercase;
}

.vt-topbar__status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--vt-signal);
	box-shadow: 0 0 8px var(--vt-signal);
	animation: vt-pulse 2.4s infinite;
}

@keyframes vt-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(11, 18, 32, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--vt-line-dark);
}

.site-header .vt-container {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	min-height: 72px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: none;
}

.site-branding .custom-logo {
	max-height: 40px;
	width: auto;
}

.vt-logo-mark {
	width: 34px;
	height: 34px;
	flex: none;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--vt-accent) 0%, var(--vt-accent-bright) 100%);
	border-radius: 8px;
	color: var(--vt-ink);
	font-family: var(--vt-font-mono);
	font-weight: 700;
	font-size: 1rem;
	box-shadow: 0 0 18px var(--vt-glow);
}

.site-title {
	margin: 0;
	font-family: var(--vt-font-display);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.site-title a {
	color: var(--vt-text-inverse);
}

.site-title a:hover {
	color: var(--vt-accent-bright);
}

.site-title .vt-tld {
	color: var(--vt-accent-bright);
}

.site-description {
	margin: 0.2rem 0 0;
	font-family: var(--vt-font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vt-text-inverse-soft);
}

.main-navigation {
	flex: 1;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.25rem;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 0.6rem 0.9rem;
	color: var(--vt-text-inverse-soft);
	font-family: var(--vt-font-display);
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 6px;
	transition: color 0.2s var(--vt-ease), background 0.2s var(--vt-ease);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--vt-accent-bright);
	background: rgba(46, 230, 255, 0.08);
}

/* Submenu */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	flex-direction: column;
	background: var(--vt-ink-2);
	border: 1px solid var(--vt-line-dark);
	border-radius: var(--vt-radius);
	padding: 0.4rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.25s var(--vt-ease);
	box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(4px);
}

.vt-header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: none;
}

.vt-search-toggle,
.menu-toggle {
	appearance: none;
	background: transparent;
	border: 1px solid var(--vt-line-dark);
	border-radius: 8px;
	color: var(--vt-text-inverse-soft);
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: all 0.2s var(--vt-ease);
}

.vt-search-toggle:hover,
.menu-toggle:hover {
	color: var(--vt-accent-bright);
	border-color: var(--vt-accent);
	box-shadow: 0 0 14px var(--vt-glow);
}

.menu-toggle,
.vt-nav-close {
	display: none;
}

/* Painel de busca */
.vt-search-panel {
	display: none;
	background: var(--vt-ink-2);
	border-bottom: 1px solid var(--vt-line-dark);
	padding: 1.25rem 0;
}

.vt-search-panel.is-open {
	display: block;
	animation: vt-slide-down 0.3s var(--vt-ease);
}

@keyframes vt-slide-down {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5. Hero (destaque)
   ========================================================================== */

.vt-hero {
	position: relative;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(46, 230, 255, 0.13), transparent 60%),
		radial-gradient(800px 400px at 10% 110%, rgba(8, 145, 178, 0.18), transparent 60%),
		linear-gradient(180deg, var(--vt-ink) 0%, var(--vt-ink-2) 100%);
	color: var(--vt-text-inverse);
	overflow: hidden;
}

/* grade técnica de fundo */
.vt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 180, 216, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 180, 216, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 40%, transparent 100%);
	pointer-events: none;
}

.vt-hero .vt-container {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3rem;
	align-items: center;
	padding-top: 4rem;
	padding-bottom: 4.5rem;
}

.vt-hero__kicker {
	color: var(--vt-accent-bright);
}

.vt-hero__title {
	color: var(--vt-text-inverse);
	font-size: clamp(2rem, 4.5vw, 3.1rem);
	font-weight: 800;
	margin: 1rem 0 1.25rem;
}

.vt-hero__title a {
	color: inherit;
	background-image: linear-gradient(var(--vt-accent-bright), var(--vt-accent-bright));
	background-repeat: no-repeat;
	background-size: 0% 3px;
	background-position: 0 100%;
	transition: background-size 0.4s var(--vt-ease);
}

.vt-hero__title a:hover {
	color: inherit;
	background-size: 100% 3px;
}

.vt-hero__excerpt {
	color: var(--vt-text-inverse-soft);
	font-size: 1.05rem;
	max-width: 54ch;
}

.vt-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
	font-family: var(--vt-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	color: var(--vt-text-inverse-soft);
}

.vt-hero__media {
	position: relative;
}

.vt-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--vt-radius-lg);
	border: 1px solid var(--vt-line-dark);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* moldura de canto estilo HUD */
.vt-hero__media::before,
.vt-hero__media::after {
	content: "";
	position: absolute;
	width: 26px;
	height: 26px;
	border: 2px solid var(--vt-accent-bright);
	pointer-events: none;
}

.vt-hero__media::before {
	top: -8px;
	left: -8px;
	border-right: 0;
	border-bottom: 0;
}

.vt-hero__media::after {
	bottom: -8px;
	right: -8px;
	border-left: 0;
	border-top: 0;
}

.vt-badge {
	display: inline-block;
	font-family: var(--vt-font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: rgba(46, 230, 255, 0.12);
	color: var(--vt-accent-bright);
	border: 1px solid rgba(46, 230, 255, 0.35);
}

.vt-badge--signal {
	background: rgba(183, 243, 77, 0.12);
	color: var(--vt-signal);
	border-color: rgba(183, 243, 77, 0.4);
}

/* ==========================================================================
   6. Cards & Post Grid
   ========================================================================== */

.vt-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
}

.vt-card {
	background: var(--vt-surface);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s var(--vt-ease), box-shadow 0.3s var(--vt-ease), border-color 0.3s var(--vt-ease);
	box-shadow: var(--vt-shadow);
	position: relative;
}

.vt-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--vt-shadow-hover);
	border-color: rgba(8, 145, 178, 0.4);
}

.vt-card__media {
	position: relative;
	overflow: hidden;
}

.vt-card__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.5s var(--vt-ease);
}

.vt-card:hover .vt-card__media img {
	transform: scale(1.04);
}

.vt-card__cat {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	z-index: 2;
}

.vt-card__cat a {
	display: inline-block;
	background: var(--vt-ink);
	color: var(--vt-accent-bright);
	font-family: var(--vt-font-mono);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.3rem 0.65rem;
	border-radius: 6px;
	border: 1px solid rgba(46, 230, 255, 0.3);
}

.vt-card__cat a:hover {
	background: var(--vt-accent);
	color: var(--vt-ink);
}

.vt-card__body {
	padding: 1.4rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.6rem;
}

.vt-card__title {
	font-size: 1.2rem;
	margin: 0;
}

.vt-card__title a {
	color: var(--vt-ink);
}

.vt-card__title a:hover {
	color: var(--vt-accent);
}

/* link cobre o card inteiro */
.vt-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.vt-card__excerpt {
	color: var(--vt-text-soft);
	font-size: 0.94rem;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vt-card__meta {
	margin-top: auto;
	padding-top: 0.9rem;
	border-top: 1px dashed var(--vt-line);
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: var(--vt-text-soft);
}

.vt-card__meta a {
	position: relative;
	z-index: 2;
	color: var(--vt-text-soft);
}

.vt-card__meta a:hover {
	color: var(--vt-accent);
}

.vt-meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--vt-line);
	flex: none;
}

/* Post sem imagem destacada */
.vt-card--noimage .vt-card__body {
	padding-top: 1.75rem;
}

.vt-card--noimage .vt-card__body::before {
	content: "// " attr(data-index);
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	color: var(--vt-accent);
	letter-spacing: 0.1em;
}

/* Sticky */
.vt-card.sticky {
	border-color: var(--vt-accent);
}

.vt-card.sticky::before {
	content: "★ Fixado";
	position: absolute;
	top: 0.9rem;
	right: 0.9rem;
	z-index: 2;
	background: var(--vt-signal);
	color: var(--vt-ink);
	font-family: var(--vt-font-mono);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
}

/* ==========================================================================
   7. Single Post & Entry Content (WP core classes)
   ========================================================================== */

.vt-article {
	background: var(--vt-surface);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius-lg);
	box-shadow: var(--vt-shadow);
	overflow: hidden;
}

.vt-article__header {
	padding: 2.5rem 2.75rem 0;
}

.vt-article__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.vt-article__cats a {
	font-family: var(--vt-font-mono);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vt-accent);
	background: rgba(8, 145, 178, 0.08);
	border: 1px solid rgba(8, 145, 178, 0.25);
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
}

.vt-article__cats a:hover {
	background: var(--vt-accent);
	color: #fff;
}

.entry-title {
	margin-bottom: 0.75rem;
}

.vt-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0 1.75rem;
	font-family: var(--vt-font-mono);
	font-size: 0.78rem;
	color: var(--vt-text-soft);
	border-bottom: 1px solid var(--vt-line);
}

.vt-article__meta .vt-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid var(--vt-accent-bright);
}

.vt-article__thumb img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.vt-article__thumb figcaption {
	font-family: var(--vt-font-mono);
	font-size: 0.75rem;
	color: var(--vt-text-soft);
	padding: 0.6rem 2.75rem 0;
}

.entry-content {
	padding: 2rem 2.75rem 2.5rem;
	font-size: 1.08rem;
}

.entry-content > * {
	max-width: 70ch;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2rem;
}

.entry-content h2 {
	padding-left: 0.85rem;
	border-left: 3px solid var(--vt-accent-bright);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4rem;
	margin: 0 0 1.25em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content a {
	text-decoration: underline;
	text-decoration-color: rgba(8, 145, 178, 0.35);
	text-underline-offset: 3px;
}

/* Classes obrigatórias do core WP */
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide {
	max-width: 100%;
}

.alignfull {
	max-width: none;
	margin-left: -2.75rem;
	margin-right: -2.75rem;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.wp-caption img {
	border-radius: var(--vt-radius);
}

.wp-caption-text,
.wp-block-image figcaption {
	font-family: var(--vt-font-mono);
	font-size: 0.75rem;
	color: var(--vt-text-soft);
	margin-top: 0.5rem;
	text-align: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.gallery-caption {
	font-size: 0.75rem;
	color: var(--vt-text-soft);
}

.bypostauthor {
	position: relative;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--vt-line);
	padding: 0.6rem 0.9rem;
	text-align: left;
}

.entry-content th {
	background: var(--vt-paper);
	font-family: var(--vt-font-display);
	font-size: 0.85rem;
}

/* Tags no rodapé do post */
.vt-article__footer {
	padding: 0 2.75rem 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.vt-article__footer .vt-tags-label {
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vt-text-soft);
}

.vt-tag {
	display: inline-block;
	font-family: var(--vt-font-mono);
	font-size: 0.75rem;
	color: var(--vt-text-soft);
	background: var(--vt-paper);
	border: 1px solid var(--vt-line);
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	transition: all 0.2s var(--vt-ease);
}

.vt-tag:hover {
	color: var(--vt-accent-ink);
	border-color: var(--vt-accent);
	background: rgba(8, 145, 178, 0.06);
}

.vt-tag::before {
	content: "#";
	color: var(--vt-accent);
}

/* Navegação entre posts */
.post-navigation {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	background: var(--vt-surface);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius);
	padding: 1.1rem 1.4rem;
	transition: border-color 0.2s var(--vt-ease), box-shadow 0.2s var(--vt-ease);
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
	border-color: var(--vt-accent);
	box-shadow: var(--vt-shadow-hover);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-label {
	display: block;
	font-family: var(--vt-font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vt-text-soft);
	margin-bottom: 0.3rem;
}

.post-navigation a {
	color: var(--vt-ink);
	font-family: var(--vt-font-display);
	font-weight: 600;
	font-size: 0.95rem;
}

.post-navigation a:hover {
	color: var(--vt-accent);
}

/* Página de arquivo */
.vt-archive-header {
	background: var(--vt-ink-2);
	color: var(--vt-text-inverse);
	padding: 2.75rem 0;
	border-bottom: 2px solid var(--vt-accent);
}

.vt-archive-header .page-title {
	color: var(--vt-text-inverse);
	margin: 0.5rem 0 0;
}

.vt-archive-header .archive-description {
	color: var(--vt-text-inverse-soft);
	max-width: 60ch;
	margin: 0.75rem 0 0;
}

.vt-archive-header .archive-description p {
	margin: 0;
}

/* ==========================================================================
   8. Sidebar & Widgets
   ========================================================================== */

.widget-area {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.widget {
	background: var(--vt-surface);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius-lg);
	padding: 1.5rem 1.6rem;
	box-shadow: var(--vt-shadow);
}

.widget-title {
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	margin: 0 0 1.1rem;
	padding-bottom: 0.7rem;
	border-bottom: 2px solid var(--vt-accent-bright);
	display: inline-block;
}

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

.widget li {
	padding: 0.55rem 0;
	border-bottom: 1px dashed var(--vt-line);
	font-size: 0.95rem;
}

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

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

.widget li a:hover {
	color: var(--vt-accent);
}

.widget .post-date {
	display: block;
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	color: var(--vt-text-soft);
}

.wp-block-search__input,
.widget input[type="search"],
.vt-search-form input[type="search"] {
	width: 100%;
	border: 1px solid var(--vt-line);
	border-radius: 8px;
	padding: 0.65rem 0.9rem;
	font-family: var(--vt-font-body);
	font-size: 0.95rem;
	background: var(--vt-paper);
	color: var(--vt-text);
	transition: border-color 0.2s var(--vt-ease), box-shadow 0.2s var(--vt-ease);
}

.wp-block-search__input:focus,
.widget input[type="search"]:focus,
.vt-search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--vt-accent);
	box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.vt-search-form {
	display: flex;
	gap: 0.5rem;
}

.vt-search-form .vt-search-submit,
.wp-block-search__button {
	flex: none;
	background: var(--vt-accent);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 0 1.1rem;
	font-family: var(--vt-font-display);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s var(--vt-ease);
}

.vt-search-form .vt-search-submit:hover,
.wp-block-search__button:hover {
	background: var(--vt-accent-ink);
}

/* busca no painel escuro do header */
.vt-search-panel .vt-search-form input[type="search"] {
	background: var(--vt-ink);
	border-color: var(--vt-line-dark);
	color: var(--vt-text-inverse);
}

/* Nuvem de tags */
.wp-block-tag-cloud a,
.tagcloud a {
	display: inline-block;
	font-family: var(--vt-font-mono);
	font-size: 0.75rem !important;
	color: var(--vt-text-soft);
	background: var(--vt-paper);
	border: 1px solid var(--vt-line);
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	margin: 0 0.3rem 0.45rem 0;
}

.tagcloud a:hover {
	color: var(--vt-accent-ink);
	border-color: var(--vt-accent);
}

/* ==========================================================================
   9. Comments
   ========================================================================== */

.comments-area {
	margin-top: 2.5rem;
	background: var(--vt-surface);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius-lg);
	padding: 2rem 2.25rem;
	box-shadow: var(--vt-shadow);
}

.comments-title,
.comment-reply-title {
	font-size: 1.2rem;
}

.comment-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 1rem 0 0;
	padding-left: 2rem;
	border-left: 2px solid var(--vt-line);
}

.comment-body {
	padding: 1.1rem 0;
	border-bottom: 1px dashed var(--vt-line);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.comment-meta .avatar {
	border-radius: 50%;
	border: 2px solid var(--vt-line);
}

.bypostauthor > .comment-body .avatar {
	border-color: var(--vt-accent-bright);
}

.comment-author .fn {
	font-family: var(--vt-font-display);
	font-weight: 700;
	font-style: normal;
	font-size: 0.95rem;
	color: var(--vt-ink);
}

.comment-metadata {
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
}

.comment-metadata a {
	color: var(--vt-text-soft);
}

.comment-content {
	font-size: 0.97rem;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 0.5rem;
}

.comment-reply-link {
	font-family: var(--vt-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Formulário */
.comment-form label {
	display: block;
	font-family: var(--vt-font-display);
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--vt-line);
	border-radius: 8px;
	padding: 0.7rem 0.9rem;
	font-family: var(--vt-font-body);
	font-size: 0.95rem;
	background: var(--vt-paper);
	color: var(--vt-text);
	margin-bottom: 1rem;
	transition: border-color 0.2s var(--vt-ease), box-shadow 0.2s var(--vt-ease);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--vt-accent);
	box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.comment-form .submit,
.vt-button {
	display: inline-block;
	background: var(--vt-ink);
	color: var(--vt-accent-bright);
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 0.75rem 1.6rem;
	font-family: var(--vt-font-display);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all 0.25s var(--vt-ease);
}

.comment-form .submit:hover,
.vt-button:hover {
	background: var(--vt-accent);
	color: var(--vt-ink);
	box-shadow: 0 8px 24px -8px rgba(8, 145, 178, 0.5);
}

/* ==========================================================================
   10. Pagination & Footer
   ========================================================================== */

.vt-pagination {
	margin-top: 2.75rem;
}

.vt-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.vt-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.8rem;
	border: 1px solid var(--vt-line);
	border-radius: 8px;
	background: var(--vt-surface);
	color: var(--vt-text);
	font-family: var(--vt-font-mono);
	font-size: 0.85rem;
	transition: all 0.2s var(--vt-ease);
}

.vt-pagination .page-numbers:hover {
	border-color: var(--vt-accent);
	color: var(--vt-accent-ink);
}

.vt-pagination .page-numbers.current {
	background: var(--vt-ink);
	border-color: var(--vt-ink);
	color: var(--vt-accent-bright);
}

.vt-pagination .page-numbers.dots {
	border: 0;
	background: none;
}

/* Rodapé */
.site-footer {
	background: var(--vt-ink);
	color: var(--vt-text-inverse-soft);
	margin-top: 4rem;
	border-top: 2px solid var(--vt-accent);
	position: relative;
	overflow: hidden;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 180, 216, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 180, 216, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	pointer-events: none;
}

.vt-footer-widgets {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 3rem;
	padding: 3.5rem 0 2.5rem;
}

.vt-footer-widgets .widget {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.vt-footer-widgets .widget-title {
	color: var(--vt-text-inverse);
	border-bottom-color: var(--vt-accent-bright);
	font-size: 0.9rem;
}

.vt-footer-widgets .widget li {
	border-bottom-color: var(--vt-line-dark);
}

.vt-footer-widgets .widget li a,
.vt-footer-widgets a {
	color: var(--vt-text-inverse-soft);
}

.vt-footer-widgets .widget li a:hover,
.vt-footer-widgets a:hover {
	color: var(--vt-accent-bright);
}

.vt-footer-brand p {
	font-size: 0.92rem;
	max-width: 40ch;
}

.site-info {
	position: relative;
	border-top: 1px solid var(--vt-line-dark);
	padding: 1.4rem 0;
	font-family: var(--vt-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
}

.site-info .vt-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
}

.site-info a {
	color: var(--vt-accent-bright);
}

/* Voltar ao topo */
.vt-to-top {
	position: fixed;
	right: 1.4rem;
	bottom: 1.4rem;
	z-index: 70;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	background: var(--vt-ink);
	color: var(--vt-accent-bright);
	border: 1px solid rgba(46, 230, 255, 0.35);
	border-radius: 10px;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.3s var(--vt-ease);
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.vt-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.vt-to-top:hover {
	background: var(--vt-accent);
	color: var(--vt-ink);
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.vt-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 3rem;
	}

	.vt-hero .vt-container {
		grid-template-columns: 1fr;
		padding-top: 3rem;
		padding-bottom: 3.5rem;
	}

	.vt-hero__media {
		order: -1;
	}

	.vt-footer-widgets {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 782px) {
	.menu-toggle {
		display: grid;
	}

	body {
		overflow-x: clip;
	}

	/* backdrop-filter cria containing block e prenderia o menu fixed dentro do header */
	.site-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: var(--vt-ink);
	}

	.main-navigation {
		position: fixed;
		inset: 0;
		top: 0;
		z-index: 80;
		background: rgba(11, 18, 32, 0.98);
		padding: 5.5rem 2rem 2rem;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.35s var(--vt-ease), visibility 0.35s;
		overflow-y: auto;
	}

	.main-navigation.toggled {
		transform: translateX(0);
		visibility: visible;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 0.25rem;
	}

	.main-navigation a {
		font-size: 1.15rem;
		padding: 0.85rem 1rem;
	}

	.main-navigation ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding-left: 1.25rem;
	}

	.main-navigation .vt-nav-close {
		display: grid;
		place-items: center;
		position: absolute;
		top: 1.1rem;
		right: 1.5rem;
		appearance: none;
		background: transparent;
		border: 1px solid var(--vt-line-dark);
		border-radius: 8px;
		color: var(--vt-text-inverse);
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
		cursor: pointer;
	}

	.vt-grid {
		grid-template-columns: 1fr;
	}

	.vt-article__header,
	.vt-article__footer {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.entry-content {
		padding: 1.5rem;
	}

	.alignfull {
		margin-left: -1.5rem;
		margin-right: -1.5rem;
	}

	.vt-article__thumb figcaption {
		padding: 0.6rem 1.5rem 0;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.comments-area {
		padding: 1.5rem;
	}

	.vt-footer-widgets {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.vt-topbar__tagline {
		display: none;
	}
}

@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;
	}
}

@media print {
	.site-header,
	.vt-topbar,
	.site-footer,
	.vt-to-top,
	.widget-area,
	.comments-area,
	.post-navigation {
		display: none;
	}
}
