/* =========================================================
   Game Overdrive v212
   Light mode subtitle/deck visibility hardfix.
   Keeps article subtitles readable in light mode and preserves
   soft white text only when the background is genuinely dark.
   ========================================================= */

:root{
  --go-v212-light-subtitle:#4b5563;
  --go-v212-light-subtitle-strong:#374151;
  --go-v212-dark-subtitle:rgba(248,250,252,.78);
}

/* Single padrão/notícia: linha fina abaixo do título. */
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"])
body:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"])
:is(.go-article__deck,
.go-article__deck p,
.go-article__subtitle,
.go-article__excerpt,
.go-article__lead,
.go-article__description,
.go-single-subtitle,
.go-single-excerpt,
.entry-subtitle,
.post-subtitle,
.newsx-post-excerpt,
.newsx-post-subtitle){
  color:var(--go-v212-light-subtitle)!important;
  -webkit-text-fill-color:var(--go-v212-light-subtitle)!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
  background:transparent!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  mix-blend-mode:normal!important;
  filter:none!important;
}

html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"])
body:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"])
:is(.go-article__deck p,
.go-article__subtitle,
.go-single-subtitle,
.entry-subtitle,
.post-subtitle){
  font-weight:400!important;
  line-height:1.55!important;
}

/* Review/crítica: subtítulo do hero. */
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"])
body:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"])
:is(.go-review-single-hero.has-no-media .go-review-single-subtitle,
.go-review-single-hero.has-no-media .go-review-single-hero-subtitle,
.go-review-single-page .go-review-single-hero.has-no-media .go-review-single-subtitle){
  color:var(--go-v212-light-subtitle)!important;
  -webkit-text-fill-color:var(--go-v212-light-subtitle)!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
  background:transparent!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  font-weight:400!important;
}

html body:not(.wp-admin)
.go-review-single-media-hero .go-review-single-subtitle{
  color:rgba(255,255,255,.86)!important;
  -webkit-text-fill-color:rgba(255,255,255,.86)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.42)!important;
}

/* Cards/listas em modo claro: chamadas e resumos não podem ficar brancos. */
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"])
body:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"])
:is(.go-portal-card__excerpt,
.go-home-story-dek,
.go-home-story-excerpt,
.go-home-latest-dek,
.go-home-latest-excerpt,
.go-ds-card-excerpt,
.go-news-archive-excerpt,
.go-pf-archive-excerpt,
.go-guides-card__excerpt,
.go-reviews-archive-item-excerpt,
.grp-card-excerpt,
.go-author-latest-excerpt,
.go-src-featured p,
.go-src-card p,
.go-single-more-card p,
.go-article__side-story p,
.go-article__side-list p){
  color:var(--go-v212-light-subtitle)!important;
  -webkit-text-fill-color:var(--go-v212-light-subtitle)!important;
  opacity:1!important;
  text-shadow:none!important;
  mix-blend-mode:normal!important;
}

/* Hero/cards com imagem escura por baixo devem continuar brancos, inclusive no modo claro. */
html body:not(.wp-admin) :is(.go-ds-hero-copy em,
.go-ds-hero-copy .go-ds-hero-cat,
.go-home-hero-dek,
.go-home-hero .go-home-meta,
.go-home-story:not(.is-text-only) :is(.go-home-story-dek,.go-home-meta),
.go-home-feature-card :is(.go-home-story-dek,.go-home-meta),
.go-home-hero-card :is(.go-home-story-dek,.go-home-meta)){
  color:rgba(255,255,255,.86)!important;
  -webkit-text-fill-color:rgba(255,255,255,.86)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.42)!important;
}

/* Mas o subtítulo do topo de matéria comum, quando fora de imagem, prevalece escuro no modo claro. */
html:not(.dark):not(.go-root-dark-mode):not([data-theme="dark"])
body:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"])
.go-article__hero :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-article__excerpt){
  color:var(--go-v212-light-subtitle-strong)!important;
  -webkit-text-fill-color:var(--go-v212-light-subtitle-strong)!important;
  text-shadow:none!important;
}

/* Dark mode: keep subtitles readable without forcing black. */
html.dark body:not(.wp-admin) :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-review-single-subtitle,.entry-subtitle,.post-subtitle),
html[class*="dark"] body:not(.wp-admin) :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-review-single-subtitle,.entry-subtitle,.post-subtitle),
html.go-root-dark-mode body:not(.wp-admin) :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-review-single-subtitle,.entry-subtitle,.post-subtitle),
body.dark-mode:not(.wp-admin) :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-review-single-subtitle,.entry-subtitle,.post-subtitle),
body.newsx-dark-mode:not(.wp-admin) :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-review-single-subtitle,.entry-subtitle,.post-subtitle),
body[data-theme="dark"]:not(.wp-admin) :is(.go-article__deck,.go-article__deck p,.go-article__subtitle,.go-review-single-subtitle,.entry-subtitle,.post-subtitle){
  color:var(--go-v212-dark-subtitle)!important;
  -webkit-text-fill-color:var(--go-v212-dark-subtitle)!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
  mix-blend-mode:normal!important;
}
