/* MEN'S CLUB BRASIL — cabeçalho único para todas as páginas públicas.
   A home continua com seu próprio carrossel, fora deste cabeçalho. */
body.page-public .rc-public-header{
  display:block;
  width:100%;
  background:#050505!important;
  background-image:none!important;
  color:#f7f7f7!important;
}
body.page-public .rc-public-header .rc-labbar{
  background:#000!important;
  color:#fff!important;
  background-image:none!important;
  border-color:transparent!important;
}
body.page-public .rc-public-header .topline,
body.page-public .rc-public-header .navigation{
  box-sizing:border-box;
  background:#050505!important;
  background-image:none!important;
  color:#f6f6f6!important;
  margin:0!important;
  border-color:transparent!important;
}
body.page-public .rc-public-header .topline{
  padding:5px 0!important;
}
body.page-public .rc-public-header .masthead.wrap{
  background:#050505!important;
  background-image:none!important;
  color:#f7f7f7!important;
  box-shadow:none!important;
  clip-path:none!important;
  isolation:auto!important;
  padding:7px 0!important;
  margin:0 auto!important;
}
body.page-public .rc-public-header .topline .top-values a,
body.page-public .rc-public-header .topline .top-values span,
body.page-public .rc-public-header .topline .rc-topline-proposal,
body.page-public .rc-public-header .masthead-links>a,
body.page-public .rc-public-header .navigation .nav-home,
body.page-public .rc-public-header .navigation .nav-category-link{
  color:#f6f6f6!important;
  opacity:1!important;
}
body.page-public .rc-public-header .masthead .logo-lockup,
body.page-public .rc-public-header .masthead-brandline,
body.page-public .rc-public-header .masthead-right,
body.page-public .rc-public-header .masthead-links,
body.page-public .rc-public-header .navigation .nav-wrap{
  background:transparent!important;
  background-image:none!important;
}
body.page-public .rc-public-header .masthead .rc-new-logo[data-brand-theme="dark"] .brand-image{
  filter:none!important;
  opacity:1!important;
  object-fit:contain!important;
}
body.page-public .rc-public-header .navigation::before,
body.page-public .rc-public-header .navigation::after{display:none!important;content:none!important;}
/* Nunca cortar a barra ou criar uma faixa vazia depois do menu. */
body.page-public .rc-public-header .navigation{margin-bottom:0!important;}
/* Os itens completos permanecem acessíveis pelo novo botão de categorias.
   Em tablet reduzido, evita que os últimos itens causem rolagem horizontal. */
@media (min-width:761px) and (max-width:1150px){
 body.page-public .rc-public-header .navigation .nav-wrap{
   gap:4px!important;
 }
 body.page-public .rc-public-header .navigation .nav-category:nth-of-type(n+9){
   display:none!important;
 }
}
@media (min-width:761px) and (max-width:950px){
 body.page-public .rc-public-header .navigation .nav-category:nth-of-type(n+7){
   display:none!important;
 }
}
@media(max-width:760px){
 body.page-public .rc-public-header .navigation{
   margin-bottom:0!important;
   overflow:hidden!important;
 }
 body.page-public .rc-public-header .navigation .nav-wrap{
   overflow-x:auto!important;
   overflow-y:hidden!important;
 }
 body.page-public .rc-public-header .masthead.wrap{
   box-shadow:none!important;
 }
}
/* A apresentação do corpo das páginas internas não deve herdar a cor do topo.
   Modo claro: conteúdo legível sobre branco, igual às seções editoriais da home. */
html:not([data-mensclub-theme="dark"]) body.page-public .category-page,
html[data-mensclub-theme="light"] body.page-public .category-page {
  background:#fff!important;
  color:#202124!important;
}
html:not([data-mensclub-theme="dark"]) body.page-public .category-page-header h1,
html[data-mensclub-theme="light"] body.page-public .category-page-header h1,
html:not([data-mensclub-theme="dark"]) body.page-public .category-page .category-lead-copy h2,
html[data-mensclub-theme="light"] body.page-public .category-page .category-lead-copy h2 {
  color:#202124!important;
}
html:not([data-mensclub-theme="dark"]) body.page-public .category-page-header>p,
html[data-mensclub-theme="light"] body.page-public .category-page-header>p{
  color:#555!important;
}
/* Modo escuro: superfícies e tipografia com contraste real, sem cinza sobre cinza. */
html[data-mensclub-theme="dark"] body.page-public .category-page {
  background:#111216!important;
  color:#f3f3f3!important;
}
html[data-mensclub-theme="dark"] body.page-public .category-page-header h1,
html[data-mensclub-theme="dark"] body.page-public .category-page-header h1 *,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-lead-copy h2,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-lead-copy h2 a,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-latest-card h3,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-latest-card h3 a,
html[data-mensclub-theme="dark"] body.page-public .category-page .portal-section-title h2{
  color:#f6f6f6!important;
}
html[data-mensclub-theme="dark"] body.page-public .category-page-header>p,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-lead-copy p,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-latest-card p{
  color:#d3d5d9!important;
}
html[data-mensclub-theme="dark"] body.page-public .category-page .category-lead,
html[data-mensclub-theme="dark"] body.page-public .category-page .category-latest-card{
  background:#1b1d21!important;
  color:#f6f6f6!important;
  border-color:#424448!important;
}
html[data-mensclub-theme="dark"] body.page-public .category-page .category-children a{
  background:#202329!important;
  color:#f6f6f6!important;
  border-color:#555!important;
}
/* Artigos: não substituir as fotos/capas nem a imagem com título sobreposto. */
html:not([data-mensclub-theme="dark"]) body.page-public .article {
  background:#fff!important;
}
html[data-mensclub-theme="dark"] body.page-public .article {
  background:#111216!important;
  color:#f5f5f5!important;
}
html[data-mensclub-theme="dark"] body.page-public .article .prose,
html[data-mensclub-theme="dark"] body.page-public .article .prose p{
  color:#e4e5e8!important;
}

/* Slideshow: largura escolhida pelo administrador, preservando a altura proporcional. */
body.page-public .home-real-shell .hr-hero-static.hr-hero--full .hr-hero-inner{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:760px){
  body.page-public .home-real-shell .hr-hero-static.hr-hero--full .hr-hero-inner{
    width:100%!important;
    max-width:none!important;
  }
}

/* Slides da home: texto diretamente sobre a foto, sem tarja/caixa preta,
   com o mesmo tratamento nos temas claro e escuro. */
body.page-public .home-real-shell .hr-hero-static .hr-hero-inner .hr-hero-copy,
html[data-mensclub-theme="dark"] body.page-public .home-real-shell .hr-hero-static .hr-hero-inner .hr-hero-copy{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  color:#fff!important;
}
body.page-public .home-real-shell .hr-hero-static .hr-hero-copy h1,
body.page-public .home-real-shell .hr-hero-static .hr-hero-copy p,
body.page-public .home-real-shell .hr-hero-static .hr-hero-copy .rc-cover-kicker,
html[data-mensclub-theme="dark"] body.page-public .home-real-shell .hr-hero-static .hr-hero-copy h1,
html[data-mensclub-theme="dark"] body.page-public .home-real-shell .hr-hero-static .hr-hero-copy p,
html[data-mensclub-theme="dark"] body.page-public .home-real-shell .hr-hero-static .hr-hero-copy .rc-cover-kicker{
  color:#fff!important;
  text-shadow:0 2px 7px rgba(0,0,0,.9),0 1px 2px rgba(0,0,0,.8);
}
@media(max-width:760px){
  /* Antes o texto era empurrado para uma segunda faixa preta sob a imagem. */
  body.page-public .home-real-shell .hr-hero-static .hr-hero-inner{
    position:relative!important;
    display:flex!important;
    align-items:flex-end!important;
    min-height:clamp(440px,110vw,600px)!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
  }
  body.page-public .home-real-shell .hr-hero-static .hr-hero-inner .hr-hero-image{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.page-public .home-real-shell .hr-hero-static .hr-hero-inner .hr-hero-copy,
  html[data-mensclub-theme="dark"] body.page-public .home-real-shell .hr-hero-static .hr-hero-inner .hr-hero-copy{
    position:relative!important;
    z-index:2!important;
    align-self:flex-end!important;
    width:100%!important;
    max-width:100%!important;
    padding:20px 18px 68px!important;
    margin:0!important;
    background:transparent!important;
    background-image:none!important;
  }
}

/* Fundo atrás do slide: branco somente no modo claro; cabeçalho permanece preto. */
html:not([data-mensclub-theme="dark"]) body.page-public .home-real-shell > .hr-main,
html:not([data-mensclub-theme="dark"]) body.page-public .home-real-shell > .hr-main > .hr-hero-static,
html[data-mensclub-theme="light"] body.page-public .home-real-shell > .hr-main,
html[data-mensclub-theme="light"] body.page-public .home-real-shell > .hr-main > .hr-hero-static {
  background:#fff !important;
  background-image:none !important;
}
/* Corrige as duas camadas internas que permaneciam pretas no modo claro. */
html:not([data-mensclub-theme="dark"]) body.page-public .hr-hero-static .hr-hero-inner,
html:not([data-mensclub-theme="dark"]) body.page-public .hr-hero-static .rc-cover-slide,
html[data-mensclub-theme="light"] body.page-public .hr-hero-static .hr-hero-inner,
html[data-mensclub-theme="light"] body.page-public .hr-hero-static .rc-cover-slide {
 background-color:#fff !important;
 background-image:none !important;
}

/* Smartphones apenas: slide de borda a borda, independente da opção
   "com margens" escolhida no painel para tablet e desktop. */
@media screen and (max-width:600px){
  body.page-public .home-real-shell .hr-main > .hr-hero-static.rc-carousel{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.page-public .home-real-shell .hr-main > .hr-hero-static.rc-carousel > .rc-carousel-track{
    display:grid!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.page-public .home-real-shell .hr-main > .hr-hero-static.rc-carousel .rc-slide.hr-hero-inner{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    border-radius:0!important;
    box-sizing:border-box!important;
  }
  body.page-public .home-real-shell .hr-main > .hr-hero-static.rc-carousel .rc-slide .hr-hero-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
}