/*
Theme Name: Princolor Blog
Theme URI: https://princolor.com.br/blog/
Author: Gráfica Princolor
Author URI: https://princolor.com.br/
Description: Tema do blog da Princolor. Mantém o cabeçalho, o rodapé, as cores (amarelo, magenta, ciano e preto) e a tipografia do site institucional.
Version: 1.0.12
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: princolor-blog
Tags: blog, custom-colors, editor-style, translation-ready, wide-blocks
*/

/* ==========================================================================
   1. Identidade (mesmos tokens do site institucional)
   ========================================================================== */
::selection { background-color: #ffeb2b; color: #d10a77; }

:root {
	--ink: #000;
	--ink-soft: #202020;
	--paper: #f6f4ed;
	--paper-deep: #eeece4;
	--white: #fff;
	--yellow: #ffeb2b;
	--magenta: #d10a77;
	--red: #d10a77;
	--cyan: #0099d6;
	--muted: #a9aaa2;
	--copy: #555750;
	--line: rgba(17, 17, 16, .12);
	--max: 1220px;
	--ease: cubic-bezier(.2, .75, .2, 1);
	--cmyk: linear-gradient(90deg, var(--yellow) 0 34%, var(--magenta) 34% 67%, var(--cyan) 67%);
	--gutter: max(7vw, calc((100vw - var(--max)) / 2));
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: clip; }
body {
	margin: 0; max-width: 100%; overflow-x: clip;
	background: var(--paper); color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; }

.section-pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.symbol-asterisk { font-size: 1.3em; font-family: Arial, sans-serif; font-weight: 100; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200; padding: 12px 16px;
	background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

.js .reveal { opacity: 0; transform: translateY(19px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   3. Cabeçalho (igual ao do site)
   ========================================================================== */
.site-header {
	height: 82px; padding: 0 max(5vw, calc((100vw - var(--max)) / 2));
	display: flex; align-items: center; justify-content: space-between;
	background: var(--paper); position: sticky; top: 0; z-index: 100;
	border-bottom: 3px solid transparent; border-image: var(--cmyk) 1;
}
body.admin-bar .site-header { top: 32px; }
.brand img { width: 174px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; color: #34342f; font-size: 11px; font-weight: 650; }
.main-nav > a:not(.nav-cta) { transition: color .2s; }
.main-nav > a:not(.nav-cta):hover { color: var(--magenta); }
.main-nav > a.is-active:not(.nav-cta) {
	color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--magenta);
	text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.nav-cta {
	padding: 12px 15px; background: var(--yellow); border: 1px solid var(--yellow); color: var(--ink);
	transition: background .2s, color .2s, border-color .2s;
}
.nav-cta:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.nav-cta span { margin-left: 9px; }
.nav-cta--mobile, .menu-toggle { display: none; }

@media (max-width: 1100px) and (min-width: 851px) {
	.main-nav { gap: 22px; }
}
@media (max-width: 850px) {
	html { scroll-padding-top: 70px; }
	.site-header { height: 70px; padding: 0 16px; justify-content: flex-start; gap: 10px; }
	.brand { margin-right: auto; }
	.brand img { width: clamp(130px, 26vw, 165px); }
	.menu-toggle {
		display: flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center;
		gap: 6px; background: none; border: 1px solid rgba(17, 17, 16, .25); cursor: pointer;
	}
	.menu-toggle span { width: 16px; height: 1px; background: var(--ink); transition: transform .2s; }
	.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
	.nav-cta--mobile { display: inline-flex; align-items: center; white-space: nowrap; padding: 10px 12px; font-size: 10px; order: 1; }
	.site-header .search-toggle--nav { display: none; }
	.site-header .search-toggle--bar { display: grid; order: 2; width: 42px; height: 42px; }
	.menu-toggle { order: 3; }
	.search-panel { padding: 24px 22px 28px; }
	.main-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
		padding: 15px 22px 22px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line);
	}
	.main-nav.is-open { display: flex; }
	.main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(17, 17, 16, .08); }
	.main-nav .nav-cta { display: none; }
	body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 480px) {
	.nav-cta--mobile { display: none; }
	.main-nav .nav-cta { display: inline-flex; justify-content: center; margin-top: 12px; padding: 13px 15px; text-align: center; }
}
@media (max-width: 380px) {
	.site-header { padding: 0 12px; gap: 8px; }
	.menu-toggle, .site-header .search-toggle--bar { width: 38px; height: 38px; flex: none; }
}

/* Lupa de busca + painel (sempre visível, também no celular) */
.search-toggle {
	flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
	background: transparent; border: 1px solid rgba(17, 17, 16, .25); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--yellow); border-color: var(--yellow); }
.search-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-toggle--bar { display: none; }
.search-toggle__close { display: none; }
.search-toggle[aria-expanded="true"] .search-toggle__open { display: none; }
.search-toggle[aria-expanded="true"] .search-toggle__close { display: block; }
.search-panel {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 99; background: var(--ink); color: var(--white);
	padding: 34px var(--gutter) 40px; border-bottom: 3px solid transparent; border-image: var(--cmyk) 1;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .25); animation: panel-in .28s var(--ease);
}
.search-panel[hidden] { display: none; }
.search-panel__inner { max-width: 760px; margin: 0 auto; }
.search-panel .eyebrow { margin-bottom: 8px; }
.search-panel .search-form { max-width: none; margin-top: 0; }
.search-panel .search-form__field { height: 60px; font-size: clamp(20px, 3vw, 30px); letter-spacing: -.04em; font-weight: 650; }
.search-panel .search-form__submit { width: 60px; height: 60px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   4. Componentes compartilhados
   ========================================================================== */
.eyebrow { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #aaa99f; margin: 0 0 21px; font-weight: 750; }
.eyebrow--dark { color: #777870; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 0 5px rgba(255, 231, 0, .16); }
.section-index { font-size: 10px; color: var(--magenta); font-weight: 850; }
.section-label { display: flex; align-items: center; gap: 12px; color: #777870; font-size: 8px; letter-spacing: .15em; font-weight: 750; }

.button {
	min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; padding: 0 19px;
	font-size: 10px; font-weight: 760; border: 1px solid transparent; cursor: pointer;
	transition: transform .25s var(--ease), background .25s, color .25s;
}
.button:hover { transform: translateY(-3px); }
.button--yellow { background: var(--yellow); color: var(--ink); }
.button--yellow:hover { background: var(--magenta); color: #fff; }
.button--ink { background: var(--ink); color: #fff; }
.button--ink span { color: var(--yellow); }
.button--ink:hover { background: var(--magenta); color: #fff; }
.button--ink:hover span { color: #fff; }
.text-link { font-size: 10px; font-weight: 650; }
.text-link span { margin-left: 10px; color: var(--cyan); }
.text-link--dark { color: var(--ink); padding-bottom: 7px; }

/* ==========================================================================
   5. Abertura escura (blog, arquivos, busca, 404)
   ========================================================================== */
.blog-hero {
	position: relative; overflow: hidden; background: var(--ink); color: var(--white);
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px;
	padding: 92px var(--gutter) 96px; min-height: 460px;
}
.blog-hero::after {
	content: ""; position: absolute; width: 700px; height: 700px; right: -290px; top: -300px;
	border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; pointer-events: none;
}
.blog-hero--plain { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 80px; padding-bottom: 80px; }
.blog-hero__copy { position: relative; z-index: 4; max-width: 640px; }
.blog-hero h1 { font-size: clamp(46px, 6.3vw, 84px); line-height: .98; letter-spacing: -.075em; font-weight: 760; }
.blog-hero h1 em { font-style: normal; color: var(--yellow); }
.blog-hero__text { color: #c3c3bc; font-size: 14px; line-height: 1.8; max-width: 470px; margin: 24px 0 0; }

.search-form { display: flex; align-items: stretch; max-width: 430px; margin-top: 30px; }
.search-form__field {
	flex: 1; min-width: 0; height: 48px; padding: 0 2px; background: transparent; color: var(--white);
	border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); border-radius: 0; font-size: 14px; transition: border-color .2s;
}
.search-form__field::placeholder { color: #8d8d84; }
.search-form__field:focus { outline: 0; border-bottom-color: var(--yellow); }
.search-form__submit {
	width: 48px; height: 48px; border: 0; background: var(--yellow); color: var(--ink); font-size: 18px; cursor: pointer;
	transition: background .2s, color .2s;
}
.search-form__submit:hover { background: var(--magenta); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
	padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .28); color: #e0e0d9;
	font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover, .chip.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* composição decorativa (folhas coloridas + losango) */
.blog-hero__art { position: relative; height: 380px; z-index: 2; }
.blog-hero__art .print-sheet { position: absolute; box-shadow: 0 26px 45px rgba(0, 0, 0, .2); }
.print-sheet--yellow { background: var(--yellow); width: 62%; height: 72%; left: 2%; top: 4%; transform: rotate(-9deg); z-index: 1; }
.print-sheet--red { background: var(--magenta); width: 40%; height: 56%; left: 62%; top: 40%; transform: rotate(8deg); z-index: 2; }
.blog-hero__mark {
	position: absolute; z-index: 3; left: 10%; top: 12%; width: 80%; aspect-ratio: 4 / 3; display: block; overflow: hidden;
	background: var(--paper); border: 8px solid rgba(255, 255, 255, .96); transform: rotate(3deg); box-shadow: 0 35px 80px rgba(0, 0, 0, .4);
}
.blog-hero__mark img { width: 100%; height: 100%; object-fit: cover; }
.blog-hero__mark--code { left: 24%; width: 56%; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(4deg); }
.blog-hero__mark strong { font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -.08em; font-weight: 760; color: var(--ink); }
.hero-sticker {
	position: absolute; z-index: 5; left: 0; top: 60%; width: 112px; height: 112px; border-radius: 50%;
	background: var(--cyan); color: var(--ink); display: flex; align-items: center; justify-content: center;
	font-size: 13px; line-height: 1.1; letter-spacing: -.04em; text-align: left; transform: rotate(-10deg); box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
}
.hero-sticker i { font-style: normal; font-size: 22px; position: absolute; right: 10px; top: 8px; color: var(--magenta); }

/* Páginas (política, termos...): título centralizado em telas largas, como nos artigos */
.blog-hero--center::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cmyk); }
@media (min-width: 951px) {
	.blog-hero--center .blog-hero__copy { max-width: 960px; margin: 0 auto; text-align: center; }
}

/* ==========================================================================
   6. Listagem
   ========================================================================== */
.blog-main { padding-top: 84px; padding-bottom: 112px; background: var(--paper); }

.featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 96px; }
.featured__media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 14px 18px 14px 14px; }
.featured__sheet { position: absolute; inset: 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .1); }
.featured__sheet--yellow { background: var(--yellow); transform: rotate(-5deg) translate(-12px, 8px); }
.featured__sheet--magenta { background: var(--magenta); transform: rotate(4deg) translate(14px, 10px); }
.featured__frame { position: absolute; inset: 0; overflow: hidden; background: var(--ink); border: 8px solid #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .22); }
.featured__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.featured__media:hover .featured__frame img { transform: scale(1.04); filter: saturate(1.12); }
.featured__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--yellow); font: 100 90px Arial, sans-serif; }
.featured__body .eyebrow { margin-bottom: 18px; }
.featured__body .eyebrow .section-index { margin-right: 6px; }
.featured__title { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.065em; font-weight: 730; margin-bottom: 18px; }
.featured__title a { transition: color .2s; }
.featured__title a:hover { color: var(--magenta); }
.featured__excerpt { font-size: 15px; line-height: 1.8; color: #5f615a; max-width: 480px; margin: 0 0 20px; }
.featured__meta { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: #777870; font-weight: 700; margin: 0 0 26px; }

.list-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: #777870; }
.list-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.blog-card { display: flex; min-width: 0; }
.blog-card__link { display: flex; flex-direction: column; width: 100%; background: var(--white); border-top: 3px solid var(--yellow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.blog-card:nth-child(3n+2) .blog-card__link { border-top-color: var(--magenta); }
.blog-card:nth-child(3n+3) .blog-card__link { border-top-color: var(--cyan); }
.blog-card__link:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(17, 17, 16, .1); }
.blog-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.blog-card__link:hover .blog-card__media img { transform: scale(1.04); filter: saturate(1.12); }
.blog-card__media--empty { display: grid; place-items: center; color: var(--yellow); font: 100 54px Arial, sans-serif; }
.blog-card__tag { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--ink); padding: 7px 11px; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.blog-card__date { font-size: 8px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: #777870; }
.blog-card__title { font-size: 22px; line-height: 1.1; letter-spacing: -.05em; font-weight: 730; margin: 12px 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__excerpt { font-size: 12px; line-height: 1.8; color: #5f615a; margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__more { margin-top: auto; font-size: 10px; font-weight: 760; }
.blog-card__more span { margin-left: 8px; color: var(--cyan); transition: margin .25s var(--ease); }
.blog-card__link:hover .blog-card__more span { margin-left: 13px; }

.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	min-width: 46px; height: 46px; padding: 0 12px; display: inline-grid; place-items: center;
	border: 1px solid rgba(17, 17, 16, .25); font-size: 12px; font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-numbers.current { background: var(--yellow); border-color: var(--yellow); }
.page-numbers.dots { border-color: transparent; }

.empty-state { text-align: center; padding: 70px 0 30px; }
.empty-state__mark { display: block; font: 100 64px Arial, sans-serif; color: var(--magenta); margin-bottom: 14px; }
.empty-state h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -.065em; font-weight: 730; margin-bottom: 18px; }
.empty-state p { font-size: 13px; color: #5f615a; margin: 0 0 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.empty-state > .button { margin-top: 10px; }

/* ==========================================================================
   7. Artigo
   ========================================================================== */
.post-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 76px var(--gutter) 84px; }
.post-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -240px; top: -280px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; pointer-events: none; }
.post-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cmyk); }
.post-hero--image { padding-bottom: 170px; }
.post-hero__inner { position: relative; z-index: 1; max-width: 960px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: #aaa99f; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { color: var(--magenta); }
.post-hero__title { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.07em; font-weight: 740; margin: 24px 0 28px; text-wrap: balance; }
.post-meta { margin: 0; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: #b4b4aa; }
.post-meta span { color: var(--yellow); margin: 0 10px; }

.post-cover { position: relative; z-index: 2; width: min(1000px, 86vw); margin: -108px auto 0; }
.post-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 8px solid #fff; background: var(--paper-deep); box-shadow: 0 35px 80px rgba(0, 0, 0, .25); }
.post-cover figcaption { margin-top: 14px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #777870; text-align: center; }

.post-body { padding-top: 76px; padding-bottom: 72px; }

.entry-content { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.78; color: #2b2c28; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.4em; }
.single .entry-content > p:first-of-type { font-size: 21px; line-height: 1.65; color: var(--ink); }
.entry-content h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.055em; font-weight: 730; color: var(--ink); margin: 1.9em 0 .6em; }
.entry-content h3 { font-size: clamp(22px, 2.6vw, 27px); line-height: 1.15; letter-spacing: -.045em; font-weight: 730; color: var(--ink); margin: 1.7em 0 .5em; }
.entry-content h4 { font-size: 18px; letter-spacing: -.02em; font-weight: 750; color: var(--ink); margin: 1.5em 0 .4em; }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: background .2s; }
.entry-content a:hover { background: var(--yellow); }
.entry-content strong { color: var(--ink); font-weight: 750; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; padding-left: .25em; }
.entry-content li::marker { color: var(--magenta); font-weight: 750; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 3px; width: 100%; max-width: 100%; background: var(--cmyk); margin: 2.6em 0; opacity: 1; }
.entry-content code { font-size: .86em; background: var(--paper-deep); padding: .15em .4em; }
.entry-content pre { background: var(--ink); color: var(--paper); padding: 22px 24px; overflow-x: auto; font-size: 14px; line-height: 1.7; border-top: 3px solid var(--yellow); }
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-content blockquote, .entry-content .wp-block-pullquote {
	position: relative; margin: 2.2em 0; padding: 30px 32px 30px 76px; background: var(--yellow); color: var(--ink);
	font-size: 24px; line-height: 1.25; letter-spacing: -.04em; font-weight: 650; border: 0; overflow: hidden;
}
.entry-content blockquote::before { content: "✱"; position: absolute; left: 26px; top: 20px; font: 100 38px Arial, sans-serif; color: var(--magenta); }
.entry-content blockquote::after { content: ""; position: absolute; width: 150px; height: 150px; right: -70px; top: -60px; border: 1px solid rgba(17, 17, 16, .16); border-radius: 50%; }
.entry-content blockquote p { margin: 0 0 .6em; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite, .entry-content .wp-block-pullquote cite { display: block; margin-top: 16px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.entry-content .wp-block-pullquote { padding-left: 32px; text-align: center; }

.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { height: auto; }
.entry-content figcaption, .entry-content .wp-caption-text { margin-top: 12px; font-size: 10px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: #777870; text-align: left; }
.entry-content .alignwide { width: min(1000px, 86vw); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignwide img, .entry-content .alignfull img { width: 100%; }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; }
.entry-content .wp-block-column { flex: 1 1 220px; min-width: 0; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .wp-block-embed__wrapper, .entry-content .is-type-video .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid #dcd8cb; text-align: left; vertical-align: top; }
.entry-content th { background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border-color: var(--ink); }
.entry-content .wp-block-table { overflow-x: auto; }

.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.entry-content .wp-block-button__link, .entry-content .more-link {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--yellow); color: var(--ink);
	font-size: 11px; font-weight: 760; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, transform .25s var(--ease);
}
.entry-content .wp-block-button__link:hover, .entry-content .more-link:hover { background: var(--magenta); color: #fff; transform: translateY(-3px); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--ink); }
.entry-content .page-links, .page-links { font-size: 13px; display: flex; gap: 10px; align-items: center; }

.post-footer { max-width: 720px; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.tag-list a { display: block; padding: 7px 11px; background: var(--paper-deep); font-size: 11px; font-weight: 700; transition: background .2s; }
.tag-list a:hover { background: var(--yellow); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share__label { margin-right: 6px; font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: #777870; }
.share a, .share button {
	padding: 11px 14px; border: 1px solid rgba(17, 17, 16, .35); background: transparent; color: var(--ink);
	font-size: 10px; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.share a span { margin-left: 6px; color: var(--cyan); }
.share a:hover, .share button:hover { background: var(--yellow); border-color: var(--yellow); }
.share button.is-copied { background: var(--ink); border-color: var(--ink); color: var(--yellow); }

.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; background: var(--white); border-top: 3px solid var(--cyan); }
.author-box__avatar { border-radius: 50%; flex: none; }
.author-box__label { display: block; font-size: 8px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: #777870; margin-bottom: 4px; }
.author-box strong { font-size: 16px; letter-spacing: -.02em; }
.author-box p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: #5f615a; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 0; padding-bottom: 84px; }
.post-nav__item { display: block; padding: 22px 24px; border: 1px solid rgba(17, 17, 16, .18); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.post-nav__item:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-3px); }
.post-nav__item--next { grid-column: 2; text-align: right; }
.post-nav__item span { font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; color: #777870; }
.post-nav__item:hover span { color: var(--ink); }
.post-nav__item strong { display: block; margin-top: 10px; font-size: 20px; line-height: 1.15; letter-spacing: -.04em; font-weight: 730; }

.related { background: var(--paper-deep); padding-top: 96px; padding-bottom: 112px; }
.related__heading { margin-bottom: 40px; }
.related__heading .section-label { margin-bottom: 20px; }
.related__heading h2 { font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -.07em; font-weight: 730; }
.related__heading h2 em { font-style: normal; color: #8b8c83; }

/* Caixa de cotação no final do artigo */
.post-cta {
	position: relative; overflow: hidden; max-width: 720px; margin: 56px auto 0; padding: 44px 44px 46px;
	background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 28px;
	border-top: 3px solid transparent; border-image: var(--cmyk) 1;
}
.post-cta__ring { position: absolute; width: 360px; height: 360px; right: -120px; top: -150px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; pointer-events: none; }
.post-cta__copy { position: relative; z-index: 1; max-width: 430px; }
.post-cta .eyebrow { margin-bottom: 16px; }
.post-cta h2 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1; letter-spacing: -.07em; font-weight: 740; color: #fff; margin: 0; }
.post-cta h2 em { font-style: normal; color: var(--yellow); }
.post-cta__text { font-size: 13px; line-height: 1.8; color: #b8b8b0; margin: 18px 0 24px; }
.post-cta__mark { position: relative; z-index: 1; width: 92px; height: 92px; flex: none; object-fit: contain; transform: rotate(9deg); }
@media (max-width: 650px) {
	.post-cta { padding: 32px 24px 34px; display: block; }
	.post-cta__mark { position: absolute; right: 20px; top: 24px; width: 54px; height: 54px; }
	.post-cta .button { width: 100%; }
}

/* Cabeçalho do artigo centralizado em telas largas */
@media (min-width: 951px) {
	.post-hero__inner { margin: 0 auto; text-align: center; }
	.crumbs { justify-content: center; }
	.post-hero__title { margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   8. Páginas e comentários
   ========================================================================== */
.entry { max-width: 100%; }
.comments-wrap { padding-bottom: 84px; }
.comments { max-width: 720px; margin: 0 auto; }
.comments__title { font-size: 28px; letter-spacing: -.05em; font-weight: 730; margin: 0 0 24px; }
.comment-list, .comment-list ol { list-style: none; margin: 0; padding: 0; }
.comment-list ol { margin-left: 28px; }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.comment-author { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 11px; color: #777870; margin: 4px 0 10px 56px; }
.comment-content { margin-left: 56px; }
.comment-content p { margin: 0 0 .8em; }
.reply a { font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin-left: 56px; color: var(--magenta); }
.comment-respond { margin-top: 40px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; }
.comment-form p { margin: 0 0 18px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 14px; background: var(--white); border: 1px solid rgba(17, 17, 16, .3); border-radius: 0; font-size: 15px; color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--magenta); outline-offset: 0; border-color: var(--magenta); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; }
.comment-notes { font-size: 12px; color: #777870; }
.comments__closed { font-size: 13px; color: #777870; }

/* ==========================================================================
   9. Chamada final + rodapé (iguais aos do site)
   ========================================================================== */
.contact {
	position: relative; overflow: hidden; min-height: 420px; background: var(--ink); color: var(--white);
	display: flex; align-items: center; justify-content: space-between; padding-top: 85px; padding-bottom: 85px;
}
.contact::before, .contact::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; pointer-events: none; }
.contact::before { width: 650px; height: 650px; right: -160px; top: -120px; }
.contact::after { width: 450px; height: 450px; right: -60px; top: -20px; }
.contact-content { position: relative; z-index: 1; max-width: 590px; }
.contact-content .eyebrow { margin-bottom: 18px; }
.contact h2 { font-size: clamp(51px, 6.6vw, 77px); line-height: .97; letter-spacing: -.075em; font-weight: 730; }
.contact h2 em { font-style: normal; color: var(--yellow); }
.contact-content > p:not(.eyebrow) { font-size: 11px; line-height: 1.8; color: #b8b8b0; max-width: 400px; margin: 21px 0 24px; }
.contact-mark { position: relative; z-index: 1; margin-right: 7%; display: flex; align-items: center; gap: 14px; color: #f6f4ed; font-size: 7px; line-height: 1.6; letter-spacing: .12em; }
.contact-mark img { width: 78px; height: 78px; object-fit: contain; flex: none; }

.site-footer {
	min-height: 104px; padding: 22px max(5vw, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 16px;
	background: var(--paper); color: var(--ink); border-top: 3px solid transparent; border-image: var(--cmyk) 1;
}
.footer-branding { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.brand--footer img { width: 153px; }
.footer-legal { color: #7b7b7b; font-size: 70%; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--magenta); }
.footer-copy { text-align: right; grid-column: 2; color: var(--copy); font-size: 12px; margin: 0; line-height: 20px; }

.whatsapp-float {
	position: fixed; z-index: 30; right: 26px; bottom: 25px; width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center;
	background: #20c86a; box-shadow: 0 8px 25px rgba(0, 0, 0, .22); transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ==========================================================================
   10. Responsivo
   ========================================================================== */
@media (max-width: 950px) {
	:root { --gutter: 6vw; }
	.blog-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); padding-top: 72px; padding-bottom: 76px; }
	.blog-hero__art { height: 320px; }
	.featured { grid-template-columns: 1fr; gap: 40px; margin-bottom: 72px; }
	.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer { padding-left: 6vw; padding-right: 6vw; }
	.contact-mark { margin-right: 0; }
}
/* Telas médias e menores: a composição da foto fica apertada, então some e o texto ocupa a largura toda. */
@media (max-width: 900px) {
	.blog-hero, .blog-hero--plain { display: block; min-height: 0; padding: 72px var(--gutter) 76px; }
	.blog-hero__art { display: none; }
	.blog-hero__copy { max-width: 640px; }
}
@media (max-width: 650px) {
	.blog-hero, .blog-hero--plain { display: block; min-height: 0; padding: 62px 23px 64px; }
	.blog-hero__art { display: none; }
	.blog-hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
	.blog-hero__text { font-size: 13px; }
	.blog-main { padding: 56px 23px 80px; }
	.featured { margin-bottom: 56px; }
	.featured__media { margin: 10px 12px 10px 8px; }
	.blog-grid { grid-template-columns: 1fr; gap: 12px; }
	.post-hero { padding: 56px 23px 60px; }
	.post-hero--image { padding-bottom: 110px; }
	.post-cover { width: calc(100% - 32px); margin-top: -64px; }
	.post-cover img { border-width: 6px; }
	.post-body { padding: 52px 23px 56px; }
	.entry-content { font-size: 17px; }
	.single .entry-content > p:first-of-type { font-size: 19px; }
	.entry-content blockquote { padding: 26px 22px 26px 60px; font-size: 20px; }
	.entry-content blockquote::before { left: 18px; top: 18px; font-size: 32px; }
	.entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 0 0 1.4em; }
	.post-nav { grid-template-columns: 1fr; padding-left: 23px; padding-right: 23px; }
	.post-nav__item--next { grid-column: 1; }
	.related { padding: 72px 23px 80px; }
	.comments-wrap { padding-left: 23px; padding-right: 23px; }
	.contact { min-height: 0; padding: 72px 23px 75px; }
	.contact h2 { font-size: clamp(49px, 13vw, 67px); }
	.contact-content > p:not(.eyebrow) { font-size: 10px; }
	.contact-mark { display: none; }
	.contact::before { right: -400px; top: -45px; }
	.site-footer { padding: 22px 23px; grid-template-columns: 1fr; gap: 12px; }
	.brand--footer img { width: 138px; }
	.footer-copy { grid-column: 1; text-align: left; font-size: 10px; }
	.whatsapp-float { right: 17px; bottom: 17px; width: 51px; height: 51px; }
	.whatsapp-float svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}
