/*
 Theme Name:   GeneratePress Child - Leste Online
 Theme URI:    https://lesteonline.com.br
 Description:  Child theme do GeneratePress para o portal Leste Online
 Author:       Peripécia
 Author URI:   https://peripeciamkt.com.br
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  leste-online-child
*/

/* Prevenir scroll horizontal */
html, body {
	overflow-x: hidden;
	max-width: 100%;
}

.site,
.site-content,
#page {
	overflow-x: hidden;
	max-width: 100%;
}

/* Corrigir espaço em branco quando admin bar está presente */
body.admin-bar {
	padding-top: 0 !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		padding-top: 0 !important;
	}
}

@media screen and (max-width: 600px) {
	body.admin-bar {
		padding-top: 0 !important;
	}
}

/* ===== HEADER: Barra superior com logo, busca e WhatsApp ===== */
.site-header {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
}

/* Header principal - layout flexível */
.inside-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 16px 40px !important;
	max-width: 1280px;
	margin: 0 auto;
	gap: 20px;
}

/* Logo ocupa espaço natural */
.site-logo,
.site-branding {
	flex: 0 0 auto;
	margin: 0 !important;
}

.site-logo img {
	max-height: 50px;
	width: auto;
}

/* Barra superior (top bar) onde foi adicionado o widget */
.top-bar {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.top-bar .inside-top-bar {
	max-width: 1280px;
	margin: 0 auto;
	padding: 10px 40px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.top-bar .widget {
	margin: 0 !important;
	padding: 0 !important;
}

/* Widget de busca e WhatsApp (fica à direita do logo) */
.header-widget-area {
	display: flex !important;
	align-items: center;
	gap: 20px;
	order: 2;
	margin-left: auto !important;
	margin-right: 0 !important;
	flex: 0 0 auto;
}

/* Widget de busca e redes sociais (fica à direita) */
.header-widget-area,
.header-search-wrapper {
	display: flex !important;
	align-items: center;
	gap: 20px;
	margin-left: auto !important;
	margin-right: 0 !important;
}

/* Navegação fica abaixo do header, em linha separada */
.main-navigation {
	clear: both;
	width: 100%;
}

/* Campo de busca */
.header-search-form {
	position: relative;
}

.header-search-form input[type="search"] {
	width: 280px;
	padding: 10px 40px 10px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

.header-search-form input[type="search"]:focus {
	outline: none;
	border-color: #E42B26;
}

.header-search-form input[type="search"]::placeholder {
	color: #999;
}

.header-search-form button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	padding: 6px;
	cursor: pointer;
	color: #666;
	font-size: 16px;
}

.header-search-form button:hover {
	color: #E42B26;
}

/* Ícones das redes sociais */
.social-icons {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Esconder ícone de busca mobile no desktop */
.search-icon-mobile {
	display: none;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #E42B26;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background-color: #fff;
	color: #E42B26;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(228, 43, 38, 0.3);
}

.social-icon svg {
	width: 18px;
	height: 18px;
}

/* Botão WhatsApp */
.btn-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #E42B26;
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.btn-whatsapp:hover {
	background-color: #c41f1b;
	color: #fff;
}

/* ===== Menu principal: barra chumbo com faixa vermelha no topo ===== */
/* Menu fica abaixo do header, em linha separada */
.nav-below-header,
.nav-above-header {
	clear: both;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	position: sticky !important;
	top: 0 !important;
	z-index: 999 !important;
}

.main-navigation {
	background-color: #3A3A3D;
	width: 100%;
	border-top: 4px solid #E42B26;
	border-bottom: none !important;
	border-left: none !important;
	border-right: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	clear: both;
	position: sticky !important;
	top: 0 !important;
	z-index: 999 !important;
}

.main-navigation ul ul {
	background-color: #3A3A3D;
}

/* Remover limitação do grid-container */
.nav-below-header .grid-container,
.nav-above-header .grid-container,
.main-navigation .grid-container,
.main-navigation .inside-navigation {
	max-width: 1280px !important;
	padding: 0 !important;
	margin: 0 auto !important;
	width: 100% !important;
}

/* Container interno do menu com largura controlada e itens alinhados à esquerda */
.main-navigation .main-nav {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	width: 100%;
}

.main-navigation .main-nav ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	justify-content: flex-start; /* Alinhar itens à esquerda */
}

.main-navigation .main-nav ul li {
	margin: 0;
}

.main-navigation .main-nav ul li a {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 18px;
	transition: background-color 0.2s ease;
	display: block;
	line-height: 1.4;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background-color: #E42B26;
	color: #fff !important;
}

/* Garantir que texto permanece branco no hover e no item ativo */
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: #fff !important;
}

/* Submenu */
.main-navigation .main-nav ul ul {
	background-color: #3A3A3D;
	display: block;
	position: absolute;
}

.main-navigation .main-nav ul ul li {
	width: 100%;
}

.main-navigation .main-nav ul ul li a {
	color: #fff;
	padding: 12px 18px;
}

.main-navigation .main-nav ul ul li:hover > a {
	background-color: #E42B26;
	color: #fff !important;
}

/* ===== RESPONSIVO: Mobile ===== */
@media (max-width: 768px) {
	/* Header mobile */
	.inside-header {
		flex-direction: column;
		gap: 0;
		padding: 12px 20px;
	}

	/* Esconder a barra de busca completa no mobile */
	.header-widget-area .header-search-form {
		display: none;
	}

	/* Mostrar ícone de busca mobile */
	.search-icon-mobile {
		display: flex !important;
	}

	/* Container da navegação mobile */
	.main-navigation .inside-navigation {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	/* Posicionar ícones à direita com padding proporcional */
	.header-widget-area {
		position: static !important;
		transform: none !important;
		order: 2 !important;
		margin: 0 10px 0 0 !important;
		padding: 0 !important;
		background: transparent;
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
		flex-shrink: 0 !important;
	}

	/* Menu toggle à esquerda */
	.menu-toggle {
		order: 1;
		flex-shrink: 0;
	}

	/* Menu items ocupam toda largura abaixo */
	.main-navigation .main-nav {
		order: 3;
		width: 100%;
		flex-basis: 100%;
	}

	/* Ícones menores no mobile - centralizados */
	.social-icons {
		gap: 8px !important;
		display: flex !important;
		align-items: center !important;
	}

	.social-icon {
		width: 32px !important;
		height: 32px !important;
		background-color: transparent !important;
		border: 2px solid #fff !important;
		flex-shrink: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.social-icon svg {
		width: 16px !important;
		height: 16px !important;
		display: block !important;
		margin: auto !important;
	}

	/* Hover - background vermelho + borda branca */
	.social-icon:hover {
		background-color: #E42B26 !important;
		border-color: #fff !important;
		transform: none !important;
		box-shadow: none !important;
	}

	.social-icon:hover svg {
		color: #fff !important;
		fill: #fff !important;
	}

	/* Garantir cor branca nos ícones de outline (busca) */
	.social-icon svg[stroke] {
		stroke: #fff !important;
		fill: none !important;
	}

	.social-icon:hover svg[stroke] {
		stroke: #fff !important;
		fill: none !important;
	}

	/* Menu mobile - texto e ícone em branco */
	.menu-toggle,
	.menu-toggle .gp-icon,
	.menu-toggle .mobile-menu {
		color: #fff !important;
		fill: #fff !important;
	}

	/* Container do botão menu - menos padding à esquerda */
	button.menu-toggle {
		background-color: transparent !important;
		border: none !important;
		color: #fff !important;
		padding: 12px 10px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 10px !important;
		margin-left: 10px !important;
	}

	/* Ícone hambúrguer à esquerda */
	.menu-toggle .gp-icon {
		order: 1 !important;
	}

	.menu-toggle .gp-icon svg {
		fill: #fff !important;
	}

	/* Texto "Menu" à direita do hambúrguer */
	.menu-toggle .mobile-menu {
		order: 2 !important;
		color: #fff !important;
	}

	/* Menu mobile background cinza */
	.main-navigation.toggled {
		background-color: #3A3A3D;
	}

	/* Navegação mobile com fundo cinza */
	.nav-below-header .main-navigation,
	.nav-above-header .main-navigation {
		background-color: #3A3A3D !important;
	}
}


/* ==========================================================================
   SIDEBAR - Mais Lidas e Widgets
   ========================================================================== */

/* Widget geral */
.sidebar-widget {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 30px;
}

/* Primeiro widget da sidebar sem margin-top */
.sidebar-widget:first-child {
	margin-top: 0;
}

/* Garantir padding correto dos widgets na home */
.home .sidebar-widget {
	padding: 20px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Primeiro widget alinhado com o hero */
.home .sidebar-widget:first-child {
	margin-top: 0 !important;
}

.widget-title {
	display: flex;
	align-items: center;
	font-size: 19px;
	font-weight: 700;
	margin: 0 0 20px;
	padding-left: 12px;
	border-left: 4px solid #E42B26;
	line-height: 1;
	color: #333;
}

/* Lista de Mais Lidas */
.mais-lidas-lista {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: mais-lida-counter;
}

.mais-lida-item {
	position: relative;
	padding-left: 50px;
	margin-bottom: 18px;
	min-height: 40px;
	display: flex;
	align-items: flex-start;
}

.mais-lida-item:last-child {
	margin-bottom: 0;
}

.mais-lida-item a {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: flex-start;
	width: 100%;
	gap: 12px;
}

/* Número grande em itálico no estilo do layout */
.mais-lida-numero {
	position: absolute;
	left: 0;
	top: -2px;
	font-size: 36px;
	font-weight: 900;
	font-style: italic;
	color: #E42B26;
	line-height: 1;
	flex-shrink: 0;
	min-width: 35px;
	text-align: left;
}

/* Garantir que não há padding/margin extras na home */
.home .mais-lida-numero {
	left: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

/* Título da notícia */
.mais-lida-titulo {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
	transition: color 0.2s ease;
	flex: 1;
}

.mais-lida-item a:hover .mais-lida-titulo {
	color: #E42B26;
}

/* Widget de código incorporado (Clima, YouTube, etc.) */
.widget.widget_text,
.widget.widget_custom_html {
	padding: 0;
	border: none;
	background: transparent;
}

.widget.widget_text .widget-title,
.widget.widget_custom_html .widget-title {
	padding: 0 20px;
	margin-bottom: 15px;
}

.widget.widget_text .textwidget,
.widget.widget_custom_html .textwidget {
	padding: 0;
}

/* Ícones das redes sociais no sidebar */
.sidebar-social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 10px 0;
}

.sidebar-social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: #E42B26 !important;
	color: #fff !important;
	text-decoration: none;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.sidebar-social-icon svg {
	width: 19px;
	height: 19px;
	display: block;
	fill: #fff !important;
	color: #fff !important;
}

.sidebar-social-icon:hover {
	background-color: #c41f1b !important;
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(228, 43, 38, 0.4);
}

/* Mobile */
@media (max-width: 960px) {
	.sidebar-widget {
		margin-bottom: 20px;
	}
	
	.widget-title {
		font-size: 18px;
	}
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
	background-color: #f5f5f5 !important;
	border-top: 1px solid #ddd;
	padding: 30px 0 20px;
	margin-top: 60px;
}

.site-footer .inside-site-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

/* Menu de links do footer */
.footer-links-menu {
	text-align: center;
	width: 100%;
	order: 1;
}

.footer-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}

.footer-navigation li {
	margin: 0;
}

.footer-navigation a {
	color: #333;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-navigation a:hover {
	color: #E42B26;
}

/* Área de copyright - forçar nova linha */
.site-info {
	text-align: center;
	padding: 20px 40px 10px;
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

.copyright-bar {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	display: block;
	width: 100%;
	text-align: center;
	order: 2;
	margin-top: 10px;
}

.copyright-bar a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}

.copyright-bar a:hover {
	color: #E42B26;
}

.copyright-bar img {
	display: inline-block;
	height: 18px;
	vertical-align: middle;
	margin-left: 5px;
}

/* Mobile */
@media (max-width: 768px) {
	.footer-navigation ul {
		flex-direction: column;
		gap: 15px;
	}

	.site-footer {
		padding: 25px 0 15px;
		margin-top: 40px;
	}

	.site-info {
		padding: 15px 20px 10px;
	}

	.copyright-bar {
		font-size: 12px;
	}
}

/* ==========================================================================
   ÁREAS DE ANÚNCIOS
   ========================================================================== */

/* Container geral de anúncios */
.anuncio-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
	padding: 15px 0;
	background: #f9f9f9;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

.anuncio-widget {
	text-align: center;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
}

/* Label "Publicidade" opcional */
.anuncio-label {
	display: block;
	font-size: 10px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

/* Anúncio do topo (abaixo do menu) */
.anuncio-topo-container {
	margin: 0;
	padding: 20px 0;
	max-width: 100%;
}

/* Anúncio no meio do grid (largura total do grid) */
.anuncio-meio-grid-container {
	grid-column: 1 / -1; /* Ocupa todas as colunas do grid */
	margin: 10px 0;
}

/* Anúncio abaixo do grid */
.anuncio-abaixo-grid-container {
	margin: 30px 0;
}

/* Anúncio na sidebar */
.anuncio-sidebar-topo-container {
	margin-bottom: 30px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 15px;
}

.anuncio-sidebar .anuncio-widget {
	background: transparent;
}

/* Responsivo - anúncios em mobile */
@media (max-width: 768px) {
	.anuncio-container {
		padding: 10px;
		margin: 15px 0;
	}

	.anuncio-topo-container {
		padding: 15px 0;
	}

	/* Ajustar overflow de anúncios que podem ser grandes demais */
	.anuncio-widget {
		max-width: 100%;
		overflow-x: auto;
	}
}

/* ==========================================================================
   PÁGINA DE POST ÚNICO
   ========================================================================== */

/* Ocultar metadados padrão do GeneratePress */
.single-post .entry-meta {
	display: none !important;
}

/* Ocultar TODAS as imagens destacadas padrão */
.single-post .post-image,
.single-post .featured-image,
.single-post .page-header-image-single,
.single .wp-post-image:not(.featured-image-post) {
	display: none !important;
}

/* Container centralizado com 70% de largura */
.single-post .site-content .content-area {
	max-width: 70%;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Título do post */
.single-post .entry-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 15px;
	color: #222;
}

/* Linha fina (subtítulo) - H2 e H3 com mesma formatação */
.single-post .entry-content > h2:first-of-type,
.single-post .entry-content > h3:first-of-type {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	color: #666;
	margin: 0 0 25px;
	font-style: italic;
}

/* Metadados (data, hora, atualizado há) */
.post-meta-info {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #999;
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.post-date {
	font-weight: 600;
	color: #666;
}

.post-time-ago {
	color: #999;
	font-style: italic;
}

/* Imagem destacada (agora após a linha fina) */
.featured-image-wrapper {
	width: 100%;
	margin: 0 0 30px;
	overflow: hidden;
	border-radius: 6px;
}

.featured-image-post {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 6px !important;
	display: block;
}

/* Legenda da imagem */
.featured-image-caption {
	display: block;
	font-size: 14px;
	color: #666;
	font-style: italic;
	text-align: center;
	padding: 10px 0 0;
	line-height: 1.4;
}

/* Mobile - altura menor */
@media (max-width: 768px) {
	.featured-image-post {
		height: 250px;
	}
}

/* Conteúdo do post */
.single-post .entry-content {
	font-size: 18px;
	line-height: 1.8;
	color: #333;
}

.single-post .entry-content p {
	margin-bottom: 1.5em;
}

/* H2 e H3 dentro do conteúdo (não a linha fina) */
.single-post .entry-content h2:not(:first-of-type),
.single-post .entry-content h3:not(:first-of-type) {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
	margin: 1.8em 0 0.8em;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
}

/* Links dentro do conteúdo */
.single-post .entry-content a {
	color: #E42B26;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.single-post .entry-content a:hover {
	color: #c41f1b;
}

/* Listas */
.single-post .entry-content ul,
.single-post .entry-content ol {
	margin: 1.5em 0;
	padding-left: 2em;
}

.single-post .entry-content li {
	margin-bottom: 0.5em;
}

/* Citações */
.single-post .entry-content blockquote {
	border-left: 4px solid #E42B26;
	padding-left: 20px;
	margin: 1.8em 0;
	font-style: italic;
	color: #555;
}

/* Imagens dentro do conteúdo */
.single-post .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 1.5em 0;
}

/* Responsivo - Mobile */
@media (max-width: 960px) {
	.single-post .site-content .content-area {
		max-width: 90%;
		padding: 30px 15px;
	}

	.single-post .entry-title {
		font-size: 28px;
	}

	.single-post .entry-content > h2:first-of-type,
	.single-post .entry-content > h3:first-of-type {
		font-size: 18px;
	}

	.single-post .entry-content {
		font-size: 16px;
		line-height: 1.7;
	}

	.single-post .entry-content h2,
	.single-post .entry-content h3 {
		font-size: 20px;
	}

	.post-meta-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		font-size: 13px;
	}
}

@media (max-width: 600px) {
	.single-post .site-content .content-area {
		max-width: 100%;
		padding: 20px 15px;
	}

	.single-post .entry-title {
		font-size: 24px;
	}

	.post-meta-info {
		font-size: 12px;
	}
}

/* ==========================================================================
   RESUMO DA NOTÍCIA (estilo G1)
   ========================================================================== */

.resumo-noticia-container {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0;
	margin: 0 0 30px;
}

/* Botão "Ver resumo" */
.resumo-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	text-align: left;
	transition: background-color 0.2s ease;
}

.resumo-toggle:hover {
	background-color: #f0f0f0;
}

.resumo-titulo {
	flex: 1;
}

.resumo-icone {
	flex-shrink: 0;
	transition: transform 0.3s ease;
	color: #666;
}

/* Conteúdo do resumo */
.resumo-content {
	padding: 0 20px 20px;
	border-top: 1px solid #e0e0e0;
}

.resumo-titulo-aberto {
	font-size: 18px;
	font-weight: 700;
	color: #222;
	margin: 15px 0 15px;
}

.resumo-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.resumo-lista li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
}

.resumo-lista li:last-child {
	margin-bottom: 0;
}

/* Bolinha vermelha antes de cada tópico */
.resumo-lista li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	background-color: #E42B26;
	border-radius: 50%;
}

/* Responsivo */
@media (max-width: 768px) {
	.resumo-toggle {
		padding: 15px;
		font-size: 15px;
	}

	.resumo-content {
		padding: 0 15px 15px;
	}

	.resumo-titulo-aberto {
		font-size: 16px;
	}

	.resumo-lista li {
		font-size: 14px;
		padding-left: 18px;
	}
}

/* ==========================================================================
   NAVEGAÇÃO ANTERIOR/PRÓXIMA
   ========================================================================== */

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 40px 0 30px;
	padding: 0;
}

.nav-previous,
.nav-next {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.nav-previous:hover,
.nav-next:hover {
	background: #fff;
	border-color: #E42B26;
	box-shadow: 0 2px 8px rgba(228, 43, 38, 0.1);
}

.nav-next {
	text-align: right;
	align-items: flex-end;
}

.nav-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.nav-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nav-title:hover {
	color: #E42B26;
}

/* Se só tiver um lado */
.post-navigation:has(.nav-previous:only-child) {
	grid-template-columns: 1fr;
}

.post-navigation:has(.nav-next:only-child) {
	grid-template-columns: 1fr;
}

/* Mobile */
@media (max-width: 768px) {
	.post-navigation {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.nav-next {
		text-align: left;
		align-items: flex-start;
	}

	.nav-previous,
	.nav-next {
		padding: 15px;
	}

	.nav-title {
		font-size: 15px;
	}
}

/* ==========================================================================
   COMENTÁRIOS
   ========================================================================== */

.single-post .comments-area {
	margin-top: 50px;
	padding-top: 40px;
	border-top: 2px solid #e0e0e0;
}

.comments-title {
	font-size: 24px;
	font-weight: 700;
	color: #222;
	margin: 0 0 30px;
	padding-left: 12px;
	border-left: 4px solid #E42B26;
}

/* Lista de comentários */
.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment {
	margin-bottom: 30px;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
}

.comment-author {
	font-weight: 700;
	font-size: 16px;
	color: #222;
	margin-bottom: 5px;
}

.comment-metadata {
	font-size: 13px;
	color: #999;
	margin-bottom: 12px;
}

.comment-metadata a {
	color: #999;
	text-decoration: none;
}

.comment-content p {
	margin: 0 0 10px;
	line-height: 1.6;
}

.reply {
	margin-top: 10px;
}

.comment-reply-link {
	font-size: 13px;
	color: #E42B26;
	text-decoration: none;
	font-weight: 600;
}

.comment-reply-link:hover {
	text-decoration: underline;
}

/* Respostas aninhadas */
.children {
	list-style: none;
	margin-left: 30px;
	padding-left: 0;
}

/* Formulário de comentário */
.comment-respond {
	margin-top: 40px;
	padding: 25px;
	background: #f9f9f9;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
}

.comment-reply-title {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin: 0 0 20px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 15px;
	font-family: inherit;
	transition: border-color 0.2s ease;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
	outline: none;
	border-color: #E42B26;
}

.form-submit {
	margin-top: 15px;
}

.submit {
	background: #E42B26;
	color: #fff;
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.submit:hover {
	background: #c41f1b;
}

/* ==========================================================================
   MAIS LIDAS APÓS COMENTÁRIOS
   ========================================================================== */

.mais-lidas-apos-comentarios {
	margin: 50px auto 0;
	max-width: 70%;
	padding: 30px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}

.mais-lidas-apos-comentarios .mais-lidas-titulo {
	font-size: 22px;
	font-weight: 700;
	color: #222;
	margin: 0 0 25px;
	padding-left: 12px;
	border-left: 4px solid #E42B26;
	line-height: 1;
}

.mais-lidas-apos-comentarios .mais-lidas-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mais-lidas-apos-comentarios .mais-lida-item {
	position: relative;
	padding-left: 50px;
	margin-bottom: 18px;
	min-height: 40px;
	display: flex;
	align-items: flex-start;
}

.mais-lidas-apos-comentarios .mais-lida-item:last-child {
	margin-bottom: 0;
}

.mais-lidas-apos-comentarios .mais-lida-item a {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: flex-start;
	width: 100%;
	gap: 12px;
}

.mais-lidas-apos-comentarios .mais-lida-numero {
	position: absolute;
	left: 0;
	top: -2px;
	font-size: 36px;
	font-weight: 900;
	font-style: italic;
	color: #E42B26;
	line-height: 1;
	flex-shrink: 0;
	min-width: 35px;
	text-align: left;
}

.mais-lidas-apos-comentarios .mais-lida-titulo {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
	transition: color 0.2s ease;
	flex: 1;
}

.mais-lidas-apos-comentarios .mais-lida-item a:hover .mais-lida-titulo {
	color: #E42B26;
}

/* Mobile */
@media (max-width: 960px) {
	.mais-lidas-apos-comentarios {
		max-width: 90%;
		padding: 20px;
	}

	.mais-lidas-apos-comentarios .mais-lidas-titulo {
		font-size: 20px;
	}

	.mais-lidas-apos-comentarios .mais-lida-titulo {
		font-size: 15px;
	}

	.children {
		margin-left: 15px;
	}
}

@media (max-width: 600px) {
	.mais-lidas-apos-comentarios {
		max-width: 100%;
		padding: 15px;
	}
}

/* ==========================================================================
   ANÚNCIOS DENTRO DO POST
   ========================================================================== */

/* Anúncio após o resumo */
.anuncio-pos-resumo-container {
	margin: 25px 0;
	padding: 20px 0;
	text-align: center;
	background: #f9f9f9;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

/* Anúncio no meio do conteúdo */
.anuncio-meio-post-container {
	margin: 30px 0;
	padding: 20px 0;
	text-align: center;
	background: #f9f9f9;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

/* ==========================================================================
   BOTÕES DE COMPARTILHAMENTO FIXOS
   ========================================================================== */

.share-buttons-fixed {
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 100;
}

.share-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #fff;
	border: 2px solid #e0e0e0;
	color: #666;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-button:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-facebook:hover {
	background-color: #1877f2;
	border-color: #1877f2;
	color: #fff;
}

.share-twitter:hover {
	background-color: #1da1f2;
	border-color: #1da1f2;
	color: #fff;
}

.share-whatsapp:hover {
	background-color: #25d366;
	border-color: #25d366;
	color: #fff;
}

.share-telegram:hover {
	background-color: #0088cc;
	border-color: #0088cc;
	color: #fff;
}

.share-email:hover {
	background-color: #666;
	border-color: #666;
	color: #fff;
}

/* Mobile - esconder botões fixos */
@media (max-width: 1200px) {
	.share-buttons-fixed {
		display: none;
	}
}

/* Mobile - adicionar botões inline no topo do post */
@media (max-width: 1200px) {
	.single-post .entry-header::after {
		content: '';
		display: block;
		margin: 20px 0;
	}
}

/* ==========================================================================
   PÁGINAS ÚNICAS (Pages)
   ========================================================================== */

/* Container centralizado com 70% de largura (APENAS páginas estáticas, NÃO a home) */
.page:not(.home) .site-content .content-area {
	max-width: 70%;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Título da página */
.page .entry-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #E42B26;
	color: #222;
}

/* Conteúdo da página */
.page .entry-content {
	font-size: 18px;
	line-height: 1.8;
	color: #333;
}

.page .entry-content p {
	margin-bottom: 1.5em;
}

.page .entry-content h2 {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
	margin: 1.8em 0 0.8em;
	padding-left: 12px;
	border-left: 4px solid #E42B26;
}

.page .entry-content h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
	margin: 1.6em 0 0.7em;
}

.page .entry-content h4 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
	margin: 1.4em 0 0.6em;
}

/* Links dentro do conteúdo */
.page .entry-content a {
	color: #E42B26;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.page .entry-content a:hover {
	color: #c41f1b;
}

/* Listas */
.page .entry-content ul,
.page .entry-content ol {
	margin: 1.5em 0;
	padding-left: 2em;
}

.page .entry-content li {
	margin-bottom: 0.5em;
}

/* Imagens */
.page .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 1.5em 0;
}

/* Responsivo - Mobile */
@media (max-width: 960px) {
	.page .site-content .content-area {
		max-width: 90%;
		padding: 30px 15px;
	}

	.page .entry-title {
		font-size: 28px;
	}

	.page .entry-content {
		font-size: 16px;
		line-height: 1.7;
	}

	.page .entry-content h2 {
		font-size: 24px;
	}

	.page .entry-content h3 {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.page .site-content .content-area {
		max-width: 100%;
		padding: 20px 15px;
	}

	.page .entry-title {
		font-size: 24px;
	}
}

/* ==========================================================================
   CONTACT FORM 7 - Estilização
   ========================================================================== */

/* Container do formulário */
.wpcf7 {
	margin: 30px 0;
}

/* Labels */
.wpcf7 label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
	font-size: 15px;
}

/* Inputs e textareas */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.2s ease;
	background-color: #fff;
	color: #333;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: #E42B26;
	box-shadow: 0 0 0 3px rgba(228, 43, 38, 0.1);
}

/* Textarea específico */
.wpcf7 textarea {
	min-height: 150px;
	resize: vertical;
}

/* Campos obrigatórios */
.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 20px;
}

/* Botão de envio */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
	background-color: #E42B26;
	color: #fff;
	padding: 14px 40px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
	background-color: #c41f1b;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(228, 43, 38, 0.3);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 button[type="submit"]:active {
	transform: translateY(0);
}

/* Mensagens de validação */
.wpcf7-not-valid-tip {
	color: #E42B26;
	font-size: 13px;
	margin-top: 5px;
	display: block;
}

.wpcf7-validation-errors {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	color: #856404;
	padding: 15px;
	border-radius: 4px;
	margin: 20px 0;
}

/* Mensagem de sucesso */
.wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 15px;
	border-radius: 4px;
	margin: 20px 0;
}

/* Mensagem de erro */
.wpcf7-mail-sent-ng {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 15px;
	border-radius: 4px;
	margin: 20px 0;
}

/* Spinner de loading */
.wpcf7-spinner {
	margin-left: 10px;
}

/* Checkboxes e radios */
.wpcf7 .wpcf7-list-item {
	margin: 0 0 10px;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	margin-right: 8px;
}

.wpcf7 .wpcf7-list-item-label {
	font-weight: normal;
	cursor: pointer;
}

/* Select customizado */
.wpcf7 select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 35px;
}

/* Campos de arquivo */
.wpcf7 input[type="file"] {
	padding: 10px 0;
	border: 1px dashed #ddd;
	border-radius: 4px;
	cursor: pointer;
}

/* Aceitar termos */
.wpcf7 .wpcf7-acceptance {
	margin: 15px 0;
}

/* Responsivo */
@media (max-width: 768px) {
	.wpcf7 input[type="submit"],
	.wpcf7 button[type="submit"] {
		width: 100%;
		padding: 14px 20px;
	}
}

/* Grid de campos (2 colunas) */
.wpcf7 .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.wpcf7 .form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* ==========================================================================
   HOME PAGE - Garantir que o layout funcione corretamente
   ========================================================================== */

/* Garantir que a home não herde os 70% das páginas */
.home .site-content,
.home .content-area,
.home .inside-article {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #fff !important;
}

/* Body da home também branco */
.home body,
.home {
	background: #fff !important;
}

/* Container principal da home com max-width 1280px */
.home body .site-content {
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 40px 20px !important;
	background: #fff !important;
}

/* MOBILE - Reduzir padding drasticamente */
@media (max-width: 600px) {
	.home body .site-content {
		padding: 8px 8px 20px 8px !important;
		margin: 0 auto !important;
	}
}

/* Layout de duas colunas - tudo com fundo branco */
.home .layout-duas-colunas {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
	background: #fff !important;
}

/* Remover qualquer fundo cinza */
.home .layout-duas-colunas > div:first-child {
	background: transparent !important;
	padding: 0;
}

/* Sidebar mantém fundo transparente */
.home .sidebar-home-area {
	background: transparent !important;
}

/* Garantir que links não tenham sublinhado na home */
.home a {
	text-decoration: none !important;
}

/* Hero - GARANTIR que títulos sejam brancos */
.home .hero-slide .hero-content h1,
.home .hero-slide .hero-content h2,
.home .hero-slide .hero-content h3,
.home .hero-slide .hero-content p,
.home .hero-slide .hero-content a,
.home .hero-slide .hero-content span,
.home .hero-slide .hero-content * {
	color: #fff !important;
	text-decoration: none !important;
}

/* Garantir que o hero e grid não sejam afetados por regras globais */
.home .hero-carousel,
.home .noticias-secao,
.home .layout-duas-colunas {
	width: 100% !important;
	max-width: 100% !important;
}

/* Alinhamento perfeito entre hero/grid e sidebar */
.home .layout-duas-colunas > * {
	margin-top: 0 !important;
}

.home .sidebar-home-area,
.home .sidebar-home-area > *:first-child {
	margin-top: 25px !important;
}

.home .noticias-secao {
	margin-top: 0 !important;
}

.home .hero-carousel {
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
}

/* Remover qualquer padding do GeneratePress que esteja afetando */
.home .content-area > *:first-child {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

/* ==========================================================================
   GRID - Ajustes específicos dos títulos
   ========================================================================== */

.home .noticias-grid {
	gap: 20px 24px !important;
}

.home .noticia-card {
	padding: 0 !important;
	margin: 0 !important;
	text-align: left !important;
}

.home .noticia-card .noticia-categoria,
.home .noticia-card .noticia-categoria a {
	margin-top: 6px !important;
	margin-left: 0 !important;
	margin-bottom: 0 !important;
	padding-left: 0 !important;
	text-align: left !important;
	display: block !important;
}

.home .noticia-card .noticia-titulo,
.home .noticia-card .noticia-titulo a {
	margin: 2px 0 8px !important;
	padding-left: 0 !important;
	font-size: 15px !important;
	color: #333 !important;
	text-align: left !important;
}

.home .noticia-card:hover .noticia-titulo,
.home .noticia-card:hover .noticia-titulo a {
	color: #E42B26 !important;
}

/* ==========================================================================
   TÍTULOS DE SEÇÃO - Tamanho reduzido
   ========================================================================== */

.home .secao-titulo {
	font-size: 20px !important;
}

.home .widget-title {
	font-size: 19px !important;
}

/* ==========================================================================
   MOBILE - Sidebar abaixo do conteúdo
   ========================================================================== */

@media (max-width: 960px) {
	.home .layout-duas-colunas {
		grid-template-columns: 1fr !important;
	}
	
	.home .sidebar-home-area {
		margin-top: 40px !important;
	}
}

/* ==========================================================================
   MENU STICKY - Fixo no topo ao rolar
   ========================================================================== */

.site-header,
.nav-below-header,
.nav-above-header,
.main-navigation {
	position: sticky !important;
	top: 0 !important;
	z-index: 999 !important;
}

/* Sombra quando o menu fica sticky */
.main-navigation {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Garantir que o header também seja sticky se necessário */
.site-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	background: #fff !important;
}

/* Menu fica logo abaixo do header */
.nav-below-header {
	top: 0 !important;
}

/* ==========================================================================
   PÁGINAS DE CATEGORIA, TAG, ARQUIVO E BUSCA
   Layout: Sidebar à direita + Lista horizontal (imagem à esquerda)
   ========================================================================== */

/* Container - deixar o GeneratePress gerenciar a sidebar */
body.archive .site-content,
body.search .site-content,
body.category .site-content,
body.tag .site-content {
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 60px 20px !important;
}

/* Título da página (categoria, tag, busca) */
body.archive .page-header,
body.search .page-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #E42B26;
}

body.archive .page-title,
body.search .page-title {
	font-size: 32px;
	font-weight: 700;
	color: #222;
	margin: 0 0 10px;
}

/* Descrição da categoria */
body.archive .archive-description {
	font-size: 16px;
	line-height: 1.6;
	color: #666;
	margin-top: 10px;
}

/* Lista de posts em layout horizontal */
body.archive article,
body.search article,
body.category article,
body.tag article {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 20px;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #e0e0e0;
}

body.archive article:last-of-type,
body.search article:last-of-type {
	border-bottom: none;
}

/* Imagem à esquerda */
body.archive .post-image,
body.search .post-image,
body.category .post-image,
body.tag .post-image {
	width: 280px;
	height: 180px;
	overflow: hidden;
	border-radius: 6px;
}

body.archive .post-image img,
body.search .post-image img,
body.category .post-image img,
body.tag .post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

body.archive article:hover .post-image img,
body.search article:hover .post-image img {
	transform: scale(1.05);
}

/* Conteúdo à direita */
body.archive .entry-header,
body.search .entry-header,
body.category .entry-header,
body.tag .entry-header {
	display: flex;
	flex-direction: column;
}

/* Categoria acima do título */
body.archive .cat-links,
body.search .cat-links {
	order: 1;
	margin-bottom: 8px;
}

body.archive .cat-links a,
body.search .cat-links a {
	color: #E42B26;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-decoration: none;
}

/* Título */
body.archive .entry-title,
body.search .entry-title,
body.category .entry-title,
body.tag .entry-title {
	order: 2;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

body.archive .entry-title a,
body.search .entry-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.archive article:hover .entry-title a,
body.search article:hover .entry-title a {
	color: #E42B26;
}

/* Resumo (excerpt) */
body.archive .entry-summary,
body.search .entry-summary,
body.category .entry-summary,
body.tag .entry-summary {
	order: 3;
	font-size: 15px;
	line-height: 1.6;
	color: #666;
	margin: 0 0 12px;
}

body.archive .entry-summary p,
body.search .entry-summary p {
	margin: 0;
}

/* Data abaixo do resumo */
body.archive .posted-on,
body.search .posted-on {
	order: 4;
	display: block;
	font-size: 13px;
	color: #999;
	margin: 0;
}

body.archive .posted-on a,
body.search .posted-on a {
	color: #999;
	text-decoration: none;
}

/* Esconder autor e comentários */
body.archive .byline,
body.search .byline,
body.archive .comments-link,
body.search .comments-link {
	display: none;
}

/* Sidebar - usar mesmos widgets da home */
body.archive .sidebar,
body.search .sidebar,
body.category .sidebar,
body.tag .sidebar {
	position: sticky;
	top: 20px;
}

/* Paginação */
body.archive .paging-navigation,
body.search .paging-navigation {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.paging-navigation .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.paging-navigation a,
.paging-navigation .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.paging-navigation a:hover {
	background-color: #E42B26;
	border-color: #E42B26;
	color: #fff;
}

.paging-navigation .current {
	background-color: #E42B26;
	border-color: #E42B26;
	color: #fff;
}

/* Responsivo - Tablet */
@media (max-width: 960px) {
	body.archive .site-content,
	body.search .site-content {
		padding: 40px 20px !important;
	}
	
	body.archive article,
	body.search article {
		grid-template-columns: 200px 1fr;
		gap: 15px;
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
	
	body.archive .post-image,
	body.search .post-image {
		width: 200px;
		height: 130px;
	}
	
	body.archive .entry-title,
	body.search .entry-title {
		font-size: 18px;
	}
}

/* Responsivo - Mobile */
@media (max-width: 600px) {
	body.archive .site-content,
	body.search .site-content {
		padding: 20px 15px !important;
	}
	
	body.archive article,
	body.search article {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-bottom: 25px;
		padding-bottom: 25px;
	}
	
	body.archive .post-image,
	body.search .post-image {
		width: 100%;
		height: 200px;
	}
	
	body.archive .entry-title,
	body.search .entry-title {
		font-size: 20px;
	}
	
	body.archive .page-title,
	body.search .page-title {
		font-size: 24px;
	}
}

/* Se não houver imagem destacada */
body.archive article:not(.has-post-thumbnail),
body.search article:not(.has-post-thumbnail) {
	grid-template-columns: 1fr;
}


/* ==========================================================================
   NOVO CSS - Páginas de Categorias, Tags, Busca e Arquivo
   ========================================================================== */

/* Container principal - sem sidebar gerenciada pelo GP */
body.archive .site-content,
body.search .site-content,
body.category .site-content,
body.tag .site-content {
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 60px 20px !important;
}

/* Forçar conteúdo sem a estrutura de sidebar do GeneratePress */
body.archive #primary,
body.search #primary,
body.category #primary,
body.tag #primary {
	width: 100% !important;
	max-width: 100% !important;
}

/* Título da página (categoria, tag, busca) */
.page-header {
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 2px solid #E42B26;
}

.page-header .page-title {
	font-size: 32px;
	font-weight: 700;
	color: #222;
	margin: 0 0 10px;
}

.page-header .page-title span {
	color: #E42B26;
}

/* Descrição da categoria */
.page-header .archive-description {
	font-size: 16px;
	line-height: 1.6;
	color: #666;
	margin-top: 10px;
}

/* Wrapper com Grid - 70% conteúdo + 30% sidebar */
.archive-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}

/* Lista de posts */
.archive-posts-list {
	width: 100%;
}

/* Cada post em layout horizontal */
.archive-posts-list article {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 20px;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #e0e0e0;
}

.archive-posts-list article:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Imagem à esquerda */
.archive-posts-list .post-image {
	width: 280px;
	height: 180px;
	overflow: hidden;
	border-radius: 6px;
}

.archive-posts-list .post-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.archive-posts-list .post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.archive-posts-list article:hover .post-image img {
	transform: scale(1.05);
}

/* Conteúdo à direita */
.archive-posts-list .post-content {
	display: flex;
	flex-direction: column;
}

/* Categoria acima do título */
.archive-posts-list .cat-links {
	margin-bottom: 8px;
}

.archive-posts-list .cat-links a {
	color: #E42B26;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.archive-posts-list .cat-links a:hover {
	text-decoration: underline;
}

/* Título */
.archive-posts-list .entry-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

.archive-posts-list .entry-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.2s ease;
}

.archive-posts-list article:hover .entry-title a {
	color: #E42B26;
}

/* Resumo (excerpt) - linha fina H2/H3 */
.archive-posts-list .entry-summary {
	font-size: 16px;
	line-height: 1.5;
	color: #555;
	margin: 0 0 12px;
	font-weight: 400;
}

.archive-posts-list .entry-summary p {
	margin: 0;
}

/* Metadata (data) */
.archive-posts-list .entry-meta {
	margin-top: auto;
}

.archive-posts-list .posted-on {
	display: block;
	font-size: 13px;
	color: #999;
	margin: 0;
}

.archive-posts-list .posted-on time {
	color: #999;
}

/* Sidebar das categorias */
.archive-sidebar {
	position: sticky;
	top: 20px;
	width: 340px;
}

/* Widgets na sidebar das categorias */
.archive-sidebar .widget {
	background: #fff;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.archive-sidebar .widget-title {
	font-size: 18px;
	font-weight: 700;
	color: #222;
	margin: 0 0 15px;
	padding-bottom: 0;
	border-bottom: none;
}

/* Paginação - todas as variações do WordPress */
.posts-pagination,
.pagination,
.nav-links {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
	text-align: center;
	grid-column: 1 / -1;
}

.posts-pagination .nav-links,
.pagination .nav-links,
.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* Links e números da paginação */
.posts-pagination a,
.posts-pagination .current,
.posts-pagination .dots,
.posts-pagination span:not(.screen-reader-text),
.pagination a,
.pagination .current,
.pagination .dots,
.pagination span:not(.screen-reader-text),
.nav-links a,
.nav-links .current,
.nav-links .dots,
.nav-links > span:not(.screen-reader-text) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.2s ease;
	background: #fff;
}

/* Hover nos links */
.posts-pagination a:hover,
.pagination a:hover,
.nav-links a:hover {
	background-color: #E42B26 !important;
	border-color: #E42B26 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(228, 43, 38, 0.25);
}

/* Página atual */
.posts-pagination .current,
.pagination .current,
.nav-links .current,
.posts-pagination .page-numbers.current,
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
	background-color: #E42B26 !important;
	border-color: #E42B26 !important;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(228, 43, 38, 0.2);
	cursor: default;
}

/* Dots (reticências ...) */
.posts-pagination .dots,
.pagination .dots,
.nav-links .dots {
	border: none !important;
	background: transparent !important;
	color: #999 !important;
	cursor: default;
	pointer-events: none;
}

/* Setas de anterior/próximo */
.posts-pagination .prev,
.posts-pagination .next,
.pagination .prev,
.pagination .next,
.nav-links .prev,
.nav-links .next {
	font-weight: 700;
	padding: 0 18px;
}

.posts-pagination .prev:hover,
.posts-pagination .next:hover,
.pagination .prev:hover,
.pagination .next:hover,
.nav-links .prev:hover,
.nav-links .next:hover {
	padding-left: 16px;
	padding-right: 20px;
}

/* Screen reader text para acessibilidade */
.posts-pagination .screen-reader-text,
.pagination .screen-reader-text,
.nav-links .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* Responsivo - mobile */
@media (max-width: 600px) {
	.posts-pagination a,
	.posts-pagination .current,
	.posts-pagination span:not(.screen-reader-text),
	.pagination a,
	.pagination .current,
	.pagination span:not(.screen-reader-text),
	.nav-links a,
	.nav-links .current,
	.nav-links > span:not(.screen-reader-text) {
		min-width: 40px;
		height: 40px;
		padding: 0 12px;
		font-size: 14px;
	}
}

/* Mensagem de "nenhum resultado" */
.no-results {
	padding: 60px 20px;
	text-align: center;
}

.no-results .page-header {
	border: none;
	margin-bottom: 20px;
}

.no-results .page-content {
	max-width: 600px;
	margin: 0 auto;
}

/* Responsivo - Tablet */
@media (max-width: 960px) {
	body.archive .site-content,
	body.search .site-content {
		padding: 40px 20px !important;
	}
	
	.archive-content-wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.archive-sidebar {
		width: 100%;
		position: static;
	}
	
	.archive-posts-list article {
		grid-template-columns: 200px 1fr;
		gap: 15px;
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
	
	.archive-posts-list .post-image {
		width: 200px;
		height: 130px;
	}
	
	.archive-posts-list .entry-title {
		font-size: 18px;
	}
}

/* Responsivo - Mobile */
@media (max-width: 600px) {
	body.archive .site-content,
	body.search .site-content {
		padding: 20px 15px !important;
	}
	
	.page-header .page-title {
		font-size: 24px;
	}
	
	.archive-posts-list article {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-bottom: 25px;
		padding-bottom: 25px;
	}
	
	.archive-posts-list .post-image {
		width: 100%;
		height: 200px;
	}
	
	.archive-posts-list .entry-title {
		font-size: 20px;
	}
	
	.posts-pagination {
		margin-top: 40px;
	}
}

/* Se não houver imagem destacada */
.archive-posts-list article:not(.has-post-thumbnail) {
	grid-template-columns: 1fr;
}

.archive-posts-list article:not(.has-post-thumbnail) .post-content {
	grid-column: 1;
}


/* Paginação extra - forçar estilo em todos os elementos */
body.archive .page-numbers,
body.search .page-numbers,
body.category .page-numbers,
body.tag .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 44px !important;
	height: 44px !important;
	padding: 0 14px !important;
	border: 1px solid #ddd !important;
	border-radius: 6px !important;
	color: #333 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	transition: all 0.2s ease !important;
	background: #fff !important;
	margin: 0 4px !important;
}

body.archive a.page-numbers:hover,
body.search a.page-numbers:hover,
body.category a.page-numbers:hover,
body.tag a.page-numbers:hover {
	background-color: #E42B26 !important;
	border-color: #E42B26 !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(228, 43, 38, 0.25) !important;
}

body.archive .page-numbers.current,
body.search .page-numbers.current,
body.category .page-numbers.current,
body.tag .page-numbers.current {
	background-color: #E42B26 !important;
	border-color: #E42B26 !important;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(228, 43, 38, 0.2) !important;
	cursor: default !important;
}

body.archive .page-numbers.dots,
body.search .page-numbers.dots,
body.category .page-numbers.dots,
body.tag .page-numbers.dots {
	border: none !important;
	background: transparent !important;
	color: #999 !important;
	cursor: default !important;
	pointer-events: none !important;
}


/* ==========================================================================
   WIDGETS DA HOME - Mesmo estilo das páginas de arquivo
   ========================================================================== */

/* Aplicar o mesmo estilo de card nos widgets da home */
.home .sidebar-widget,
.home .widget {
	background: #fff !important;
	padding: 20px !important;
	margin-bottom: 20px !important;
	border-radius: 6px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Título dos widgets da home - COM linha vermelha vertical */
.home .widget-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #222 !important;
	margin: 0 0 15px !important;
	padding-left: 12px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-right: 0 !important;
	border-left: 4px solid #E42B26 !important;
	border-bottom: none !important;
	border-top: none !important;
	border-right: none !important;
	display: flex !important;
	align-items: center !important;
	line-height: 1 !important;
}

/* Lista de Mais Lidas - ajustar para o card */
.home .mais-lidas-lista {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.home .mais-lida-item {
	position: relative !important;
	padding-left: 50px !important;
	margin-bottom: 18px !important;
	min-height: 40px !important;
	display: flex !important;
	align-items: flex-start !important;
}

.home .mais-lida-item:last-child {
	margin-bottom: 0 !important;
}

.home .mais-lida-numero {
	position: absolute !important;
	left: 0 !important;
	top: -2px !important;
	font-size: 36px !important;
	font-weight: 900 !important;
	font-style: italic !important;
	color: #E42B26 !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.home .mais-lida-titulo {
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: #333 !important;
	transition: color 0.2s ease !important;
}

.home .mais-lida-item a {
	text-decoration: none !important;
	color: inherit !important;
	display: flex !important;
	align-items: flex-start !important;
	width: 100% !important;
	gap: 12px !important;
}

.home .mais-lida-item a:hover .mais-lida-titulo {
	color: #E42B26 !important;
}

/* Exceção: widgets de código (clima, youtube) mantêm transparência no conteúdo */
.home .widget.widget_text .textwidget,
.home .widget.widget_custom_html .textwidget {
	background: transparent !important;
	padding: 0 !important;
}

/* Ícones das redes sociais - manter o estilo atual */
.home .sidebar-social-icons {
	padding: 10px 0 0 0 !important;
	background: transparent !important;
}


/* ==========================================================================


/* ==========================================================================
   MOBILE - Ajustes da Home (sem afetar o hero)
   ========================================================================== */

@media (max-width: 600px) {
	/* Reduzir padding lateral da home no mobile */
	.home body .site-content {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
	
	/* Sidebar com menos espaço no topo */
	.home .sidebar-home-area {
		margin-top: 30px !important;
	}
	
	/* Grid de notícias - mobile em 1 coluna */
	.home .noticias-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
}


/* ==========================================================================
   HOME PAGE - Layout e estilos específicos
   ========================================================================== */

/* Garantir que a home não herde os 70% das páginas */
.home .site-content,
.home .content-area,
.home .inside-article {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Container principal da home com max-width 1280px */
.home body .site-content {
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding: 40px 20px !important;
	background: #fff !important;
}

/* Layout de duas colunas - tudo com fundo branco */
.home .layout-duas-colunas {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
	background: #fff !important;
}

/* Remover qualquer fundo cinza */
.home .layout-duas-colunas > div:first-child {
	background: transparent !important;
	padding: 0;
}

/* Sidebar mantém fundo transparente */
.home .sidebar-home-area {
	background: transparent !important;
}

/* Garantir que links não tenham sublinhado na home */
.home a {
	text-decoration: none !important;
}

/* Hero - GARANTIR que títulos sejam brancos */
.home .hero-slide .hero-content h1,
.home .hero-slide .hero-content h2,
.home .hero-slide .hero-content h3,
.home .hero-slide .hero-content p,
.home .hero-slide .hero-content a,
.home .hero-slide .hero-content span,
.home .hero-slide .hero-content * {
	color: #fff !important;
	text-decoration: none !important;
}

/* Garantir que o hero e grid não sejam afetados por regras globais */
.home .hero-carousel,
.home .noticias-secao,
.home .layout-duas-colunas {
	width: 100% !important;
	max-width: 100% !important;
}

/* Hero - GARANTIR espaçamento correto */
.home .hero-carousel {
	margin: 0 0 20px 0 !important;
}

/* Garantir que hero e sidebar comecem no mesmo nível */
.home .noticias-secao {
	margin: 0;
	padding: 0;
}

/* Sidebar - alinhamento com o hero */
.home .sidebar-home-area,
.home .sidebar-home-area > *:first-child {
	margin-top: 25px !important;
}

/* Widget title na home */
.home .widget-title {
	font-size: 19px !important;
}

/* Responsivo - tablet e mobile */
@media (max-width: 960px) {
	.home .layout-duas-colunas {
		grid-template-columns: 1fr !important;
	}
	
	.home .sidebar-home-area {
		margin-top: 40px !important;
	}
}


/* ==========================================================================
   WIDGETS DA HOME - Mesmo estilo das páginas de arquivo
   ========================================================================== */

/* Aplicar o mesmo estilo de card nos widgets da home */
.home .sidebar-widget,
.home .widget {
	background: #fff !important;
	padding: 20px !important;
	margin-bottom: 20px !important;
	border-radius: 6px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Título dos widgets da home - COM linha vermelha vertical */
.home .widget-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #222 !important;
	margin: 0 0 15px !important;
	padding-left: 12px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-right: 0 !important;
	border-left: 4px solid #E42B26 !important;
	border-bottom: none !important;
	border-top: none !important;
	border-right: none !important;
	display: flex !important;
	align-items: center !important;
	line-height: 1 !important;
}

/* Lista de Mais Lidas - ajustar para o card */
.home .mais-lidas-lista {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.home .mais-lida-item {
	position: relative !important;
	padding-left: 50px !important;
	margin-bottom: 18px !important;
	min-height: 40px !important;
	display: flex !important;
	align-items: flex-start !important;
}

.home .mais-lida-item:last-child {
	margin-bottom: 0 !important;
}

.home .mais-lida-numero {
	position: absolute !important;
	left: 0 !important;
	top: -2px !important;
	font-size: 36px !important;
	font-weight: 900 !important;
	font-style: italic !important;
	color: #E42B26 !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.home .mais-lida-titulo {
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: #333 !important;
	transition: color 0.2s ease !important;
}

.home .mais-lida-item a {
	text-decoration: none !important;
	color: inherit !important;
	display: flex !important;
	align-items: flex-start !important;
	width: 100% !important;
	gap: 12px !important;
}

.home .mais-lida-item a:hover .mais-lida-titulo {
	color: #E42B26 !important;
}

/* Exceção: widgets de código (clima, youtube) mantêm transparência no conteúdo */
.home .widget.widget_text .textwidget,
.home .widget.widget_custom_html .textwidget {
	background: transparent !important;
	padding: 0 !important;
}

/* Ícones das redes sociais - manter o estilo atual */
.home .sidebar-social-icons {
	padding: 10px 0 0 0 !important;
	background: transparent !important;
}


/* ==========================================================================
   FORÇAR - Remover espaços dos blocos GenerateBlocks
   ========================================================================== */

/* Desktop e mobile - remover TODO padding/margin dos blocos GB */
.gb-container,
.gb-grid-wrapper,
.gb-grid-column,
div[class*="gb-element-"],
[class*="gb-element-"] {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
}

/* Mobile específico */
@media (max-width: 600px) {
	/* Container principal - padding mínimo */
	body.home .site-content,
	html body.home .site-content,
	.home #primary,
	.home .content-area {
		padding: 8px 8px 20px 8px !important;
		margin-top: 0 !important;
	}
	
	/* TODOS os blocos GB - sem altura fixa */
	.gb-container,
	.gb-grid-wrapper,
	.gb-grid-column,
	div[class*="gb-element-"],
	[class*="gb-element-"] {
		min-height: auto !important;
		height: auto !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	
	/* Layout de duas colunas - sem espaço */
	.layout-duas-colunas,
	.gb-grid-wrapper.layout-duas-colunas {
		padding: 0 !important;
		margin: 0 !important;
		gap: 20px !important;
	}
}


/* ==========================================================================


/* ==========================================================================
   ALINHAMENTO - Grid de Notícias (classe específica)
   ========================================================================== */

/* Container específico do grid - alinhar à esquerda */
.grid-noticias-container {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
	margin-left: 0 !important;
}

/* Todos os elementos diretos dentro */
.grid-noticias-container > * {
	align-self: flex-start !important;
	margin-left: 0 !important;
	text-align: left !important;
}

/* Título "Últimas notícias" */
.grid-noticias-container h2,
.grid-noticias-container .secao-titulo {
	text-align: left !important;
	margin-left: 0 !important;
}

/* Grid/Lista de notícias */
.grid-noticias-container .noticias-grid,
.grid-noticias-container ul,
.grid-noticias-container .gb-looper {
	justify-content: start !important;
	text-align: left !important;
	margin-left: 0 !important;
	width: 100% !important;
}

/* Cards individuais */
.grid-noticias-container .noticia-card,
.grid-noticias-container li {
	text-align: left !important;
	justify-self: start !important;
	margin-left: 0 !important;
}
