/* Turbo Tecnologia — magazine CSS */

:root {
	--turbo-accent: #0552EE;
	--turbo-blue: #0339C4;
	--accent-soft: rgba(5, 82, 238, 0.09);
	--accent-ring: rgba(5, 82, 238, 0.28);

	/* Superfícies em três níveis: fundo, cartão, realce. */
	--bg: #f4f6fa;
	--bg-deep: #eaeef5;
	--surface: #ffffff;
	--surface-2: #eef1f6;
	--surface-3: #e3e8f0;
	--ink: #0d1017;
	--text: #12151c;
	--muted: #5b6474;
	--faint: #8b93a3;
	--line: rgba(16, 22, 34, 0.09);
	--line-strong: rgba(16, 22, 34, 0.16);

	/* Elevação real: sombras curtas e empilhadas, não um borrão único. */
	--shadow-sm: 0 1px 2px rgba(16, 22, 34, .05), 0 1px 3px rgba(16, 22, 34, .04);
	--shadow-md: 0 4px 10px -2px rgba(16, 22, 34, .08), 0 2px 5px -2px rgba(16, 22, 34, .05);
	--shadow-lg: 0 18px 34px -14px rgba(16, 22, 34, .24), 0 6px 14px -8px rgba(16, 22, 34, .12);
	--shadow-xl: 0 32px 60px -22px rgba(16, 22, 34, .3), 0 10px 24px -12px rgba(16, 22, 34, .14);
	--shadow: var(--shadow-lg);

	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 16px;
	--r-xl: 22px;
	--radius: var(--r-lg);

	/* Escala tipográfica fluida — contraste real entre manchete, seção e card. */
	--fs-hero: clamp(1.9rem, 3.4vw, 3rem);
	--fs-h1: clamp(1.85rem, 3vw, 2.6rem);
	--fs-lead: clamp(1.35rem, 1.9vw, 1.75rem);
	--fs-section: clamp(1.35rem, 1.6vw, 1.65rem);
	--fs-card: 1.075rem;
	--fs-sm: .875rem;
	--fs-xs: .78rem;

	--space-section: clamp(2.5rem, 4vw, 3.75rem);
	--header: 74px;
	--font: Inter, system-ui, sans-serif;
	--display: Outfit, Inter, sans-serif;
	--max: 1240px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-dark {
	--accent-soft: rgba(56, 122, 255, 0.14);
	--accent-ring: rgba(96, 150, 255, 0.4);
	--bg: #0a0d14;
	--bg-deep: #070a10;
	--surface: #141a24;
	--surface-2: #1c2330;
	--surface-3: #26303f;
	--ink: #05070b;
	--text: #eef2f7;
	--muted: #9ba4b4;
	--faint: #7a8497;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.16);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, .45);
	--shadow-lg: 0 18px 34px -14px rgba(0, 0, 0, .7), 0 6px 14px -8px rgba(0, 0, 0, .5);
	--shadow-xl: 0 32px 60px -22px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
/* Um display explícito (flex/grid) vence o [hidden] da folha do navegador —
   sem isto, esconder um elemento via JS não surte efeito. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.has-smooth-scroll,
html.lenis,
html.lenis-smooth {
	scroll-behavior: auto !important;
}
html.lenis, html.lenis body { height: auto; }

.turbo-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--delay, 0ms);
}
.turbo-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.turbo-reveal { opacity: 1; transform: none; transition: none; }
	.site-header { transition: none; }
}
body {
	margin: 0;
	font-family: var(--font);
	background: var(--bg);
	background-image: radial-gradient(1200px 480px at 50% -180px, var(--accent-soft), transparent 70%);
	background-repeat: no-repeat;
	color: var(--text);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--turbo-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--turbo-accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { clip: auto; width: auto; height: auto; inset: 8px; z-index: 99; background: #fff; padding: 8px 12px; }

.turbo-icon { display: inline-flex; width: 1.1em; height: 1.1em; }
.turbo-icon svg { width: 100%; height: 100%; }

/* Progress */
.reading-progress {
	position: fixed; inset: 0 0 auto; height: 3px; z-index: 80;
	background: transparent;
}
.reading-progress span {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, var(--turbo-accent), var(--turbo-blue));
}

/* Topbar */
.topbar {
	background: #0f141d;
	color: #d7dde8;
	font-size: 12px;
	letter-spacing: .02em;
}
html.is-dark .topbar { background: #070a10; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-left, .topbar-right, .top-menu { display: flex; align-items: center; gap: 16px; }
.top-menu { list-style: none; margin: 0; padding: 0; }
.topbar a { color: inherit; opacity: .85; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .social-links a { opacity: .8; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
	transition: transform .38s var(--ease), box-shadow .3s;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.site-header.is-away { transform: translateY(calc(-100% - 8px)); }
.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: var(--header);
}
.brand-wrap { display: flex; }
.site-brand, .custom-logo-link {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em;
}
.custom-logo-link img, .custom-logo {
	height: 58px; width: auto; max-width: 280px;
}
/* O logotipo é escuro sobre transparente: no tema escuro precisa de fundo claro. */
html.is-dark .custom-logo-link {
	background: #f4f6fa; border-radius: var(--r-md); padding: 6px 12px;
	box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
.brand-text {
	display: flex; flex-direction: column; line-height: 0.95; color: var(--text);
}
.brand-text strong {
	font-style: italic; letter-spacing: -0.04em; font-size: 1.2rem;
}
.brand-sub {
	color: var(--turbo-accent); font-size: 0.52rem; letter-spacing: 0.32em;
	font-weight: 700; font-style: normal; padding-left: 2px;
}

.nav-primary .menu {
	display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; justify-content: center; flex-wrap: wrap;
}
.nav-primary .menu > li > a {
	display: block; padding: 8px 12px; font-weight: 600; font-size: 14px; border-radius: 999px;
}
.nav-primary .menu > li > a:hover,
.nav-primary .current-menu-item > a { background: var(--surface-2); color: var(--turbo-accent); }
.nav-primary .sub-menu {
	position: absolute; min-width: 220px; background: var(--surface); border: 1px solid var(--line);
	border-radius: 12px; padding: 8px; list-style: none; box-shadow: var(--shadow); display: none;
}
.nav-primary .menu > li { position: relative; }
.nav-primary .menu > li:hover > .sub-menu { display: block; }
.nav-primary .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.nav-primary .sub-menu a:hover { background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
	width: 40px; height: 40px; border: 0; background: transparent; color: var(--text);
	border-radius: 10px; display: grid; place-items: center; cursor: pointer; position: relative;
}
.icon-btn:hover { background: var(--surface-2); }
.theme-toggle .turbo-icon--sun { display: none; }
html.is-dark .theme-toggle .turbo-icon--moon { display: none; }
html.is-dark .theme-toggle .turbo-icon--sun { display: inline-flex; }
.bk-count {
	position: absolute; top: 4px; right: 4px; background: var(--turbo-accent); color: #fff;
	font-size: 10px; min-width: 16px; height: 16px; border-radius: 99px; display: grid; place-items: center;
}
.bk-count[hidden] { display: none !important; }
.menu-toggle { display: none; }

/* Breaking */
.breaking { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.breaking-inner { display: flex; align-items: center; gap: 16px; min-height: 44px; overflow: hidden; max-width: 100%; }
.breaking-label {
	flex: none; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
	background: var(--turbo-accent); color: #fff; font-size: 11px; font-weight: 800;
	letter-spacing: .08em; padding: 6px 10px; border-radius: 6px;
}
.breaking-track { overflow: hidden; flex: 1; min-width: 0; }
.breaking-list {
	display: flex; gap: 32px; list-style: none; margin: 0; padding: 0;
	animation: ticker 28s linear infinite; white-space: nowrap; width: max-content; max-width: none;
}
.breaking-list a { font-weight: 600; font-size: 14px; }
.breaking-list a:hover { color: var(--turbo-accent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: var(--r-md); padding: 11px 18px; font-weight: 700; cursor: pointer;
	background: var(--surface-2); color: var(--text);
	transition: background .2s, transform .2s var(--ease), box-shadow .25s;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--turbo-accent); color: #fff; box-shadow: 0 4px 14px -4px var(--accent-ring); }
.btn-accent:hover { background: var(--turbo-blue); box-shadow: 0 8px 20px -6px var(--accent-ring); }

/* Hero magazine */
.hero-magazine { padding: 24px 0 12px; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.9fr;
	gap: 16px;
	min-height: 560px;
}
.hero-main, .hero-stack { min-width: 0; }
.hero-main .card-overlay { height: 100%; }
.hero-stack { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.hero-stack .card-hero-side { height: 100%; }
.card-hero-side {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 14px 14px 18px;
	min-height: 0;
	transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card-hero-side { box-shadow: var(--shadow-sm); }
.card-hero-side:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--line-strong); }
.card-hero-side .hero-side-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; justify-content: center; }
.card-hero-side .entry-title { font-size: 1.02rem; margin: 0; line-height: 1.28; font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; }
.card-hero-side .entry-title a:hover { color: var(--turbo-accent); }
.card-hero-side .entry-meta { margin: 0; }
.card-hero-side .ratio-list { width: 124px; border-radius: var(--r-md); aspect-ratio: 4/3; }
.card-hero-side .entry-thumb img, .card-hero-side .thumb-fallback { transition: transform .6s var(--ease); }
.card-hero-side:hover .entry-thumb img, .card-hero-side:hover .thumb-fallback { transform: scale(1.06); }
.turbo-badge--destaque { background: var(--turbo-accent); }
.card-overlay .entry-thumb { aspect-ratio: auto; }
.card { position: relative; }
.card-overlay {
	position: relative; overflow: hidden; border-radius: var(--radius); min-height: 100%;
	background: #111;
	box-shadow: var(--shadow);
}
.card-overlay .entry-thumb { display: block; height: 100%; min-height: 260px; }
.card-overlay.is-large .entry-thumb { min-height: 420px; }
.card-overlay img, .card-overlay .thumb-fallback {
	width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
	transition: transform .6s var(--ease);
}
.card-overlay:hover img, .card-overlay:hover .thumb-fallback { transform: scale(1.06); }
.overlay-body {
	position: absolute; inset: auto 0 0; padding: 26px 26px 24px;
	/* Duas paradas extras deixam a transição suave em vez de uma faixa dura. */
	background: linear-gradient(
		to top,
		rgba(6, 8, 13, .95) 0%,
		rgba(6, 8, 13, .82) 32%,
		rgba(6, 8, 13, .45) 62%,
		transparent 100%
	);
	color: #fff; z-index: 1;
}
.card-overlay.is-large .overlay-body { padding: 34px 32px 30px; }
.overlay-body .entry-title { margin: 10px 0 8px; font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.card-overlay.is-large .entry-title { font-size: var(--fs-hero); text-wrap: balance; }
.card-overlay .entry-title { font-size: 1.18rem; }
.card-overlay .entry-title a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.overlay-body .entry-excerpt {
	color: rgba(255,255,255,.8); margin: 0 0 14px; max-width: 60ch;
	font-size: 1rem; line-height: 1.55;
}
.overlay-body .entry-meta, .overlay-body a { color: rgba(255,255,255,.82); }
.overlay-body .entry-meta { font-size: var(--fs-sm); }
.card-overlay .bookmark-btn {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	width: 36px; height: 36px; border: 0; border-radius: 10px;
	background: rgba(0,0,0,.4); color: #fff; cursor: pointer;
}

.turbo-badge {
	display: inline-flex; align-items: center; background: var(--cat, var(--turbo-accent));
	color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .07em;
	text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
	line-height: 1.45; white-space: nowrap;
	transition: filter .2s;
}
.turbo-badge-link:hover .turbo-badge { filter: brightness(1.12); }

.entry-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	font-size: var(--fs-xs); color: var(--faint); font-weight: 500;
}
.entry-meta span { display: inline-flex; align-items: center; gap: 5px; }
.entry-meta .turbo-icon { width: .95em; height: .95em; opacity: .75; }
.entry-meta a:hover { color: var(--turbo-accent); }
/* Ponto separador no lugar de repetir o ícone de relógio em toda meta. */
.entry-meta span + span::before {
	content: ""; width: 3px; height: 3px; border-radius: 50%;
	background: currentColor; opacity: .45; margin-right: 4px;
}
/* Nos cards a data e o tempo de leitura usavam o mesmo ícone de relógio duas
   vezes; o separador já organiza a linha, então os ícones saem. */
.card .entry-meta :is(.meta-date, .meta-read) .turbo-icon { display: none; }
.entry-title { font-family: var(--display); }

.entry-thumb { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--surface-2); }
.entry-thumb img, .thumb-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-hero { aspect-ratio: 16/10; }
.ratio-card { aspect-ratio: 16/10; }
.ratio-list { width: 110px; flex: none; aspect-ratio: 4/3; }
.ratio-sq { width: 72px; flex: none; aspect-ratio: 1; border-radius: 8px; }
.play-btn {
	position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
	width: 48px; height: 48px; border-radius: 50%; background: var(--turbo-accent); color: #fff;
	display: grid; place-items: center;
}
.review-chip {
	position: absolute; left: 10px; bottom: 10px; background: #0f141d; color: #fff;
	font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 6px; border: 2px solid var(--turbo-accent);
}

.card-grid {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column; height: 100%;
	box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card-grid:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--line-strong);
}
.card-grid .entry-thumb { border-radius: 0; }
.card-grid .entry-thumb img, .card-grid .thumb-fallback { transition: transform .65s var(--ease); }
.card-grid:hover .entry-thumb img, .card-grid:hover .thumb-fallback { transform: scale(1.06); }
.card-grid .card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-grid .entry-title {
	font-size: var(--fs-card); margin: 10px 0 0; line-height: 1.32;
	font-weight: 700; letter-spacing: -0.015em;
}
/* Alinha a meta na base para que cards com títulos de alturas diferentes fechem juntos. */
.card-grid .entry-meta { margin-top: auto; padding-top: 14px; }
.card-grid .entry-title a:hover { color: var(--turbo-accent); }

/* Feed "Últimas publicações" — grade uniforme de 3 por fileira. */
.posts-feed { margin-bottom: 4px; }

.card-post {
	display: flex; flex-direction: column; height: 100%;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }

.card-post .card-media { position: relative; }
.card-post .entry-thumb { border-radius: 0; }
.card-post .entry-thumb img, .card-post .thumb-fallback { transition: transform .65s var(--ease); }
.card-post:hover .entry-thumb img, .card-post:hover .thumb-fallback { transform: scale(1.06); }
/* Badge sobre a imagem, como no layout de referência. */
.card-post .turbo-badge-link {
	position: absolute; top: 12px; left: 12px; z-index: 2;
}
.card-post .turbo-badge { box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }

.card-post .card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 0; }
.card-post .entry-title {
	font-size: var(--fs-card); line-height: 1.32; margin: 0 0 8px;
	font-weight: 700; letter-spacing: -0.015em;
}
.card-post .entry-title a:hover { color: var(--turbo-accent); }
.card-post .entry-excerpt {
	color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0 0 16px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Rodapé ancorado na base para os cards da fileira fecharem alinhados. */
.card-post .card-foot {
	margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 0 14px; border-top: 1px solid var(--line);
	font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
}
.card-post .card-date { color: var(--faint); white-space: nowrap; }
.card-post .card-more { color: var(--turbo-accent); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.card-post .card-more .turbo-icon { transition: transform .25s var(--ease); }
.card-post:hover .card-more .turbo-icon { transform: translateX(4px); }

.card-list { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.card-list:last-child { border-bottom: 0; }
.card-list .entry-title { font-size: .95rem; margin: 4px 0 0; line-height: 1.3; }
.card-list .rank {
	font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--turbo-accent);
	width: 28px;
}
.list-feed .card-list { padding: 14px 0; }
.list-feed .ratio-list { width: 168px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* A grade acompanha a quantidade real de itens: com menos posts que colunas,
   um grid fixo deixava a linha com um card e três vãos vazios. */
.grid-3:has(> :last-child:nth-child(1)) { grid-template-columns: minmax(0, 340px); }
.grid-3:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4:has(> :last-child:nth-child(1)) { grid-template-columns: minmax(0, 340px); }
.grid-4:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.section-block { padding: var(--space-section) 0; }
.block-heading {
	font-family: var(--display); font-size: var(--fs-section); margin: 0 0 20px;
	font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
	display: flex; align-items: center; gap: 12px;
}
.block-head .block-heading { margin: 0; }
.block-heading span {
	position: relative; padding-left: 14px;
}
.block-heading span::before {
	content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em; width: 5px;
	border-radius: 4px;
	background: linear-gradient(var(--cat, var(--turbo-accent)), color-mix(in srgb, var(--cat, var(--turbo-accent)) 55%, #000));
}
/* Régua fina ligando o título à borda direita do bloco. */
.block-head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	margin: 0 0 20px; padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.see-all {
	font-weight: 700; font-size: var(--fs-sm); color: var(--muted);
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	padding: 5px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.see-all:hover { color: var(--turbo-accent); background: var(--accent-soft); }
.see-all .turbo-icon { transition: transform .25s var(--ease); }
.see-all:hover .turbo-icon { transform: translateX(3px); }

.layout-with-sidebar {
	display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start;
}
.content-col { min-width: 0; }
.site-sidebar { display: flex; flex-direction: column; gap: 18px; }

/* Carregar mais */
.load-more-wrap { text-align: center; margin-top: 32px; }
.load-more-results:empty { display: none; }
.load-more-results { margin-top: 24px; }

.load-more-btn {
	position: relative; gap: 10px;
	padding: 13px 30px; border-radius: 999px;
	background: var(--surface); color: var(--text);
	border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
	font-family: var(--display); font-weight: 700; letter-spacing: .02em;
	text-transform: uppercase; font-size: var(--fs-sm);
	transition: color .25s, border-color .25s, box-shadow .3s, transform .25s var(--ease);
	overflow: hidden;
}
/* Preenchimento que sobe de baixo no hover. */
.load-more-btn::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(var(--turbo-accent), var(--turbo-blue));
	transform: translateY(101%); transition: transform .4s var(--ease);
}
.load-more-btn > * { position: relative; z-index: 1; }
.load-more-btn:hover:not([disabled]) {
	color: #fff; border-color: transparent;
	box-shadow: 0 12px 28px -10px var(--accent-ring);
	transform: translateY(-2px);
}
.load-more-btn:hover:not([disabled])::before { transform: translateY(0); }
.load-more-btn[disabled] { cursor: wait; }

.lm-spinner {
	width: 16px; height: 16px; border-radius: 50%; display: none;
	border: 2px solid color-mix(in srgb, currentColor 30%, transparent);
	border-top-color: currentColor;
	animation: lm-spin .7s linear infinite;
}
.load-more-btn.is-loading .lm-spinner { display: block; }
.load-more-btn.is-loading .lm-label { opacity: .6; }
@keyframes lm-spin { to { transform: rotate(360deg); } }

.load-more-btn.has-error { border-color: #b91c1c; color: #b91c1c; }
.load-more-done { color: var(--faint); font-size: var(--fs-sm); margin: 16px 0 0; }

/* Entrada dos cards carregados por AJAX. */
.lm-enter {
	opacity: 0;
	transform: translate3d(0, 26px, 0) scale(.985);
	transition: opacity .55s var(--ease), transform .55s var(--ease);
	transition-delay: var(--lm-delay, 0ms);
}
.lm-enter.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.lm-enter { opacity: 1; transform: none; transition: none; }
	.load-more-btn::before { transition: none; }
	.lm-spinner { animation-duration: 1.8s; }
}

.cat-block { margin-top: 36px; }
.cat-block-grid {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start;
}

.home-magazine .section-split { padding-top: 20px; }
.card-review {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card-review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-review .entry-thumb { border-radius: 0; }
.card-review .entry-thumb img, .card-review .thumb-fallback { transition: transform .65s var(--ease); }
.card-review:hover .entry-thumb img, .card-review:hover .thumb-fallback { transform: scale(1.06); }
.card-review .card-body { padding: 14px 16px 16px; }
.card-review .entry-title { font-size: .98rem; margin: 0 0 8px; line-height: 1.32; font-weight: 700; letter-spacing: -0.01em; }
.card-review .entry-title a:hover { color: var(--turbo-accent); }
.review-score-badge {
	position: absolute; top: 10px; left: 10px;
	min-width: 44px; height: 44px; padding: 0 8px;
	border-radius: 999px; background: var(--turbo-accent); color: #fff;
	font-family: var(--display); font-weight: 800; font-size: 14px;
	display: grid; place-items: center; box-shadow: 0 4px 14px rgba(5, 82, 238, .35);
}
.review-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.review-label {
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
	color: var(--turbo-accent);
}

.home-column-list { display: flex; flex-direction: column; gap: 0; }
.card-list-compact {
	display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center;
	padding: 14px 0; border-bottom: 1px solid var(--line);
}
.card-list-compact:last-child { border-bottom: 0; padding-bottom: 0; }
.card-list-compact:first-child { padding-top: 0; }
.card-list-compact .entry-title { font-size: .94rem; margin: 0 0 5px; line-height: 1.32; font-weight: 700; letter-spacing: -0.01em; }
.card-list-compact .entry-title a:hover { color: var(--turbo-accent); }
.card-list-compact .ratio-sq { width: 76px; border-radius: var(--r-md); }
.card-list-compact .entry-thumb img, .card-list-compact .thumb-fallback { transition: transform .5s var(--ease); }
.card-list-compact:hover .entry-thumb img, .card-list-compact:hover .thumb-fallback { transform: scale(1.08); }

.is-magazine .header-actions .font-minus,
.is-magazine .header-actions .font-plus,
.is-magazine .header-actions .theme-toggle,
.is-magazine .header-actions .bookmark-open { display: none; }
.is-magazine .breaking { display: none; }

/* O widget imprime a caixa escura como div interna do .widget, que já tem
   padding próprio — sem isto o título encosta na borda do gradiente. */
.widget:has(> .widget-newsletter--dark) {
	padding: 0; border: 0; background: transparent; overflow: hidden;
}
.widget-newsletter--dark,
.widget-newsletter.widget-newsletter--dark {
	background: linear-gradient(150deg, #0a1628, #10306b 55%, #0b1c3d);
	border: 0; color: #fff; padding: 24px; border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}
.widget-newsletter--dark .widget-title {
	color: rgba(255,255,255,.7); border-bottom-color: rgba(255,255,255,.16);
}
.widget-newsletter--dark .widget-title span { color: inherit; }
.widget-newsletter--dark p { color: rgba(255,255,255,.78); margin: 0 0 16px; font-size: .92rem; }
/* Coluna: na sidebar de 340px o par input + botão não cabe lado a lado. */
.widget-newsletter--dark .nl-form { flex-direction: column; gap: 10px; }
.widget-newsletter--dark .nl-form input {
	background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); color: #fff;
}
.widget-newsletter--dark .nl-form input::placeholder { color: rgba(255,255,255,.5); }
.widget-newsletter--dark .nl-form input:focus {
	border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.widget-newsletter--dark .nl-form button {
	background: var(--turbo-accent); color: #fff; width: 100%; margin: 0;
	border: 0; border-radius: var(--r-md); padding: 12px 16px; font-weight: 700; cursor: pointer;
	transition: background .2s;
}
.widget-newsletter--dark .nl-form button:hover:not([disabled]) { background: #2b6bff; }
.widget-newsletter--dark .nl-form button[disabled] { opacity: .6; cursor: not-allowed; }
.widget-newsletter--dark .nl-notice { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }
.widget.widget_categories li a { font-weight: 600; }
.turbo-post-list--rank .rank {
	font-size: 1.1rem; font-family: var(--display); font-weight: 800; color: var(--turbo-accent);
}

.newsletter-band {
	margin: 24px 0 0; background: linear-gradient(120deg, #07122b, var(--turbo-blue) 55%, var(--turbo-accent));
	color: #fff; padding: 48px 0;
}
.newsletter-band h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 8px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; color: var(--turbo-accent); margin: 0; }
.nl-form { display: flex; gap: 8px; }
.nl-form input {
	flex: 1; min-width: 0; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
	border-radius: var(--r-md); padding: 12px 14px; outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.nl-form input::placeholder { color: var(--faint); }
.nl-form input:focus { border-color: var(--turbo-accent); box-shadow: 0 0 0 3px var(--accent-ring); }

/* Widgets */
.widget {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px; box-shadow: var(--shadow-sm);
}
.widget-title {
	font-family: var(--display); font-size: .8rem; margin: 0 0 16px;
	font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
	color: var(--muted);
	padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.widget-title span { padding-left: 0; position: relative; }
.widget-title span::before { content: none; }
.turbo-post-list { list-style: none; margin: 0; padding: 0; }
.turbo-post-list li { display: grid; grid-template-columns: 26px 72px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.turbo-post-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.turbo-post-list li:first-child { padding-top: 0; }
.turbo-post-list h4 { margin: 5px 0 0; font-size: .92rem; line-height: 1.32; font-weight: 700; }
.turbo-post-list h4 a:hover { color: var(--turbo-accent); }
/* Numeração marca a posição sem competir com o título. */
.widget .rank {
	font-family: var(--display); font-weight: 800; font-size: 1.3rem;
	color: var(--faint); line-height: 1; transition: color .25s;
}
.turbo-post-list li:hover .rank { color: var(--turbo-accent); }
/* Os três primeiros ganham a cor da marca — é o que o leitor procura. */
.turbo-post-list li:nth-child(-n+3) .rank { color: var(--turbo-accent); opacity: .85; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget.widget_categories li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a {
	width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
	background: var(--surface-2); color: var(--text);
}
.social-links a:hover { background: var(--turbo-accent); color: #fff; }
.widget-newsletter p { color: var(--muted); }

/* Footer */
.site-footer {
	background: var(--ink); color: #c3ccda; margin-top: var(--space-section);
	background-image: radial-gradient(900px 320px at 15% -80px, rgba(5, 82, 238, .22), transparent 70%);
	background-repeat: no-repeat;
}
.site-footer .widget { background: transparent; border: 0; padding: 0; box-shadow: none; }
.site-footer .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.12); }
.site-footer a:hover { color: #fff; }
.site-footer .turbo-post-list li,
.site-footer .widget.widget_categories li { border-bottom-color: rgba(255,255,255,.08); }
.site-footer .widget .rank { -webkit-text-stroke-color: rgba(255,255,255,.3); }
.site-footer .turbo-post-list li:hover .rank { -webkit-text-stroke-color: var(--turbo-accent); }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.footer-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* Overlays */
.search-overlay, .mobile-drawer, .bookmark-panel {
	position: fixed; z-index: 70; background: var(--surface); color: var(--text);
}
.search-overlay {
	inset: 0; display: grid; align-content: start; justify-items: center; padding: 80px 20px;
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	backdrop-filter: blur(18px);
}
.search-overlay[hidden], .mobile-drawer[hidden], .bookmark-panel[hidden], .drawer-backdrop[hidden], .cookie-bar[hidden] { display: none !important; }
.live-search {
	width: min(720px, 100%); display: flex; align-items: center; gap: 14px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: 18px 22px;
	box-shadow: var(--shadow-xl);
}
.live-search .turbo-icon { color: var(--faint); width: 1.35em; height: 1.35em; flex: none; }
.live-search input { border: 0; background: transparent; width: 100%; color: var(--text); font-size: 1.2rem; outline: none; }
.live-search input::placeholder { color: var(--faint); }
.live-results { width: min(720px, 100%); margin-top: 16px; display: grid; gap: 10px; }
.live-hit {
	display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px;
	box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .25s, border-color .25s;
}
.live-hit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent-ring); }
.live-hit img { border-radius: var(--r-sm); aspect-ratio: 4/3; object-fit: cover; }
.live-hit .thumb-fallback { border-radius: var(--r-sm); aspect-ratio: 4/3; background: var(--surface-2); display: block; }
.live-hit strong { font-family: var(--display); font-size: .98rem; line-height: 1.3; }
.live-hit small { color: var(--faint); font-size: var(--fs-xs); }
.overlay-close { position: absolute; top: 18px; right: 18px; }

.mobile-drawer, .bookmark-panel {
	inset: 0 auto 0 0; width: min(360px, 92vw); padding: 18px;
	box-shadow: var(--shadow); overflow: auto;
}
.bookmark-panel { inset: 0 0 0 auto; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

.back-top {
	position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border: 0;
	border-radius: 50%; background: var(--turbo-accent); color: #fff; cursor: pointer; display: none; z-index: 40;
	box-shadow: 0 8px 24px -6px var(--accent-ring), var(--shadow-md);
	transition: transform .25s var(--ease), background .2s;
}
.back-top:hover { transform: translateY(-3px); background: var(--turbo-blue); }
.back-top.is-on { display: grid; place-items: center; }
.cookie-bar {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 75;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
	padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between;
	box-shadow: var(--shadow-xl); max-width: 720px; margin-inline: auto;
	font-size: var(--fs-sm); color: var(--muted);
}

/* Archive / single */
.archive-hero { padding: 36px 0 12px; }
.archive-hero h1, .page-title, .single-hero .entry-title {
	font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.04em; line-height: 1.1; margin: 8px 0;
}
.archive-layout, .section-split { padding-bottom: 48px; }
.turbo-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.turbo-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.author-hero-inner { display: flex; gap: 20px; align-items: center; }
.author-hero-inner img { border-radius: 50%; }

.single-hero { padding: 32px 0 8px; }
.single-hero .entry-title { margin: 12px 0 10px; text-wrap: balance; }
.entry-subtitle { font-size: var(--fs-lead); color: var(--muted); margin: 0 0 20px; line-height: 1.45; max-width: 60ch; }
.single-meta-row {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
	padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.single-meta-row .entry-meta { font-size: var(--fs-sm); color: var(--muted); }
.single-meta-row .avatar { border-radius: 50%; }
.single-tools .bookmark-btn {
	display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
	background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
	border-radius: 999px; padding: 8px 16px; font-size: var(--fs-sm); font-weight: 600;
	transition: border-color .2s, color .2s, background .2s;
}
.single-tools .bookmark-btn:hover { border-color: var(--accent-ring); color: var(--turbo-accent); background: var(--accent-soft); }
.single-thumb { margin: 8px 0 24px; border-radius: var(--radius); overflow: hidden; }
.single-thumb figcaption { font-size: 13px; color: var(--muted); padding: 8px 0; }
.video-embed { margin: 8px 0 24px; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { width: 100%; aspect-ratio: 16/9; }

/* Barra de compartilhamento: um componente único em vez de botões soltos. */
.share-bar {
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 28px;
	position: sticky; top: calc(var(--header) + 10px); z-index: 5;
	background: color-mix(in srgb, var(--surface) 82%, transparent);
	backdrop-filter: blur(14px);
	border: 1px solid var(--line); border-radius: 999px;
	padding: 8px 14px; box-shadow: var(--shadow-sm);
	width: fit-content; max-width: 100%;
	transition: box-shadow .3s, border-color .3s;
}
.share-bar:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.share-bar a, .share-bar button {
	position: relative;
	width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: transparent; color: var(--muted); cursor: pointer;
	transition: color .25s, background .25s, transform .25s var(--ease), box-shadow .25s;
}
/* Cada rede acende na própria cor: neutro em repouso, marca no hover. */
.share-bar a:hover, .share-bar button:hover {
	color: #fff;
	background: var(--net, var(--turbo-accent));
	transform: translateY(-3px);
	box-shadow: 0 10px 18px -8px var(--net, var(--turbo-accent));
}
.share-facebook { --net: #1877F2; }
.share-twitter  { --net: #14171A; }
.share-whatsapp { --net: #25D366; }
.share-linkedin { --net: #0A66C2; }
.share-telegram { --net: #229ED9; }
.share-copy     { --net: var(--turbo-accent); }
html.is-dark .share-twitter { --net: #454c56; }

.share-label {
	display: inline-flex; gap: 7px; align-items: center;
	font-size: var(--fs-xs); font-weight: 800; color: var(--faint);
	text-transform: uppercase; letter-spacing: .1em;
	margin-right: 6px; padding: 0 12px 0 6px;
	border-right: 1px solid var(--line);
	align-self: stretch;
}

/* Confirmação visível ao copiar — antes só mudava o title do botão. */
.share-copy.is-copied { color: #fff; background: #15803d; }
.share-copy.is-copied::after {
	content: attr(data-copied);
	position: absolute; bottom: calc(100% + 12px); left: 50%;
	background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
	padding: 6px 11px; border-radius: var(--r-sm); white-space: nowrap;
	box-shadow: var(--shadow-lg); pointer-events: none;
	animation: share-pop .28s var(--ease) both;
}
.share-copy.is-copied::before {
	content: ""; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
	border: 5px solid transparent; border-top-color: var(--ink); pointer-events: none;
}
@keyframes share-pop {
	from { opacity: 0; transform: translate(-50%, 6px); }
	to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 560px) {
	.share-bar { width: 100%; justify-content: center; padding: 8px; }
	.share-label { display: none; }
}
.bookmark-btn.is-on { color: var(--turbo-accent); }

.turbo-toc {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px 20px; margin: 0 0 28px; box-shadow: var(--shadow-sm);
}
.turbo-toc ol li { margin-bottom: 6px; }
.turbo-toc a:hover { color: var(--turbo-accent); }
.toc-toggle { width: 100%; text-align: left; background: none; border: 0; font-weight: 800; font-family: var(--display); cursor: pointer; color: var(--text); }
.turbo-toc ol { margin: 10px 0 0; padding-left: 18px; }
.turbo-toc.collapsed ol { display: none; }
.toc-h3 { margin-left: 12px; }

.entry-content { font-size: 1.125rem; line-height: 1.8; }
.entry-content h2, .entry-content h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.2; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content a { color: var(--turbo-blue); text-decoration: underline; }
.entry-content .wp-block-quote,
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--turbo-accent);
	font-size: 1.15em;
	color: var(--muted);
}
.entry-content .wp-block-pullquote {
	border: 0;
	padding: 28px;
	background: var(--surface);
	border-radius: var(--radius);
	text-align: left;
}
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.entry-content .wp-block-code,
.entry-content pre {
	background: #0f141d; color: #e8eef8; padding: 16px; border-radius: 12px; overflow: auto;
}
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; }
.turbo-note {
	background: color-mix(in srgb, var(--turbo-accent) 8%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--turbo-accent) 25%, var(--line));
	border-radius: var(--radius); padding: 18px 20px; margin: 1.4em 0;
}
.turbo-note p:last-child { margin: 0; }
.turbo-cta {
	background: linear-gradient(120deg, #07122b, var(--turbo-blue));
	color: #fff; border-radius: var(--radius); padding: 28px; margin: 1.6em 0;
}
.turbo-cta a { color: #fff !important; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.entry-tags a {
	background: var(--surface-2); padding: 7px 14px; border-radius: 999px;
	font-size: 13px; font-weight: 600; color: var(--muted);
	border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.entry-tags a:hover { background: var(--accent-soft); color: var(--turbo-accent); border-color: var(--accent-ring); }
.entry-source { color: var(--muted); font-size: 14px; display: flex; gap: 16px; }

.review-box {
	display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 28px;
}
.review-score { background: var(--turbo-accent); color: #fff; border-radius: 16px; padding: 18px 8px; text-align: center; }
.review-score strong { display: block; font-size: 2.4rem; font-family: var(--display); }
.review-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-cols ul { margin: 0; padding-left: 18px; }
.review-cols .cons { color: #b42318; }

.author-box {
	display: grid; grid-template-columns: 72px 1fr; gap: 18px; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 32px 0;
	box-shadow: var(--shadow-sm); align-items: center;
}
.author-box img { border-radius: 50%; width: 72px; height: 72px; }
.author-box .kicker { margin-bottom: 4px; }
.author-box h3, .author-box .author-name {
	font-family: var(--display); font-size: 1.25rem; font-weight: 800;
	letter-spacing: -0.02em; margin: 0;
}
.author-box p { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.author-box p:empty { display: none; }
.author-box .author-post-count { font-size: var(--fs-xs); color: var(--faint); font-weight: 600; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.post-nav-item {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px 18px; box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.post-nav-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.post-nav-item span {
	display: block; font-size: var(--fs-xs); color: var(--faint);
	text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-bottom: 6px;
}
.post-nav-item strong { font-family: var(--display); font-size: .98rem; line-height: 1.32; letter-spacing: -0.01em; }
.post-nav-item.next { text-align: right; }
/* Sem "próximo", o "anterior" ocupava só metade da linha. */
.post-nav-item:only-child { grid-column: 1 / -1; }

/* Comentários */
.comments-area { margin: 48px 0; }
.comments-head { margin-bottom: 20px; }
.comments-empty, .comments-closed {
	color: var(--muted); font-size: .95rem; margin: 0 0 24px;
	padding: 18px 20px; background: var(--surface-2); border-radius: var(--radius);
}

.comment-list { list-style: none; padding: 0; margin: 0 0 8px; }
.comment-list .children {
	list-style: none; margin: 0 0 0 20px; padding-left: 22px;
	border-left: 2px solid var(--line);
}
.comment-item { margin: 0 0 14px; }

.comment-body {
	display: grid; grid-template-columns: 48px 1fr; gap: 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px 20px; box-shadow: var(--shadow-sm);
	transition: border-color .25s, box-shadow .25s;
}
.comment-body:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
/* Destaca o comentário alvo ao chegar por um link direto. */
.comment-item:target > .comment-body {
	border-color: var(--turbo-accent);
	box-shadow: 0 0 0 3px var(--accent-ring);
}

.comment-avatar .avatar { border-radius: 50%; width: 48px; height: 48px; }
.comment-main { min-width: 0; }
.comment-head {
	display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 8px;
}
.comment-author { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.comment-permalink { color: var(--faint); font-size: var(--fs-xs); }
.comment-permalink:hover { color: var(--turbo-accent); }

.comment-tag {
	font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
	padding: 3px 8px; border-radius: 999px; line-height: 1.5;
}
.comment-tag--author { background: var(--turbo-accent); color: #fff; }
.comment-tag--member { background: var(--accent-soft); color: var(--turbo-accent); }
.comment-tag--anon { background: var(--surface-2); color: var(--faint); }

.comment-text { font-size: .96rem; line-height: 1.65; }
.comment-text p { margin: 0 0 .8em; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-awaiting {
	font-size: var(--fs-sm); color: #92400e; background: #fef3c7;
	padding: 8px 12px; border-radius: var(--r-sm); margin: 0 0 10px;
}
html.is-dark .comment-awaiting { background: rgba(146, 64, 14, .25); color: #fcd34d; }

.comment-actions { margin-top: 10px; }
.comment-reply-link {
	font-size: var(--fs-xs); font-weight: 800; color: var(--turbo-accent);
	text-transform: uppercase; letter-spacing: .06em;
	padding: 5px 12px; border-radius: 999px; display: inline-block;
	transition: background .2s;
}
.comment-reply-link:hover { background: var(--accent-soft); }
/* Estava maior que o título da própria seção de comentários. */
#reply-title, .comment-reply-title {
	font-family: var(--display); font-size: var(--fs-section);
	font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px;
}
#reply-title small { font-size: var(--fs-sm); font-weight: 600; margin-left: 10px; }
#reply-title small a { color: var(--turbo-accent); }

#respond {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px; margin-top: 32px; box-shadow: var(--shadow-sm);
}
/* Nome e e-mail lado a lado; o textarea ocupa a linha inteira. */
.turbo-comment-form {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
}
.turbo-comment-form > * { grid-column: 1 / -1; }
/* Margem padrão do <p> brigava com o gap do grid; o espaçamento vem dos campos. */
.turbo-comment-form > p { margin: 0; }
.comment-form-author { grid-column: 1 / 2; }
.comment-form-email { grid-column: 2 / 3; }
.comment-form-author.is-off, .comment-form-email.is-off { opacity: .45; }
.field-hint { font-weight: 500; color: var(--faint); text-transform: none; letter-spacing: 0; }
.comment-form textarea { resize: vertical; min-height: 120px; }
.comment-signed-in { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 16px; }
.comment-signed-in a { color: var(--turbo-accent); }
.form-submit { margin: 4px 0 0; }

/* Interruptor de envio anônimo */
.comment-anon { margin: 0 0 16px; }
.anon-toggle {
	display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
	background: var(--surface-2); border: 1px solid transparent;
	border-radius: var(--r-md); padding: 12px 14px;
	transition: border-color .2s, background .2s;
}
.anon-toggle:hover { border-color: var(--line-strong); }
.anon-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.anon-switch {
	flex: none; width: 40px; height: 23px; border-radius: 999px;
	background: var(--line-strong); position: relative; margin-top: 2px;
	transition: background .25s var(--ease);
}
.anon-switch::after {
	content: ""; position: absolute; top: 3px; left: 3px;
	width: 17px; height: 17px; border-radius: 50%; background: #fff;
	box-shadow: var(--shadow-sm); transition: transform .25s var(--ease);
}
.anon-toggle input:checked ~ .anon-switch { background: var(--turbo-accent); }
.anon-toggle input:checked ~ .anon-switch::after { transform: translateX(17px); }
.anon-toggle input:focus-visible ~ .anon-switch { outline: 2px solid var(--turbo-accent); outline-offset: 3px; }
.anon-toggle:has(input:checked) { background: var(--accent-soft); border-color: var(--accent-ring); }
.anon-text { display: flex; flex-direction: column; gap: 2px; }
.anon-text strong { font-size: .93rem; font-weight: 700; }
.anon-text small { font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }

@media (max-width: 620px) {
	.turbo-comment-form { grid-template-columns: 1fr; }
	.comment-form-author, .comment-form-email { grid-column: 1 / -1; }
	.comment-body { grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; }
	.comment-avatar .avatar { width: 40px; height: 40px; }
	.comment-list .children { margin-left: 8px; padding-left: 12px; }
	#respond { padding: 18px; }
}
/* Só campos de texto: a regra ampla acertava também o checkbox de cookies
   (virava uma caixa esticada) e o input de submit (perdia o estilo de botão). */
.comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
	border-radius: var(--r-md); padding: 12px 14px; margin: 0 0 12px; outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea):focus {
	border-color: var(--turbo-accent); box-shadow: 0 0 0 3px var(--accent-ring);
}
.comment-form :is(input, textarea)::placeholder { color: var(--faint); }

/* Consentimento de cookies do core: linha com checkbox nativo. */
.comment-form-cookies-consent {
	display: flex; align-items: center; gap: 10px;
	font-size: var(--fs-sm); color: var(--muted); margin: 0 0 16px;
}
.comment-form-cookies-consent input[type="checkbox"] {
	width: 17px; height: 17px; flex: none; margin: 0; accent-color: var(--turbo-accent);
}
.comment-form-cookies-consent label { margin: 0; font-weight: 500; font-size: var(--fs-sm); }

.comment-form input[type="submit"] { width: auto; }
.comment-form label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 6px; color: var(--muted); }

.turbo-pagination { margin: 28px 0 8px; }
.turbo-pagination .page-numbers {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.turbo-pagination a.page-numbers,
.turbo-pagination span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; padding: 9px 13px; border-radius: var(--r-md);
	background: var(--surface); border: 1px solid var(--line);
	font-weight: 600; box-shadow: var(--shadow-sm);
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.turbo-pagination a.page-numbers:hover {
	color: var(--turbo-accent); border-color: var(--accent-ring);
	background: var(--accent-soft); transform: translateY(-1px);
}
.turbo-pagination span.page-numbers.current {
	background: var(--turbo-accent); color: #fff; border-color: transparent;
	box-shadow: 0 4px 14px -4px var(--accent-ring);
}
.turbo-pagination .prev .turbo-icon { transform: scaleX(-1); }
.narrow-page { width: min(860px, calc(100% - 32px)); }
.error-404 { padding: 80px 0; text-align: center; }
.empty-magazine { text-align: center; padding: 80px 16px; background: var(--surface); border-radius: var(--radius); }
.turbo-ad { margin: 16px 0; display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; min-height: 90px; color: var(--muted); font-size: 12px; }

html.is-dark .card-overlay .overlay-body { background: linear-gradient(transparent, rgba(0,0,0,.9)); }
html.is-dark .newsletter-band { background: linear-gradient(120deg, #050814, #052a7a 60%, var(--turbo-accent)); }

@media (min-width: 1100px) {
	.layout-with-sidebar .site-sidebar {
		position: sticky;
		top: calc(var(--header) + 16px);
	}
}
@media (max-width: 1100px) {
	.hero-grid { grid-template-columns: 1.3fr 1fr; }
	.layout-with-sidebar { grid-template-columns: 1fr; }
	.site-sidebar { position: static; }
	.footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.nav-primary, .header-actions .font-minus, .header-actions .font-plus { display: none; }
	.menu-toggle { display: grid; }
	.header-inner { grid-template-columns: auto 1fr auto; }
	.hero-grid {
		display: flex;
		flex-direction: column;
		min-height: 0;
		gap: 16px;
	}
	.hero-main { order: 1; }
	.hero-stack { order: 2; }
		.hero-grid, .grid-3, .grid-2, .cat-block-grid, .review-box, .review-cols, .post-nav, .author-box { grid-template-columns: 1fr; }
	.card-post .card-body { padding: 14px 16px 0; }
	.card-post .card-foot { padding: 12px 0; }
	.card-hero-side { grid-template-columns: 1fr; }
	.card-hero-side .ratio-list { width: 100%; aspect-ratio: 16/9; }
	.card-overlay.is-large .entry-thumb { min-height: 380px; }
	.list-feed .ratio-list { width: 110px; }
	.hero-magazine { padding-top: 16px; }
}
@media print {
	.site-header, .topbar, .breaking, .site-footer, .share-bar, .back-top, .cookie-bar, .reading-progress { display: none !important; }
}

/* --------------------------------------------------------------------------
   Visual refresh — uma leitura mais editorial, arejada e consistente.
   Mantido no fim do arquivo para preservar a compatibilidade com instalações
   que já personalizaram cores pelo Customizer.
   -------------------------------------------------------------------------- */

:root {
	--bg: #f6f7fb;
	--bg-deep: #eceff6;
	--surface-2: #f0f3f8;
	--surface-3: #e7ebf3;
	--text: #111827;
	--muted: #5f6979;
	--faint: #8490a3;
	--line: rgba(20, 32, 55, .09);
	--line-strong: rgba(20, 32, 55, .16);
	--r-md: 14px;
	--r-lg: 20px;
	--r-xl: 28px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 5px 14px rgba(16, 24, 40, .035);
	--shadow-md: 0 12px 28px -18px rgba(16, 24, 40, .28), 0 3px 10px rgba(16, 24, 40, .05);
	--shadow-lg: 0 24px 50px -28px rgba(16, 24, 40, .38), 0 10px 24px -18px rgba(16, 24, 40, .18);
	--max: 1280px;
}

html.is-dark {
	--bg: #090d15;
	--bg-deep: #060910;
	--surface: #121925;
	--surface-2: #192231;
	--surface-3: #222d3e;
	--text: #f3f6fb;
	--muted: #a5afbf;
	--faint: #7f8a9c;
	--line: rgba(255, 255, 255, .08);
	--line-strong: rgba(255, 255, 255, .15);
}

body {
	background-image:
		radial-gradient(880px 420px at 12% -120px, color-mix(in srgb, var(--turbo-accent) 12%, transparent), transparent 72%),
		radial-gradient(680px 360px at 88% 6%, rgba(92, 65, 236, .055), transparent 75%);
}

.topbar {
	background: linear-gradient(90deg, #090e18, #111b2b 55%, #0b1320);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar-inner { min-height: 32px; }

.site-header {
	background: color-mix(in srgb, var(--surface) 91%, transparent);
	backdrop-filter: blur(22px) saturate(145%);
	-webkit-backdrop-filter: blur(22px) saturate(145%);
}

.site-header.is-stuck { box-shadow: 0 12px 30px -24px rgba(8, 15, 30, .45); }

.header-inner {
	min-height: 78px;
	gap: 30px;
}

.custom-logo-link img,
.custom-logo { height: 62px; }

.nav-primary .menu { gap: 8px; }

.nav-primary .menu > li > a {
	position: relative;
	padding: 10px 9px;
	border-radius: 0;
	font-size: 13.5px;
	letter-spacing: -.01em;
}

.nav-primary .menu > li > a::after {
	content: "";
	position: absolute;
	left: 9px;
	right: 9px;
	bottom: 4px;
	height: 2px;
	border-radius: 99px;
	background: var(--turbo-accent);
	transform: scaleX(0);
	transition: transform .28s var(--ease);
}

.nav-primary .menu > li > a:hover,
.nav-primary .current-menu-item > a {
	background: transparent;
	color: var(--turbo-accent);
}

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

.header-actions { gap: 7px; }

.header-actions .icon-btn {
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.header-actions .icon-btn:hover {
	color: var(--turbo-accent);
	border-color: var(--accent-ring);
	background: var(--accent-soft);
}

/* Redes no cabeçalho: seguem a leitura visual da busca, sem competir com ela. */
.header-social:empty { display: none; }

.header-social {
	display: flex;
	align-items: center;
	margin-left: 5px;
	padding-left: 11px;
	border-left: 1px solid var(--line);
}

.social-links--header {
	gap: 2px;
	flex-wrap: nowrap;
}

.social-links--header a {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: transparent;
	color: var(--muted);
	transition: color .2s ease, background-color .2s ease, transform .2s var(--ease);
}

.social-links--header a .turbo-icon {
	width: 18px;
	height: 18px;
}

.social-links--header a:hover,
.social-links--header a:focus-visible {
	color: #fff;
	background: var(--turbo-accent);
	transform: translateY(-2px);
}

.social-links--header a:focus-visible {
	outline: 2px solid var(--turbo-accent);
	outline-offset: 2px;
}

@media (max-width: 1320px) {
	.header-social { display: none; }
}

/* Na home, tema e lista de leitura são recursos úteis demais para ficarem
   invisíveis. Os controles de tamanho continuam reservados aos artigos. */
.is-magazine .header-actions .theme-toggle,
.is-magazine .header-actions .bookmark-open { display: grid; }

.hero-magazine {
	position: relative;
	padding: clamp(28px, 4vw, 48px) 0 20px;
}

.hero-magazine::before {
	content: "";
	position: absolute;
	inset: 0 0 11%;
	z-index: -1;
	background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 52%, transparent), transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--line) 45%, transparent);
}

.hero-stack { gap: 20px; }

.card-overlay {
	border-radius: var(--r-xl);
	box-shadow: 0 34px 70px -42px rgba(6, 13, 29, .65), 0 8px 22px -15px rgba(6, 13, 29, .32);
}

.card-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: inherit;
}

.card-overlay.is-large .entry-thumb { min-height: 520px; }

.overlay-body {
	padding: 32px;
	background: linear-gradient(to top, rgba(4, 9, 18, .97) 0%, rgba(4, 10, 23, .82) 38%, rgba(4, 10, 23, .3) 70%, transparent 100%);
}

.card-overlay.is-large .overlay-body { padding: 42px 38px 36px; }

.card-overlay.is-large .entry-title {
	max-width: 20ch;
	font-size: clamp(2.05rem, 3.25vw, 3.45rem);
	line-height: 1.03;
}

.overlay-body .entry-excerpt { max-width: 58ch; color: rgba(255, 255, 255, .76); }

.card-hero-side {
	grid-template-columns: minmax(0, 1fr) minmax(145px, 40%);
	gap: 17px;
	padding: 16px 16px 16px 20px;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.card-hero-side:hover { transform: translateY(-4px); }

.card-hero-side .hero-side-body { gap: 10px; }

.card-hero-side .entry-title {
	font-size: clamp(1.05rem, 1.3vw, 1.28rem);
	line-height: 1.25;
}

.card-hero-side .ratio-list {
	width: 100%;
	height: 100%;
	min-height: 122px;
	aspect-ratio: auto;
	border-radius: var(--r-md);
}

.turbo-badge {
	padding: 5px 10px;
	font-size: 10px;
	letter-spacing: .085em;
	box-shadow: 0 4px 12px -7px rgba(0, 0, 0, .5);
}

.section-block { padding: clamp(42px, 5vw, 68px) 0; }

.home-magazine { padding-top: 46px; }

.block-head {
	margin-bottom: 24px;
	padding-bottom: 16px;
}

.block-heading { font-size: clamp(1.45rem, 2vw, 1.85rem); }

.block-heading span { padding-left: 17px; }

.block-heading span::before { width: 6px; }

.layout-with-sidebar {
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 36px;
}

/* Duas colunas deixam manchetes e resumos respirarem dentro da área que divide
   espaço com a sidebar. Em páginas sem sidebar a grade original é preservada. */
.home-magazine .content-col > .grid-3,
.home-magazine .content-col > .load-more-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.card-post {
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.card-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-post .card-body { padding: 20px 22px 0; }

.card-post .entry-title {
	font-size: clamp(1.1rem, 1.35vw, 1.28rem);
	line-height: 1.28;
	letter-spacing: -.025em;
}

.card-post .entry-excerpt {
	font-size: .93rem;
	line-height: 1.6;
}

.card-post .card-foot { padding: 14px 0 17px; }

.widget {
	border-radius: var(--r-lg);
	padding: 22px;
	box-shadow: var(--shadow-sm);
}

.widget-title { letter-spacing: .13em; }

.site-footer {
	background-image:
		radial-gradient(850px 400px at 12% -90px, rgba(5, 82, 238, .28), transparent 70%),
		linear-gradient(135deg, #090e18, #0d1624);
}

@media (max-width: 1100px) {
	.layout-with-sidebar { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 820px) {
	:root { --r-xl: 22px; }

	.topbar-inner { justify-content: center; min-height: 30px; }
	.topbar-left { gap: 0; }
	.topbar .top-menu { display: none; }

	.header-inner { min-height: 72px; gap: 12px; }
	.custom-logo-link img, .custom-logo { height: 52px; max-width: 205px; }
	.is-magazine .header-actions .theme-toggle,
	.is-magazine .header-actions .bookmark-open { display: none; }
	.header-actions .icon-btn { width: 40px; height: 40px; border-color: transparent; background: transparent; }

	.hero-magazine { padding-top: 25px; }
	.hero-stack { gap: 12px; }
	.card-overlay.is-large .entry-thumb { min-height: 430px; }
	.card-overlay.is-large .overlay-body { padding: 30px 26px 27px; }
	.card-overlay.is-large .entry-title { font-size: clamp(1.85rem, 9vw, 2.6rem); }

	/* No mobile, os destaques secundários permanecem horizontais. Isso reduz
	   bastante a rolagem inicial e mantém o foco na manchete principal. */
	.card-hero-side {
		grid-template-columns: minmax(0, 1fr) 116px;
		gap: 13px;
		min-height: 148px;
		padding: 14px 14px 14px 17px;
	}
	.card-hero-side .ratio-list {
		width: 116px;
		height: 116px;
		min-height: 0;
		aspect-ratio: 1;
	}
	.card-hero-side .entry-title { font-size: 1rem; }

	.home-magazine { padding-top: 38px; }
	.home-magazine .content-col > .grid-3,
	.home-magazine .content-col > .load-more-results { grid-template-columns: 1fr; gap: 18px; }
	.card-post .card-body { padding: 18px 19px 0; }
	.site-sidebar { margin-top: 12px; }
}

@media (max-width: 420px) {
	.container { width: min(var(--max), calc(100% - 24px)); }
		.card-overlay.is-large .entry-thumb { min-height: 405px; }
	.overlay-body .entry-excerpt { font-size: .92rem; line-height: 1.48; }
	.card-overlay.is-large .overlay-body { padding: 27px 22px 24px; }
	.card-hero-side { grid-template-columns: minmax(0, 1fr) 98px; }
	.card-hero-side .ratio-list { width: 98px; height: 108px; }
	.card-hero-side .entry-title { font-size: .94rem; }
}

/* --------------------------------------------------------------------------
   Leitura de artigos — hierarquia editorial e uma medida de texto confortável.
   -------------------------------------------------------------------------- */

.single-article {
	/* Medida de leitura em px: "ch" resolvia diferente em cada elemento
	   (TOC 16px vs texto 19px), desalinhando os blocos. 672px = ~72
	   caracteres por linha no corpo de 19px - faixa editorial confortavel. */
	--article-measure: 672px;
}

.single-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 5vw, 66px) 0 30px;
	border-bottom: 1px solid var(--line);
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--surface) 50%, transparent), transparent),
		radial-gradient(700px 360px at 82% 10%, color-mix(in srgb, var(--turbo-accent) 9%, transparent), transparent 72%);
}

.single-hero::after {
	content: "";
	position: absolute;
	width: 360px;
	height: 360px;
	right: -220px;
	top: -240px;
	border: 1px solid var(--accent-ring);
	border-radius: 50%;
	box-shadow: 0 0 0 54px color-mix(in srgb, var(--turbo-accent) 2.5%, transparent), 0 0 0 108px color-mix(in srgb, var(--turbo-accent) 1.5%, transparent);
	pointer-events: none;
}

.single-hero > .container {
	position: relative;
	z-index: 1;
	/* Mesma largura util do grid do artigo (800 + 48 + 350): as bordas
	   esquerdas do titulo e da imagem destacada ficam alinhadas. */
	width: min(1198px, calc(100% - 32px));
}

.single-hero .turbo-breadcrumbs ol {
	margin-bottom: 20px;
	white-space: nowrap;
	overflow: hidden;
}

.single-hero .turbo-breadcrumbs li {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.single-hero > .container > .turbo-badge-link,
.single-hero > .container > .turbo-badge { display: inline-flex; margin-bottom: 10px; }

.single-hero .entry-title {
	max-width: 24ch;
	margin: 0 0 18px;
	font-size: clamp(2.7rem, 5.1vw, 4.25rem);
	line-height: 1.015;
	letter-spacing: -.057em;
	text-wrap: balance;
}

.entry-subtitle {
	max-width: 54ch;
	margin-bottom: 28px;
	font-size: clamp(1.22rem, 2vw, 1.7rem);
	line-height: 1.42;
	letter-spacing: -.017em;
}

.single-meta-row {
	padding: 18px 0 0;
	border-top: 1px solid var(--line);
	border-bottom: 0;
}

.single-meta-row .entry-meta { gap: 9px 13px; }

.single-meta-row .meta-author {
	font-weight: 700;
	color: var(--text);
}

.single-meta-row .avatar {
	width: 34px;
	height: 34px;
	box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line-strong);
}

.single-tools .bookmark-btn {
	padding: 10px 17px;
	background: color-mix(in srgb, var(--surface) 82%, transparent);
	box-shadow: var(--shadow-sm);
}

.single-article > .container.layout-with-sidebar {
	grid-template-columns: minmax(0, 800px) 350px;
	justify-content: center;
	gap: 48px;
	padding-top: 30px;
}

.single-article > .container.narrow-page { padding-top: 30px; }

.single-article .content-col { min-width: 0; }

.single-thumb,
.video-embed {
	margin: 0 0 30px;
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-md);
}

.single-thumb img { width: 100%; }

.single-thumb figcaption {
	padding: 10px 4px 0;
	font-size: var(--fs-xs);
	line-height: 1.5;
}

.single-article .share-bar {
	top: calc(var(--header) + 14px);
	margin-bottom: 24px;
	background: color-mix(in srgb, var(--surface) 90%, transparent);
	box-shadow: var(--shadow-md);
}

.single-article .turbo-toc,
.single-article .review-box {
	width: min(100%, var(--article-measure));
	margin-inline: auto;
}

.turbo-toc {
	position: relative;
	padding: 20px 22px 20px 26px;
	border-radius: var(--r-lg);
	border-color: color-mix(in srgb, var(--turbo-accent) 18%, var(--line));
	overflow: hidden;
}

.turbo-toc::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(var(--turbo-accent), var(--turbo-blue));
}

.toc-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0;
	font-size: 1.02rem;
}

.toc-toggle::after {
	content: "−";
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--turbo-accent);
	font-family: var(--font);
	font-size: 1.15rem;
	line-height: 1;
}

.turbo-toc.collapsed .toc-toggle::after { content: "+"; }

.turbo-toc ol {
	list-style: none;
	counter-reset: article-toc;
	padding: 12px 0 0;
	margin: 12px 0 0;
	border-top: 1px solid var(--line);
}

.turbo-toc ol li {
	counter-increment: article-toc;
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 8px;
	margin: 0;
	padding: 6px 0;
	font-size: .94rem;
	line-height: 1.45;
}

.turbo-toc ol li::before {
	content: counter(article-toc, decimal-leading-zero);
	color: var(--turbo-accent);
	font-family: var(--display);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .04em;
	padding-top: 3px;
}

.turbo-toc .toc-h3 { margin-left: 20px; }

.entry-content {
	width: min(100%, var(--article-measure));
	margin-inline: auto;
	font-size: 1.19rem;
	line-height: 1.82;
	letter-spacing: -.006em;
	overflow-wrap: break-word;
}

.entry-content > p:first-child,
.entry-content > .has-lead:first-child {
	margin-bottom: 1.35em;
	font-size: 1.24em;
	line-height: 1.62;
	font-weight: 500;
	letter-spacing: -.018em;
	color: color-mix(in srgb, var(--text) 88%, var(--muted));
}

.entry-content p { margin-bottom: 1.25em; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	scroll-margin-top: calc(var(--header) + 30px);
	color: var(--text);
}

.entry-content h2 {
	margin: 2.2em 0 .65em;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	line-height: 1.12;
}

/* Traco de accent acima de cada secao: da respiro visual e marca o ritmo
   do artigo sem pesar (mesma linguagem do kicker do hero da home). */
.entry-content h2::before {
	content: "";
	display: block;
	width: 30px;
	height: 4px;
	margin-bottom: 14px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--turbo-accent), var(--turbo-blue));
}

.entry-content h3 {
	margin: 1.9em 0 .6em;
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.entry-content h2 + p,
.entry-content h3 + p { margin-top: 0; }

.entry-content a {
	color: var(--turbo-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .2s, text-decoration-thickness .2s;
}

.entry-content a:hover {
	color: var(--turbo-blue);
	text-decoration-thickness: 2px;
}

.entry-content :is(ul, ol) {
	margin: 0 0 1.4em;
	padding-left: 1.3em;
}

.entry-content li { margin-bottom: .45em; padding-left: .25em; }

.entry-content .wp-block-quote,
.entry-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 28px 30px 27px 72px;
	border: 1px solid var(--line);
	border-left: 0;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	color: var(--text);
	font-family: var(--display);
	font-size: 1.18em;
	font-weight: 600;
	line-height: 1.5;
}

.entry-content blockquote::before {
	content: "“";
	position: absolute;
	left: 24px;
	top: 15px;
	color: var(--turbo-accent);
	font-family: Georgia, serif;
	font-size: 3.6rem;
	line-height: 1;
}

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

.entry-content :is(.wp-block-image, figure) { margin-block: 2em; }

.entry-content .wp-block-image img,
.entry-content > img {
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.entry-content figcaption {
	margin-top: 9px;
	color: var(--faint);
	font-size: var(--fs-xs);
	line-height: 1.5;
	text-align: left;
}

.entry-content .wp-block-code,
.entry-content pre {
	margin: 1.8em 0;
	padding: 22px 24px;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
	font-size: .88em;
	line-height: 1.65;
	tab-size: 4;
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	margin: 1.8em 0;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.entry-content th {
	background: var(--surface-2);
	font-family: var(--display);
	text-align: left;
}

.entry-content th,
.entry-content td { padding: 13px 15px; }

.single-article .turbo-note,
.single-article .turbo-cta { border-radius: var(--r-lg); }

.single-article .turbo-note { padding: 22px 24px; }

.single-article .turbo-cta {
	position: relative;
	overflow: hidden;
	padding: 34px;
	box-shadow: 0 24px 50px -30px var(--turbo-accent);
}

.single-article .entry-source,
.single-article .entry-tags {
	width: min(100%, var(--article-measure));
	margin-inline: auto;
}

.single-article .entry-source {
	margin-top: 28px;
	padding: 14px 16px;
	border-radius: var(--r-md);
	background: var(--surface-2);
}

.single-article .entry-tags { margin-block: 26px; }

.post-nav { gap: 18px; margin: 38px 0; }

.post-nav-item {
	position: relative;
	min-height: 116px;
	padding: 20px 22px;
	border-radius: var(--r-lg);
	overflow: hidden;
}

.post-nav-item::after {
	content: "→";
	position: absolute;
	right: 20px;
	top: 18px;
	color: var(--turbo-accent);
	font-size: 1.25rem;
	transition: transform .25s var(--ease);
}

.post-nav-item.prev::after { content: "←"; left: 20px; right: auto; }
.post-nav-item:hover::after { transform: translateX(4px); }
.post-nav-item.prev:hover::after { transform: translateX(-4px); }
.post-nav-item.prev span { padding-left: 30px; }
.post-nav-item.next span { padding-right: 30px; }
.post-nav-item strong { display: block; font-size: 1.04rem; }

.author-box {
	grid-template-columns: 82px 1fr;
	gap: 22px;
	padding: 26px;
	border-radius: var(--r-lg);
	border-color: color-mix(in srgb, var(--turbo-accent) 16%, var(--line));
	background:
		linear-gradient(120deg, color-mix(in srgb, var(--turbo-accent) 5%, var(--surface)), var(--surface) 60%);
}

.author-box img { width: 82px; height: 82px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--accent-ring); }
.author-box h3, .author-box .author-name { font-size: 1.4rem; }

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

.comments-area {
	margin-top: 58px;
	padding-top: 44px;
	border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
	.single-article > .container.layout-with-sidebar {
		grid-template-columns: minmax(0, 800px);
	}

	.single-article .site-sidebar {
		width: min(100%, 800px);
		margin-inline: auto;
	}
}

@media (max-width: 820px) {
	.single-hero {
		padding: 26px 0 22px;
	}

	.single-hero > .container { width: min(100% - 24px, 1120px); }

	.single-hero .turbo-breadcrumbs ol {
		margin-bottom: 14px;
		font-size: 11.5px;
	}

	.single-hero .turbo-breadcrumbs li:last-child { display: none; }

	.single-hero .entry-title {
		max-width: none;
		font-size: clamp(2.15rem, 11vw, 3rem);
		line-height: 1.03;
		letter-spacing: -.05em;
	}

	.entry-subtitle {
		margin-bottom: 22px;
		font-size: 1.17rem;
		line-height: 1.46;
	}

	.single-meta-row { padding-top: 15px; }
	.single-meta-row .entry-meta { gap: 8px 10px; }
	.single-meta-row .meta-author { width: 100%; }

	.single-article > .container.layout-with-sidebar,
	.single-article > .container.narrow-page { padding-top: 18px; }

	.single-article .share-bar {
		position: static;
		width: 100%;
		justify-content: center;
		margin-bottom: 20px;
	}

	.single-thumb,
	.video-embed { border-radius: var(--r-lg); }

	.turbo-toc { padding: 18px 18px 18px 22px; }

	.entry-content {
		font-size: 1.08rem;
		line-height: 1.78;
		letter-spacing: 0;
	}

	.entry-content > p:first-child,
	.entry-content > .has-lead:first-child {
		font-size: 1.14em;
		line-height: 1.62;
	}

	.entry-content h2 { margin-top: 1.9em; }

	.entry-content .wp-block-quote,
	.entry-content blockquote { padding: 24px 22px 23px 58px; }
	.entry-content blockquote::before { left: 17px; font-size: 3rem; }

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

	.author-box {
		grid-template-columns: 64px 1fr;
		gap: 17px;
		padding: 21px;
	}
	.author-box img { width: 64px; height: 64px; }

	.single-article .related-posts .grid-3 { grid-template-columns: 1fr; }
	.comments-area { margin-top: 44px; padding-top: 34px; }
}

@media (max-width: 480px) {
	.single-hero .entry-title { font-size: clamp(2rem, 10.5vw, 2.65rem); }
	.single-meta-row .entry-meta span + span::before { display: none; }
	.single-tools { width: 100%; }
	.single-tools .bookmark-btn { width: 100%; justify-content: center; }
	.single-article .share-bar a,
	.single-article .share-bar button { width: 36px; height: 36px; }
	.turbo-toc .toc-h3 { margin-left: 8px; }
	.single-article .turbo-cta { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   Comunidade — comentários, participação anônima e cadastro de leitores.
   -------------------------------------------------------------------------- */

.comments-area {
	position: relative;
	margin-bottom: 20px;
}

.comments-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 26px;
}

.comments-head .kicker { margin-bottom: 7px; }

.comments-head .block-heading {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.comments-intro {
	max-width: 60ch;
	margin: 10px 0 0;
	color: var(--muted);
	font-size: .94rem;
	line-height: 1.6;
}

.comments-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	max-width: 300px;
}

.comments-trust span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.comments-trust .turbo-icon { color: var(--turbo-accent); }

.comment-system-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	font-size: var(--fs-sm);
	box-shadow: var(--shadow-sm);
}

.comment-system-notice .turbo-icon { flex: none; }
.comment-system-notice a { margin-left: auto; color: var(--turbo-accent); font-weight: 800; }
.comment-system-notice--success { border-color: rgba(21, 128, 61, .25); background: color-mix(in srgb, #16a34a 7%, var(--surface)); }
.comment-system-notice--success .turbo-icon { color: #15803d; }
.comment-system-notice--info { border-color: var(--accent-ring); background: var(--accent-soft); }
.comment-system-notice--info .turbo-icon { color: var(--turbo-accent); }
.comment-system-notice--error { border-color: rgba(185, 28, 28, .22); background: color-mix(in srgb, #dc2626 6%, var(--surface)); }
.comment-system-notice--error .turbo-icon { color: #b91c1c; }

.comment-join {
	position: relative;
	overflow: hidden;
	margin: 24px 0 30px;
	padding: 28px;
	border-radius: var(--r-xl);
	background:
		radial-gradient(500px 250px at 100% 0, rgba(43, 107, 255, .28), transparent 72%),
		linear-gradient(135deg, #091222, #102242 64%, #0b1830);
	color: #fff;
	box-shadow: 0 28px 58px -38px rgba(4, 13, 32, .8);
}

.comment-join::before {
	content: "";
	position: absolute;
	width: 180px;
	height: 180px;
	right: -90px;
	top: -100px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
	box-shadow: 0 0 0 35px rgba(255, 255, 255, .025), 0 0 0 70px rgba(255, 255, 255, .018);
	pointer-events: none;
}

.comment-join-copy,
.comment-routes { position: relative; z-index: 1; }
.comment-join-copy .kicker { color: #79a3ff; }
.comment-join-copy h3 {
	margin: 4px 0 8px;
	font-family: var(--display);
	font-size: clamp(1.55rem, 2.7vw, 2.05rem);
	letter-spacing: -.035em;
	line-height: 1.1;
}
.comment-join-copy > p:last-child { max-width: 62ch; margin: 0; color: rgba(255, 255, 255, .68); font-size: .92rem; }

.comment-routes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 22px;
}

.comment-route {
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--r-lg);
	background: rgba(255, 255, 255, .065);
	transition: border-color .25s, background .25s, transform .25s var(--ease);
}

a.comment-route,
.comment-route summary {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 15px;
	color: #fff;
	cursor: pointer;
}

.comment-route summary { list-style: none; }
.comment-route summary::-webkit-details-marker { display: none; }
.comment-route:hover { border-color: rgba(121, 163, 255, .48); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.comment-route[open] { grid-column: 1 / -1; background: rgba(255, 255, 255, .09); transform: none; }

.comment-route-icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: rgba(255, 255, 255, .1);
	color: #91b2ff;
}

.comment-route strong,
.comment-route small { display: block; }
.comment-route strong { font-family: var(--display); font-size: .98rem; line-height: 1.2; }
.comment-route small { margin-top: 4px; color: rgba(255, 255, 255, .58); font-size: .72rem; line-height: 1.35; }
.comment-route > .turbo-icon,
.comment-route summary > .turbo-icon { color: #91b2ff; transition: transform .25s var(--ease); }
.comment-route[open] summary > .turbo-icon { transform: rotate(45deg); }

.comment-register-body {
	padding: 4px 18px 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.turbo-register-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	padding-top: 18px;
}

.turbo-register-form > label:not(.register-consent) { display: grid; gap: 7px; }
.turbo-register-form label > span { font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .76); }
.turbo-register-form input:not([type="checkbox"]) {
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	padding: 12px 13px;
	outline: none;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.turbo-register-form input::placeholder { color: rgba(255, 255, 255, .38); }
.turbo-register-form input:focus { border-color: #79a3ff; background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 3px rgba(91, 137, 255, .18); }

.register-consent {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-top: 2px;
	cursor: pointer;
}
.register-consent input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--turbo-accent); }
.register-consent span { font-weight: 500 !important; line-height: 1.5; }
.register-consent a { color: #a9c3ff; text-decoration: underline; text-underline-offset: 2px; }

.register-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 2px;
}
.register-actions .btn { background: #fff; color: #0b1730; }
.register-actions .btn:hover { background: #dfe8ff; }
.register-actions > a { color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); font-weight: 700; }
.register-actions > a:hover { color: #fff; }

.turbo-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.comment-list {
	display: grid;
	gap: 14px;
	margin-bottom: 28px;
}

.comment-item { margin: 0; }

.comment-body {
	grid-template-columns: 52px 1fr;
	gap: 18px;
	padding: 21px 22px;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.comment-body:hover { transform: translateY(-2px); }
.comment-avatar .avatar { width: 52px; height: 52px; box-shadow: 0 0 0 3px var(--surface-2); }
.comment-head { margin-bottom: 11px; }
.comment-author { font-size: 1rem; }
.comment-permalink { margin-left: auto; }
.comment-text { color: color-mix(in srgb, var(--text) 90%, var(--muted)); font-size: .98rem; line-height: 1.72; }
.comment-actions { margin-top: 13px; }
.comment-reply-link { background: var(--surface-2); }
.comment-reply-link:hover { color: var(--turbo-accent); }

.comments-empty,
.comments-closed {
	border: 1px dashed var(--line-strong);
	background: color-mix(in srgb, var(--surface) 60%, transparent);
	text-align: center;
}

#respond {
	position: relative;
	margin-top: 30px;
	padding: 30px;
	border-radius: var(--r-xl);
	border-color: var(--line-strong);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

#reply-title,
.comment-reply-title {
	margin-bottom: 6px;
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

#reply-title::after {
	content: "";
	display: block;
	width: 34px;
	height: 4px;
	margin-top: 11px;
	border-radius: 99px;
	background: var(--turbo-accent);
}

.turbo-comment-form { margin-top: 22px; }

.comment-form-author,
.comment-form-email { align-self: start; }

.comment-form-comment {
	grid-column: 1 / -1;
	margin-top: 4px;
}

.comment-compose-head,
.comment-compose-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.comment-compose-head { margin-bottom: 8px; }
.comment-compose-head label { margin: 0; color: var(--text); font-family: var(--display); font-size: .94rem; font-weight: 800; }
.comment-compose-head span,
.comment-compose-meta { color: var(--faint); font-size: var(--fs-xs); }

.comment-form .comment-form-comment textarea {
	min-height: 170px;
	margin-bottom: 7px;
	padding: 16px 17px;
	border-radius: var(--r-lg);
	background: var(--bg);
	line-height: 1.65;
}

.comment-counter { flex: none; font-variant-numeric: tabular-nums; }
.comment-counter.is-near { color: #b45309; font-weight: 800; }

.comment-anon { margin: 4px 0 18px; }
.anon-toggle { padding: 14px 15px; border-color: var(--line); background: var(--bg); }
.anon-text strong { color: var(--text); }

.comment-signed-in {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 11px 13px;
	border-radius: var(--r-md);
	background: var(--accent-soft);
}

.comment-signed-in .turbo-icon { color: var(--turbo-accent); }
.form-submit .btn { min-width: 190px; padding: 13px 20px; }

@media (max-width: 720px) {
	.comments-head { display: block; }
	.comments-trust { justify-content: flex-start; max-width: none; margin-top: 16px; }
	.comment-join { padding: 22px; border-radius: var(--r-lg); }
	.comment-routes { grid-template-columns: 1fr; }
	.comment-route[open] { grid-column: auto; }
	.turbo-register-form { grid-template-columns: 1fr; }
	.turbo-register-form > *,
	.register-consent,
	.register-actions { grid-column: 1; }
	.comment-compose-head { display: block; }
	.comment-compose-head span { display: block; margin-top: 4px; }
}

@media (max-width: 480px) {
	.comments-area { padding-top: 30px; }
	.comments-head .block-heading { font-size: 1.7rem; }
	.comments-trust span { padding: 6px 9px; font-size: 10px; }
	.comment-join { margin-inline: -2px; padding: 20px 17px; }
	a.comment-route,
	.comment-route summary { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 13px; }
	.comment-route-icon { width: 38px; height: 38px; }
	.comment-register-body { padding-inline: 13px; }
	.register-actions { align-items: stretch; flex-direction: column; }
	.register-actions .btn { width: 100%; }
	.register-actions > a { text-align: center; }
	#respond { padding: 22px 17px; border-radius: var(--r-lg); }
	.comment-body { grid-template-columns: 42px 1fr; gap: 13px; padding: 17px 15px; }
	.comment-avatar .avatar { width: 42px; height: 42px; }
	.comment-permalink { width: 100%; margin-left: 0; }
	.comment-compose-meta { align-items: flex-start; }
	.comment-compose-meta > span:first-child { max-width: 23ch; }
	.form-submit .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Lista de leitura — popup flutuante, compacto e com ações por artigo.
   -------------------------------------------------------------------------- */

.bookmark-backdrop {
	position: fixed;
	inset: 0;
	z-index: 76;
	background: rgba(5, 10, 20, .48);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity .24s ease;
}

.bookmark-backdrop.is-open { opacity: 1; }
.bookmark-backdrop[hidden],
.bookmark-panel[hidden] { display: none !important; }

.bookmark-panel {
	position: fixed;
	inset: 18px 18px 18px auto;
	z-index: 77;
	width: min(430px, calc(100vw - 36px));
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--turbo-accent) 14%, var(--line));
	border-radius: 28px;
	background:
		radial-gradient(430px 190px at 100% 0, color-mix(in srgb, var(--turbo-accent) 11%, transparent), transparent 72%),
		var(--surface);
	color: var(--text);
	box-shadow: 0 40px 100px -35px rgba(3, 9, 24, .62), 0 18px 36px -28px rgba(3, 9, 24, .42);
	opacity: 0;
	transform: translateX(28px) scale(.985);
	transform-origin: right center;
	transition: opacity .24s ease, transform .28s var(--ease);
}

.bookmark-panel.is-open {
	opacity: 1;
	transform: none;
}

.bookmark-head {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 14px;
	padding: 22px 22px 19px;
	border-bottom: 1px solid var(--line);
}

.bookmark-heading-icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 15px;
	background: linear-gradient(145deg, var(--turbo-accent), var(--turbo-blue));
	color: #fff;
	box-shadow: 0 12px 24px -14px var(--turbo-accent);
}

.bookmark-heading-icon .turbo-icon { width: 1.25em; height: 1.25em; }
.bookmark-heading { min-width: 0; }
.bookmark-heading .kicker { margin-bottom: 2px; font-size: 9px; letter-spacing: .14em; }
.bookmark-heading strong {
	display: block;
	font-family: var(--display);
	font-size: 1.3rem;
	line-height: 1.15;
	letter-spacing: -.025em;
}
.bookmark-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; }

.bookmark-close {
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.bookmark-list {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 16px;
	scrollbar-width: thin;
	scrollbar-color: var(--line-strong) transparent;
}

.bookmark-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 12px;
	padding: 13px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: color-mix(in srgb, var(--surface) 84%, var(--bg));
	box-shadow: var(--shadow-sm);
	transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}

.bookmark-item:hover {
	transform: translateY(-2px);
	border-color: var(--accent-ring);
	box-shadow: var(--shadow-md);
}

.bookmark-number {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: var(--accent-soft);
	color: var(--turbo-accent);
	font-family: var(--display);
	font-size: .75rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.bookmark-card-link { min-width: 0; }
.bookmark-card-link strong {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-family: var(--display);
	font-size: .96rem;
	line-height: 1.3;
	letter-spacing: -.012em;
}
.bookmark-card-link span {
	display: block;
	margin-top: 6px;
	color: var(--turbo-accent);
	font-size: .7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
}

.bookmark-remove {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--faint);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: color .2s, background .2s, transform .2s;
}
.bookmark-remove:hover { color: #b91c1c; background: rgba(220, 38, 38, .08); transform: rotate(5deg); }

.bookmark-empty {
	min-height: 340px;
	display: grid;
	place-items: center;
	align-content: center;
	padding: 34px;
	text-align: center;
}
.bookmark-empty-icon {
	width: 74px;
	height: 74px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 24px;
	background: var(--accent-soft);
	color: var(--turbo-accent);
	font-size: 2rem;
	box-shadow: inset 0 0 0 1px var(--accent-ring);
}
.bookmark-empty strong { font-family: var(--display); font-size: 1.15rem; }
.bookmark-empty p { max-width: 29ch; margin: 7px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.bookmark-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 58px;
	padding: 12px 19px;
	border-top: 1px solid var(--line);
	background: color-mix(in srgb, var(--surface-2) 54%, transparent);
}
.bookmark-footer > span { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: 10.5px; }
.bookmark-footer > span .turbo-icon { color: #15803d; }
.bookmark-clear {
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: .72rem;
	font-weight: 800;
	cursor: pointer;
}
.bookmark-clear:hover { color: #b91c1c; }

.bk-count {
	top: 1px;
	right: 1px;
	box-shadow: 0 0 0 2px var(--surface);
}

body.has-bookmark-modal { overflow: hidden; }

@media (max-width: 600px) {
	.bookmark-backdrop { background: rgba(5, 10, 20, .6); }
	.bookmark-panel {
		inset: 10px;
		width: auto;
		border-radius: 24px;
		transform: translateY(24px) scale(.985);
		transform-origin: center bottom;
	}
	.bookmark-panel.is-open { transform: none; }
	.bookmark-head { grid-template-columns: 44px minmax(0, 1fr) 40px; gap: 11px; padding: 17px 16px 15px; }
	.bookmark-heading-icon { width: 44px; height: 44px; border-radius: 14px; }
	.bookmark-heading strong { font-size: 1.18rem; }
	.bookmark-list { padding: 12px; }
	.bookmark-item { grid-template-columns: 38px minmax(0, 1fr) 32px; gap: 10px; padding: 11px; }
	.bookmark-number { width: 38px; height: 38px; }
	.bookmark-card-link strong { font-size: .91rem; }
	.bookmark-footer { min-height: 54px; padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.bookmark-panel,
	.bookmark-backdrop { transition: none; }
}

/* --------------------------------------------------------------------------
   Hero editorial — mosaico de manchetes inspirado em portais de tecnologia.
   -------------------------------------------------------------------------- */
.hero-magazine--mosaic {
	padding: 0 0 24px;
}

.hero-magazine--mosaic::before {
	display: none;
}

.hero-magazine--mosaic > .container {
	width: 100%;
	max-width: none;
}

.hero-grid--mosaic {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4px;
	height: clamp(480px, 35vw, 590px);
	min-height: 0;
	overflow: hidden;
	border-radius: 0;
	background: var(--ink);
	box-shadow: 0 26px 58px -42px rgba(6, 13, 29, .72);
	transition: grid-template-columns .48s var(--ease);
}

.hero-grid--mosaic .hero-main,
.hero-grid--mosaic .hero-stack,
.hero-grid--mosaic .card-overlay { min-width: 0; min-height: 0; }

.hero-grid--mosaic .hero-main,
.hero-grid--mosaic .hero-main .card-overlay,
.hero-grid--mosaic .hero-stack .card-overlay { height: 100%; }

.hero-grid--mosaic .hero-stack {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr;
	gap: 4px;
	transition: grid-template-columns .48s var(--ease);
}

.hero-grid--mosaic .card-overlay {
	border-radius: 0;
	box-shadow: none;
}

.hero-grid--mosaic .card-overlay::after {
	border-radius: 0;
	border-color: rgba(255, 255, 255, .1);
}

.hero-grid--mosaic .card-overlay .entry-thumb,
.hero-grid--mosaic .card-overlay.is-large .entry-thumb {
	height: 100%;
	min-height: 0;
	transition: filter .38s ease;
}

.hero-grid--mosaic .overlay-body {
	padding: clamp(24px, 2.3vw, 38px);
	background: linear-gradient(to top, rgba(3, 8, 16, .97) 0%, rgba(3, 8, 16, .72) 38%, rgba(3, 8, 16, .17) 72%, transparent 100%);
}

.hero-grid--mosaic .is-large .overlay-body { padding: clamp(30px, 3vw, 52px); }

.hero-grid--mosaic .is-large .entry-title {
	max-width: 18ch;
	font-size: clamp(2.15rem, 3.55vw, 4.25rem);
	line-height: 1.01;
}

.hero-grid--mosaic .is-secondary .entry-title {
	margin-top: 10px;
	font-size: clamp(1.2rem, 1.6vw, 1.72rem);
	line-height: 1.12;
}

.hero-grid--mosaic .is-secondary .entry-meta { display: none; }
.hero-grid--mosaic .bookmark-btn { top: 16px; right: 16px; backdrop-filter: blur(8px); }

.hero-grid--mosaic .overlay-body > * {
	transition: transform .4s var(--ease), opacity .35s ease;
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
	.hero-grid--mosaic:has(.hero-main .card-overlay:hover) {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	}

	.hero-grid--mosaic:has(.hero-stack .card-overlay:hover) {
		grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	}

	.hero-grid--mosaic .hero-stack:has(.card-overlay:first-child:hover) {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	}

	.hero-grid--mosaic .hero-stack:has(.card-overlay:last-child:hover) {
		grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	}

	.hero-grid--mosaic:has(.card-overlay:hover) .card-overlay:not(:hover) .entry-thumb {
		filter: brightness(.7) saturate(.78);
	}

	.hero-grid--mosaic .card-overlay:hover img,
	.hero-grid--mosaic .card-overlay:hover .thumb-fallback {
		transform: scale(1.1);
	}

	.hero-grid--mosaic .card-overlay:hover .overlay-body > * {
		transform: translateY(-7px);
	}

	.hero-grid--mosaic .card-overlay:hover::after {
		border-color: rgba(255, 255, 255, .28);
		box-shadow: inset 0 -4px 0 var(--turbo-accent);
	}
}

@media (max-width: 1100px) {
	.hero-grid--mosaic {
		grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
		height: 560px;
	}
	.hero-grid--mosaic .hero-stack {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}
	.hero-grid--mosaic .is-secondary .entry-title { font-size: clamp(1.05rem, 2vw, 1.38rem); }
}

@media (max-width: 820px) {
	.hero-magazine--mosaic { padding-top: 12px; }
	.hero-grid--mosaic {
		grid-template-columns: 1fr;
		grid-template-rows: 430px 250px;
		height: auto;
	}
	.hero-grid--mosaic .hero-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 250px;
	}
	.hero-grid--mosaic .is-large .entry-title { font-size: clamp(2rem, 8vw, 3.2rem); }
	.hero-grid--mosaic .is-large .entry-excerpt { display: none; }
}

@media (max-width: 560px) {
	.hero-magazine--mosaic > .container { width: 100%; }
	.hero-grid--mosaic {
		display: block;
		overflow: visible;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
	.hero-grid--mosaic .hero-main { height: 400px; }
	.hero-grid--mosaic .hero-main .card-overlay { border-radius: 0; }
	.hero-grid--mosaic .hero-stack {
		display: flex;
		gap: 12px;
		height: 238px;
		margin-top: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.hero-grid--mosaic .hero-stack::-webkit-scrollbar { display: none; }
	.hero-grid--mosaic .hero-stack .card-overlay {
		flex: 0 0 84%;
		border-radius: 18px;
		scroll-snap-align: start;
	}
	.hero-grid--mosaic .is-large .overlay-body { padding: 27px 22px 24px; }
	.hero-grid--mosaic .is-large .entry-title { font-size: clamp(1.85rem, 9vw, 2.65rem); }
	.hero-grid--mosaic .is-secondary .entry-title { font-size: 1.18rem; }
}

/* ---------------------------------------------------------------------------
   Placeholder de post sem imagem destacada.
   Herda a cor da editoria (--ph) e monta profundidade em camadas: brilho no
   canto superior, sombra na diagonal oposta, textura fina e vinheta interna.
   Tudo em unidades relativas, então funciona do thumb de 72px ao hero de 683px.
   --------------------------------------------------------------------------- */
.thumb-fallback {
	--ph: var(--turbo-accent);
	position: relative;
	background-color: var(--ph);
	background-image:
		radial-gradient(115% 85% at 14% 6%, rgba(255, 255, 255, .34), transparent 58%),
		radial-gradient(95% 78% at 88% 96%, rgba(2, 6, 16, .55), transparent 60%),
		repeating-linear-gradient(var(--ph-turn, 135deg), rgba(255, 255, 255, .05) 0 2px, transparent 2px 10px),
		linear-gradient(var(--ph-turn, 135deg),
			color-mix(in srgb, var(--ph) 92%, #fff) 0%,
			color-mix(in srgb, var(--ph) 58%, #04070e) 100%);
}

/* Anel interno claro + vinheta na base: dá volume e ajuda o texto sobreposto. */
.thumb-fallback::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .1),
		inset 0 -80px 100px -70px rgba(0, 0, 0, .55);
}

/* Nos cards overlay o fallback é posicionado em absoluto pela regra do card;
   a vinheta ficaria dobrada com o gradiente do texto, então sai. */
.card-overlay .thumb-fallback::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* Miniaturas pequenas não têm área para a textura: só o gradiente base. */
.ratio-sq .thumb-fallback,
.live-hit .thumb-fallback { background-image: none; }

/* ===========================================================================
   Refino editorial do hero e do feed.
   Baseado em CSS de produção de Tecnoblog (proporção 45/31/24, gap zero,
   gradiente a partir de 42%, três níveis de manchete), The Verge (camadas de
   grain em tiles primos entre si) e Casper/Ghost (line-height abaixo de 1).
   =========================================================================== */

/* --- 1. Proporção: 50/50 é a divisão mais fraca possível; nenhuma
       referência usa. Manchete dominante + secundários empilhados. --- */
.hero-grid--mosaic {
	grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	height: clamp(500px, 38vw, 640px);
	gap: 3px;
	border-bottom: 4px solid var(--turbo-accent);
}

.hero-grid--mosaic .hero-stack {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3px;
	transition: grid-template-rows .48s var(--ease);
}

/* --- 2. Escala tipográfica em três níveis, com sombra para o título
       continuar legível sobre qualquer foto. --- */
.hero-grid--mosaic .is-large .entry-title {
	font-size: clamp(2.3rem, 3.8vw, 3.6rem);
	line-height: 1.02;
	letter-spacing: -.042em;
	max-width: 15ch;
	text-wrap: balance;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 20px rgba(0, 0, 0, .3);
}

.hero-grid--mosaic .is-secondary .entry-title {
	font-size: clamp(1.1rem, 1.45vw, 1.4rem);
	line-height: 1.18;
	letter-spacing: -.026em;
	text-wrap: balance;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

.hero-grid--mosaic .is-large .entry-excerpt {
	max-width: 46ch;
	text-wrap: pretty;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

/* --- 3. Camadas sobre a imagem: brilho diagonal, grain em tiles de
       120/160/200px (primos entre si, então o padrão nunca se alinha e lê
       como ruído orgânico) e vinheta de canto. Vale para foto e placeholder. --- */
.card-overlay .entry-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background-image:
		linear-gradient(105deg, rgba(255, 255, 255, .05), transparent 55%),
		linear-gradient(118deg, rgba(255, 255, 255, .045) .5px, transparent .5px),
		linear-gradient(242deg, rgba(255, 255, 255, .03) .5px, transparent .5px),
		linear-gradient(14deg, rgba(255, 255, 255, .02) .5px, transparent .5px),
		radial-gradient(120% 90% at 85% 8%, rgba(255, 255, 255, .06), transparent 60%);
	background-size: auto, 120px 120px, 160px 160px, 200px 200px, auto;
}

.hero-grid--mosaic .card-overlay::after {
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .05),
		inset 0 0 130px 24px rgba(0, 0, 0, .28);
}

/* O hover do stack passa a expandir na vertical, já que agora ele empilha. */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
	.hero-grid--mosaic .hero-stack:has(.card-overlay:first-child:hover) {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 1.14fr) minmax(0, .86fr);
	}

	.hero-grid--mosaic .hero-stack:has(.card-overlay:last-child:hover) {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, .86fr) minmax(0, 1.14fr);
	}

	.hero-grid--mosaic:has(.hero-main .card-overlay:hover) {
		grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
	}

	.hero-grid--mosaic:has(.hero-stack .card-overlay:hover) {
		grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
	}
}

/* --- 4. Acabamento dos cards do feed: sombra tingida pela editoria,
       anel interno na imagem e sublinhado que cresce no hover. --- */
.card-post { --cat: var(--turbo-accent); }

.card-post:hover {
	border-color: color-mix(in srgb, var(--cat) 34%, var(--line-strong));
	box-shadow:
		0 1px 2px rgba(16, 22, 34, .05),
		0 20px 38px -18px color-mix(in srgb, var(--cat) 45%, transparent),
		0 6px 14px -8px rgba(16, 22, 34, .14);
}

.card-post .card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .16),
		inset 0 -56px 56px -56px rgba(0, 0, 0, .4);
}

/* Sublinhado por background em vez de text-decoration: anima a largura. */
.card-post .entry-title a {
	background-image: linear-gradient(transparent calc(100% - 1.5px), currentColor);
	background-repeat: no-repeat;
	background-size: 0 100%;
	transition: background-size .38s var(--ease), color .2s;
}

.card-post:hover .entry-title a { background-size: 100% 100%; }

.card-post .turbo-badge {
	box-shadow: 0 2px 8px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .2);
}

@media (prefers-reduced-motion: reduce) {
	.card-post .entry-title a { transition: none; }
	.hero-grid--mosaic,
	.hero-grid--mosaic .hero-stack { transition: none; }
}

/* ===========================================================================
   Capa imersiva do artigo: quando o post tem imagem destacada, ela vira a
   abertura em tela larga com o título sobreposto — mesma linguagem visual
   do mosaico da home (gradiente multi-parada + grain + moldura interna).
   =========================================================================== */
.single-hero--cover {
	display: flex;
	align-items: flex-end;
	min-height: clamp(500px, 62vh, 680px);
	padding: 0 0 clamp(30px, 4vw, 52px);
	border-bottom: 0;
	background: var(--ink);
}

/* O círculo decorativo e os gradientes do hero de texto não fazem sentido
   sobre foto. */
.single-hero--cover::after { content: none; }

.cover-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.cover-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Legibilidade: escurece de baixo para cima em quatro paradas + grain fino
   nos mesmos tiles primos (120/160/200) usados no hero da home. */
.cover-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to top,
			rgba(4, 8, 16, .96) 0%,
			rgba(4, 9, 18, .78) 26%,
			rgba(4, 10, 23, .38) 55%,
			rgba(4, 10, 23, .12) 78%,
			transparent 100%),
		linear-gradient(118deg, rgba(255, 255, 255, .04) .5px, transparent .5px),
		linear-gradient(242deg, rgba(255, 255, 255, .03) .5px, transparent .5px),
		radial-gradient(120% 90% at 85% 8%, rgba(255, 255, 255, .05), transparent 60%);
	background-size: auto, 120px 120px, 160px 160px, auto;
}

.single-hero--cover > .container {
	position: relative;
	z-index: 1;
}

.single-hero--cover .turbo-breadcrumbs ol,
.single-hero--cover .turbo-breadcrumbs a {
	color: rgba(255, 255, 255, .72);
}

.single-hero--cover .entry-title {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 24px rgba(0, 0, 0, .35);
}

.single-hero--cover .entry-subtitle {
	color: rgba(255, 255, 255, .85);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.single-hero--cover .single-meta-row {
	border-top-color: rgba(255, 255, 255, .22);
}

.single-hero--cover .single-meta-row .entry-meta,
.single-hero--cover .single-meta-row .entry-meta a,
.single-hero--cover .single-meta-row .meta-author {
	color: rgba(255, 255, 255, .88);
}

.single-hero--cover .single-meta-row .avatar {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.single-hero--cover .single-tools .bookmark-btn {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
	backdrop-filter: blur(8px);
}

.single-hero--cover .single-tools .bookmark-btn:hover {
	background: rgba(255, 255, 255, .22);
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

/* Sem a imagem repetida na coluna, o corpo começa direto: um pouco mais de
   respiro entre a capa e a barra de compartilhar. */
.has-cover > .container.layout-with-sidebar { padding-top: 38px; }

/* Letra capitular no primeiro parágrafo — assinatura editorial imediata. */
.entry-content > p:first-child::first-letter {
	float: left;
	padding: .04em .14em 0 0;
	font-family: var(--display);
	font-size: 3.2em;
	font-weight: 800;
	line-height: .82;
	color: var(--turbo-accent);
}

@media (max-width: 820px) {
	.single-hero--cover {
		min-height: clamp(400px, 68vh, 540px);
		padding-bottom: 24px;
	}

	.entry-content > p:first-child::first-letter { font-size: 2.7em; }
}

/* ===========================================================================
   Artigo editorial 2026 — abertura limpa, mídia ampla e sidebar desde o topo.
   =========================================================================== */
.single-article {
	--article-measure: 720px;
	background: var(--surface);
}

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) 330px;
	align-items: start;
	justify-content: center;
	gap: 32px;
	padding-top: 24px;
}

.single-layout--wide {
	display: block;
	width: min(960px, calc(100% - 32px));
}

.single-layout .content-col { min-width: 0; }

.single-layout .single-hero {
	position: relative;
	overflow: visible;
	padding: 0 0 18px;
	border: 0;
	background: transparent;
}

.single-layout .single-hero::after { content: none; }

.single-layout .single-hero .turbo-breadcrumbs ol {
	margin-bottom: 20px;
	font-size: .72rem;
	white-space: normal;
}

.single-layout .single-hero > .turbo-badge-link,
.single-layout .single-hero > .turbo-badge { display: inline-flex; margin-bottom: 10px; }

.single-layout .single-hero .entry-title {
	max-width: 22ch;
	margin: 0 0 11px;
	font-size: clamp(2.3rem, 3.65vw, 3.35rem);
	line-height: 1.045;
	letter-spacing: -.052em;
	text-wrap: balance;
}

.single-layout .entry-subtitle {
	max-width: 68ch;
	margin: 0 0 17px;
	font-size: clamp(1.02rem, 1.45vw, 1.2rem);
	line-height: 1.5;
	letter-spacing: -.01em;
}

.single-layout .single-meta-row {
	padding: 7px 0 0;
	border: 0;
}

.single-layout .single-meta-row .entry-meta { gap: 9px 12px; font-size: .79rem; }
.single-layout .single-meta-row .avatar { width: 30px; height: 30px; }

.article-action-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 14px;
	padding: 9px 10px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: color-mix(in srgb, var(--surface-2) 42%, var(--surface));
}

.single-article .article-action-row .share-bar {
	position: static;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.article-action-row .share-label {
	margin-right: 5px;
	padding: 0 14px 0 3px;
	border: 0;
	border-right: 1px solid var(--line);
	color: var(--text);
	font-size: .72rem;
	letter-spacing: 0;
	text-transform: none;
}

.article-action-row .share-bar a,
.article-action-row .share-bar button {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: transparent;
}

.article-action-row .share-bar a:hover,
.article-action-row .share-bar button:hover,
.article-action-row .share-bar a:focus-visible,
.article-action-row .share-bar button:focus-visible {
	transform: none;
	box-shadow: none;
}

.article-action-row .single-tools {
	padding-left: 14px;
	border-left: 1px solid var(--line);
}

.article-action-row .single-tools .bookmark-btn {
	min-height: 38px;
	padding: 8px 16px;
	border-color: transparent;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--turbo-accent);
	box-shadow: none;
}

.single-layout .single-thumb,
.single-layout .video-embed {
	margin: 0 0 12px;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.single-layout .single-thumb img {
	width: 100%;
	aspect-ratio: 16 / 7.2;
	object-fit: cover;
}

.single-layout .single-thumb--generated img { object-position: center 43%; }

.single-layout .single-thumb--fallback {
	aspect-ratio: 16 / 7.2;
	background: #03112c;
}

.single-cover-placeholder {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 12px;
	height: 100%;
	overflow: hidden;
	background:
		linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
		radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--cover-tint) 72%, #2b7cff), transparent 34%),
		linear-gradient(135deg, #020b1d, #051d4a 58%, #020918);
	background-size: 38px 38px, 38px 38px, auto, auto;
	color: #fff;
}

.single-cover-placeholder::before,
.single-cover-placeholder::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 290px;
	height: 290px;
	border: 1px solid rgba(123, 175, 255, .3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 38px rgba(58, 128, 255, .07), 0 0 90px rgba(40, 107, 255, .3);
	z-index: -1;
}

.single-cover-placeholder::after { width: 180px; height: 180px; box-shadow: none; }

.single-cover-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 14px;
	background: rgba(3, 15, 43, .62);
	box-shadow: 0 20px 45px rgba(0, 0, 0, .32), inset 0 0 24px rgba(76, 145, 255, .12);
	backdrop-filter: blur(8px);
	font-family: var(--display);
	font-size: clamp(1.4rem, 3vw, 2.3rem);
	letter-spacing: .08em;
}

.single-cover-chip .turbo-icon { color: #69a2ff; }
.single-cover-caption { color: rgba(255, 255, 255, .72); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.single-cover-orbit { position: absolute; inset: 13%; border: 1px dashed rgba(128, 177, 255, .2); border-radius: 50%; }

.single-layout .turbo-toc {
	width: 100%;
	margin: 0 0 25px;
	padding: 18px 22px 19px;
	border: 0;
	border-radius: var(--r-lg);
	background:
		radial-gradient(440px 190px at 88% 0, rgba(28, 102, 255, .28), transparent 70%),
		linear-gradient(135deg, #04142f, #062760);
	box-shadow: 0 18px 34px -26px #031331;
	color: #fff;
}

.single-layout .turbo-toc::before {
	inset: auto 0 0;
	width: auto;
	height: 3px;
	background: linear-gradient(90deg, #2f7cff, #64a3ff, transparent 82%);
}

.single-layout .toc-toggle { color: #fff; font-size: .92rem; }
.single-layout .toc-toggle::after { background: rgba(255, 255, 255, .12); color: #fff; }

.single-layout .turbo-toc ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	row-gap: 2px;
	margin-top: 11px;
	padding-top: 11px;
	border-top-color: rgba(255, 255, 255, .13);
}

.single-layout .turbo-toc ol li { padding: 4px 0; font-size: .78rem; }
.single-layout .turbo-toc ol li::before { color: #75a9ff; }
.single-layout .turbo-toc a { color: rgba(255, 255, 255, .9); }
.single-layout .turbo-toc a:hover { color: #fff; }
.single-layout .turbo-toc .toc-h3 { margin-left: 0; }

.single-layout .entry-content {
	font-size: 1.08rem;
	line-height: 1.72;
}

.single-layout .entry-content > p:first-child,
.single-layout .entry-content > .has-lead:first-child {
	margin-bottom: 1.25em;
	font-size: 1em;
	font-weight: 400;
	line-height: inherit;
	letter-spacing: inherit;
	color: var(--text);
}

.single-layout .entry-content > p:first-child::first-letter {
	float: none;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.single-layout .entry-content :is(h2, h3) {
	margin: 1.65em 0 .48em;
	font-size: clamp(1.35rem, 2vw, 1.62rem);
	line-height: 1.18;
}

/* Numeracao das secoes removida a pedido: titulos limpos, sem prefixo. */
.single-layout .entry-content :is(h2, h3)::before { content: none; }

.single-layout .entry-content blockquote {
	margin: 1.55em 0;
	padding: 20px 23px 20px 60px;
	border: 1px solid color-mix(in srgb, var(--turbo-accent) 16%, var(--line));
	border-left: 4px solid var(--turbo-accent);
	border-radius: 10px;
	background: color-mix(in srgb, var(--turbo-accent) 7%, var(--surface));
	box-shadow: none;
	font-size: 1.02em;
}

.single-layout .entry-content blockquote::before { left: 18px; top: 13px; font-size: 3rem; }

.single-layout .site-sidebar {
	position: sticky;
	top: calc(var(--header) + 18px);
	gap: 16px;
	padding-top: 2px;
}

.single-layout .site-sidebar .widget {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.single-layout .site-sidebar .widget-title {
	margin-bottom: 14px;
	font-size: .92rem;
	letter-spacing: .01em;
	text-transform: none;
}

.single-layout .author-box { margin-block: 28px; padding: 20px 22px; }
.single-layout .related-posts { margin-top: 38px; }
.single-layout .related-posts .block-heading { font-size: 1.15rem; }
.single-layout .comments-area { margin-top: 44px; padding-top: 34px; }

@media (max-width: 1100px) {
	.single-layout {
		grid-template-columns: minmax(0, 820px);
		gap: 32px;
	}
	.single-layout .site-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}
}

@media (max-width: 720px) {
	.single-layout { width: min(100% - 24px, 820px); padding-top: 18px; }
	.single-layout .single-hero .turbo-breadcrumbs li:last-child { display: none; }
	.single-layout .single-hero .entry-title { font-size: clamp(2.15rem, 11vw, 3.05rem); }
	.single-layout .entry-subtitle { font-size: 1.03rem; }
	.article-action-row { align-items: stretch; flex-direction: column; }
	.single-article .article-action-row .share-bar { width: 100%; flex-wrap: nowrap; justify-content: center; overflow: visible; }
	.article-action-row .share-label { display: none; }
	.article-action-row .single-tools { padding: 9px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.article-action-row .single-tools .bookmark-btn { width: 100%; justify-content: center; }
	.single-layout .single-thumb img { aspect-ratio: 16 / 9; }
	.single-layout .turbo-toc ol { grid-template-columns: 1fr; }
	.single-layout .entry-content { font-size: 1.04rem; line-height: 1.72; }
	.single-layout .site-sidebar { grid-template-columns: 1fr; }
}


/* Ferramentas de leitura (A- / A+) junto ao Salvar, no grupo da direita. */
.article-action-row .single-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.reading-tools {
	display: flex;
	align-items: center;
	gap: 2px;
}

.reading-tools button {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	font-family: var(--display);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: -.02em;
	transition: background .2s, color .2s;
}

.reading-tools .font-plus { font-size: 14.5px; }

.reading-tools button:hover {
	background: var(--accent-soft);
	color: var(--turbo-accent);
}


/* Hover da moldura de acoes: uma unica definicao explicita, em vez da soma
   do design antigo do pill com os vetos do redesign — qualquer resto de
   transform/sombra herdado morre aqui. */
.article-action-row .share-bar a,
.article-action-row .share-bar button {
	transition: background .18s ease, color .18s ease;
	transform: none;
}

.article-action-row .share-bar a:hover,
.article-action-row .share-bar a:focus-visible,
.article-action-row .share-bar button:hover,
.article-action-row .share-bar button:focus-visible {
	color: #fff;
	background: var(--net, var(--turbo-accent));
	transform: none;
	box-shadow: none;
}

.article-action-row .single-tools .bookmark-btn:hover {
	border-color: transparent;
	background: var(--turbo-accent);
	color: #fff;
}


/* Posts relacionados: 4 em uma fileira, com cards compactos (e um bloco de
   apoio no fim da leitura, nao a atracao principal da pagina). */
.related-posts .grid-4 { gap: 14px; }

.related-posts .card-grid .card-body { padding: 12px 13px 14px; }

.related-posts .card-grid .entry-title {
	font-size: .95rem;
	line-height: 1.28;
	margin: 8px 0 0;
}

.related-posts .card-grid .entry-meta {
	padding-top: 9px;
	font-size: .72rem;
}

@media (max-width: 1100px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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