body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: #212529;
}

header {
  position: relative;
  z-index: 1020;
}

.area-principal {
  background-color: #c4170c;
  color: #ffffff;
  position: relative;
  width: 100%;
}

.main_relative {
  position: relative;
}

#saltoicon img{
  width: 80px;
  height: 40px;
}

#assine{
position: absolute;
top: 15%;
left: 88%;
color: #3333339c;
font-size:smaller;
}

#g1{
color: #c4170c;
font-weight: bold;
}

#ge{
color:#06aa48;
font-weight: bold;
}

#gshow{
color:#ff6700;
font-weight: bold;
}

#globoplay{
color:#fb0234;
font-weight: bold;
}

#oglobo{
color:#1e4c9a;
font-weight: bold;
}

#login1{
position: absolute;
left: 94%;
top: 15%;
font-size:smaller;
}

.menu-icon {
  font-size: 20px;
  cursor: pointer;
}

.menu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  background-color: #e7e2e2;
  padding-left: 10px;
}

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

.menu li {
  margin: 0;
  padding: 0;
}

.menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.menu a:hover {
  background-color: #ccc;
}


.search-form-header input.form-control {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #212529;
}

.search-form-header input.form-control::placeholder {
  color: #6c757d;
}

/* CONTAINER DE TODO ARTIGO PRINCIPAL */

.container-box{
  width: 43%;
  top: 127pt;
  height: 440pt;
  margin-left: 5%;
  position: absolute;
}


/* CONTAINER ARTIGO PRINCIPAL NOTICIA PRINCIPAL */

.artigo-principal{
  padding-top: 2%;
  padding-left: 2%;
  padding-right: 4%;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.096);
  border-radius: 5px;
  height: 100%;
  list-style: none;
}

.artigo-principal h1{
  margin-top: 20px;
}

.artigo-principal a{
  text-decoration: none;
  color: #a6130a;
}

.artigo-principal p{
  margin-top: 40px;
}

.artigo-principal p a{
  color:#333;
}

.blankspace-artigo-principal{
  width: 100%;
  height: 120pt;
}

.article-principal-titulo{
  width: 100%;
  height: 130pt;
}

.genereic-article-principal{
  margin-top: 5pt;
  list-style:disc;
  color: #a6130a;
  cursor: pointer;
}


/* NOTICIAS PRINCIPAIS SECUNDARIAS */


  .container_two_article1{
    top: 165px;
    left: 50%;
    position: absolute;
    width: 550px;
    border: 1px solid rgba(0, 0, 0, 0.096);
    border-radius: 5px;
    height: 280px;
  }

  .container_two_article2{
    top: 470px;
    left: 50%;
    position: absolute;
    width: 550px;
    border: 1px solid rgba(0, 0, 0, 0.096);
    border-radius: 5px;
    height: 280px;
  }
 
  .two_article1, .two_article2 {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ajusta a imagem para cobrir todo o elemento */
    background-repeat: no-repeat; /* Evita repetição da imagem */
    background-position: center center; /* Centraliza a imagem */
}

.two_article1 h2, .two_article2 h2 {
    position: absolute;
    bottom: 10px; /* Ajuste conforme necessário */
    left: 10px; /* Ajuste conforme necessário */
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

.two_article1 a, .two_article2 a {
    text-decoration: none;
    color: inherit;
}


/*   CONTEINER NOTICIAS GERAIS      */

.container-news{
  position:absolute;
  width: 60%;
  height: 600pt;
  left: 5%;
  margin-top: 3%;
}

.generico1{
  border-bottom: solid rgba(0, 0, 0, 0.247) 1px;
  position: absolute;
  height: 200pt;
  width: 550pt;
  margin-top: 520px;
}

.generico1 img{
width: 350px;
margin-top: 4%;
cursor: pointer;
}

.titulo-generico{
font-weight: bold;
left: 50%;
top: 12%;
position: absolute;
font-size: 1.5em;
color:#a6130a ;
cursor: pointer;

}

.subtitulo-generico{
position: absolute;
left: 50%;
top: 60%;
font-style: italic;
font-family:Arial;
cursor: pointer;
}


/* container recommends */

.container-recommends{
  position: absolute;
  border-radius: 5px;
  border: solid 1px rgba(0, 0, 0, 0.089);
  width: 28%;
  left: 67.5%;
  top: 615pt;
  height: 420pt;
}



.titlerecommend{
width: 100%;
height: 40pt;
padding-left: 22pt;
padding-top: 12pt;
border-bottom: solid 1px rgba(0, 0, 0, 0.089);
}

.titlerecommend h2{
font-size:large;
}

.mini_recommend{
width: 100%;
position: relative;
height: 110pt;
padding: 5pt;
padding-top: 10pt;
border-bottom: solid 1px rgba(0, 0, 0, 0.089);
}

.minirecommend_title{
  word-wrap: break-word;
  position: absolute;
  height: 100px;
  font-size: medium;
  top: 20%;
  width: 40%;
  color:#a6130a ; 
  font-family:inherit;
}

.mini_recommend a{
  text-decoration: none;
}


.foto_recomend{
  width: 50%;
  height: 50%;
  object-fit: cover;
  position: absolute;
  left: 48%;
  top: 20%;
}


.more_recommend{
position: absolute;
top: 90%;
width: 100%;
height: 45pt;
font-size: 1rem;
color: #a6130a;
cursor: pointer;
padding-left: 22pt;
padding-top: 12pt;
}



/* CONTAINER CLIMA  */


.container-clima{
  position: absolute;
  top: 1050pt;
  left: 67.5%;
  width: 28%;
  height: 229pt;
  border-radius: 5px;
  border: solid 1px rgba(0, 0, 0, 0.089);
}

.titleclima{
width: 100%;
height: 40pt;
padding-left: 22pt;
padding-top: 13pt;
border-bottom: solid 1px rgba(0, 0, 0, 0.089);
}

.titleclima h2{
font-size:large;
}

.contclima{
margin-top: 3%;
width: 100%;
height: 150pt;
padding: 6pt;
}


.moreclima{
border-top: solid 1px rgba(0, 0, 0, 0.089);
width: 100%;
height: 30pt;
padding-left: 22pt;
padding-top: 6pt;
color: #a6130a;
cursor: pointer;
}

/* Offcanvas Menu e Gaveta Lateral são controlados nativamente pelo Bootstrap 5 */

/* ==========================================================================
   PÁGINAS DE BUSCA E FILTROS (PADRÃO G1)
   ========================================================================== */
.search-filter-page {
  max-width: 1040px;
  margin: 30px auto;
  padding: 0 20px;
}

.search-filter-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.search-filter-header .breadcrumb {
  margin-bottom: 12px;
  font-size: 13px;
}

.search-filter-header .breadcrumb a {
  color: #8332a3;
  text-decoration: none;
}

.search-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  line-height: 1.2;
}

.search-page-title .highlight-category {
  color: #c4170c;
}

.search-page-title .highlight-tag {
  color: #8332a3;
}

.search-result-count {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* Lista de Cards Horizontais */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-horizontal-card {
  display: flex;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.news-card-media {
  flex: 0 0 260px;
  max-width: 260px;
  background-color: #f0f0f0;
}

.news-card-media a {
  display: block;
  height: 100%;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 170px;
  display: block;
}

.news-card-content {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-meta-top {
  margin-bottom: 6px;
}

.badge-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c4170c;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.badge-category:hover {
  text-decoration: underline;
  color: #900c03;
}

.news-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.news-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-card-title a:hover {
  color: #c4170c;
}

.news-card-summary {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.news-card-meta-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #888888;
  border-top: 1px solid #f4f4f4;
  padding-top: 8px;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-card-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-tag {
  display: inline-block;
  font-size: 11px;
  background-color: #f1f1f1;
  color: #555555;
  padding: 2px 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.badge-tag:hover {
  background-color: #8332a3;
  color: #ffffff;
}

/* Estado Vazio */
.search-empty-state {
  text-align: center;
  padding: 50px 20px;
  background: #fdfdfd;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
}

.search-empty-state .empty-icon {
  font-size: 48px;
  color: #b0b0b0;
  margin-bottom: 15px;
}

.search-empty-state h3 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.search-empty-state p {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.search-filter-header .breadcrumb {
  margin-bottom: 12px;
  font-size: 13px;
}

.search-filter-header .breadcrumb a {
  color: #8332a3;
  text-decoration: none;
}

.search-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  line-height: 1.2;
}

.search-page-title .highlight-category {
  color: #c4170c;
}

.search-page-title .highlight-tag {
  color: #8332a3;
}

.search-result-count {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* Lista de Cards Horizontais */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-horizontal-card {
  display: flex;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.news-card-media {
  flex: 0 0 260px;
  max-width: 260px;
  background-color: #f0f0f0;
}

.news-card-media a {
  display: block;
  height: 100%;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 170px;
  display: block;
}

.news-card-content {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-meta-top {
  margin-bottom: 6px;
}

.badge-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c4170c;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.badge-category:hover {
  text-decoration: underline;
  color: #900c03;
}

.news-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.news-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-card-title a:hover {
  color: #c4170c;
}

.news-card-summary {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.news-card-meta-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #888888;
  border-top: 1px solid #f4f4f4;
  padding-top: 8px;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-card-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-tag {
  display: inline-block;
  font-size: 11px;
  background-color: #f1f1f1;
  color: #555555;
  padding: 2px 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.badge-tag:hover {
  background-color: #8332a3;
  color: #ffffff;
}

/* Estado Vazio */
.search-empty-state {
  text-align: center;
  padding: 50px 20px;
  background: #fdfdfd;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
}

.search-empty-state .empty-icon {
  font-size: 48px;
  color: #b0b0b0;
  margin-bottom: 15px;
}

.search-empty-state h3 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.search-empty-state p {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

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

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .news-horizontal-card {
    flex-direction: column;
  }
  .news-card-media {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 190px;
  }
}

/* ==========================================================================
   PAINEL DE MATÉRIAS (ADMIN-VIEW) & LEAD SUBTÍTULO
   ========================================================================== */
.admin-panel-container {
  max-width: 1140px;
  margin: 30px auto;
  padding: 0 20px;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.admin-panel-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.admin-panel-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

.admin-panel-actions {
  display: flex;
  gap: 10px;
}

.btn-new-article {
  background-color: #8332a3;
  border-color: #8332a3;
  font-weight: 600;
}

.btn-new-article:hover {
  background-color: #6b2687;
  border-color: #6b2687;
}

/* Abas de Filtro */
.admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: #f1f3f5;
  color: #495057;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.filter-tab:hover {
  background-color: #e2e6ea;
  color: #212529;
}

.filter-tab.active {
  background-color: #8332a3;
  color: #ffffff;
}

.tab-badge {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 11px;
}

.filter-tab.active .tab-badge {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Tabela de Matérias */
.admin-table-wrapper {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
}

.admin-articles-table {
  margin-bottom: 0;
}

.admin-articles-table th {
  background-color: #f8f9fa;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  border-bottom: 2px solid #dee2e6;
  padding: 12px 16px;
}

.admin-articles-table td {
  padding: 14px 16px;
  font-size: 14px;
}

.table-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.table-thumb-placeholder {
  width: 64px;
  height: 48px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #adb5bd;
}

.article-title-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-title-link {
  font-size: 15px;
  font-weight: 700;
  color: #212529;
  text-decoration: none;
  line-height: 1.3;
}

.article-title-link:hover {
  color: #c4170c;
}

.article-subtitulo-preview {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.3;
}

.article-slug-tag code {
  font-size: 11px;
  color: #8332a3;
  background-color: #f8f0fc;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Badges de Slot */
.badge-slot {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-slot-principal {
  background-color: #ffebe9;
  color: #c4170c;
  border: 1px solid #ffc8c5;
}

.badge-slot-secundario {
  background-color: #e7f5ff;
  color: #1971c2;
  border: 1px solid #d0ebff;
}

.badge-slot-terciario {
  background-color: #f3f0ff;
  color: #7048e8;
  border: 1px solid #e5dbff;
}

.badge-slot-generico {
  background-color: #f1f3f5;
  color: #495057;
  border: 1px solid #dee2e6;
}

.badge-slot-recomendado {
  background-color: #ebfbee;
  color: #2b8a3e;
  border: 1px solid #d3f9d8;
}

/* Detalhe do Artigo: Linha Fina & Data */
.article-lead-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #555555;
  line-height: 1.4;
  margin-top: -6px;
  margin-bottom: 14px;
}

.article-date-meta {
  font-size: 13px;
  color: #888888;
  margin-bottom: 14px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 10px;
}
