
/* Correção global de contraste automático do portal/revista.
   Regra: fundo claro = texto preto; fundo escuro = texto branco. */
:root{
  --rev-auto-black:#111827;
  --rev-auto-black-soft:#374151;
  --rev-auto-white:#ffffff;
  --rev-auto-white-soft:rgba(255,255,255,.84);
  --rev-auto-line-light:#e5e7eb;
  --rev-auto-line-dark:rgba(255,255,255,.16);
}

body.rev-theme-light{
  color:#111827!important;
  background:#ffffff!important;
  --rev-text:#111827!important;
  --rev-muted:#374151!important;
  --rev-surface:#ffffff!important;
  --rev-line:#e5e7eb!important;
}
body.rev-theme-dark{
  color:#ffffff!important;
  background:#0b0f14!important;
  --rev-text:#ffffff!important;
  --rev-muted:rgba(255,255,255,.84)!important;
  --rev-surface:#111827!important;
  --rev-line:rgba(255,255,255,.16)!important;
}

/* Áreas claras: texto preto. */
body.rev-theme-light main,
body.rev-theme-light .rev-section:not(.dark):not(.rev-hero):not(.rev-page-hero),
body.rev-theme-light .rev-card,
body.rev-theme-light .rev-wide-card,
body.rev-theme-light .rev-feature-card,
body.rev-theme-light .rev-filter-box,
body.rev-theme-light .rev-page-filter,
body.rev-theme-light .rev-empty,
body.rev-theme-light .rev-home-partner-card,
body.rev-theme-light .rev-home-partners-slider,
body.rev-theme-light .rev-newsletter-form input,
body.rev-theme-light .rev-search-form input,
body.rev-theme-light input,
body.rev-theme-light select,
body.rev-theme-light textarea{
  color:#111827!important;
}
body.rev-theme-light .rev-section:not(.dark):not(.rev-hero):not(.rev-page-hero) h1,
body.rev-theme-light .rev-section:not(.dark):not(.rev-hero):not(.rev-page-hero) h2,
body.rev-theme-light .rev-section:not(.dark):not(.rev-hero):not(.rev-page-hero) h3,
body.rev-theme-light .rev-section:not(.dark):not(.rev-hero):not(.rev-page-hero) h4,
body.rev-theme-light .rev-card h1,
body.rev-theme-light .rev-card h2,
body.rev-theme-light .rev-card h3,
body.rev-theme-light .rev-card h4,
body.rev-theme-light .rev-filter-box label,
body.rev-theme-light .rev-page-filter label{
  color:#111827!important;
}
body.rev-theme-light .rev-section:not(.dark):not(.rev-hero):not(.rev-page-hero) p,
body.rev-theme-light .rev-card p,
body.rev-theme-light .rev-meta,
body.rev-theme-light .rev-card .rev-meta,
body.rev-theme-light .rev-breadcrumb,
body.rev-theme-light .rev-breadcrumb a,
body.rev-theme-light .rev-breadcrumb span,
body.rev-theme-light .rev-empty{
  color:#374151!important;
}

/* Áreas escuras: texto branco. */
.rev-header,
.rev-topbar,
.rev-brandbar,
.rev-menu-modal,
.rev-menu-panel,
.rev-hero,
.rev-page-hero,
.rev-home-destaques-slide,
.rev-home-flip-front,
.rev-home-flip-back,
.rev-section.dark,
.rev-footer,
.rev-footer *:not(input):not(textarea):not(select):not(option),
.rev-auto-dark,
.rev-auto-dark *:not(input):not(textarea):not(select):not(option){
  color:#ffffff!important;
}
.rev-hero p,
.rev-page-hero p,
.rev-section.dark p,
.rev-footer p,
.rev-footer span,
.rev-footer a,
.rev-auto-dark p,
.rev-auto-dark span,
.rev-auto-dark a{
  color:rgba(255,255,255,.86)!important;
}

/* O JavaScript marca elementos com fundo claro/escuro real. */
.rev-auto-light,
.rev-auto-light *:not(.rev-tag):not(.rev-btn):not(button):not(input):not(textarea):not(select):not(option){
  color:#111827!important;
}
.rev-auto-light p,
.rev-auto-light small,
.rev-auto-light .rev-meta{
  color:#374151!important;
}
.rev-auto-dark,
.rev-auto-dark *:not(.rev-tag):not(.rev-btn):not(button):not(input):not(textarea):not(select):not(option){
  color:#ffffff!important;
}
.rev-auto-dark p,
.rev-auto-dark small,
.rev-auto-dark .rev-meta{
  color:rgba(255,255,255,.84)!important;
}

/* Menus coloridos por categoria: cor do texto muda conforme a cor de fundo. */
.rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link,
.rev-sticky-menu-main > a.rev-cat-menu-link,
.rev-menu-grid-pro a.rev-cat-menu-link{
  color:var(--category-text-color,#ffffff)!important;
}
.rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link:hover,
.rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link.active,
.rev-sticky-menu-main > a.rev-cat-menu-link:hover,
.rev-sticky-menu-main > a.rev-cat-menu-link.active,
.rev-menu-grid-pro a.rev-cat-menu-link:hover,
.rev-menu-grid-pro a.rev-cat-menu-link:focus{
  color:var(--category-text-color-hover,#ffffff)!important;
}
.rev-menu-grid-pro a.rev-cat-menu-link span,
.rev-menu-grid-pro a.rev-cat-menu-link small{
  color:var(--category-text-color,#ffffff)!important;
}
.rev-menu-grid-pro a.rev-cat-menu-link:hover span,
.rev-menu-grid-pro a.rev-cat-menu-link:hover small{
  color:var(--category-text-color-hover,#ffffff)!important;
}

/* Etiquetas de categoria nos cards e no slide. */
.rev-card .rev-tag,
.rev-wide-card .rev-tag,
.rev-feature-card .rev-tag,
.rev-interview-card .rev-tag,
.rev-production-card .rev-tag,
.rev-gallery-home-card .rev-tag,
.rev-related-grid .rev-card .rev-tag,
.rev-home-destaques-cards .rev-card .rev-tag,
.rev-home-destaques-slide-content span{
  color:var(--card-category-text-color,#ffffff)!important;
}
.rev-category-home-section .rev-home-flip-front-content small,
.rev-category-home-section .rev-home-flip-back-content small,
.rev-category-home-section .rev-home-flip-open{
  color:var(--category-text-color,#ffffff)!important;
}
.rev-category-home-section .rev-home-flip-open:hover{
  color:var(--category-text-color-hover,#ffffff)!important;
}

/* Quando a cor principal do site for clara, header/sticky/footer não podem manter texto branco em fundo claro. */
body.rev-theme-light .rev-header.rev-auto-light,
body.rev-theme-light .rev-topbar.rev-auto-light,
body.rev-theme-light .rev-brandbar.rev-auto-light,
body.rev-theme-light .rev-sticky-mainnav.rev-auto-light,
body.rev-theme-light .rev-footer.rev-auto-light{
  color:#111827!important;
}
body.rev-theme-light .rev-header.rev-auto-light a,
body.rev-theme-light .rev-topbar.rev-auto-light a,
body.rev-theme-light .rev-brandbar.rev-auto-light a,
body.rev-theme-light .rev-sticky-mainnav.rev-auto-light a,
body.rev-theme-light .rev-footer.rev-auto-light a,
body.rev-theme-light .rev-footer.rev-auto-light p,
body.rev-theme-light .rev-footer.rev-auto-light span{
  color:#111827!important;
}
body.rev-theme-dark .rev-sticky-logo{
  background:#111827!important;
  color:#ffffff!important;
  border-right:1px solid rgba(255,255,255,.14)!important;
}
body.rev-theme-light .rev-sticky-logo{
  background:#ffffff!important;
  color:#111827!important;
}

/* Formulários e filtros em áreas claras. */
body.rev-theme-light .rev-page-filter input,
body.rev-theme-light .rev-page-filter select,
body.rev-theme-light .rev-page-filter textarea,
body.rev-theme-light .rev-newsletter-form input{
  background:#ffffff!important;
  color:#111827!important;
  border-color:#d1d5db!important;
}
body.rev-theme-light .rev-page-filter input::placeholder,
body.rev-theme-light .rev-newsletter-form input::placeholder{
  color:#6b7280!important;
}

/* Pequeno script injeta classes de contraste real e troca logo conforme fundo. */

/* ==========================================================
   CORREÇÃO FINAL DE CONTRASTE EM TODO O SITE
   Regra solicitada:
   - Fundo/cor clara: títulos e textos pretos.
   - Fundo/cor escura: títulos e textos brancos.
   As cores das categorias continuam nos fundos do menu e etiquetas,
   mas não forçam título escuro sobre fundo escuro.
   ========================================================== */

/* Títulos/textos em qualquer área detectada como clara */
body .rev-auto-light h1,
body .rev-auto-light h2,
body .rev-auto-light h3,
body .rev-auto-light h4,
body .rev-auto-light h5,
body .rev-auto-light h6,
body .rev-auto-light .rev-section-head,
body .rev-auto-light .rev-section-head h1,
body .rev-auto-light .rev-section-head h2,
body .rev-auto-light .rev-section-head h3,
body .rev-auto-light .rev-kicker,
body .rev-auto-light .rev-title-hero-kicker,
body .rev-auto-light .rev-page-title,
body .rev-auto-light .rev-card-title,
body .rev-auto-light .rev-post-title,
body .rev-auto-light .rev-content-title,
body .rev-auto-light .rev-link-more,
body .rev-auto-light label,
body .rev-auto-light legend,
body .rev-auto-light strong,
body .rev-auto-light b{
  color:#111827!important;
  text-shadow:none!important;
}
body .rev-auto-light p,
body .rev-auto-light li,
body .rev-auto-light small,
body .rev-auto-light span:not(.rev-tag):not(.rev-cat-label):not(.rev-badge),
body .rev-auto-light .rev-meta,
body .rev-auto-light .rev-breadcrumb,
body .rev-auto-light .rev-breadcrumb a,
body .rev-auto-light .rev-breadcrumb span,
body .rev-auto-light .rev-empty{
  color:#374151!important;
  text-shadow:none!important;
}

/* Títulos/textos em qualquer área detectada como escura */
body .rev-auto-dark h1,
body .rev-auto-dark h2,
body .rev-auto-dark h3,
body .rev-auto-dark h4,
body .rev-auto-dark h5,
body .rev-auto-dark h6,
body .rev-auto-dark .rev-section-head,
body .rev-auto-dark .rev-section-head h1,
body .rev-auto-dark .rev-section-head h2,
body .rev-auto-dark .rev-section-head h3,
body .rev-auto-dark .rev-kicker,
body .rev-auto-dark .rev-title-hero-kicker,
body .rev-auto-dark .rev-page-title,
body .rev-auto-dark .rev-card-title,
body .rev-auto-dark .rev-post-title,
body .rev-auto-dark .rev-content-title,
body .rev-auto-dark .rev-link-more,
body .rev-auto-dark label,
body .rev-auto-dark legend,
body .rev-auto-dark strong,
body .rev-auto-dark b{
  color:#ffffff!important;
  text-shadow:none!important;
}
body .rev-auto-dark p,
body .rev-auto-dark li,
body .rev-auto-dark small,
body .rev-auto-dark span:not(.rev-tag):not(.rev-cat-label):not(.rev-badge),
body .rev-auto-dark .rev-meta,
body .rev-auto-dark .rev-breadcrumb,
body .rev-auto-dark .rev-breadcrumb a,
body .rev-auto-dark .rev-breadcrumb span,
body .rev-auto-dark .rev-empty{
  color:rgba(255,255,255,.86)!important;
  text-shadow:none!important;
}

/* Regras com especificidade maior para derrubar títulos de categoria coloridos quando o fundo for claro/escuro. */
body .rev-section.rev-auto-light .rev-section-head h1,
body .rev-section.rev-auto-light .rev-section-head h2,
body .rev-section.rev-auto-light .rev-section-head h3,
body .rev-section.rev-auto-light .rev-kicker,
body .rev-section.rev-auto-light .rev-link-more,
body .rev-category-home-section.rev-auto-light .rev-section-head h2,
body .rev-category-home-section.rev-auto-light .rev-kicker,
body .rev-category-home-section.rev-auto-light .rev-link-more,
body .rev-category-list-section.rev-auto-light .rev-section-head h2,
body .rev-category-list-section.rev-auto-light .rev-kicker,
body .rev-category-list-section.rev-auto-light .rev-link-more,
body .rev-section.soft .rev-section-head h1,
body .rev-section.soft .rev-section-head h2,
body .rev-section.soft .rev-section-head h3,
body .rev-section.soft .rev-kicker,
body .rev-section.soft .rev-link-more{
  color:#111827!important;
  text-shadow:none!important;
}
body .rev-section.rev-auto-dark .rev-section-head h1,
body .rev-section.rev-auto-dark .rev-section-head h2,
body .rev-section.rev-auto-dark .rev-section-head h3,
body .rev-section.rev-auto-dark .rev-kicker,
body .rev-section.rev-auto-dark .rev-link-more,
body .rev-category-home-section.rev-auto-dark .rev-section-head h2,
body .rev-category-home-section.rev-auto-dark .rev-kicker,
body .rev-category-home-section.rev-auto-dark .rev-link-more,
body .rev-category-list-section.rev-auto-dark .rev-section-head h2,
body .rev-category-list-section.rev-auto-dark .rev-kicker,
body .rev-category-list-section.rev-auto-dark .rev-link-more,
body .rev-section.dark .rev-section-head h1,
body .rev-section.dark .rev-section-head h2,
body .rev-section.dark .rev-section-head h3,
body .rev-section.dark .rev-kicker,
body .rev-section.dark .rev-link-more{
  color:#ffffff!important;
  text-shadow:none!important;
}

/* Hero/topo de páginas com imagem ou fundo escuro: sempre branco. */
body .rev-page-hero,
body .rev-page-hero .rev-title-hero-box,
body .rev-page-hero .rev-title-hero-box *,
body .rev-hero,
body .rev-hero .rev-hero-content,
body .rev-hero .rev-hero-content *{
  color:#ffffff!important;
  text-shadow:none!important;
}
body .rev-page-hero p,
body .rev-hero p{
  color:rgba(255,255,255,.88)!important;
}

/* Destaques/slides e cards com imagem escura também sempre com texto branco. */
body .rev-home-destaques-slide,
body .rev-home-destaques-slide *,
body .rev-home-flip-front,
body .rev-home-flip-front *,
body .rev-home-flip-back,
body .rev-home-flip-back *{
  color:#ffffff!important;
  text-shadow:none!important;
}
body .rev-home-destaques-slide p,
body .rev-home-flip-back p{
  color:rgba(255,255,255,.86)!important;
}

/* Mantém o contraste correto nas etiquetas coloridas de categoria. */
body .rev-card .rev-tag,
body .rev-wide-card .rev-tag,
body .rev-feature-card .rev-tag,
body .rev-interview-card .rev-tag,
body .rev-production-card .rev-tag,
body .rev-gallery-home-card .rev-tag,
body .rev-related-grid .rev-card .rev-tag,
body .rev-home-destaques-cards .rev-card .rev-tag,
body .rev-home-destaques-slide-content span,
body .rev-category-home-section .rev-home-flip-front-content small,
body .rev-category-home-section .rev-home-flip-back-content small,
body .rev-category-home-section .rev-home-flip-open{
  color:var(--card-category-text-color,var(--category-text-color,#ffffff))!important;
}

/* Mantém o contraste correto nos itens coloridos do menu por categoria. */
body .rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link,
body .rev-sticky-menu-main > a.rev-cat-menu-link,
body .rev-menu-grid-pro a.rev-cat-menu-link,
body .rev-menu-grid-pro a.rev-cat-menu-link span,
body .rev-menu-grid-pro a.rev-cat-menu-link small{
  color:var(--category-text-color,#ffffff)!important;
}
body .rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link:hover,
body .rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link.active,
body .rev-sticky-menu-main > a.rev-cat-menu-link:hover,
body .rev-sticky-menu-main > a.rev-cat-menu-link.active,
body .rev-menu-grid-pro a.rev-cat-menu-link:hover,
body .rev-menu-grid-pro a.rev-cat-menu-link:focus,
body .rev-menu-grid-pro a.rev-cat-menu-link:hover span,
body .rev-menu-grid-pro a.rev-cat-menu-link:hover small{
  color:var(--category-text-color-hover,#ffffff)!important;
}

/* Linhas/decorativos acompanham a regra de contraste quando o fundo for claro/escuro. */
body .rev-auto-light .rev-section-head h1:after,
body .rev-auto-light .rev-section-head h2:after,
body .rev-auto-light .rev-section-head h3:after,
body .rev-section.soft .rev-section-head h1:after,
body .rev-section.soft .rev-section-head h2:after,
body .rev-section.soft .rev-section-head h3:after{
  background:#111827!important;
}
body .rev-auto-dark .rev-section-head h1:after,
body .rev-auto-dark .rev-section-head h2:after,
body .rev-auto-dark .rev-section-head h3:after,
body .rev-section.dark .rev-section-head h1:after,
body .rev-section.dark .rev-section-head h2:after,
body .rev-section.dark .rev-section-head h3:after{
  background:#ffffff!important;
}

/* ==========================================================
   AJUSTE DEFINITIVO DE CONTRASTE POR FUNDO REAL
   Cor clara = texto/título preto. Cor escura = texto/título branco.
   A cor da categoria fica SOMENTE nos fundos do menu e etiquetas,
   nunca como cor de título em cima de seções.
   ========================================================== */

/* Fundo claro: tudo que for título/texto comum fica preto. */
body .rev-auto-light :is(h1,h2,h3,h4,h5,h6,.rev-title,.rev-page-title,.rev-section-title,.rev-post-title,.rev-content-title,.rev-section-head,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-kicker,.rev-title-hero-kicker,.rev-link-more,label,legend,strong,b):not(.rev-tag):not(.rev-btn):not(.rev-cat-menu-link):not(.rev-home-flip-open){
  color:#111827!important;
  text-shadow:none!important;
}
body .rev-auto-light :is(p,li,small,.rev-meta,.rev-card-meta,.rev-breadcrumb,.rev-breadcrumb a,.rev-breadcrumb span,.rev-empty,.rev-section-head p):not(.rev-tag):not(.rev-btn):not(.rev-cat-menu-link){
  color:#374151!important;
  text-shadow:none!important;
}
body .rev-auto-light :is(a):not(.rev-btn):not(.rev-cat-menu-link):not(.rev-tag):not(.rev-menu-home-icon):not(.rev-sticky-logo):not(.rev-brand):not(.rev-home-destaques-slide):not(.rev-card){
  color:#111827!important;
  text-shadow:none!important;
}

/* Fundo escuro: tudo que for título/texto comum fica branco. */
body .rev-auto-dark :is(h1,h2,h3,h4,h5,h6,.rev-title,.rev-page-title,.rev-section-title,.rev-post-title,.rev-content-title,.rev-section-head,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-kicker,.rev-title-hero-kicker,.rev-link-more,label,legend,strong,b):not(.rev-tag):not(.rev-btn):not(.rev-cat-menu-link){
  color:#ffffff!important;
  text-shadow:none!important;
}
body .rev-auto-dark :is(p,li,small,.rev-meta,.rev-card-meta,.rev-breadcrumb,.rev-breadcrumb a,.rev-breadcrumb span,.rev-empty,.rev-section-head p):not(.rev-tag):not(.rev-btn):not(.rev-cat-menu-link){
  color:rgba(255,255,255,.88)!important;
  text-shadow:none!important;
}
body .rev-auto-dark :is(a):not(.rev-btn):not(.rev-cat-menu-link):not(.rev-tag):not(.rev-menu-home-icon):not(.rev-sticky-logo):not(.rev-brand):not(.rev-home-destaques-slide):not(.rev-card){
  color:#ffffff!important;
  text-shadow:none!important;
}

/* Derruba qualquer regra antiga que pintava título com a cor da categoria. */
body .rev-category-home-section.rev-auto-light :is(.rev-kicker,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-link-more),
body .rev-category-list-section.rev-auto-light :is(.rev-kicker,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-link-more),
body .rev-section.rev-auto-light :is(.rev-kicker,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-link-more),
body .rev-page-hero.rev-auto-light :is(.rev-title-hero-kicker,h1,h2,h3,p,a){
  color:#111827!important;
}
body .rev-category-home-section.rev-auto-dark :is(.rev-kicker,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-link-more),
body .rev-category-list-section.rev-auto-dark :is(.rev-kicker,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-link-more),
body .rev-section.rev-auto-dark :is(.rev-kicker,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-link-more),
body .rev-page-hero.rev-auto-dark :is(.rev-title-hero-kicker,h1,h2,h3,p,a){
  color:#ffffff!important;
}

/* Seção declaradamente clara/escura também obedece sem depender de JS. */
body .rev-section:not(.dark):not(.red):not(.rev-hero):not(.rev-page-hero) :is(h1,h2,h3,h4,h5,h6,.rev-kicker,.rev-link-more,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3):not(.rev-tag):not(.rev-btn){
  color:#111827!important;
}
body .rev-section:not(.dark):not(.red):not(.rev-hero):not(.rev-page-hero) :is(p,li,small,.rev-meta,.rev-empty,.rev-section-head p):not(.rev-tag):not(.rev-btn){
  color:#374151!important;
}
body .rev-section.dark :is(h1,h2,h3,h4,h5,h6,.rev-kicker,.rev-link-more,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3),
body .rev-section.red :is(h1,h2,h3,h4,h5,h6,.rev-kicker,.rev-link-more,.rev-section-head h1,.rev-section-head h2,.rev-section-head h3){
  color:#ffffff!important;
}
body .rev-section.dark :is(p,li,small,.rev-meta,.rev-empty,.rev-section-head p),
body .rev-section.red :is(p,li,small,.rev-meta,.rev-empty,.rev-section-head p){
  color:rgba(255,255,255,.88)!important;
}

/* Cards e slides com foto/fundo escuro: sempre texto branco. */
body :is(.rev-card,.rev-wide-card,.rev-feature-card,.rev-interview-card,.rev-production-card,.rev-gallery-home-card,.rev-home-destaques-slide,.rev-home-flip-front,.rev-home-flip-back,.rev-hero,.rev-page-hero) :is(h1,h2,h3,h4,h5,h6,p,small,.rev-meta,strong,b,a):not(.rev-tag):not(.rev-btn){
  color:#ffffff!important;
  text-shadow:none!important;
}
body :is(.rev-card,.rev-wide-card,.rev-feature-card,.rev-interview-card,.rev-production-card,.rev-gallery-home-card,.rev-home-destaques-slide,.rev-home-flip-front,.rev-home-flip-back) :is(p,small,.rev-meta):not(.rev-tag):not(.rev-btn){
  color:rgba(255,255,255,.88)!important;
}

/* Botões e etiquetas continuam com contraste próprio do fundo colorido. */
body :is(.rev-tag,.rev-btn,.rev-cat-menu-link,.rev-menu-home-icon,.rev-home-destaques-slide-content span,.rev-category-home-section .rev-home-flip-open){
  text-shadow:none!important;
}
body :is(.rev-card .rev-tag,.rev-wide-card .rev-tag,.rev-feature-card .rev-tag,.rev-interview-card .rev-tag,.rev-production-card .rev-tag,.rev-gallery-home-card .rev-tag,.rev-related-grid .rev-card .rev-tag,.rev-home-destaques-cards .rev-card .rev-tag,.rev-home-destaques-slide-content span){
  color:var(--card-category-text-color,var(--category-text-color,#ffffff))!important;
}
body :is(.rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link,.rev-sticky-menu-main > a.rev-cat-menu-link,.rev-menu-grid-pro a.rev-cat-menu-link,.rev-menu-grid-pro a.rev-cat-menu-link span,.rev-menu-grid-pro a.rev-cat-menu-link small){
  color:var(--category-text-color,#ffffff)!important;
}
body :is(.rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link:hover,.rev-mainnav-row .rev-menu-main > a.rev-cat-menu-link.active,.rev-sticky-menu-main > a.rev-cat-menu-link:hover,.rev-sticky-menu-main > a.rev-cat-menu-link.active,.rev-menu-grid-pro a.rev-cat-menu-link:hover,.rev-menu-grid-pro a.rev-cat-menu-link:focus,.rev-menu-grid-pro a.rev-cat-menu-link:hover span,.rev-menu-grid-pro a.rev-cat-menu-link:hover small){
  color:var(--category-text-color-hover,#ffffff)!important;
}

/* Linhas abaixo de título acompanham o contraste do fundo. */
body .rev-auto-light :is(.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-title):after,
body .rev-section:not(.dark):not(.red) :is(.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-title):after{
  background:#111827!important;
}
body .rev-auto-dark :is(.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-title):after,
body .rev-section.dark :is(.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-title):after,
body .rev-section.red :is(.rev-section-head h1,.rev-section-head h2,.rev-section-head h3,.rev-title):after{
  background:#ffffff!important;
}

/* Logo: fundo escuro branca; fundo claro original. Filtro é fallback se a imagem branca não for gerada. */
body .rev-auto-dark img.rev-auto-logo,
body .rev-header.rev-auto-dark img.rev-auto-logo,
body .rev-footer.rev-auto-dark img.rev-auto-logo,
body .rev-sticky-logo.rev-auto-dark img.rev-auto-logo,
body .rev-brandbar.rev-auto-dark img.rev-auto-logo{
  filter:brightness(0) invert(1) grayscale(1) contrast(1.15)!important;
}
body .rev-auto-light img.rev-auto-logo,
body .rev-header.rev-auto-light img.rev-auto-logo,
body .rev-footer.rev-auto-light img.rev-auto-logo,
body .rev-sticky-logo.rev-auto-light img.rev-auto-logo,
body .rev-brandbar.rev-auto-light img.rev-auto-logo{
  filter:none!important;
}
