*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #ffffff !important;
  color: #111827;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
  
}

.topbar {
  background: #031e3b;
  color: #ffffff;

}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* logo central */
  padding-block: 8px;
  position: relative;
  height: 60px;
}

/* Botão menu fixado à esquerda */
.topbar-left {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 16px;
}

/* Campo de busca fixado à direita */
.topbar-right {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 16px;
}

/* Tamanho correto do ícone */
.icon-button {
  font-size: 28px !important;
  line-height: 1;
  color: #fea928;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Logo central realmente */
.topbar-logo img {
  height: 50px;
  width: auto;
}


.main-nav {
  color: #646464;
}

.main-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 32px 16px;
  flex-wrap: wrap;
}

.nav-title {
  font-size: 16px;
  font-weight: 700;
}

.nav-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 16px;
  cursor: pointer;
}

.chip--active {
  background: #021d3a;
  color: #f2f2f2;
  text-transform: uppercase;
}

.hero {
  color: #010101;
  padding-block: 24px 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}


.hero-extra {
    margin-top: 16px;
    padding: 12px 0;
}

.hero-extra h2 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

.hero-extra .text-bar {
    min-height: 40px;
}


.ad-brakeel {
  border: 2px solid #fea928;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  background-color: #062242;
}

.title-ad {
  color: #E5E7EB;
  margin: 0;
}

.title-brakeel {
  color: #fea928;
  margin: 0;
}

.subtitle-ad {
  color: #E5E7EB;
  margin: 0;
  text-align: center;
}

.ad-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}


.hero-main {
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 4px 10px;
  color: #fea928;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.hero-text-container {
  display: flex;
  gap: 12px;
}

.text-bar {
  min-width: 8px;
  min-height: 64px;
  background-color: #fea928;
  border-radius: 4px;
}

.img-hero {
  width: 103px;
  height: 70px;
  object-fit: cover;
}

/* HERO – imagem principal central */
.img-hero-main {
  width: 100%;
  height: 360px;        /* altura fixa em estilo portal de notícia */
  object-fit: cover;    /* corta a imagem sem distorcer */
  display: block;
}

.hero-right-top {
  color: #111827;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.hero-main-content--small h2 {
  font-size: 20px;
  font-weight: 600;
  
}

.hero-tag--small {
  position: static;
  display: inline-block;
  margin-bottom: 4px;
  padding: 0;
}

.ad-strip {
    display: flex;
    width: 100%;       
    max-width: 100%;   
    min-height: 100px; 
    align-items: center;
    justify-content: center; 
    padding: 20px 16px;
}

.news-section {
  padding-block: 40px;
 
}

.news-section--dark {
  background: #07182b;
  color: #e5e7eb;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
/* títulos dos cards pequenos da coluna ESQUERDA */
.hero-item-small h2 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}
.hero-item-small h2,
.hero-main-content--small h2 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

.section-header h2 {
  font-size: 20px;
}

.section-link {
  font-size: 16px;
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.section-link:hover {
  font-size: 16px;
  color: #F9A825;
  text-decoration: underline;
}

#details-newsletter {
  font-size: 10px;
}

.newsletter-box {
    background: #061c33;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    margin: 15px 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.texto-newsletter {
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1 1 100%;
    padding: 12px 14px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 15px;
}

.newsletter-btn {
    flex: 1 1 100%;
    background: #f4c542;
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-bottom: 16px;
}

.newsletter-btn:hover {
    background: #ffdb6e;
}

.newsletter-legal {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 8px;
}

/* Mobile: aumenta espaçamento */
@media (max-width: 768px) {
    .newsletter-box {
        padding-top: 24px;
        padding-bottom: 24px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}



.input-arredondado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #acacac;
  border-radius: 50px;
  padding: 4px;
  padding-left: 20px;
  background-color: white;
  width: 100%;
  max-width: 350px;
  font-family: Arial, sans-serif;
  margin-bottom: 12px;
}

.input-arredondado input {
  border: none;
  outline: none;
  background: transparent;
  flex-grow: 1;
  font-size: 16px;
  color: #333;
}

.input-arredondado input::placeholder {
  color: #000;
}

.btn-plus {
  background-color: #e6e6e6;
  color: #999;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-plus:hover {
  background-color: #d4d4d4;
}

.news-grid {
  display: grid;
  gap: 32px;
}

.news-grid--3cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid--4cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-card {
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


.news-section--dark .news-tag {
  color: #fea928;
}

.high-text {
  font-size: 16px;
  
}

.high-title {
  font-size: 16px;
  font-weight: 700;
  color: #fea928;
  margin-bottom: 16px;
}


.high-box {
  position: relative;
  padding-left: 24px;          /* espaço pra barra */
  display: flex;
  flex-direction: column;
 
}

/* barra contínua na esquerda, de cima a baixo */
.high-box::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #fea928;
  border-radius: 999px;
}

/* cada item da lista */
.high-list {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.high-list:last-child {
  border-bottom: none;
}

/* número circular */
.high-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #fea928;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* texto do EM ALTA */
.high-text {
  font-size: 14px;
  line-height: 1.3;
}


.section-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 24px;
  overflow-x: hidden;
}

.sidebar-ads {
  display: flex;
  flex-direction: column;
  gap: 136px;
}

/*.ad-box--rect {*/
/*  height: 100%;*/
/*}*/

.grid-noticias-completo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 40px auto;
  padding-top: 20px;
}

.coluna-lista {
  display: flex;
  flex-direction: column;
}

.header-tag {
  margin-top: -36px;

}

.tag-tema {
  background-color: #001529;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lista-links a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.lista-links a:hover {
  color: #007bff;
}

.lista-links a:last-child {
  border-bottom: none;
}

.btn-ver-mais {
  margin-top: auto;
  text-align: right;
  color: #ffab00;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  padding-top: 15px;
  display: block;
}

.cultura-section {
  background-color: #fea928;
  padding: 40px 0;
}

.cultura-tag {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.cultura-bar {
  min-width: 8px;
  min-height: 64px;
  background-color: #ffffff;
  border-radius: 4px;
}

.site-footer {
  background-color: #031E3B;       /* cinza claro de fundo */
  padding: 32px 64px 0;
  font-family: Arial, sans-serif;
}

/* linha principal: logo + duas colunas */
.footer-inner {
  display: grid;
  grid-template-columns: auto 1.5fr 1fr;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 16px;
}
.footer-logo{
    display: flex;
    justify-content: center;;
}
/* logo */
.footer-logo .img-footer {
  width: 148px;
  height: auto;
}

/* títulos das colunas */
.footer-columns h4 {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 10px;
  margin: 0 0 16px;
}

/* grupo de links */
.column-footer-01 {
  display: flex;
  gap: 40px;
}

.column-footer-01 div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.column-footer-01 a {
  text-decoration: none;
  color: #E5E7EB;
  font-weight: 600;
  font-size: 12px;
}

.column-footer-01 a:hover {
  color: #ffab00;
}

/* barra de baixo com copyright */
.footer-bottom {
  border-top: 1px solid #d0d0d0;
  padding: 12px 0 16px;
  font-size: 11px;
  text-align: center;
  color: #777;
}
.footer-columns h4 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  color: #ffab00;              /* amarelo do hover */
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 15px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 6px;
}

.footer-menu a {
    color: #E5E7EB;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
}

.footer-menu a:hover {
    color: #ffab00;
}


/* responsivo simples */
@media (max-width: 768px) {
  .site-footer {
      padding: 32px;
      justify-content: center;
  }
  .footer-logo{
      display: flex;
      justify-content: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
}


@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .grid-noticias-completo {
    grid-template-columns: 1fr;
    border-top: none;
    padding: 0 20px;
  }

  .coluna-lista {
    margin-bottom: 40px;
    border-top: 2px solid #eee;
    padding-top: 20px;
  }

  .header-tag {
    margin-top: -34px;
  }
}

/* EMPILHAR imagem + texto quando a tela for menor que 1200px */
@media (max-width: 1200px) {
  .hero-main-content {
    display: block !important;
  }

  .img-hero-main {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 16px;
    display: block;
  }
}


@media (max-width: 1024px) and (min-width: 641px) {
    .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .hero-main {
    order: 1; 
     grid-column: span 2;
  }

  .hero-left {
    order: 2; 
  }

  .hero-right-top {
    order: 3;
  }

  .section-with-sidebar {
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }

  .news-grid--3cols {
    grid-template-columns: repeat(2, 1fr);
  }

  /* sidebar fica normal */
  .sidebar-ads {
    flex-direction: column;
  }
  .sidebar-ads {
    flex-direction: row;
  }

  .sidebar-ads .ad-box--rect {
    flex: 1;
  }

 
}
@media (max-width: 1024px) {
  .news-grid--3cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
   .sidebar-ads {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .section-with-sidebar {
    grid-template-columns: 1fr;
  }

  .news-grid--3cols {
    grid-template-columns: 1fr;
  }

  .sidebar-ads {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .nav-chips .chip:nth-child(3) {
    display: none !important;
  }

  /* Esconder Economia (6º chip) */
  .nav-chips .chip:nth-child(6) {
    display: none !important;
  }

  /* Esconder Cultura (7º chip) */
  .nav-chips .chip:nth-child(7) {
    display: none !important;
  }

  /* Mantém estrutura ajustada no mobile */
  .main-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

   .section-with-sidebar {
    grid-template-columns: 1fr !important;
  }
   .news-grid--3cols {
    grid-template-columns: 1fr !important;
    align-items: center;
    gap: 30px;
  }
   .news-grid--4cols {
    grid-template-columns: 1fr !important;
     align-items: center;
    gap: 30px;
  }
  .sidebar-ads {
    flex-direction: column;
  }

}
/* ================================
   CENTRALIZAR LOGO NO MOBILE (100% FUNCIONAL)
   ================================ */
@media (max-width: 640px) {

    .topbar-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative; /* permite posicionar elementos */
        padding-block: 12px;
    }

    /* Botão hamburguer à ESQUERDA */
    .topbar-left {
        position: absolute;
      
        top: 50%;
        transform: translateY(-50%);
    }

    /* LOGO perfeitamente centralizada */
    .topbar-logo {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    /* Barra de busca vai para baixo */
    .topbar-right {
        display: none;
    }

}


/* ===========================
   CORREÇÃO IMAGENS DISTORCIDAS
=========================== */
.news-section--dark .news-card img,
.news-section .news-card img {
    width: 100%;
    height: 240px; /* mesmo padrão das outras seções */
    object-fit: cover;
    display: block;
}

/* ===========================
   CORRIGIR TEXT-BAR
=========================== */
.text-bar {
  min-height: auto !important;
}

/* ===========================
   CORRIGIR AD STRIP QUE QUEBRA O LAYOUT
=========================== */
/*.ad-strip {*/
/*  font-size: clamp(32px, 8vw, 64px) !important;*/
/*}*/

/* ===========================
   CORRIGIR FUNDO DAS NEWS SECTION DARK
=========================== */
.news-section--dark .hero-main-content,
.news-section--dark .hero-main-content--small {
  background: transparent !important;
  color: #fff !important;
}

.news-section--dark .news-card {
  background: #111827 !important;
}
html, body {
  overflow-x: hidden !important;;
}



/* ===============================
   CORRIGE IMAGENS DE ÚLTIMAS MATÉRIAS
   =============================== */
.news-section--dark .news-grid--3cols .news-card img {    /* remove a altura fixa */
    aspect-ratio: 16/9;           /* mantém formato padrão */
    object-fit: cover;            /* corta sem distorcer */
    width: 100%;
    border-radius: 4px;
}

.single-main {
    padding-bottom: 80px;
}

.single-figure {
    
    margin-bottom: 24px;
}

.single-thumb {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}
.single-grid {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.single-related {
    position: sticky;
    height: fit-content;
}

.single-cat { 
    color: #fea928;
    font-weight: 700;
    font-size: 24px;
}

.single-meta {
    font-size: 20px;
    font-weight: 600;
    color: #031e3b;
}
.single-body {
    margin-top: 28px;
    font-size: 20px;
    line-height: inherit;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-title {
    line-height: 1.2 !important;
  
}

/* Subtítulos dentro da matéria (H3) */
.single-body h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 24px 0 12px;
    line-height: 1.4;
    color: #111;
}

/* Remove o peso exagerado quando o editor coloca <strong> dentro do h3 */
.single-body h3 strong {
    font-weight: 700 !important;
}


.related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 6px;
}

.related-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}

.related-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.related-title-item {
    font-size: 15px;
    font-weight: 700;
}

/* --- FIX GERAL PARA TODAS AS IMAGENS DOS CARDS (HOME, CATEGORY, SEARCH, ETC) --- */

.news-card img,
.img-hero-right-01,
.related-thumb {
    width: 100%;
    height: 260px; /* ajuste ideal para grid */
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* Remove qualquer regra antiga quebrada */
.news-card img {
    max-width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
}

/* menu escondido por padrão em mobile */
.main-navigation {
  display: none;
}

/* quando clicar no hambúrguer (body.menu-open), mostra */
body.menu-open .main-navigation {
  display: block;
}

/* menu lateral quando aberto */
body.menu-open .main-navigation {
  display: block;
  position: fixed;
  top: 60px;            /* altura da topbar */
  left: 0;
  width: 260px;
  bottom: 0;
  background: #032243;  /* azul do topo */
  padding: 16px 20px;
  overflow-y: auto;
  z-index: 999;
  
}

/* itens em coluna */
.main-navigation .menu-topo {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .menu-topo > li {
  margin-bottom: 8px;
}

.main-navigation .menu-topo > li > a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 6px 0;
}

.main-navigation .menu-topo > li > a:hover {
    color: #F9A825; 
}

.single-featured-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* PÁGINA: ÚLTIMAS NOTÍCIAS */

.ultimas-main {
  padding: 40px 0;
}

.ultimas-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ultimas-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* GRID 3 COLUNAS */
.ultimas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.ultimas-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
}

/* IMAGEM */
.ultimas-thumb-link {
  display: block;
}

.ultimas-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* TEXTO DO CARD */
.ultimas-info {
  padding: 10px 0;
}

.ultimas-cat {
  font-size: 11px;
  font-weight: 700;
  color: #fea928;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.ultimas-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  line-height: 1.3;
  display: block;
  margin-bottom: 6px;
}

.ultimas-title:hover {
  text-decoration: underline;
}

.ultimas-excerpt {
  font-size: 13px;
  color: #4b5563;
}



.ad-brakeel-link {
  text-decoration: none;
  color: inherit;
  display: block;              /* faz o link ocupar o bloco inteiro */
}

.ad-brakeel {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad-brakeel:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
@media (max-width: 1200px) {
  .hero-main-content {
    display: block !important;
  }

  .img-hero-main {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 16px;
    display: block;
  }
}

.pagination-container {
    margin-top: 40px;
}


/* PAGINAÇÃO – ÚLTIMAS NOTÍCIAS */
.ultimas-pagination {
 display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}

.ultimas-pagination .page-numbers {
  display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 4px;
    color: #031e3b;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
}

.ultimas-pagination .page-numbers.current {
 background: #031e3b;
    color: #fff;
    border-color: #031e3b;
}

/* MENU ABERTO – ocupa 100% da altura da tela */
body.menu-open .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 260px; /* ou o tamanho que já usa */
    overflow-y: hidden;
    background: #031e3b; /* MESMA cor do seu topo */
    z-index: 9999;
}

/* Ajusta o container interno para não "quebrar" */
body.menu-open .main-navigation .menu-topo {
    height: auto;
    min-height: 100%;
    padding-top: 40px;
}

.close-menu-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    margin-bottom: 20px;
    display: block;
 
}


.close-menu-btn:hover {
    color: #F9A825;
 
}

/* ============================
   IMAGEM PRINCIPAL DO SINGLE
   Padronização total
============================ */

.single-figure img.single-thumb {
    width: 100% !important;
    height: 336px !important;   /* altura padrão (ajuste se quiser 400/450/500) */
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 6px;
    display: block;
}

.single-body figure img,
.single-body .gallery-item img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 6px;
}

/* FIGURE / CAPTION DO WORDPRESS DENTRO DO TEXTO */
.single-body figure.wp-caption,
.single-body .wp-caption,
.single-body figure.wp-caption.aligncenter {
    width: 100% !important;       /* ignora o style="width: 561px" */
    max-width: 100% !important;
    margin: 24px 0;               /* respiro em cima e embaixo */
}

/* a imagem dentro do caption */
.single-body figure.wp-caption img,
.single-body .wp-caption img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;          /* ou cover, se quiser cortar */
}

.header-search {
  display: flex;
  align-items: center;
}

.search-input {
  height: 24px;
  padding: 0 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  outline: none;
}

.search-btn {
  height: 24px !important;     /* força altura igual */
  width: 38px;
  background: #fea928;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1 !important;    /* impede encolhimento da altura */
  padding: 0 !important;        /* previne distorção */
  font-size: 18px;
}

.search-btn img,
.search-btn svg {
  width: 18px;
  height: 15px;
  pointer-events: none;
}
.search-main {
  padding-top: 32px;
  padding-bottom: 32px;
}

.search-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 32px;
}

.search-header h2 {
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 700;
}

.no-results {
  font-size: 18px;
  color: #555;
  padding: 20px 0;
}

.pagination-area .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 4px;
    color: #031e3b;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
}

.pagination-area .page-numbers.current {
    background: #031e3b;
    color: #fff;
    border-color: #031e3b;
}

.pagination-area {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}


.pagination-area .page-numbers:hover {
    background: #f0f0f0;
}

/* ============================================
   BARRA DE BUSCA MOBILE (APENAS NO MOBILE)
============================================ */
@media (max-width: 640px) {

    /* container da barra */
    .mobile-search-bar {
        width: 100%;
        background: #031e3b;
        padding: 12px;
        display: block;
    }

    /* form */
    .mobile-search-bar form {
        display: flex;
        width: 100%;
    }

    /* input */
    .mobile-search-bar input {
        flex: 1;
        padding: 10px 14px;
        font-size: 16px;
        border: none;
        border-radius: 4px 0 0 4px;
        outline: none;
    }

    /* botão */
    .mobile-search-bar button {
        background: #fea928;
        color: #111827;
        border: none;
        padding: 0 14px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }

    .mobile-search-bar button:hover {
        opacity: .85;
    }
    .single-grid {
        display: flex;
        flex-direction: column;
    }
}

/* OCULTA a busca original no topo quando for mobile */
@media (max-width: 640px) {
    .topbar-right .header-search {
        display: none !important;
    }
    .search-grid {
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .hero-grid {
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .hero-main {
        order: 1;
    }

    .hero-left {
        order: 2;
    }

    .hero-right-top {
        order: 3;
    }
}
/* ---------------------- */
/*  FOOTER BASE STYLING   */
/* ---------------------- */

.site-footer {
    background-color: #031E3B;
    padding: 40px 32px 0;
    color: #E5E7EB;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
}

/* Logo */
.footer-logo img {
    width: 150px;
    height: auto;
}

/* Colunas */
.footer-column h4 {
    font-size: 14px;
    font-weight: 800;
    color: #ffab00;
    text-transform: uppercase;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #E5E7EB;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}

.footer-column ul li a:hover {
    color: #ffab00;
}

/* Linha inferior */
.footer-bottom {
    margin-top: 32px;
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 12px;
    opacity: 0.9;
}

/* ---------------------- */
/*     MOBILE VERSION     */
/* ---------------------- */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 32px;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }
}

.page-main {
    padding: 48px 0;
    min-height: 100%;
}

.page-container {
   width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111827;
}

.page-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.page-content p {
    margin-bottom: 18px;
}

.page-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 20px 0;
}

@media (max-width: 640px) {
    .page-title {
        font-size: 22px;
    }
}
.page-main,
.single-main {
    min-height: 48vh/* ajuste o 200px para a altura real do header + footer */
}

