@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* ========================================================================= */
/* CORREÇÃO GLOBAL PARA ROLAGEM HORIZONTAL NO MOBILE (VERSÃO ATUALIZADA)
/* ========================================================================= */
html, body {
    width: 100%;
}

main.espaco.container {
    width: 100%;
    overflow-x: hidden;
}

* {
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

/* 
   --- Início do código com TEMA ESCURO aplicado --- 
*/

body {
    background-color: #000000;
	background-attachment: fixed;
    background-repeat: repeat;
    font-family: 'Roboto Condensed', sans-serif;
    margin:0;
    padding:0;
}
* {
    padding:0;
    margin:0;
    vertical-align:baseline;
    list-style:none;
    border:0
}
.anuncios {
	margin-top: 13px!important;
}
/* CORPO */
.container {
    max-width: 1300px;
    margin: 0 auto;
}

/* ========================================================== */
/* CABEÇALHO LADO A LADO (VERSÃO FINAL CORRIGIDA)             */
/* ========================================================== */

/* Organiza os itens do cabeçalho lado a lado */
.top-bar {
    display: flex;
    flex-direction: row;     /* Garante alinhamento horizontal */
    align-items: center;     /* Alinha verticalmente o logo e a busca */
    gap: 30px;               /* Espaço entre o logo e a busca */
    margin-top: 15px;
    padding: 0 10px;
}

/* Impede o link do logo de ser comprimido */
.top-bar > a {
    flex-shrink: 0;
}

/* Faz a barra de busca crescer para preencher o espaço restante */
.pesquisa {
    display: flex;
    flex-grow: 1;            /* ESSA É A MUDANÇA PRINCIPAL */
    width: auto;
}

/* Centraliza e adiciona espaço vertical ao anúncio do cabeçalho */
.header-ad-wrapper {
    margin-top: 35px;
    margin-bottom: 0;
}

.header-ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ========================================================== */
/* FIM DA MODIFICAÇÃO DO CABEÇALHO                            */
/* ========================================================== */


.pesquisa .pesquisar-input {
    flex-grow: 1;
    min-width: 0; 
    background-color: #E0E0E0; 
    color: #333;
    height: 45px;
    padding-left: 25px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
}
.pesquisa .pesquisar-input::placeholder {
    color: #555;
}
.pesquisa .pesquisar-input::-webkit-search-cancel-button {
    display: none;
}
.pesquisa .btn-pesquisa {
    flex-shrink: 0;
    background-color: #E0E0E0;
    height: 45px;
    width: 60px;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background-color: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pesquisa .btn-pesquisa:hover {
    background-color: #D5D5D5;
}
.btn-pesquisa .fa-magnifying-glass {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.pesquisa .btn-pesquisa:hover .fa-magnifying-glass {
    color: #000;
}
.searchs {
    display: none;
}
/* --- FIM DA SEÇÃO DE BUSCA --- */

.pesquisar-input-mobile {
    background-color: #e0e0e0;
    border-radius: 0; 
    border: none;
    height: 50px;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
}

.menu-orange {
    background-color: #FF00FF;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
    -webkit-box-shadow: 7px 9px 23px -4px rgba(0,0,0,0.36);
    -moz-box-shadow: 7px 9px 23px -4px rgba(0,0,0,0.36);
    box-shadow: 7px 9px 23px -4px rgba(0,0,0,0.36);
    justify-content: space-between;
    display: flex;
}
.menu {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 10px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

h2, h1 {
    color: #FFFFFF !important;
}
.menu-orange::before {
    content: "";
    position: absolute;
    height: 50px;
    background: #FF00FF;
    border-right: 0;
    width: 100%;
    left: calc(-84% + 3px);
    z-index: -1;

}

.categorias-btn  {
    background-color: transparent;
    cursor: pointer;
    padding: 5px 12px;
    color: black;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.categorias-btn:not(:last-child)::after {
    content: '|';
    color: black;
    margin-left: 12px;
    opacity: 0.5;
}

.categorias-btn:hover {
    background-color: transparent;
    color: #333;
}

.menu-orange ul li a {
    text-decoration: none;
    color: #000;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: none;
    font-size: 0.9rem;
    transition: 0.3s;
    padding: 0 15px;
}
.menu-orange ul li a:hover {
    color: white;
    transition: 0.3s;
}
.menu-bar {
    margin-top: 30px;
    justify-content: space-between;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16%, 1fr));
    gap: 2px;
}
.grid_g {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid_images{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.grid-relacionado {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.relacionado-flex {
   display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}
   
.artigo img {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    height: 300px;
    margin-left: 0;
    object-fit: cover;
    margin-bottom: 5px;
}
.categorias img {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.artigo {
    margin:0 auto 20px auto;
	padding: 0px 5px 5px 5px;
	box-sizing: border-box;
    position: relative;
    max-width: 270px;
    width:100%;
}
.espaco {
    margin-top: 30px;
	margin: 0 auto;
}
.titulo-home {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    min-height: 2.8em;
}
.titulo-home h1 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 4px;
    height: auto; 
}
.titulo-seo {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 15px!important;
	width:100%;
}
.titulo-seo img {
    width: 35px;
    margin-right: 10px;
}
.titulo-seo h1 {
    color: #FF00FF;
}
.descricao-home-page {
    background-color: rgb(255 255 255 / 10%);
    border-radius:5px;
    font-size: 0.8rem;
    padding: 9px;
    color: #EAEAEA;
}
.ver-mais {
    background-color: #dbbf21;
    border-radius: 5px;
    padding: 3px;
    padding-left: 10px;
    font-family: 'Bebas Neue', sans-serif;
    margin-top: 3px;
    -webkit-box-shadow: 0px 3px 0px 0px rgba(0,0,0,0.13);
    -moz-box-shadow: 0px 3px 0px 0px rgba(0,0,0,0.13);
    box-shadow: 0px 3px 0px 0px rgba(0,0,0,0.13);
    color: black;
    width: fit-content;
    padding-right: 10px;
    display: flex;
}
.artigo a {
    color: white;
    text-decoration: none;
}
.ver-mais:hover {
    background-color: #FF00FF;
    color: white;
}
.artigo:hover {
    background-color: #1a1a1a;
    border-radius: 10px;
    transition: 0.5s ease;
}
.artigo:hover .titulo-home {
    color: #FF00FF;
}
.artigo:hover .descricao-home-page {
    transition: 0.3s ease;
    background-color: #222;
}
.artigo:hover img {
    opacity: 0.8;
}
.artigo:hover .novo {
    background-color: greenyellow;
    color: black;
    transition: 0.5s;
}

.before-footer-ad-wrapper {
    width: 100%;
    margin: 40px 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.before-footer-ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.before-footer-ad-container > * {
    max-width: 100%;
    height: auto;
}

/* --- SEÇÃO DO RODAPÉ CORRIGIDA --- */
.footer-anuncio {
    width: 100%;
    position: relative;
    bottom: 0;
    background-color: #FF00FF; 
    padding: 20px 10px;
    box-sizing: border-box;
}

/* ========================================================== */
/* CORREÇÃO DO LAYOUT DO RODAPÉ (VERSÃO FINAL)                */
/* ========================================================== */
.flex-footer {
    display: flex;
    flex-direction: column;   
    align-items: center;       
    gap: 25px;                 
    padding-top: 30px;
    padding-bottom: 30px;
    color: #333 !important;
    font-size: 1rem;
}

.footer-anuncio p.container {
    text-align: center;      
    max-width: 800px;        
    line-height: 1.5;
    letter-spacing: 1px;
}
/* ========================================================== */
/* FIM DA CORREÇÃO DO RODAPÉ                                  */
/* ========================================================== */

.footer_seo p{
    text-align:center;
    color: #333; 
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-menu ul li a {
    background-color: rgb(0 0 0 / 18%);
    padding: 5px 20px;
    border-radius: 5px;
    margin-right: 10px;
    color: white;
    text-transform: capitalize; 
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
    transition:0.5s;
}
.footer-menu ul li:hover a {
    background-color: rgb(0 0 0 / 32%);
}
/* --- FIM DA SEÇÃO DO RODAPÉ --- */

.logo-menu ul {
    display: flex;
    margin-left: 40px;
    visibility: visible;
    flex-wrap: wrap;
    gap: 30px;
}
.logo-menu ul li a {
    height: 50px;
    padding: 12px 20px;
    box-sizing: border-box;
    background-color: #dbbf21;
    color: black;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration:none;
    -webkit-box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.22);
    -moz-box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.22);
    box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.22);
    transition: 0.5s;
}
.logo-menu ul li a:hover  {
    background-color: #FF00FF;
    color: white;
}
.descricao-home {
    border-radius:6px;
    background-color:#222;
    padding: 5px;
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 10px;
    border: 1px solid #444;
    margin-bottom: 10px!important;
    margin-left: 10px;
    margin-right: 18px;
}

.novo {
    position: absolute;
    top: 20px;
    background-color: orange;
    padding: 1px 10px;
    border-radius: 0px 10px 10px 0px;
    color: black;
}
.fa-eye:before {
    content: "\f06e";
    margin-right: 5px;
}
.views {
    color: #a7a7a7;
    padding: 3px;
    font-family: 'Bebas Neue', sans-serif;
    margin-top: 3px;
    width: fit-content;
    padding-right: 10px;
    display: flex;
    font-size: 0.9rem;
    align-items: center;
    border-radius: 5px;
    margin-left: 9px;
}
a.link-ver {
    display: flex;
}
.novos {
    position: absolute;
    top: 20px;
    right: 5px;
    background-color: rgb(233, 2, 2);
    padding: 1px 10px;
    border-radius: 0px 0px 0px 10px;
    color: white;
}

.exclusive {
    position: absolute;
    top: 20px;
    right: 5px;
    color: #ffffff;
    background-color: #1a1a1a;
    padding: 1px 10px;
    border-radius: 0px 0px 0px 10px;
    font-weight: 600;
}
.novos-ex {
    position: absolute;
    top: 40px;
    right: 5px;
    background-color: rgb(233, 2, 2);
    padding: 1px 10px;
    border-radius: 0px 0px 0px 10px;
    color: white;
}
ul.page-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px; 
    margin: 40px 10px 20px 10px;
    padding: 0;
}
ul.page-numbers li {
    margin: 0 0 8px 0; 
}
.page-numbers {
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: block;
}
a.page-numbers {
    background-color: #333;
    color: #eee;
    transition: 0.5s;
}
a.page-numbers:hover {
    background-color: #FF00FF;
    color: white;
}
.page-numbers.current, span.current {
    background-color: #8B0000;
    color: white;
}
.page-numbers.dots {
    display: none !important;
}

.ver-mais span {
    display: none;
    transition: 0.10s;
    margin-left: 10px;
	margin-bottom:10px!important;
}
.ver-mais:hover span {
    display: block;
    transition: 0.10s;
}
.flex {
    display: flex;
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
}
.flex-relacionados {
    display: flex;
}

.flex-footer img {
    margin-right: 30px;
}
.flex-row{
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.parceiros {
    margin-right: 10px;
    color: #FF00FF;
    font-size: 0.9rem;
    font-family: 'Bebas Neue'; 
}
h3.parceiros {
    font-size: 1rem;
    color: #FF00FF;
    margin-top: 30px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.parceiros figure{
    margin: 0px!important;
    padding: 0px!important;
    margin-bottom: 4px;
    margin-top: 4px;
    border-radius: 10px;
}
.parceiros figure img {
    border-radius: 10px;
}

.titulo-single {
    border-radius: 10px;
    display: flex;
    margin-top: 20px;
    margin-bottom: 10px;
}

.titulo-single h1 {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 5px;
}
.titulo-single .date {
    display: flex;
    flex-wrap: wrap;
    width: 20px;
    font-size: 1.2rem;
    color: white;
    background-color: #333;
    border-radius: 5px;
    padding: 5px 20px;
    line-height: 19px;
}
.info-single {
    margin-left: 20px;
}
.info-single ul.post-categories li a {
    color: black;
    text-decoration: none;
    background-color: #dbbf21;
    padding: 4px 20px;
    border-radius: 3px;
}
.conteudo-single {
    width: 80%;
    margin-right: 10px;
}
.conteudo-singles {
    background-color: #1a1a1a;
    color: #ccc;
    font-size: 0.9rem;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    margin-right: 15px;
}
.anuncio-sidebar {
    margin-top: 10px;
}
.anuncio {
    display: flex;
    justify-content: center;
}
.content-image img {
    width: 100%;
    height: 33.8em;
}

.content-leitor img {
    object-fit: contain;
    width: 100%;
    height: auto;
    padding: 0 15px;
    box-sizing: border-box;
    max-width: 980px;
    margin: 0 auto;
}

.mobile {
    display: none;
    text-align: center;
}
.hide {
    display: none;
}
.desktop {
    text-align: center;
}
.flexColum{
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    align-items: center;
    flex-direction: column;
    margin-top: 10px;
}
.flex_row{
    display:flex;
    flex-direction:row;
    gap:15px;
}
#sheader_content {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    border-bottom: 5px solid #222;
    margin: 15px auto;
}
.content_data{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}
.box-all  #single_title{
    text-align: center;
    margin: 10px auto!important;
}
#single_title{
    text-decoration: none;
}
.data_info{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.8px;
    text-transform: capitalize; 
    font-weight: 600;
    flex-wrap: wrap;
}
.data_info .variante{
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}
.data_info a{
    padding: 5px 5px;
    background-color: #333;
    font-size: 0.8rem;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 5px;
    color: #eee;
}
.data_main{
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex:1;   
}
.grid_layout {
   display: grid;
    grid-template-columns: auto 350px;
    gap: 30px;
    margin-bottom: 50px;
}
.item {
    width:100%;
}
.content-image{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    gap: 3px;
}    
.poster{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 400px;
    max-width: 250px;
}
.thumb{
    position: relative;
    width: 100%;
    height: 100%;
    border: solid 10px  #222;
}
.thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.main_cat_picture{
    display: block;
    height: 20rem;
    width: auto;
    border: solid black 5px;
}
.main_cat_picture a{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.main_cat_picture a .thumb_cat{
    object-fit: cover;
    width: 100%!important;
    height: 100%!important;
    transition:0.5s;
}
.main_cat_picture a .thumb_cat:hover{
    width: 110%!important;
}
.navigation-buttons{
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px; 
}
.navigation-buttons a {
    margin: initial;
    text-decoration: none;
    padding: 10px;
}

/* ----------- MENU HAMBURGUER / --------- */
#hamburguer {
	display: none; 
	width: 30px;
	border-top: solid 4px;
	color: white;
	transition: 0.5s;
    z-index: 1000;
    cursor: pointer;
}
#hamburguer::before {
	display: block;
	content: '';
	background:currentColor;
	height: 4px;
	position: relative;
	bottom: 14px;
}
#hamburguer::after {
	display: block;
	content: '';
	background:currentColor;
	height: 4px;
	position: relative;
	left: 0;
	top: 2px;
}
input#btn-mobiles {
	display: none;
}
input:checked ~ label #hamburguer {
	transform: rotate(45deg);
}
input:checked ~ label #hamburguer::after {
	transform: rotate(45deg);
	visibility: hidden;
	bottom: 0;
}
input:checked ~ label #hamburguer::before {
	transform: rotate(89deg);
	top: -2px;
	right: 1px;
	color: white;
}
input#btn-mobile {
	display: none;
}
section.search-nav .btn-search {
    color: red;
    z-index: 10001;
}

/* ------------ END MENU ------------ */

/* ========================================================== */
/*   >>> INÍCIO DA CORREÇÃO DEFINITIVA DE SOBREPOSIÇÃO <<<    */
/* ========================================================== */
/* 
  Quando o menu mobile é ativado (via checkbox), 
  forçamos o cabeçalho inteiro para a camada mais alta.
*/
body:has(#btn-mobile:checked) header.header {
    z-index: 10001 !important;
}

#navs {
    width: 80% !important;
    background-color: rgba(34, 34, 34, 0.95);
    height: 140vh;
    position: absolute;
    /* 
      Garante que o menu fique na frente do header e dos banners.
    */
    z-index: 10002 !important; 
    margin-left: -3000px;
    margin-top: 0;
    transition: margin-left 0.2s;
    overflow: auto;
    top: 140px;
}
/* ========================================================== */
/*             >>> FIM DA CORREÇÃO DE SOBREPOSIÇÃO <<<        */
/* ========================================================== */

/* --- SEÇÃO DA BUSCA MOBILE (TELA PRETA) --- */
#procurar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    margin-left: -100%;
    transition: margin-left 0.3s ease-in-out;
    padding: 15px; 
    box-sizing: border-box;
    display: flex;
    align-items: center; 
    gap: 15px; 
    -webkit-box-shadow: 0px 5px 15px rgba(0,0,0,0.5); 
    box-shadow: 0px 5px 15px rgba(0,0,0,0.5);
}
.close-search {
    color: #FFF; 
    font-size: 3rem;
    cursor: pointer;
    line-height: 0.5; 
    opacity: 0.7;
    transition: opacity 0.2s;
}
.close-search:hover {
    opacity: 1;
}
#procurar form {
    display: flex;
    flex: 1; 
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}
#procurar .btn-pesquisa {
    position: static;
    border-radius: 0;
    height: 50px;
    width: 60px;
    background-color: #e0e0e0;
}
#procurar .btn-pesquisa i {
    color: #333;
    font-size: 1.8rem;
}
#procurar .pesquisar-input-mobile {
    border-radius: 0;
}
.activel {
   margin-left: 0 !important;
}
/* --- FIM DA SEÇÃO --- */

.ads {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
}
.ads1 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
}
.ads2 {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 2;
}
.active {
    margin:0px!important;
    margin-top: 39px!important;
    display:none;
}
#navs ul li {
    display: block;
    width: 50%;
    margin-top: 10px;
}
#navs ul {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-top: 1px;
    margin-left: 10px;
}
#navs ul li a {
    background-color: #444;
    padding: 5px 10px;
    font-weight: 600;
    box-sizing: border-box;
    color: #eee;
    border-radius: 3px;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    margin-right: 10px;
    align-items: center;
    text-align: center;
    text-transform: capitalize; 
    font-size: 12px;
    -webkit-box-shadow: -1px 3px 5px 0px rgba(0, 0, 0, .34);
    -moz-box-shadow: -1px 3px 5px 0px rgba(0, 0, 0, .34);
    box-shadow: -1px 3px 5px 0px rgba(0, 0, 0, .34);
}
.relacionados-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}
.moresm a{
    background-color: #8B0000;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
}
.moresm a:hover {
    background-color: #dbbf21;
    color: black;
}
#breadcrumbs {
    background-color: #dbbf21;
    padding: 5px 5px;
    color: black;
    font-size: 0.8rem;
    margin-right: 15px;
}
#breadcrumbs a {
    color: #440606;
    text-decoration: none;
    font-size: 0.8rem;
}
.tags a {
    padding: 5px 5px;
    background-color: #333;
    font-size: 0.8rem;
    border-radius: 5px;
    display: block;
    float: left;
    margin-right: 10px;
    color: #eee;
    text-decoration: none;
    margin-bottom: 5px;
}
.leitor-navegacao {
    align-items: center !important;
}

@media (max-width: 1300px ){
    .content-image img {
        width: 96.4%;
    }
    .conteudo-single {
        padding-left: 0px;
        margin-right: 10px;
    }
    .espaco {
        margin-left: 5px;
    }
    .flex-footer {
        margin-left: 10px;
    }
}

@media (max-width: 1080px){
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(24%, 1fr));
    }
}

@media (max-width: 981px) {
    .grid_layout{
        grid-template-columns: auto!important;
        gap: 30px!important;
    }
    .flex-relacionados {
        display: block;
    }
    .content-image{
        justify-content:center!important;
        align-items: baseline;
        gap: 3px;
    } 
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .titulo-seo {
        margin-top: 20px;
    }
    .titulo-single {
        margin-top: 0px;
    }
    .flex-footer {
        display: inline-block;
        text-align: center;
    }
    .flex-footer img {
       margin-bottom: 10px;
    }
    .conteudo-single {
        width: 100%;
        margin-right: 10px;
    }
}

/* --- INÍCIO DA SEÇÃO MOBILE --- */
@media (max-width: 780px) {
    .active {
        display:block;
    }
    .grid_images {
        grid-template-columns: repeat(2, 1fr);   
    }
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(49%, 1fr)); 
        gap: 2px;
    }
    .titulo-home h1 {
        font-size: 14px;
        height: auto;
        font-weight: 700;
    }
    .flex-relacionados {
        margin-top: 60px;
    }
    .menu-orange,
    .desktop,
    .top-bar .pesquisa { /* Esconde a busca do desktop no mobile */
        display: none;
    }

    .mobile {
        display: block;
    }
    
    header {
        position: relative;
        top: 0;
        z-index: 2;
        width: 100%;
    }
	
    /* Regras do .top-bar para mobile, que sobrescrevem a de desktop */
    .top-bar {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        margin: 0;
        background-color: #FF00FF;
        position: relative; 
        z-index: 1001; 
        height: 140px;
        -webkit-box-shadow: 0px 10px 15px -8px rgba(0,0,0,0.41);
        -moz-box-shadow: 0px 10px 15px -8px rgba(0,0,0,0.41);
        box-shadow: 0px 10px 15px -8px rgba(0,0,0,0.41);
    }

    .top-bar > a {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    picture.logo, .logo-menu img {
        margin: 0;
    }

	#hamburguer {
		display: block;
		position: relative;
		margin-top: 0; 
	}

    .searchs {
        display: block !important;
        width: 45px;
        height: 45px;
        cursor: pointer;
        filter: brightness(0) invert(1);
        z-index: 1; 
    }

    .logo-menu ul li a {
        display: none;
    }

    /* Remove a margem lateral do rodapé no mobile */
    .flex-footer {
        margin-left: 0;
        margin-right: 0;
    }

    /* ================================================================ */
    /* AJUSTE FINO DO ESPAÇAMENTO DOS BANNERS (MOBILE) - VERSÃO FINAL   */
    /* ================================================================ */
    
    .espaco {
        margin-top: 0;
    }
    
    .header-ad-wrapper {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    /* Regra final para o banner do meio */
    .artigo-anuncio-grid {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    ul.page-numbers {
        margin: 30px 10px 0 10px; 
    }
    
    .before-footer-ad-wrapper {
        margin: 30px auto;
    }
    
    /* 
    ======================================================================
     INÍCIO - CORREÇÃO DA SOBREPOSIÇÃO DO ANÚNCIO FLUTUANTE
    ======================================================================
    */
    /*
     * Esta regra adiciona um espaçamento na parte de baixo do disclaimer
     * para criar espaço para o anúncio flutuante e impedir que ele
     * cubra o texto. O valor foi ajustado para 60px.
    */
    .footer_seo_wrapper {
        padding-bottom: 60px !important;
    }
    /* ======================================================================
     FIM DA CORREÇÃO
    ======================================================================
    */
    
}
/* --- FIM DA SEÇÃO MOBILE --- */


@media (max-width: 960px){
    .ads {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 2;
    }
    .ads1 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 3;
    }
    .ads2 {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 6;
    }
}

@media (max-width: 768px) {
    .content-leitor img {
        height: 80vh;
    }
}

@media (max-width: 600px) {
    #sheader_content{
        flex-direction: column!important;
        justify-content: flex-start!important;
        align-items: center!important;
    }
}

@media (max-width: 500px) {
    .logo-menu ul{
        display: none;
    }
}

@media (max-width:400px) {
    .grid {
        gap:0;
    }
}

@media (max-width:320px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(197px, 1fr));
    }
}

/* ========================================================== */
/* CSS PARA O ANÚNCIO NO MEIO DA GRADE DE POSTS (ADICIONADO)  */
/* ========================================================== */
.artigo-anuncio-grid {
    grid-column: 1 / -1;
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

/* ========================================================== */
/* CSS PARA ANÚNCIOS FLUTUANTES (STICKY ADS)                  */
/* ========================================================== */
.sticky-ad-desktop,
.sticky-ad-mobile {
    position: fixed;
    z-index: 9999;
}

.sticky-ad-desktop {
    bottom: 5px;
    right: -10px; 
    max-width: 300px;
}

.sticky-ad-mobile {
    display: none;
}

@media (max-width: 780px) {
    .sticky-ad-desktop {
        display: none;
    }
    .sticky-ad-mobile {
        display: flex;         
        justify-content: center; 
        align-items: center;     
        left: 0;                 
        right: 0;
        bottom: 0;
        width: 100%;
        text-align: center; 
    }
}

/* ================================================================= */
/* CSS PARA OS DOIS BANNERS LADO A LADO (VERSÃO FINAL CORRIGIDA)      */
/* ================================================================= */

.dual-banner-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    gap: 2px; 
    margin: 15px auto; 
    padding: 0 10px;
    box-sizing: border-box;
    max-width: 1300px; 
    width: 100%;
}

.dual-banner-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.dual-banner-item img,
.dual-banner-item iframe {
    max-width: 100%;
    height: auto;
    display: block;
}