/*
Theme Name: Blog do Davi Max
Theme URI: https://joeri.com.br/
Author: JOERI
Author URI: https://joeri.com.br/
Description: Tema jornalístico responsivo desenvolvido para o Blog do Davi Max, com destaques em slide, notícias mais acessadas da semana, áreas de banners e grade editorial.
Version: 1.0.10
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: blog-do-davi-max
*/

:root {
	--bdm-primary: #CCA379;
	--bdm-primary-dark: #9b704b;
	--bdm-primary-soft: #f1e5d9;
	--bdm-ink: #1b1815;
	--bdm-muted: #6c6863;
	--bdm-border: #e4dfd9;
	--bdm-bg: #f4f3f1;
	--bdm-paper: #ffffff;
	--bdm-nav: #181512;
	--bdm-footer: #211a14;
	--bdm-danger: #bd231d;
	--bdm-radius: 3px;
	--bdm-shadow: 0 8px 28px rgba( 39, 27, 18, 0.08 );
	--bdm-container: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bdm-bg);
	color: var(--bdm-ink);
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
	color: var(--bdm-primary-dark);
}

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

button,
input,
textarea,
select {
	font: inherit;
}

button,
input[type="submit"] {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin-top: 0;
}

.site-container {
	width: min( calc( 100% - 36px ), var(--bdm-container) );
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 99999;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: #000;
	font-weight: 700;
}

/* Cabeçalho e publicidade */
.site-header {
	background: var(--bdm-paper);
}

.top-ad-area {
	padding: 14px 0;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}

.ad-slot {
	text-align: center;
}

.ad-slot .widget {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.ad-slot p {
	margin: 0;
}

.ad-slot img {
	width: auto;
	max-width: 100%;
	max-height: 140px;
	margin: 0 auto;
	object-fit: contain;
}

.ad-slot--top img {
	max-height: 100px;
}

.ad-slot--middle,
.ad-slot--final {
	margin-top: 28px;
	margin-bottom: 28px;
}

.masthead {
	position: relative;
	width: 100%;
	height: 400px;
	padding: 4px 0 0;
	overflow: hidden;
	background-color: #0d0d0d;
	box-shadow: inset 0 -1px 0 rgba( 204, 163, 121, 0.2 );
}

.masthead-cover {
	display: block;
	width: 100%;
	height: 396px;
	margin: 0 auto;
	line-height: 0;
	background: #0d0d0d;
}

.masthead-cover__picture {
	display: block;
	width: 100%;
	height: 100%;
}

.masthead-cover:hover,
.masthead-cover:focus {
	opacity: 0.98;
	color: inherit;
}

.masthead-cover__image {
	display: block;
	width: 100%;
	height: 396px;
	margin: 0 auto;
	object-fit: cover;
	object-position: center;
}

.below-menu-ad-area {
	padding: 14px 0;
	border-bottom: 1px solid var(--bdm-border);
	background: #fff;
}

.ad-slot--below-menu img {
	max-height: 140px;
}

/* Navegação */
.nav-bar {
	position: relative;
	z-index: 100;
	margin: 0;
	background: var(--bdm-nav);
}

.masthead + .nav-bar {
	margin-top: 0;
}

.nav-inner {
	position: relative;
	display: flex;
	min-height: 48px;
	align-items: stretch;
}

.main-navigation {
	flex: 1;
}

.main-navigation ul {
	display: flex;
	min-height: 48px;
	margin: 0;
	padding: 0;
	align-items: stretch;
	gap: 1px;
	list-style: none;
}

.main-navigation li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.main-navigation a {
	display: flex;
	padding: 0 14px;
	align-items: center;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: var(--bdm-primary);
	color: #17120d;
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	width: 220px;
	min-height: 0;
	padding: 7px 0;
	background: var(--bdm-nav);
	box-shadow: var(--bdm-shadow);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: block;
}

.main-navigation .sub-menu li,
.main-navigation .sub-menu a {
	display: block;
	width: 100%;
}

.main-navigation .sub-menu a {
	padding: 10px 15px;
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: #fff;
}

.search-toggle {
	display: grid;
	width: 48px;
	padding: 0;
	place-items: center;
	border: 0;
	background: transparent;
	color: #fff;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
	background: var(--bdm-primary);
	color: #18120e;
}

.search-toggle svg {
	width: 18px;
	fill: currentColor;
}

.header-search {
	position: absolute;
	top: calc( 100% + 8px );
	right: 0;
	z-index: 10;
	width: min( 390px, calc( 100vw - 36px ) );
	padding: 14px;
	background: #fff;
	box-shadow: var(--bdm-shadow);
}

.search-form {
	display: flex;
	width: 100%;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	height: 43px;
	padding: 0 13px;
	border: 1px solid var(--bdm-border);
	border-right: 0;
	border-radius: var(--bdm-radius) 0 0 var(--bdm-radius);
	outline: none;
}

.search-field:focus {
	border-color: var(--bdm-primary);
}

.search-submit,
.button {
	display: inline-flex;
	min-height: 43px;
	padding: 0 18px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0 var(--bdm-radius) var(--bdm-radius) 0;
	background: var(--bdm-primary);
	color: #18120e;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.button {
	border-radius: var(--bdm-radius);
}

.search-submit:hover,
.button:hover {
	background: var(--bdm-primary-dark);
	color: #fff;
}

/* Faixa de notícias */
.news-ticker {
	border-bottom: 1px solid var(--bdm-border);
	background: #fff;
}

.ticker-inner {
	display: flex;
	height: 42px;
	align-items: center;
	overflow: hidden;
}

.ticker-label {
	display: flex;
	height: 26px;
	padding: 0 13px;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	border-radius: 2px;
	background: var(--bdm-primary);
	color: #18120e;
	font-size: 10px;
	letter-spacing: 0.05em;
}

.ticker-label span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bdm-danger);
	box-shadow: 0 0 0 4px rgba( 189, 35, 29, 0.16 );
	animation: bdm-pulse 1.4s infinite;
}

@keyframes bdm-pulse {
	50% { opacity: 0.45; }
}

.ticker-window {
	min-width: 0;
	margin-left: 15px;
	overflow: hidden;
	white-space: nowrap;
}

.ticker-track {
	display: inline-flex;
	align-items: center;
	animation: bdm-ticker 35s linear infinite;
}

.ticker-track:hover {
	animation-play-state: paused;
}

.ticker-track a {
	position: relative;
	padding-right: 38px;
	color: #3d3935;
	font-size: 12px;
	font-weight: 600;
}

.ticker-track a::after {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--bdm-primary);
	content: "";
	transform: translateY( -50% );
}

@keyframes bdm-ticker {
	0%, 8% { transform: translateX( 0 ); }
	100% { transform: translateX( -62% ); }
}

/* Títulos de seção */
.section-heading {
	display: flex;
	min-height: 40px;
	margin-bottom: 14px;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--bdm-ink);
}

.section-heading h2 {
	position: relative;
	margin: 0;
	padding: 0 0 9px;
	font-size: 19px;
	font-weight: 850;
	line-height: 1.15;
}

.section-heading h2::after {
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 52px;
	height: 3px;
	background: var(--bdm-primary);
	content: "";
}

.section-heading > a {
	padding-bottom: 7px;
	color: var(--bdm-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.section-heading > a span {
	color: var(--bdm-primary-dark);
	font-size: 16px;
}

.section-heading--compact {
	min-height: 35px;
	margin-bottom: 8px;
}

.section-heading--compact h2 {
	padding-bottom: 7px;
	font-size: 15px;
}

/* Área principal de destaques */
.home-main {
	padding: 22px 0 48px;
}

.lead-news {
	display: grid;
	grid-template-columns: minmax( 0, 1.78fr ) minmax( 245px, 0.92fr ) minmax( 300px, 1.08fr );
	gap: 14px;
}

.lead-column {
	min-width: 0;
}

.hero-slider,
.hero-slides {
	position: relative;
	height: 480px;
	overflow: hidden;
	background: #1b1815;
}

.hero-slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
}

.hero-slide__image,
.secondary-feature__image {
	position: absolute;
	inset: 0;
display: block;
}

.hero-slide__image::after,
.secondary-feature__image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient( 180deg, transparent 30%, rgba( 13, 10, 8, 0.94 ) 100% );
	content: "";
}

.hero-slide__image img,
.hero-slide__image .image-placeholder,
.secondary-feature__image img,
.secondary-feature__image .image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slide__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 34px 31px 27px;
	color: #fff;
}

.post-category {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 8px;
	border-radius: 1px;
	background: var(--bdm-primary);
	color: #19130e;
	font-size: 10px;
	font-weight: 850;
	line-height: 1.1;
	text-transform: uppercase;
}

.post-category:hover,
.post-category:focus {
	background: var(--bdm-primary-dark);
	color: #fff;
}

.hero-slide h2 {
	max-width: 95%;
	margin: 0 0 14px;
	font-size: clamp( 28px, 3vw, 43px );
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.08;
	text-shadow: 0 2px 8px rgba( 0, 0, 0, 0.35 );
}

.hero-slide h2 a,
.secondary-feature h3 a {
	color: #fff;
}

.post-meta {
	display: flex;
	margin-top: 12px;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 14px;
	color: var(--bdm-muted);
	font-size: 12px;
}

.post-meta--compact {
	margin-top: 8px;
	font-size: 10px;
}

.hero-slide .post-meta,
.secondary-feature .post-meta {
	color: rgba( 255, 255, 255, 0.82 );
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.meta-item svg {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	fill: currentColor;
}

.meta-item a:hover {
	color: var(--bdm-primary);
}

.slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: grid;
	width: 34px;
	height: 45px;
	padding: 0;
	place-items: center;
	border: 0;
	background: rgba( 0, 0, 0, 0.5 );
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 29px;
	line-height: 1;
	transform: translateY( -50% );
}

.slider-arrow:hover {
	background: var(--bdm-primary);
	color: #17120e;
}

.slider-arrow--prev { left: 0; }
.slider-arrow--next { right: 0; }

.slider-dots {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: flex;
	gap: 6px;
}

.slider-dot {
	width: 22px;
	height: 4px;
	padding: 0;
	border: 0;
	background: rgba( 255, 255, 255, 0.48 );
}

.slider-dot.is-active {
	background: var(--bdm-primary);
}

.secondary-stack {
	display: grid;
	height: 480px;
	grid-template-rows: repeat( 2, 1fr );
	gap: 12px;
}

.secondary-feature {
	position: relative;
	min-height: 0;
	overflow: hidden;
	background: #1b1815;
}

.secondary-feature__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 18px 17px 14px;
	color: #fff;
}

.secondary-feature .post-category {
	margin-bottom: 5px;
}

.secondary-feature h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.popular-list {
	height: 480px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	list-style: none;
}

.popular-item {
	position: relative;
	display: grid;
	height: 96px;
	grid-template-columns: 105px 1fr;
	align-items: stretch;
	border-bottom: 1px solid var(--bdm-border);
}

.popular-item:last-child {
	border-bottom: 0;
}

.popular-rank {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	background: var(--bdm-primary);
	color: #18120e;
	font-size: 13px;
	font-weight: 900;
}

.popular-thumb {
	min-width: 0;
	overflow: hidden;
}

.popular-thumb img,
.popular-thumb .image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.popular-item:hover .popular-thumb img {
	transform: scale( 1.06 );
}

.popular-content {
	min-width: 0;
	padding: 9px 10px;
}

.popular-content .post-category {
	margin: 0 0 4px;
	padding: 0;
	background: transparent;
	color: var(--bdm-primary-dark);
	font-size: 9px;
}

.popular-content h3 {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* Cards e blocos de conteúdo */
.category-showcase {
	margin-top: 28px;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	gap: 14px;
}

.posts-grid {
	display: grid;
	gap: 17px;
}

.posts-grid--three {
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

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

.news-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #ebe7e2;
	border-radius: var(--bdm-radius);
	background: #fff;
	box-shadow: 0 3px 14px rgba( 42, 32, 24, 0.035 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
	transform: translateY( -3px );
	box-shadow: var(--bdm-shadow);
}

.news-card__image {
	display: block;
	height: 185px;
	overflow: hidden;
	background: #e6dfd8;
}

.category-grid .news-card__image {
	height: 150px;
}

.news-card__image img,
.news-card__image .image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
	transform: scale( 1.045 );
}

.image-placeholder {
	display: grid;
	place-items: center;
	background:
		linear-gradient( 135deg, rgba( 204, 163, 121, 0.94 ), rgba( 93, 66, 43, 0.94 ) ),
		repeating-linear-gradient( -45deg, transparent 0, transparent 15px, rgba( 255, 255, 255, 0.09 ) 15px, rgba( 255, 255, 255, 0.09 ) 30px );
	color: rgba( 255, 255, 255, 0.88 );
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 800;
	text-align: center;
}

.news-card__body {
	position: relative;
	padding: 16px 15px 14px;
}

.news-card__body .post-category {
	position: absolute;
	top: -13px;
	left: 14px;
	margin: 0;
}

.news-card__title {
	display: -webkit-box;
	min-height: 63px;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 760;
	letter-spacing: -0.012em;
	line-height: 1.32;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.category-grid .news-card__title {
	min-height: 58px;
	font-size: 14px;
	line-height: 1.36;
}

.news-card__title a:hover {
	color: var(--bdm-primary-dark);
}

.news-card .post-meta {
	padding-top: 10px;
	border-top: 1px solid #f0ede9;
}

.category-grid .news-card .meta-author {
	display: none;
}

.home-content-layout,
.content-layout {
	display: grid;
	grid-template-columns: minmax( 0, 3fr ) minmax( 275px, 0.95fr );
	gap: 25px;
	align-items: start;
}

.home-content-layout {
	margin-top: 29px;
}

.news-feed,
.archive-content,
.single-content {
	min-width: 0;
}

.pagination,
.pagination .nav-links {
	display: flex;
	margin-top: 28px;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.pagination .page-numbers {
	display: grid;
	min-width: 35px;
	height: 35px;
	padding: 0 8px;
	place-items: center;
	border: 1px solid var(--bdm-border);
	background: #fff;
	color: #4d4742;
	font-size: 12px;
	font-weight: 700;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: var(--bdm-primary);
	background: var(--bdm-primary);
	color: #18120e;
}

/* Sidebar e widgets */
.site-sidebar {
	position: sticky;
	top: 18px;
	min-width: 0;
}

.widget {
	margin: 0 0 20px;
	padding: 17px;
	border: 1px solid #ebe7e2;
	background: #fff;
}

.widget-title {
	position: relative;
	margin: 0 0 15px;
	padding-bottom: 9px;
	border-bottom: 2px solid var(--bdm-ink);
	font-size: 16px;
	font-weight: 850;
}

.widget-title::after {
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 44px;
	height: 3px;
	background: var(--bdm-primary);
	content: "";
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid #eeeae5;
}

.widget li:last-child {
	border-bottom: 0;
}

.widget_categories li {
	display: flex;
	justify-content: space-between;
}

.widget a {
	font-weight: 650;
}

.sidebar-posts li {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 10px;
}

.sidebar-post-thumb {
	display: block;
	height: 62px;
	overflow: hidden;
}

.sidebar-post-thumb img,
.sidebar-post-thumb .image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-size: 8px;
}

.sidebar-posts li > div > a {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.sidebar-posts time {
	display: block;
	margin-top: 5px;
	color: var(--bdm-muted);
	font-size: 9px;
}

.widget_media_image img,
.widget_custom_html img {
	width: 100%;
}

/* Arquivos e matéria */
.internal-main {
	padding: 35px 0 52px;
}

.archive-header {
	margin-bottom: 20px;
	padding: 23px 25px;
	border-left: 5px solid var(--bdm-primary);
	background: #fff;
}

.archive-header h1 {
	margin: 0;
	font-size: 30px;
	letter-spacing: -0.03em;
}

.archive-eyebrow {
	margin: 0 0 4px;
	color: var(--bdm-primary-dark);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.archive-description {
	margin-top: 9px;
	color: var(--bdm-muted);
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.single-article,
.comments-area {
	padding: clamp( 22px, 4vw, 42px );
	border: 1px solid #ebe7e2;
	background: #fff;
}

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

.article-header h1 {
	margin: 6px 0 13px;
	font-size: clamp( 34px, 4.5vw, 54px );
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.page-article .article-header h1 {
	font-size: clamp( 32px, 4vw, 46px );
}

.article-subtitle {
	margin-bottom: 16px;
	color: #625c56;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 1.45;
}

.article-featured-image {
	margin: 0 -12px 30px;
}

.article-featured-image img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.article-featured-image figcaption,
.wp-caption-text {
	margin-top: 7px;
	color: var(--bdm-muted);
	font-size: 11px;
	font-style: italic;
}

.article-body {
	color: #2c2926;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	line-height: 1.78;
}

.article-body p {
	margin: 0 0 1.35em;
}

.article-body ul,
.article-body ol {
	margin: 0 0 1.35em;
	padding-left: 1.45em;
}

.article-body li + li {
	margin-top: 0.38em;
}

.article-body figure,
.article-body .wp-caption,
.article-body .wp-block-image {
	margin-top: 1.55em;
	margin-bottom: 1.55em;
}

.article-body > img,
.article-body p > img {
	margin-top: 0.55em;
	margin-bottom: 1.55em;
}

.article-body hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--bdm-border);
}

.article-body > *:last-child {
	margin-bottom: 0;
}

.article-body a {
	color: var(--bdm-primary-dark);
	text-decoration: underline;
}

.article-body h2,
.article-body h3,
.article-body h4 {
	margin: 1.6em 0 0.65em;
	color: var(--bdm-ink);
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	line-height: 1.2;
}

.article-body blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	border-left: 5px solid var(--bdm-primary);
	background: var(--bdm-primary-soft);
	font-size: 21px;
	font-style: italic;
}

.article-body table {
	width: 100%;
	border-collapse: collapse;
}

.article-body th,
.article-body td {
	padding: 10px;
	border: 1px solid var(--bdm-border);
	text-align: left;
}

.article-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--bdm-border);
}

.article-tags {
	margin-bottom: 14px;
	font-size: 12px;
}

.post-navigation {
	display: grid;
	margin-top: 20px;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.post-navigation > div {
	padding: 15px;
	background: #fff;
}

.post-navigation > div:last-child {
	text-align: right;
}

.post-navigation span {
	display: block;
	margin-bottom: 4px;
	color: var(--bdm-primary-dark);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation a {
	font-size: 12px;
	font-weight: 750;
}

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

.related-posts .news-card__image {
	height: 140px;
}

.related-posts .news-card__title {
	font-size: 13px;
}

.comments-area {
	margin-top: 25px;
}

.comments-title,
.comment-reply-title {
	font-size: 22px;
}

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

.comment-body {
	margin: 0 0 14px;
	padding: 15px;
	border: 1px solid var(--bdm-border);
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 700;
}

.comment-form input:not( [type="submit"] ),
.comment-form textarea {
	width: 100%;
	padding: 11px;
	border: 1px solid var(--bdm-border);
}

.comment-form .submit {
	padding: 11px 18px;
	border: 0;
	background: var(--bdm-primary);
	font-weight: 800;
}

.empty-state {
	padding: 35px;
	background: #fff;
	text-align: center;
}

.empty-state .search-form {
	max-width: 520px;
	margin: 20px auto 0;
}

.error-page {
	padding: 75px 0;
}

.error-page__inner {
	max-width: 740px;
	padding: 55px;
	background: #fff;
	box-shadow: var(--bdm-shadow);
	text-align: center;
}

.error-code {
	display: block;
	color: var(--bdm-primary);
	font-size: clamp( 78px, 15vw, 150px );
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.8;
}

.error-page h1 {
	margin: 25px 0 8px;
	font-size: 34px;
}

.error-page .search-form {
	max-width: 520px;
	margin: 25px auto 16px;
}

/* Rodapé */
.site-footer {
	margin-top: 20px;
	background: var(--bdm-footer);
	color: rgba( 255, 255, 255, 0.78 );
}

.footer-grid {
	display: grid;
	padding-top: 50px;
	padding-bottom: 45px;
	grid-template-columns: 1.35fr repeat( 3, 1fr );
	gap: 36px;
}

.footer-brand .custom-logo {
	max-height: 80px;
	filter: brightness( 0 ) invert( 1 );
}

.footer-logo {
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 850;
}

.footer-brand p {
	max-width: 290px;
	margin: 14px 0;
	font-size: 12px;
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.footer-socials a {
	padding: 5px 8px;
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.footer-column .widget {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.footer-column .widget-title {
	border-color: rgba( 255, 255, 255, 0.22 );
	color: #fff;
	font-size: 14px;
}

.footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-column li {
	padding: 6px 0;
	border: 0;
	font-size: 12px;
}

.footer-column a:hover {
	color: var(--bdm-primary);
}

.footer-about p {
	font-size: 12px;
}

.footer-bottom {
	border-top: 1px solid rgba( 255, 255, 255, 0.1 );
	background: rgba( 0, 0, 0, 0.2 );
}

.footer-bottom-inner {
	display: flex;
	min-height: 55px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 10px;
}

.footer-bottom p {
	margin: 0;
}

.developer-credit a {
	color: var(--bdm-primary);
	font-weight: 850;
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 50;
	display: grid;
	width: 38px;
	height: 38px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 2px;
	background: var(--bdm-primary);
	color: #18120e;
	font-size: 19px;
	opacity: 0;
	visibility: hidden;
	transform: translateY( 10px );
	transition: 0.25s ease;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
}

/* Elementos nativos do WordPress */
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignwide { width: calc( 100% + 80px ); max-width: calc( 100% + 80px ); margin-left: -40px; }
.alignfull { width: calc( 100% + 84px ); max-width: calc( 100% + 84px ); margin-left: -42px; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; gap: 10px; }
.gallery-columns-2 { grid-template-columns: repeat( 2, 1fr ); }
.gallery-columns-3 { grid-template-columns: repeat( 3, 1fr ); }
.sticky { border-top: 3px solid var(--bdm-primary); }
.bypostauthor { border-left: 3px solid var(--bdm-primary); }

/* Tablet */
@media ( max-width: 1050px ) {
	.masthead {
		height: clamp( 150px, 41.67vw, 400px );
		padding: 4px 0 0;
	}

	.masthead-cover {
		height: 100%;
	}

	.masthead-cover__image {
		height: 100%;
		object-fit: cover;
		object-position: center top;
	}

	.lead-news {
		grid-template-columns: minmax( 0, 1.6fr ) minmax( 250px, 0.85fr );
	}

	.lead-column--popular {
		grid-column: 1 / -1;
	}

	.popular-list {
		display: grid;
		height: auto;
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	}

	.popular-item {
		display: block;
		height: auto;
		border-right: 1px solid var(--bdm-border);
		border-bottom: 0;
	}

	.popular-thumb {
		display: block;
		height: 105px;
	}

	.popular-content h3 {
		font-size: 12px;
	}

	.category-grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}

	.category-grid .news-card:nth-child( n+4 ) {
		display: none;
	}

	.home-content-layout,
	.content-layout {
		grid-template-columns: minmax( 0, 2.35fr ) minmax( 250px, 0.85fr );
	}

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

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

@media ( max-width: 820px ) {
	.site-container {
		width: min( calc( 100% - 28px ), var(--bdm-container) );
	}

	.menu-toggle {
		display: flex;
	min-height: 48px;
		padding: 0 12px;
		align-items: center;
		gap: 4px;
	}

	.menu-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		background: #fff;
	}

	.menu-toggle span:nth-child( 2 ),
	.menu-toggle span:nth-child( 3 ) {
		margin-left: -24px;
		transform: translateY( 6px );
	}

	.menu-toggle span:nth-child( 3 ) {
		transform: translateY( -6px );
	}

	.menu-toggle b {
		margin-left: 7px;
		font-size: 12px;
	}

	.main-navigation {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		width: min( 340px, 86vw );
		padding: 68px 17px 24px;
		overflow-y: auto;
		background: var(--bdm-nav);
		box-shadow: 16px 0 50px rgba( 0, 0, 0, 0.34 );
		transform: translateX( -105% );
		transition: transform 0.3s ease;
	}

	.main-navigation.is-open {
		transform: translateX( 0 );
	}

	.main-navigation::before {
		position: absolute;
		top: 20px;
		left: 20px;
		color: var(--bdm-primary);
		content: "NAVEGAÇÃO";
		font-size: 10px;
		font-weight: 800;
		letter-spacing: 0.13em;
	}

	.main-navigation ul,
	.main-navigation li,
	.main-navigation a {
		display: block;
		width: 100%;
		height: auto;
		min-height: 0;
	}

	.main-navigation ul {
		border-top: 1px solid rgba( 255, 255, 255, 0.12 );
	}

	.main-navigation li {
		border-bottom: 1px solid rgba( 255, 255, 255, 0.12 );
	}

	.main-navigation a {
		padding: 13px 10px;
		color: #fff;
		font-size: 13px;
	}

	.main-navigation .sub-menu {
		position: static;
		display: block;
		width: 100%;
		padding: 0 0 7px 15px;
		box-shadow: none;
	}

	.search-toggle {
		margin-left: auto;
	}

	.lead-news {
		grid-template-columns: 1fr;
	}

	.hero-slider,
	.hero-slides {
		height: 460px;
	}

	.secondary-stack {
		height: auto;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		grid-template-rows: 245px;
	}

	.popular-list {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.popular-item {
		display: grid;
		height: 100px;
		grid-template-columns: 105px 1fr;
		border-right: 1px solid var(--bdm-border);
		border-bottom: 1px solid var(--bdm-border);
	}

	.popular-thumb {
		height: 100%;
	}

	.popular-item:last-child {
		grid-column: 1 / -1;
	}

	.home-content-layout,
	.content-layout {
		grid-template-columns: 1fr;
	}

	.site-sidebar {
		position: static;
	}

	.single-content + .site-sidebar {
		margin-top: 5px;
	}

	.related-posts .posts-grid--three {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

/* Celular */
@media ( max-width: 560px ) {
	body {
		font-size: 14px;
	}

	.site-container {
		width: min( calc( 100% - 20px ), var(--bdm-container) );
	}

	.top-ad-area {
		padding: 8px 0;
	}

	.masthead {
		padding: 4px 0 0;
	}

	.ticker-label {
		padding-inline: 9px;
	}

	.home-main {
		padding-top: 15px;
	}

	.hero-slider,
	.hero-slides {
		height: 395px;
	}

	.hero-slide__content {
		padding: 22px 18px 21px;
	}

	.hero-slide h2 {
		max-width: 100%;
		font-size: 27px;
	}

	.hero-slide .meta-author {
		display: none;
	}

	.secondary-stack {
		grid-template-columns: 1fr;
		grid-template-rows: repeat( 2, 235px );
	}

	.popular-list {
		display: block;
	}

	.popular-item,
	.popular-item:last-child {
		display: grid;
		height: 96px;
		grid-template-columns: 108px 1fr;
		border-right: 0;
	}

	.category-grid,
	.posts-grid--three,
	.posts-grid--two,
	.related-posts .posts-grid--three {
		grid-template-columns: 1fr;
	}

	.category-grid .news-card:nth-child( n+4 ) {
		display: block;
	}

	.news-card__image,
	.category-grid .news-card__image {
		height: 220px;
	}

	.news-card__title,
	.category-grid .news-card__title {
		min-height: 0;
		font-size: 17px;
	}

	.section-heading h2 {
		font-size: 17px;
	}

	.article-header h1 {
		font-size: 32px;
	}

	.single-article,
	.comments-area {
		padding: 20px 17px;
	}

	.article-featured-image {
		margin-right: 0;
		margin-left: 0;
	}

	.article-body {
		font-size: 17px;
		line-height: 1.72;
	}

	.alignwide,
	.alignfull {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
	}

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

	.post-navigation > div:last-child {
		text-align: left;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.footer-bottom-inner {
		padding: 13px 0;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		text-align: center;
	}

	.error-page {
		padding: 35px 0;
	}

	.error-page__inner {
		padding: 38px 18px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
