﻿/*
Theme Name: BSB1 tema exclusivo
Theme URI: https://bsb1.com.br
Author: CSA Publicidade e Noticias
Author URI: https://bsb1.com.br
Description: Tema exclusivo do portal BSB1. Desenvolvido para CSA PUBLICIDADE E NOTICIAS.
Version: 1.2.6
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bsb1
Tags: news, blog, custom-logo, custom-menu, featured-images, translation-ready, two-columns, responsive-layout

Copyright (c) CSA PUBLICIDADE E NOTICIAS - CNPJ 15.434.320/0001-27
*/

/* ==========================================================================
   VariÃ¡veis
   ========================================================================== */

:root {
	--azul: #001a3d;
	--azul2: #0b4fc4;
	--vermelho: #cc0000;
	--cinza: #f3f5f8;
	--texto: #111827;
	--borda: #d8deea;
	--muted: #6b7280;
}

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

body {
	margin: 0;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	color: var(--texto);
	background: #fff;
	line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul2); }

.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; width: 1px; word-wrap: normal !important;
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 18px;
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
	background: var(--azul);
	color: #fff;
	font-size: 13px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 18px;
}

.topbar-info {
	display: flex;
	align-items: center;
	gap: 8px;
}

.topbar-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-left: auto;
}

.topbar-social {
	display: flex;
	align-items: center;
	gap: 14px;
}

.topbar-social a {
	color: #fff;
	display: flex;
	align-items: center;
	opacity: 0.95;
	transition: opacity 0.2s;
}

.topbar-social a:hover { opacity: 0.7; }

.topbar-weather,
.topbar-weather-widget {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 13px;
	white-space: nowrap;
}

.topbar-weather-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bsb1-weather-temp {
	font-weight: 700;
}

.bsb1-weather-sep {
	opacity: 0.55;
}

.bsb1-weather-desc {
	opacity: 0.95;
}

.topbar-weather-widget .widget,
.topbar-weather-slot {
	margin: 0;
	padding: 0;
}

.topbar-weather-widget .widget-title,
.topbar-weather-slot .widget-title {
	display: none;
}

.widget-weather-box .topbar-weather {
	color: inherit;
}

/* ==========================================================================
   CabeÃ§alho / marca
   ========================================================================== */

.brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	background: #fff;
}

.logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.logo-link,
.custom-logo-link {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.logo-icon,
.custom-logo-link img,
.footer-logo-img {
	width: 95px;
	height: 95px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.footer-logo span { color: var(--vermelho); }

.adtop {
	flex: 1;
	min-height: 90px;
	max-width: 728px;
	border-radius: 4px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(0,26,61,0.94) 50%, rgba(0,26,61,0.15)),
		linear-gradient(135deg, #001a3d 0%, #1a3a5c 35%, #8b5a3c 65%, #d4844a 100%);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: stretch;
}

.ad-header:has(.ad-header-widget),
.ad-header:has(.ad-placeholder) {
	background: #f3f5f8;
	min-height: 90px;
	max-height: 90px;
	align-items: center;
	justify-content: center;
}

.ad-placeholder {
	display: block;
	line-height: 0;
	text-decoration: none;
}

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

.ad-placeholder--header img {
	max-width: 728px;
	max-height: 90px;
	width: 728px;
	height: 90px;
	object-fit: cover;
}

.ad-placeholder--sidebar img {
	max-width: 300px;
	max-height: 250px;
	width: 300px;
	height: 250px;
	object-fit: cover;
	margin: 0 auto;
}

.ad-header-widget {
	width: 100%;
	max-width: 728px;
	max-height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ad-header-widget img,
.ad-header-widget iframe,
.ad-header-widget ins,
.ad-header-widget > * {
	max-width: 728px !important;
	max-height: 90px !important;
	width: auto;
	height: auto;
	margin: 0 auto;
	display: block;
}

.adtop-text {
	flex: 0 0 58%;
	background: linear-gradient(90deg, rgba(0,26,61,0.94) 65%, rgba(0,26,61,0.35));
	color: #fff;
	padding: 16px 24px;
	font-size: 13px;
	line-height: 1.45;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.adtop-text b {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
	font-weight: 700;
}

.search-toggle {
	width: 56px;
	height: 56px;
	background: var(--vermelho);
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.2s;
}

.search-toggle:hover { background: #a80000; }

.header-search-panel {
	background: var(--azul);
	padding: 12px 0;
}

.header-search-panel[hidden] { display: none; }

.header-search-form {
	display: flex;
	gap: 10px;
}

.header-search-form input {
	flex: 1;
	padding: 12px 14px;
	border: 0;
	border-radius: 4px;
	font-size: 14px;
}

.header-search-form button {
	padding: 12px 22px;
	border: 0;
	border-radius: 4px;
	background: var(--vermelho);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================================
   NavegaÃ§Ã£o
   ========================================================================== */

.nav {
	background: var(--azul);
}

.nav-inner {
	display: flex;
	align-items: stretch;
	padding: 0;
	height: 52px;
}

.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: var(--vermelho);
	border: 0;
	cursor: pointer;
	padding: 0 16px;
	flex-shrink: 0;
	height: 52px;
	width: 52px;
}

.menu-toggle-bar {
	display: block;
	width: 20px;
	height: 2.5px;
	background: #fff;
	margin: 3px 0;
	border-radius: 1px;
}

.menu,
.menu ul {
	display: flex;
	align-items: center;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.menu {
	overflow-x: auto;
	overflow-y: hidden;
	flex: 1;
	height: 52px;
	scrollbar-width: none;
}

.menu::-webkit-scrollbar { display: none; }

.menu > li {
	position: relative;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: 52px;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	line-height: 1 !important;
}

.menu > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 12px;
	padding: 0 13px !important;
	margin: 0 !important;
	height: 52px;
	line-height: 1 !important;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 0 !important;
	border-bottom: 3px solid transparent !important;
	box-sizing: border-box;
	background: transparent;
	vertical-align: middle;
}

.menu > li > a:hover { background: rgba(255,255,255,0.08); }

.menu > li.current-menu-item > a,
.menu > li.current_page_item > a,
.menu > li.current-menu-ancestor > a {
	border-bottom-color: #fff !important;
}

.menu .menu-item-description,
.menu .description {
	display: none !important;
}

.menu .sub-menu {
	display: none !important;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--azul);
	flex-direction: column;
	align-items: stretch;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	z-index: 100;
	border-top: 2px solid var(--vermelho);
	height: auto !important;
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
	display: flex !important;
}

.menu .sub-menu li {
	display: block;
	width: 100%;
	height: auto;
}

.menu .sub-menu a {
	display: block;
	padding: 12px 16px !important;
	height: auto;
	min-height: 0;
	font-size: 12px;
	border-bottom: 0 !important;
	text-transform: none;
	letter-spacing: 0;
}

.menu .sub-menu a:hover {
	background: rgba(255,255,255,0.1);
}

.menu-item-mais a svg { opacity: 0.9; }

/* ==========================================================================
   Hero / grid home
   ========================================================================== */

.grid-home {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 14px;
	margin-top: 20px;
	align-items: stretch;
	min-height: 420px;
}

.card {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #111;
	display: block;
	text-decoration: none;
	color: inherit;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.card:hover img { transform: scale(1.03); }

.hero {
	height: 100%;
	min-height: 420px;
	align-self: stretch;
}

.overlay {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	color: #fff;
	padding: 28px 24px;
	background: linear-gradient(transparent, rgba(0,0,0,0.88));
}

.hero h1 {
	font-size: 30px;
	line-height: 1.15;
	color: #fff;
	font-weight: 900;
	margin: 0 0 8px;
}

.overlay p {
	font-size: 14px;
	line-height: 1.45;
	margin: 0 0 10px;
	opacity: 0.92;
}

/* Side cards â€” mesma altura do hero */

.side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	min-height: 420px;
}

.side-card-h {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	flex: 1 1 0;
	min-height: 0;
	transition: transform 0.2s, box-shadow 0.2s;
}

.side-card-h:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.side-card-media {
	position: absolute;
	inset: 0;
}

.side-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.side-card-h:hover .side-card-media img { transform: scale(1.05); }

.side-card-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.45) 45%,
		rgba(0, 0, 0, 0.15) 100%
	);
}

.side-card-body {
	position: relative;
	z-index: 2;
	height: 100%;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 78%;
}

.side-card-body h3 {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
	margin: 0 0 6px;
	text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Labels */

.label {
	display: inline-block;
	background: var(--azul2);
	color: #fff;
	font-weight: 700;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 2px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.label.red { background: var(--vermelho); }

.label-glass {
	background: rgba(11, 79, 196, 0.72) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.15);
}

.label-glass.red {
	background: rgba(204, 0, 0, 0.72) !important;
}

/* Datas com Ã­cone */

.date-with-icon {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: var(--muted);
	margin-top: 6px;
}

.overlay .date-with-icon,
.side-card-h .date-with-icon {
	color: rgba(255,255,255,0.85);
}

.date-with-icon .icon { flex-shrink: 0; }

h1, h2, h3, h4 { margin: 0 0 10px; }

/* ==========================================================================
   Destaques + Mais lidas
   ========================================================================== */

.section-title {
	font-size: 20px;
	font-weight: 900;
	color: var(--azul);
	border-bottom: 2px solid var(--azul2);
	padding-bottom: 10px;
	margin: 28px 0 18px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.content-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
	margin-top: 28px;
}

.content-grid .destaques-col > .section-title {
	margin-top: 0;
}

.content-grid .most > .section-title {
	margin-top: 24px;
}

.posts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.posts-destaques {
	margin-bottom: 0;
	grid-template-columns: repeat(3, 1fr);
}

.posts-archive { grid-template-columns: repeat(2, 1fr); }

.highlight-card a {
	text-decoration: none;
	color: var(--texto);
	display: block;
}

.highlight-card a:hover h3 { color: var(--azul2); }

.post-thumb-wrap {
	position: relative;
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
}

.post-thumb-wrap img {
	width: 100%;
	height: 155px;
	object-fit: cover;
	border-radius: 8px;
}

.post-thumb-wrap .label {
	position: absolute;
	bottom: 10px;
	left: 10px;
	margin: 0;
}

.highlight-card h3,
.post h3 {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 700;
}

.post img {
	width: 100%;
	height: 115px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 10px;
}

.post a { text-decoration: none; color: var(--texto); }

/* Mais lidas */

.most { padding-left: 10px; }

/* Banners publicitarios */

.ad-sidebar-wrap {
	width: 300px;
	max-width: 100%;
	margin: 0 auto 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ad-label {
	display: block;
	width: 100%;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9ca3af;
	margin-bottom: 6px;
	text-align: center;
	line-height: 1;
}

.ad-sidebar-wrap .ad-placeholder,
.ad-sidebar-wrap .ad-sidebar-widget {
	width: 100%;
	max-width: 300px;
	background: #f3f5f8;
	border-radius: 4px;
	overflow: hidden;
}

.ad-sidebar-widget {
	max-height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ad-sidebar-widget img,
.ad-sidebar-widget iframe,
.ad-sidebar-widget ins,
.ad-sidebar-widget > * {
	max-width: 300px !important;
	max-height: 250px !important;
	width: auto;
	height: auto;
	margin: 0 auto;
	display: block;
}
.most-read-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.most-read-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.most-num {
	font-size: 44px;
	font-weight: 900;
	color: var(--vermelho);
	line-height: 0.95;
	min-width: 30px;
	flex-shrink: 0;
}

.most-content a {
	text-decoration: none;
	color: var(--texto);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.35;
	display: block;
}

.most-content a:hover { color: var(--azul2); }

/* Secoes por categoria - home */

.home-categories {
	margin: 36px 0 10px;
	width: 100%;
	clear: both;
}

.category-block {
	display: block;
	width: 100%;
	margin-bottom: 40px;
	padding-bottom: 8px;
	clear: both;
}

.category-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	width: 100%;
}

.category-block-header .section-title {
	margin: 0;
	flex: 1;
}

.section-more {
	color: var(--azul2);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}

.section-more:hover { text-decoration: underline; }

.cat-layout {
	display: grid;
	width: 100%;
	clear: both;
}

.cat-layout--grid,
.posts-category {
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.cat-layout--featured {
	grid-template-columns: 1.5fr 1fr;
	gap: 16px;
	align-items: stretch;
}

.feat-main {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	min-height: 360px;
	height: 100%;
	text-decoration: none;
	background: #111;
}

.feat-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.feat-main .overlay { position: absolute; }

.feat-main h3 {
	color: #fff;
	font-size: 24px;
	margin: 0 0 8px;
}

.feat-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
}

.feat-list-item {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: var(--texto);
	background: var(--cinza);
	border-radius: 8px;
	overflow: hidden;
	flex: 1;
	min-height: 78px;
	transition: background 0.2s;
}

.feat-list-item:hover { background: #e8edf5; }

.feat-list-item img {
	width: 110px;
	height: 100%;
	min-height: 78px;
	object-fit: cover;
	flex-shrink: 0;
}

.feat-list-item > div {
	padding: 10px 14px 10px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.feat-list-item h4 {
	font-size: 14px;
	margin: 0 0 4px;
	line-height: 1.3;
}

.cat-layout--list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.list-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 18px;
	text-decoration: none;
	color: var(--texto);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--borda);
	width: 100%;
}

.list-row:hover h3 { color: var(--azul2); }

.list-row-thumb {
	border-radius: 8px;
	overflow: hidden;
	min-height: 130px;
	background: #eee;
}

.list-row-thumb img {
	width: 100%;
	height: 130px;
	object-fit: cover;
}

.list-row-body h3 {
	font-size: 20px;
	margin: 0 0 8px;
	line-height: 1.25;
}

.list-row-body p {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 14px;
}

.cat-layout--mosaic {
	grid-template-columns: 1.4fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
	min-height: 400px;
	width: 100%;
}

.mosaic-item {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	background: #111;
	min-height: 190px;
}

.mosaic-large {
	grid-column: 1;
	grid-row: 1 / span 2;
	min-height: 400px;
}

.mosaic-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.mosaic-item .overlay { position: absolute; }

.mosaic-item h3 {
	color: #fff;
	font-size: 16px;
	margin: 0 0 6px;
}

.mosaic-large h3 { font-size: 24px; }

.cat-layout--split {
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	width: 100%;
}

.split-hero {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	min-height: 340px;
	height: 100%;
	text-decoration: none;
	background: #111;
}

.split-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.split-hero .overlay { position: absolute; }

.split-hero h3 {
	color: #fff;
	font-size: 22px;
	margin: 0 0 8px;
}

.split-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.cat-layout--cards {
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	width: 100%;
}

.hz-card {
	display: flex;
	gap: 14px;
	text-decoration: none;
	color: var(--texto);
	background: #fff;
	border: 1px solid var(--borda);
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.2s;
	min-height: 120px;
}

.hz-card:hover {
	box-shadow: 0 6px 20px rgba(0,26,61,0.1);
}

.hz-card-thumb {
	width: 140px;
	flex-shrink: 0;
	background: #eee;
}

.hz-card-thumb img {
	width: 100%;
	height: 100%;
	min-height: 110px;
	object-fit: cover;
}

.hz-card-body {
	padding: 14px 14px 14px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hz-card-body h3 {
	font-size: 16px;
	margin: 0 0 6px;
	line-height: 1.3;
}

/* Magazine — ideal para Política */

.cat-layout--magazine {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.mag-hero {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	min-height: 320px;
	text-decoration: none;
	background: #111;
}

.mag-hero img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	display: block;
}

.mag-hero .overlay { position: absolute; }

.mag-hero h3 {
	color: #fff;
	font-size: 28px;
	margin: 0 0 8px;
	line-height: 1.2;
}

.mag-hero p {
	color: rgba(255,255,255,0.9);
	font-size: 15px;
	margin: 0 0 8px;
	max-width: 720px;
}

.mag-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	width: 100%;
}

/* ==========================================================================
   Single moderno + archive
   ========================================================================== */

.single-layout,
.archive-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 36px;
	align-items: start;
	margin-top: 24px;
}

.article-modern {
	max-width: none;
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
}

.article-modern h1 {
	font-size: 40px;
	line-height: 1.15;
	margin: 10px 0 18px;
	color: var(--azul);
	font-weight: 900;
}

.author-chip {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-avatar img {
	border-radius: 50%;
	width: 40px;
	height: 40px;
}

.author-chip strong {
	display: block;
	font-size: 14px;
	color: var(--texto);
}

.article-modern .article-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--borda);
	margin-bottom: 24px;
	margin-top: 12px;
}

.article-share-hint {
	font-size: 13px;
	color: var(--muted);
}

.article-featured {
	margin: 0 0 28px;
}

.article-featured--hero {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #111;
}

.article-featured--hero img {
	width: 100%;
	height: auto;
	min-height: 360px;
	max-height: 480px;
	object-fit: cover;
	display: block;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
}

.article-featured figcaption {
	font-size: 13px;
	color: var(--muted);
	margin-top: 10px;
	font-style: italic;
	padding: 0 4px;
}

.article-content p {
	margin: 0 0 1.25em;
}

.article-content img {
	border-radius: 8px;
}

.article-tags a {
	display: inline-block;
	background: var(--cinza);
	color: var(--azul);
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 13px;
	margin: 4px 6px 4px 0;
	font-weight: 600;
}

.tags-label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--azul);
}

.post-nav a {
	display: block;
	padding: 14px 16px;
	background: var(--cinza);
	border-radius: 8px;
	text-decoration: none;
	color: var(--azul);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.35;
}

.post-nav a span {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
	margin-bottom: 4px;
	font-weight: 700;
}

.single-sidebar,
.archive-sidebar {
	position: sticky;
	top: 20px;
}

.sidebar-box {
	margin-bottom: 24px;
	padding: 18px;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid var(--borda);
}

.sidebar-box .section-title {
	font-size: 16px;
	margin-top: 0;
}

.sidebar-cats {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-cats li {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--borda);
}

.sidebar-cats a {
	text-decoration: none;
	color: var(--texto);
	font-weight: 600;
	font-size: 14px;
}

.sidebar-cats a:hover { color: var(--azul2); }

.sidebar-cats .count {
	color: var(--muted);
	font-size: 12px;
}

.archive-header {
	margin-top: 10px;
}

.archive-description {
	color: var(--muted);
	margin-top: -8px;
	margin-bottom: 10px;
}

.posts-archive {
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.archive-main .post-thumb-wrap img,
.posts-archive .highlight-card--archive .post-thumb-wrap img {
	height: 230px;
}

.archive-main .highlight-card h3,
.posts-archive .highlight-card--archive h3 {
	font-size: 18px;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	margin: 28px 0 40px;
	background: var(--azul);
	color: #fff;
	padding: 18px 22px;
	border-radius: 6px;
}

.newsletter-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.newsletter-text strong {
	font-size: 15px;
	letter-spacing: 0.02em;
}

.newsletter-text span {
	font-size: 13px;
	opacity: 0.85;
}

.newsletter-form {
	display: flex;
	gap: 10px;
}

.newsletter input {
	padding: 13px 16px;
	border: 0;
	border-radius: 4px;
	min-width: 260px;
	font-size: 14px;
}

.newsletter button {
	padding: 13px 22px;
	border: 0;
	border-radius: 4px;
	background: var(--vermelho);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.newsletter button:hover { background: #a80000; }

/* ==========================================================================
   Artigo individual
   ========================================================================== */

.article {
	max-width: 820px;
	margin: 30px auto;
	font-size: 18px;
	line-height: 1.65;
}

.article h1 {
	font-size: 38px;
	color: var(--azul);
	line-height: 1.15;
	font-weight: 900;
}

.article-header { margin-bottom: 24px; }

.article-meta {
	display: flex;
	gap: 16px;
	font-size: 14px;
	color: var(--muted);
	margin-top: 12px;
}

.article-featured { margin: 0 0 28px; }
.article-featured img { width: 100%; border-radius: 8px; }
.article-featured--hero img {
	width: 100%;
	height: auto;
	min-height: 360px;
	max-height: 480px;
	object-fit: cover;
	display: block;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
}
.article-content p { margin: 0 0 1.2em; }

.article-tags {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--borda);
	font-size: 14px;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 820px;
	margin: 0 auto 40px;
	padding-top: 20px;
	border-top: 1px solid var(--borda);
}

.post-nav a {
	text-decoration: none;
	font-weight: 700;
	color: var(--azul);
}

.related-posts { margin-bottom: 40px; }
.related-posts .posts { grid-template-columns: repeat(4, 1fr); }

.comments-area { max-width: 820px; margin: 0 auto 50px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--borda);
}

/* PaginaÃ§Ã£o */

.pagination, .navigation { margin: 30px 0; }

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.page-numbers {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid var(--borda);
	border-radius: 4px;
	text-decoration: none;
	color: var(--azul);
	font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--azul);
	color: #fff;
	border-color: var(--azul);
}

/* 404 */

.error-404 {
	text-align: center;
	padding: 60px 18px 80px;
}

.search-form-404 {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 24px 0;
	flex-wrap: wrap;
}

.search-form-404 input {
	padding: 13px;
	border: 1px solid var(--borda);
	border-radius: 5px;
	min-width: 280px;
}

.search-form-404 button,
.btn-home {
	padding: 13px 20px;
	border: 0;
	border-radius: 5px;
	background: var(--vermelho);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
}

/* ==========================================================================
   RodapÃ©
   ========================================================================== */

.site-footer {
	background: #030b20;
	color: #fff;
	padding: 28px 0 0;
	margin-top: 35px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 30px;
	padding-bottom: 28px;
}

.footer-logo {
	font-size: 28px;
	color: #fff;
	font-weight: 900;
}

.footer-logo-link {
	display: inline-block;
	line-height: 0;
	margin-bottom: 14px;
}

.footer-brand p {
	margin: 0;
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.5;
	max-width: 280px;
}

.footer-widget a {
	color: #cbd5e1;
	text-decoration: none;
}

.footer-widget a:hover {
	color: #fff;
}

.footer-widget h4 {
	margin: 0 0 12px;
	font-size: 16px;
	color: #fff;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: 18px 0;
	font-size: 13px;
	color: #94a3b8;
}

.footer-bottom-inner p { margin: 0 0 6px; }
.footer-bottom strong { color: #fff; }
.footer-credits { font-size: 12px; opacity: 0.8; }

.sidebar {
	border-left: 1px solid #e5e7eb;
	padding-left: 20px;
}


/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 900px) {
	.brand { flex-wrap: wrap; }
	.adtop { flex: 1 1 100%; order: 3; max-width: 100%; }
	.search-toggle { order: 2; }

	.grid-home,
	.content-grid,
	.footer-grid,
	.single-layout,
	.archive-layout,
	.cat-layout--featured,
	.cat-layout--split,
	.cat-layout--mosaic {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.mag-row {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.mosaic-large {
		grid-column: auto;
		grid-row: auto;
		min-height: 240px;
		margin-bottom: 0;
	}

	.posts,
	.related-posts .posts,
	.posts-category,
	.posts-destaques,
	.cat-layout--cards,
	.cat-layout--grid,
	.split-grid {
		grid-template-columns: 1fr 1fr;
	}

	.posts-archive { grid-template-columns: 1fr 1fr; }

	.category-block-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero {
		min-height: 300px;
		height: 300px;
		margin-bottom: 14px;
	}

	.side {
		min-height: 0;
		height: auto;
		gap: 12px;
	}

	.side-card-h {
		min-height: 120px;
		flex: none;
	}

	.list-row { grid-template-columns: 140px 1fr; }
	.mosaic-large { min-height: 240px; margin-bottom: 12px; }
	.mosaic-item { min-height: 160px; margin-bottom: 12px; }
	.split-hero { min-height: 240px; margin-bottom: 14px; }
	.feat-main { min-height: 260px; margin-bottom: 14px; }

	.most,
	.sidebar,
	.single-sidebar,
	.archive-sidebar {
		padding-left: 0;
		margin-top: 30px;
		position: static;
	}

	.newsletter {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.newsletter-form {
		flex-direction: column;
		width: 100%;
	}

	.newsletter input { min-width: 0; width: 100%; }

	.nav-inner {
		flex-wrap: wrap;
		height: auto;
	}

	.menu {
		display: none;
		flex-direction: column;
		width: 100%;
		align-items: stretch;
		height: auto;
	}

	.menu.is-open { display: flex; }

	.menu > li {
		width: 100%;
		height: auto;
		flex-direction: column;
		align-items: stretch;
	}

	.menu > li > a {
		width: 100%;
		height: 48px;
		justify-content: flex-start;
		border-bottom: 0 !important;
		border-left: 3px solid transparent !important;
	}

	.menu > li.current-menu-item > a {
		border-left-color: #fff !important;
	}

	.menu .sub-menu {
		position: static;
		display: none !important;
		box-shadow: none;
		border-top: 0;
		background: rgba(0,0,0,0.15);
		width: 100%;
	}

	.menu li:hover > .sub-menu,
	.menu li:focus-within > .sub-menu {
		display: flex !important;
	}
}

@media (max-width: 560px) {
	.posts,
	.posts-archive,
	.posts-category,
	.posts-destaques,
	.cat-layout--cards,
	.cat-layout--grid,
	.split-grid,
	.related-posts .posts {
		grid-template-columns: 1fr;
	}

	.list-row { grid-template-columns: 1fr; }

	.mag-row { grid-template-columns: 1fr; }

	.hz-card { flex-direction: column; }
	.hz-card-thumb { width: 100%; height: 160px; }

	.article-featured--hero img {
		min-height: 240px;
		max-height: 340px;
		aspect-ratio: 16 / 9;
	}

	.hero h1 { font-size: 22px; }
	.brand { padding: 14px; }
	.logo-icon,
	.custom-logo-link img,
	.footer-logo-img {
		width: 95px;
		height: 95px;
		border-radius: 50%;
	}
	.topbar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.topbar-right {
		width: 100%;
		justify-content: space-between;
		margin-left: 0;
		flex-wrap: wrap;
		gap: 10px;
	}
	.article h1,
	.article-modern h1 { font-size: 28px; }
	.post-nav { grid-template-columns: 1fr; }
	.most-num { font-size: 36px; }
}
