.bh-site-header-compact {
  background: #0f172a;
  color: #ffffff;
  padding: 18px 22px;
}

.bh-site-header-compact .bh-header-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.bh-site-header-compact .bh-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.bh-site-header-compact .bh-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
}

.bh-main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.bh-main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.bh-main-nav a:hover {
  background: rgba(255,255,255,.18);
}

.bh-mobile-menu-toggle {
  display: none;
}

.bh-legal-footer {
  margin-top: 48px;
  background: #0f172a;
  color: #e2e8f0;
  padding: 28px 20px;
  font: 400 15px/1.7 Arial, sans-serif;
}

.bh-legal-footer strong {
  color: #fff;
}

.bh-legal-footer a {
  color: #93c5fd;
}

.bh-legal-footer .bh-legal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

header.head,
.bh-hide-legacy-header {
  display: none !important;
}

/* Conteúdo Next espelhado — forçar visível (sem hidratação) */
#__next,
#__next > main,
#__next .main,
#__next main.main,
#__next .main--homepage,
#__next .mainCols,
#__next .hero,
#__next .list,
#__next .article__full,
#__next .section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
}

body {
  min-height: 100vh;
}

/* Destaque de artigo — espelho estático (sem hidratação Next) */
figure.article__featured.article__image {
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
}

.article__featured .bh-featured-wrap,
.article__featured .Image_adaptiveImage__2pihe {
  padding-bottom: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
  background: transparent;
}

.article__featured img,
.article__featured .Image_imageFull__78K8f,
.article__featured .bh-featured-img {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none;
  object-fit: contain;
}

/* Anúncios desativados — não reservar faixa branca/cinza vazia */
.contentAd,
.minHeight250.contentAd,
.minHeight280.contentAd,
.ad[id^="b247-"]:empty,
.ad:has([id^="b247-"]:empty) {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 768px) {
  .bh-site-header-compact .bh-brand-logo {
    height: 40px;
  }
}

@media (max-width: 767px) {
  .bh-site-header-compact {
    padding: 14px 18px;
  }

  .bh-site-header-compact .bh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
  }

  .bh-site-header-compact .bh-brand-logo {
    height: 32px;
    max-width: 140px;
  }

  .bh-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.12);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
  }

  .bh-main-nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .bh-main-nav.is-open {
    display: grid;
  }

  .bh-main-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
  }
}
