/* Gazzeta: estilos do site. Base: protótipo v3. */

:root {
	--red: #d4202c;
	--red-dark: #7e0608;
	--gold: #faa820;
	--ink: #141414;
	--ink-2: #4a4a4a;
	--ink-3: #6b6b6b;
	--line: #e4e2df;
	--campo: #8a8580;
	--paper: #fff;
	--paper-2: #f5f3f0;
	--wrap: 1240px;
	--gap: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote {
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: "Aktiv", system-ui, sans-serif;
	color: var(--ink);
	background: var(--paper);
	font-size: 16px;
	line-height: 1.5;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover .t,
a.t:hover {
	color: var(--red);
}

img {
	max-width: 100%;
	height: auto;
}

.ph img,
.custom-logo,
.footer-logo {
	display: block;
}

html {
	scroll-padding-top: 80px;
}

html:has(body.admin-bar) {
	scroll-padding-top: 112px;
}

/* Foco: contorno escuro (contraste 3:1 sobre fundos claros); claro nos fundos escuros e vermelhos. */
:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

.topbar :focus-visible,
.site-footer :focus-visible,
.ed-hero :focus-visible,
.lead:focus-visible {
	outline-color: var(--gold);
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

:where(#principal section:not(.body section, .widget section)) {
	margin: 48px 0;
}

/* ---------- acessibilidade ---------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--paper);
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 12px 20px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

#conteudo:focus {
	outline: 0;
}

/* ---------- foto ---------- */
.ph {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #ece7e1, #d8d0c6);
	aspect-ratio: 16 / 9;
}

.ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ph--vazio {
	background: linear-gradient(135deg, var(--paper-2), #e4ddd4);
}

/* ---------- topo ---------- */
.topbar {
	background: var(--ink);
	color: #d8d8d8;
	font-size: 13px;
}

.topbar .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 36px;
	gap: 16px;
}

.topbar-nav ul {
	display: flex;
	gap: 20px;
	list-style: none;
}

.topbar a:hover {
	color: #fff;
}

.ad-top {
	padding: 16px 0;
	background: var(--paper-2);
}

.ad-area {
	margin: 0 auto;
	text-align: center;
}

.ad-area img,
.ad-area iframe {
	margin: 0 auto;
}

.ad-728 {
	max-width: 728px;
}

.ad-970 {
	max-width: 970px;
}

.ad-300,
.ad-600 {
	max-width: 300px;
}

.ad-label {
	display: block;
	text-align: center;
	font-size: 11px;
	color: var(--ink-3);
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.masthead .wrap {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	padding-top: 18px;
	padding-bottom: 18px;
	gap: 24px;
}

.masthead .custom-logo {
	width: 220px;
	height: auto;
}

.site-title {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--red);
}

.site-title--negativo {
	color: #fff;
	margin-bottom: 16px;
}

.masthead .actions {
	grid-column: 3;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
}

.busca {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--campo);
	border-radius: 999px;
	height: 42px;
	padding: 0 6px 0 16px;
	width: 260px;
	background: #fff;
}

.busca input {
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 14px;
	flex: 1;
	min-width: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
}

.busca:focus-within {
	border-color: var(--ink);
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

.busca button {
	border: 0;
	background: var(--red);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
}

.btn-red,
.comment-form .submit {
	background: var(--red);
	color: #fff;
}

.btn-red:hover,
.comment-form .submit:hover {
	background: #b81a25;
}

.icon-btn {
	border: 0;
	color: inherit;
	cursor: pointer;
}

.mainnav {
	background: var(--red);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 5;
}

.admin-bar .mainnav {
	top: 32px;
}

.mainnav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	min-height: 50px;
	overflow-x: auto;
	scrollbar-width: none;
}

.mainnav a {
	font-weight: 700;
	font-size: 15px;
	padding: 0 14px;
	height: 50px;
	display: flex;
	align-items: center;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
}

.mainnav a:hover,
.mainnav .current-menu-item > a,
.mainnav .current-category-ancestor > a,
.mainnav .current-post-ancestor > a {
	border-bottom-color: var(--gold);
}

.mainnav a:focus-visible {
	outline-color: #fff;
	outline-offset: -3px;
}

.ico {
	width: 18px;
	height: 18px;
	flex: none;
}

.ticker {
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.ticker .wrap {
	display: flex;
	align-items: center;
	height: 46px;
	gap: 16px;
	overflow: hidden;
}

.ticker .tag {
	background: var(--gold);
	color: #000;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 3px;
	flex: none;
}

.ticker-viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 92%, transparent);
}

.ticker-track {
	display: flex;
	width: max-content;
}

.ticker ul {
	display: flex;
	gap: 36px;
	padding-right: 36px;
	list-style: none;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 500;
}

.ticker.is-animado .ticker-track {
	animation: gazzeta-ticker var(--ticker-duracao, 40s) linear infinite;
}

.ticker.is-animado:hover .ticker-track,
.ticker.is-animado:focus-within .ticker-track,
.ticker.is-pausado .ticker-track {
	animation-play-state: paused;
}

@keyframes gazzeta-ticker {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.ticker-pause {
	order: 3;
	flex: none;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	cursor: pointer;
}

.ticker-pause__continuar,
.ticker.is-pausado .ticker-pause__pausar {
	display: none;
}

.ticker.is-pausado .ticker-pause__continuar {
	display: inline;
}

.ticker li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red);
	margin-right: 10px;
	vertical-align: middle;
}

.ticker a:hover {
	color: var(--red);
}

/* ---------- tipos ---------- */
.kicker {
	display: inline-block;
	color: var(--red);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.kicker.on-img {
	background: var(--red);
	color: #fff;
	padding: 4px 8px;
	border-radius: 2px;
}

.meta {
	font-size: 13px;
	color: var(--ink-3);
}

.t {
	font-weight: 700;
	line-height: 1.2;
	transition: color .15s;
	overflow-wrap: anywhere;
}

.sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-top: 4px solid var(--ink);
	padding-top: 12px;
	margin-bottom: 20px;
	gap: 16px;
}

.sec-head h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.01em;
}

.sec-head h2::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--red);
	margin-right: 10px;
	vertical-align: 2px;
}

.more {
	font-weight: 700;
	font-size: 14px;
	color: var(--red);
	white-space: nowrap;
}

.more:hover {
	text-decoration: underline;
}

/* ---------- home: manchete ---------- */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
	gap: var(--gap);
	margin-top: 28px;
}

.hero--solo {
	grid-template-columns: minmax(0, 1fr);
}

.lead {
	position: relative;
	display: block;
	color: #fff;
}

.lead .ph {
	aspect-ratio: auto;
	height: 100%;
	min-height: 500px;
	border-radius: 4px;
}

.lead .cap {
	position: absolute;
	inset: auto 0 0 0;
	padding: 120px 32px 30px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .85));
	border-radius: 0 0 4px 4px;
}

.lead h1 {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 12px 0 10px;
	max-width: 760px;
	overflow-wrap: anywhere;
}

.lead p {
	font-size: 17px;
	color: #e8e8e8;
	max-width: 680px;
}

.lead:hover h1 {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.hero-side {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 20px;
	align-content: start;
}

.card-h {
	display: grid;
	gap: 10px;
}

.card-h .ph {
	border-radius: 4px;
}

.card-h .t {
	font-size: 20px;
}

.hero-list {
	border-top: 1px solid var(--line);
	padding-top: 4px;
	list-style: none;
}

.hero-list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.hero-list .t {
	font-size: 16px;
}

/* ---------- grades de cartões ---------- */
.grid4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px var(--gap);
}

.grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px var(--gap);
}

.card {
	display: grid;
	gap: 10px;
	align-content: start;
}

.card .ph {
	border-radius: 4px;
}

.card .t {
	font-size: 18px;
}

.card p {
	font-size: 14px;
	color: var(--ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.row.sticky {
	border-left: 4px solid var(--gold);
	padding-left: 16px;
}

/* ---------- coluna lateral ---------- */
.with-side {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}

.side {
	display: grid;
	gap: 32px;
	position: sticky;
	top: 70px;
}

.box-title {
	font-size: 18px;
	font-weight: 800;
	border-top: 4px solid var(--red);
	padding-top: 10px;
	margin-bottom: 8px;
}

.ranking {
	list-style: none;
	counter-reset: r;
}

.ranking li {
	counter-increment: r;
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 6px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.ranking li::before {
	content: counter(r);
	font-size: 34px;
	font-weight: 800;
	color: var(--red);
	line-height: 1;
}

.ranking .t {
	font-size: 15px;
}

/* widgets do núcleo */
.widget ul,
.widget ol {
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}

.widget li a:hover,
.widget p a {
	color: var(--red);
}

.widget select,
.widget input[type="text"],
.widget input[type="search"],
.widget input[type="email"] {
	width: 100%;
	max-width: 100%;
	font: inherit;
	padding: 8px 10px;
	border: 1.5px solid var(--campo);
	border-radius: 6px;
}

.widget .wp-block-search__inside-wrapper {
	gap: 6px;
}

.widget .wp-block-search__button {
	background: var(--red);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 8px 16px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.widget table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.widget th,
.widget td {
	padding: 4px;
	text-align: center;
}

.widget .tagcloud a,
.widget .wp-block-tag-cloud a {
	display: inline-block;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px 12px;
	margin: 0 4px 6px 0;
	font-size: 13px !important;
}

.widget .wp-block-latest-posts__post-date,
.widget .post-date,
.widget .rss-date {
	display: block;
	font-size: 13px;
	color: var(--ink-3);
}

/* ---------- editorias na página inicial ---------- */
.ed-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.ed-block .top {
	display: grid;
	gap: 10px;
	margin-bottom: 6px;
}

.ed-block .top .ph {
	border-radius: 4px;
}

.ed-block .top .t {
	font-size: 22px;
}

.mini {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	align-items: start;
}

.mini .ph {
	border-radius: 3px;
	aspect-ratio: 4 / 3;
}

.mini .t {
	font-size: 15px;
}

.saj {
	background: var(--paper-2);
	padding: 40px 0;
	margin: 48px 0;
}

.saj section {
	margin: 0;
}

.saj-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--gap);
}

.saj-grid--1,
.saj-grid--2 {
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.saj-grid--1 .card:first-child,
.saj-grid--2 .card:first-child,
.saj-grid--3 .card:first-child {
	grid-row: auto;
}

.saj-grid .card:first-child .t {
	font-size: 24px;
}

.saj-grid .card:first-child {
	grid-row: span 2;
}

.saj-grid .card:first-child .ph {
	aspect-ratio: 4 / 3;
}

/* ---------- rodapé ---------- */
.site-footer {
	background: #111;
	color: #bdbdbd;
	margin-top: 64px;
	font-size: 14px;
}

.site-footer .wrap {
	padding-top: 48px;
	padding-bottom: 24px;
}

.f-top {
	display: grid;
	grid-template-columns: 1.3fr 2fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #2a2a2a;
}

.footer-logo {
	width: 200px;
	margin-bottom: 16px;
}

.f-title {
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.f-top ul {
	list-style: none;
}

.f-top li {
	margin-bottom: 8px;
}

.f-eds ul {
	columns: 2;
	column-gap: 40px;
}

.f-eds li {
	break-inside: avoid;
}

.f-top a:hover {
	color: #fff;
}

.social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	list-style: none;
}

.social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #3a3a3a;
	display: grid;
	place-items: center;
	color: #fff;
}

.social a:hover {
	background: var(--red);
	border-color: var(--red);
}

.f-bot {
	display: flex;
	justify-content: space-between;
	padding-top: 20px;
	font-size: 13px;
	gap: 16px;
	flex-wrap: wrap;
}

/* ---------- matéria ---------- */
.crumbs {
	font-size: 13px;
	color: var(--ink-3);
	margin: 28px 0 18px;
}

.crumbs a {
	color: var(--red);
	font-weight: 700;
}

.article-head {
	max-width: 860px;
}

.article-head h1 {
	font-size: 46px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 10px 0 16px;
	overflow-wrap: anywhere;
}

.article-head .sub {
	font-size: 21px;
	color: var(--ink-2);
	line-height: 1.4;
}

.page-article .article-head {
	margin-top: 36px;
	margin-bottom: 24px;
}

.byline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
	margin: 24px 0;
	gap: 16px;
	flex-wrap: wrap;
}

.byline .who {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 14px;
}

.byline .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.share {
	display: flex;
	gap: 8px;
	list-style: none;
}

.share a,
.share button {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--paper-2);
	display: grid;
	place-items: center;
	border: 0;
	color: inherit;
	cursor: pointer;
}

.share a:hover,
.share button:hover,
.share .is-copied {
	background: var(--red);
	color: #fff;
}

.featured .ph {
	border-radius: 4px;
}

figcaption {
	font-size: 13px;
	color: var(--ink-3);
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
}

.body {
	font-size: 19px;
	line-height: 1.7;
	max-width: 720px;
	margin-top: 28px;
	overflow-wrap: break-word;
}

.body > * {
	margin-bottom: 22px;
}

.single .body > p:first-child::first-letter {
	float: left;
	font-size: 72px;
	line-height: .85;
	font-weight: 800;
	color: var(--red);
	margin: 6px 10px 0 0;
}

.body h2,
.body h3,
.body h4,
.body h5,
.body h6 {
	clear: both;
	line-height: 1.2;
	margin: 34px 0 14px;
}

.body h2 {
	font-size: 26px;
}

.body h3 {
	font-size: 22px;
}

.body h4 {
	font-size: 19px;
}

.body a {
	color: var(--red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.body ul,
.body ol {
	padding-left: 1.4em;
}

.body li {
	margin-bottom: 6px;
}

.body blockquote,
.body .wp-block-quote {
	border-left: 4px solid var(--red);
	background: var(--paper-2);
	padding: 18px 22px;
	font-size: 20px;
}

.body blockquote cite,
.body .wp-block-quote cite {
	display: block;
	font-size: 14px;
	font-style: normal;
	color: var(--ink-3);
	margin-top: 8px;
}

.body .wp-block-pullquote {
	border-top: 4px solid var(--red);
	border-bottom: 4px solid var(--red);
	padding: 24px 0;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
}

.body h1 {
	font-size: 32px;
}

.body h5,
.body h6 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.body dt {
	font-weight: 700;
}

.body dd {
	margin: 0 0 12px 20px;
}

.body abbr[title],
.body acronym[title] {
	text-decoration: underline dotted;
	cursor: help;
}

.body ins {
	background: #fff3d6;
	text-decoration: none;
}

.body address {
	font-style: italic;
}

.body sub,
.body sup {
	line-height: 0;
}

.body pre,
.body code,
.body kbd,
.body tt,
.body var {
	font-family: ui-monospace, Consolas, monospace;
	font-size: 15px;
}

.body pre {
	background: var(--paper-2);
	padding: 16px;
	overflow-x: auto;
}

.body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.body th,
.body td {
	border: 1px solid var(--line);
	padding: 8px 10px;
	text-align: left;
}

.body hr,
.body .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--line);
}

.body .wp-block-button__link,
.body .wp-element-button {
	background: var(--red);
	color: #fff;
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 700;
	text-decoration: none;
}

.body .wp-block-pullquote blockquote {
	border: 0;
	background: none;
	padding: 0;
	font-size: inherit;
}

.body .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--red);
	border: 2px solid currentColor;
}

.body .has-background {
	padding: 16px 20px;
}

.body .wp-block-table {
	overflow-x: auto;
}

.body .wp-block-search__input {
	font: inherit;
	font-size: 16px;
	padding: 8px 14px;
	border: 1.5px solid var(--campo);
	border-radius: 999px;
}

.body .wp-block-search__button {
	background: var(--red);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 8px 20px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.body .wp-block-latest-posts {
	list-style: none;
	padding-left: 0;
}

.body .wp-block-latest-posts li {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	margin: 0;
}

.body .wp-block-latest-posts a,
.body .wp-block-categories a,
.body .wp-block-archives a {
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.body .wp-block-latest-posts a:hover {
	color: var(--red);
}

.body .wp-block-cover {
	color: #fff;
}

.body .wp-block-details summary {
	font-weight: 700;
	cursor: pointer;
}

.body .wp-block-image figcaption,
.body .wp-block-embed figcaption {
	border-bottom: 0;
}

.body iframe,
.body video,
.body embed,
.body object {
	max-width: 100%;
}

.body .alignwide {
	margin-left: -60px;
	margin-right: -60px;
	max-width: calc(100% + 120px);
}

.body .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.with-side .body .alignfull,
.with-side .body .alignwide {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
	width: 100%;
}

.has-vermelho-color { color: var(--red); }
.has-vermelho-background-color { background-color: var(--red); }
.has-vermelho-escuro-color { color: var(--red-dark); }
.has-vermelho-escuro-background-color { background-color: var(--red-dark); }
.has-dourado-color { color: var(--gold); }
.has-dourado-background-color { background-color: var(--gold); }
.has-preto-color { color: var(--ink); }
.has-preto-background-color { background-color: var(--ink); }
.has-branco-color { color: #fff; }
.has-branco-background-color { background-color: #fff; }

/* classes padrão do WordPress */
.alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}

.alignright {
	float: right;
	margin: 6px 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.body::after,
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-size: 13px;
	color: var(--ink-3);
	padding-top: 6px;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-1 { grid-template-columns: 1fr; }

.gallery-item {
	margin: 0;
}

.page-links {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 15px;
}

.page-links a,
.page-links > .post-page-numbers {
	min-width: 36px;
	height: 36px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
}

.tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 32px 0;
}

.tags a {
	overflow-wrap: anywhere;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 500;
}

.tags a:hover {
	border-color: var(--red);
	color: var(--red);
}

/* comentários */
.comments-area {
	max-width: 720px;
	margin: 40px 0;
}

.comments-title,
.comment-reply-title {
	font-size: 22px;
	font-weight: 800;
	border-top: 4px solid var(--ink);
	padding-top: 12px;
	margin-bottom: 20px;
}

.comment-list,
.comment-list .children {
	list-style: none;
}

.comment-list .children {
	padding-left: 32px;
}

.comment-body {
	overflow-wrap: anywhere;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-content > * {
	margin-bottom: 12px;
}

.comment-content h1,
.comment-content h2,
.comment-content h3,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
	font-size: 17px;
	line-height: 1.3;
}

.comment-content ul,
.comment-content ol {
	padding-left: 1.4em;
}

.comment-content blockquote {
	border-left: 4px solid var(--line);
	padding-left: 14px;
	color: var(--ink-2);
}

.comment-content table {
	display: block;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 14px;
}

.comment-content th,
.comment-content td {
	border: 1px solid var(--line);
	padding: 4px 8px;
}

.comment-content pre {
	background: var(--paper-2);
	padding: 12px;
	overflow-x: auto;
}

.comment-metadata,
.reply {
	font-size: 13px;
	color: var(--ink-3);
	margin: 4px 0 8px;
}

.reply a,
.comment-reply-link {
	color: var(--red);
	font-weight: 700;
}

.bypostauthor > .comment-body .fn::after {
	content: " ✓";
	color: var(--red);
}

.comment-form p {
	margin-bottom: 14px;
}

.comment-form label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	font: inherit;
	padding: 10px 12px;
	border: 1.5px solid var(--campo);
	border-radius: 6px;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

.no-comments {
	color: var(--ink-3);
}

/* formulário de contato (plugin Gazzeta Funções) */
.contato {
	max-width: 640px;
	scroll-margin-top: 120px;
}

.contato-form p {
	margin-bottom: 16px;
}

.contato-form label {
	display: block;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}

.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	padding: 10px 12px;
	border: 1.5px solid var(--campo);
	border-radius: 6px;
}

.contato-form input:focus-visible,
.contato-form textarea:focus-visible {
	border-color: var(--ink);
}

.contato-consentimento {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.contato-consentimento input {
	margin-top: 5px;
	flex: none;
}

.contato-consentimento label {
	font-weight: 400;
	font-size: 14px;
	color: var(--ink-2);
}

.contato-aviso {
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 16px;
}

.contato-aviso--sucesso {
	background: #e7f5ec;
	border-left: 4px solid #1e7b3c;
}

.contato-aviso--erro {
	background: #fdecec;
	border-left: 4px solid var(--red);
}

/* veja também */
.related {
	margin-top: 56px;
}

/* ---------- editoria e arquivos ---------- */
.ed-hero {
	background: var(--red);
	color: #fff;
	padding: 36px 0 0;
}

.ed-hero .crumbs {
	margin: 0 0 10px;
	color: #fff;
}

.ed-hero .crumbs a {
	color: #fff;
}

.ed-hero h1 {
	overflow-wrap: anywhere;
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
	padding-bottom: 24px;
}

.ed-desc {
	color: #fff;
	margin: -14px 0 24px;
	max-width: 620px;
}

.subnav {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.subnav a {
	padding: 12px 16px;
	font-weight: 700;
	font-size: 14px;
	border-radius: 6px 6px 0 0;
	white-space: nowrap;
	color: #fff;
}

.subnav a.on {
	background: #fff;
	color: var(--red);
}

.ed-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-top: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--line);
}

.ed-lead .ph {
	border-radius: 4px;
}

.ed-lead h2 {
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
	margin: 10px 0 12px;
	letter-spacing: -.01em;
}

.ed-lead p {
	color: var(--ink-2);
	font-size: 17px;
	margin-bottom: 8px;
}

.list-section {
	margin-top: 8px;
}

.list-section .side {
	padding-top: 24px;
}

.list-head {
	margin: 36px 0 0;
}

.list-title {
	overflow-wrap: anywhere;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.row {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.row-link {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	align-items: start;
}

.row .ph {
	border-radius: 4px;
}

.row .t {
	font-size: 22px;
	margin: 6px 0 8px;
}

.row p {
	color: var(--ink-2);
	font-size: 15px;
	margin-bottom: 6px;
}

.pager .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 36px 0 0;
}

.pager .page-numbers {
	min-width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-weight: 700;
	padding: 0 14px;
}

.pager .page-numbers.current {
	background: var(--red);
	color: #fff;
	border-color: var(--red);
}

.pager a.page-numbers:hover {
	border-color: var(--red);
	color: var(--red);
}

.no-results,
.not-found {
	padding: 32px 0;
}

.no-results-title,
.not-found h1 {
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 8px;
}

.no-results p,
.not-found p {
	color: var(--ink-2);
	margin-bottom: 20px;
}

/* ---------- busca ---------- */
.s-head {
	background: var(--paper-2);
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
}

.s-big {
	display: flex;
	max-width: 760px;
	height: 58px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: #fff;
	align-items: center;
	padding: 0 8px 0 24px;
}

.s-big:focus-within {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

.s-big input {
	flex: 1;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 20px;
	font-weight: 500;
	background: transparent;
	min-width: 0;
	-webkit-appearance: none;
	appearance: none;
}

.s-big .btn {
	height: 44px;
}

.s-count {
	overflow-wrap: anywhere;
	margin-top: 16px;
	color: var(--ink-2);
}

.s-count b {
	color: var(--ink);
}

.filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin: 28px 0 8px;
}

.chip {
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 500;
	background: #fff;
}

.chip:hover {
	border-color: var(--ink);
}

.chip.on {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.chip .n {
	color: var(--ink-3);
	margin-left: 4px;
}

.chip.on .n {
	color: #bbb;
}

mark {
	background: #ffe7b8;
	color: inherit;
	padding: 0 2px;
}

/* ---------- telas menores ---------- */
.only-m {
	display: none;
}

@media (max-width: 1024px) {
	.grid4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.with-side {
		grid-template-columns: minmax(0, 1fr);
	}

	.side {
		position: static;
		grid-template-columns: 1fr 1fr;
	}

	.body .alignwide {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}

@media (max-width: 782px) {
	.admin-bar .mainnav {
		top: 0;
	}
}

@media (max-width: 720px) {
	.wrap {
		padding: 0 16px;
	}

	.only-m {
		display: grid;
	}

	.hide-m {
		display: none !important;
	}

	.topbar {
		display: none;
	}

	.ad-top {
		padding: 10px 0;
	}

	.masthead .wrap {
		padding-top: 12px;
		padding-bottom: 12px;
		gap: 12px;
	}

	.masthead .custom-logo {
		width: 150px;
	}

	.masthead .actions {
		gap: 8px;
	}

	.masthead-search {
		display: none;
	}

	.masthead.busca-aberta .masthead-search {
		display: block;
		position: absolute;
		left: 16px;
		right: 16px;
		top: 100%;
		z-index: 6;
	}

	.masthead {
		position: relative;
	}

	.masthead-search .busca {
		width: 100%;
		box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
	}

	.icon-btn {
		width: 40px;
		height: 40px;
		place-items: center;
		border-radius: 50%;
		background: var(--paper-2);
	}

	.mainnav .menu {
		min-height: 44px;
	}

	.mainnav a {
		height: 44px;
		font-size: 14px;
		padding: 0 10px;
	}

	.mainnav.is-open .menu {
		flex-direction: column;
		align-items: stretch;
		overflow: visible;
		padding: 8px 0;
	}

	.mainnav.is-open a {
		border-bottom: 1px solid rgba(255, 255, 255, .15);
	}

	.ticker .wrap {
		height: 42px;
	}

	.ticker ul {
		font-size: 13px;
	}

	.hero {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 16px;
		gap: 20px;
	}

	.lead .ph {
		min-height: 0;
		aspect-ratio: 4 / 5;
	}

	.lead .cap {
		padding: 80px 18px 20px;
	}

	.lead h1 {
		font-size: 28px;
	}

	.lead p {
		font-size: 15px;
	}

	.card-h .t {
		font-size: 18px;
	}

	:where(#principal section:not(.body section, .widget section)) {
		margin: 36px 0;
	}

	.sec-head h2 {
		font-size: 21px;
	}

	.grid4,
	.grid3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.grid4 .card,
	.grid3 .card {
		grid-template-columns: 120px 1fr;
		column-gap: 14px;
		row-gap: 4px;
	}

	.grid4 .card .ph,
	.grid3 .card .ph {
		grid-row: span 3;
		aspect-ratio: 4 / 3;
	}

	.grid4 .card .t,
	.grid3 .card .t {
		font-size: 16px;
	}

	.grid4 .card p,
	.grid3 .card p {
		display: none;
	}

	.side {
		grid-template-columns: minmax(0, 1fr);
	}

	.ed-pair {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.mini {
		grid-template-columns: 100px 1fr;
	}

	.saj-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.saj-grid .card:first-child {
		grid-row: auto;
	}

	.saj-grid .card:not(:first-child) {
		grid-template-columns: 120px 1fr;
		column-gap: 14px;
	}

	.saj-grid .card:not(:first-child) .ph {
		grid-row: span 3;
		aspect-ratio: 4 / 3;
	}

	.saj-grid .card:not(:first-child) p {
		display: none;
	}

	.saj-grid .card:not(:first-child) .t {
		font-size: 16px;
	}

	.f-top {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.article-head h1 {
		font-size: 30px;
	}

	.article-head .sub {
		font-size: 17px;
	}

	.body {
		font-size: 17px;
	}

	.featured {
		margin: 0 -16px;
	}

	.featured .ph {
		border-radius: 0;
	}

	.featured figcaption {
		padding: 8px 16px;
	}

	.ed-hero h1,
	.list-title {
		font-size: 38px;
	}

	.ed-lead {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ed-lead h2 {
		font-size: 26px;
	}

	.row {
		padding: 16px 0;
	}

	.row-link {
		grid-template-columns: 110px 1fr;
		gap: 14px;
	}

	.row .ph {
		aspect-ratio: 1 / 1;
	}

	.row .t {
		font-size: 16px;
		margin: 4px 0 0;
	}

	.row p {
		display: none;
	}

	.s-big {
		height: 50px;
		padding-left: 18px;
	}

	.s-big input {
		font-size: 17px;
	}

	.s-big .btn {
		display: none;
	}

	.filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-right: -16px;
	}

	.chip {
		white-space: nowrap;
	}

	.body > table,
	.comment-content table {
		display: block;
		overflow-x: auto;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 16px;
	}

	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}

}
