/* =========================================================
   Game Overdrive v218
   Final homepage hero hover reset + smaller main title.
   Fixes black/invisible hover text in hero/latest blocks.
   ========================================================= */

:root{
  --go-v218-hero-title:#ffffff;
  --go-v218-hero-subtitle:rgba(255,255,255,.94);
  --go-v218-latest-title:#f8fafc;
  --go-v218-latest-meta:rgba(248,250,252,.72);
}

/* HERO: kill the broken hover/underline/color inheritance completely. */
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card,
html body.home:not(.wp-admin) .go-ds-hero-card{
  isolation:isolate!important;
  overflow:hidden!important;
}

html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card > a,
html body.home:not(.wp-admin) .go-ds-hero-card > a,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card > a:is(:hover,:focus,:focus-visible,:active,:visited),
html body.home:not(.wp-admin) .go-ds-hero-card > a:is(:hover,:focus,:focus-visible,:active,:visited){
  color:var(--go-v218-hero-title)!important;
  -webkit-text-fill-color:var(--go-v218-hero-title)!important;
  text-decoration:none!important;
  background:none!important;
  background-image:none!important;
  box-shadow:none!important;
}

html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card > a::before,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card > a::after,
html body.home:not(.wp-admin) .go-ds-hero-card > a::before,
html body.home:not(.wp-admin) .go-ds-hero-card > a::after{
  content:none!important;
  display:none!important;
}

html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-copy,
html body.home:not(.wp-admin) .go-ds-hero-copy,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-copy *,
html body.home:not(.wp-admin) .go-ds-hero-copy *{
  background:none!important;
  background-image:none!important;
  text-decoration:none!important;
  opacity:1!important;
  filter:none!important;
}

/* Main hero title: smaller, cleaner, not a huge wide block. */
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy,
html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy{
  left:clamp(22px,2.4vw,36px)!important;
  right:clamp(22px,2.2vw,34px)!important;
  bottom:clamp(22px,2.4vw,34px)!important;
  max-width:min(72%, 690px)!important;
  gap:8px!important;
}

html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy strong,
html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy strong,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main > a:is(:hover,:focus,:focus-visible,:active,:visited) .go-ds-hero-copy strong,
html body.home:not(.wp-admin) .go-ds-hero-card--main > a:is(:hover,:focus,:focus-visible,:active,:visited) .go-ds-hero-copy strong{
  max-width:min(100%, 15.5ch)!important;
  font-family:"Roboto","Inter",Arial,Helvetica,sans-serif!important;
  font-size:clamp(1.72rem,2.45vw,2.75rem)!important;
  line-height:1.04!important;
  font-weight:760!important;
  letter-spacing:-.026em!important;
  color:var(--go-v218-hero-title)!important;
  -webkit-text-fill-color:var(--go-v218-hero-title)!important;
  text-shadow:0 2px 3px rgba(0,0,0,.66),0 10px 24px rgba(0,0,0,.46)!important;
  text-wrap:balance!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  transform:none!important;
  filter:none!important;
}

html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy em,
html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy em,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main > a:is(:hover,:focus,:focus-visible,:active,:visited) .go-ds-hero-copy em,
html body.home:not(.wp-admin) .go-ds-hero-card--main > a:is(:hover,:focus,:focus-visible,:active,:visited) .go-ds-hero-copy em{
  display:block!important;
  max-width:min(100%, 58ch)!important;
  font-family:"Roboto","Inter",Arial,Helvetica,sans-serif!important;
  font-size:clamp(.88rem,.88vw,1rem)!important;
  line-height:1.34!important;
  font-weight:400!important;
  color:var(--go-v218-hero-subtitle)!important;
  -webkit-text-fill-color:var(--go-v218-hero-subtitle)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.82),0 6px 18px rgba(0,0,0,.38)!important;
}

/* Main card gradient: keep subtitle readable without mudding the whole image. */
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-shade,
html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-shade,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main > a:is(:hover,:focus,:focus-visible,:active) .go-ds-hero-shade,
html body.home:not(.wp-admin) .go-ds-hero-card--main > a:is(:hover,:focus,:focus-visible,:active) .go-ds-hero-shade{
  opacity:1!important;
  filter:none!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.05) 38%,rgba(0,0,0,.48) 70%,rgba(0,0,0,.90) 100%),
    linear-gradient(90deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.14) 36%,rgba(0,0,0,0) 72%)!important;
}

/* Hero hover: only a tiny image lift, no text mutation. */
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card :is(.go-ds-hero-img,img),
html body.home:not(.wp-admin) .go-ds-hero-card :is(.go-ds-hero-img,img){
  transition:transform .22s ease!important;
  filter:none!important;
}

html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card > a:is(:hover,:focus-visible) :is(.go-ds-hero-img,img),
html body.home:not(.wp-admin) .go-ds-hero-card > a:is(:hover,:focus-visible) :is(.go-ds-hero-img,img){
  transform:scale(1.012)!important;
  filter:none!important;
}

/* Small hero cards: protect title color on hover as well. */
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card:not(.go-ds-hero-card--main) .go-ds-hero-copy strong,
html body.home:not(.wp-admin) .go-ds-hero-card:not(.go-ds-hero-card--main) .go-ds-hero-copy strong,
html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card:not(.go-ds-hero-card--main) > a:is(:hover,:focus,:focus-visible,:active,:visited) .go-ds-hero-copy strong,
html body.home:not(.wp-admin) .go-ds-hero-card:not(.go-ds-hero-card--main) > a:is(:hover,:focus,:focus-visible,:active,:visited) .go-ds-hero-copy strong{
  color:var(--go-v218-hero-title)!important;
  -webkit-text-fill-color:var(--go-v218-hero-title)!important;
  text-decoration:none!important;
  background:none!important;
  background-image:none!important;
  text-shadow:0 1px 2px rgba(0,0,0,.62),0 7px 18px rgba(0,0,0,.42)!important;
}

/* Latest strip and other dark homepage cards: no black text on hover. */
html body.home:not(.wp-admin) .go-ds-latest-strip,
html body.home:not(.wp-admin) .go-ds-latest-strip *,
html body.home:not(.wp-admin) .go-ds-latest-strip-grid a,
html body.home:not(.wp-admin) .go-ds-latest-strip-grid a:is(:hover,:focus,:focus-visible,:active,:visited),
html body.home:not(.wp-admin) .go-ds-latest-strip-grid a:is(:hover,:focus,:focus-visible,:active,:visited) *{
  text-decoration:none!important;
  background-image:none!important;
  opacity:1!important;
  filter:none!important;
}

html body.home:not(.wp-admin) .go-ds-latest-strip-grid a strong,
html body.home:not(.wp-admin) .go-ds-latest-strip-grid a:is(:hover,:focus,:focus-visible,:active,:visited) strong{
  color:var(--go-v218-latest-title)!important;
  -webkit-text-fill-color:var(--go-v218-latest-title)!important;
  text-shadow:none!important;
}

html body.home:not(.wp-admin) .go-ds-latest-strip-grid a span,
html body.home:not(.wp-admin) .go-ds-latest-strip-grid a:is(:hover,:focus,:focus-visible,:active,:visited) span{
  color:var(--go-v218-latest-meta)!important;
  -webkit-text-fill-color:var(--go-v218-latest-meta)!important;
}

/* Home/editorial listing cards that were inheriting black hover text. */
html body.home:not(.wp-admin) :is(.go-ds-card,.go-ds-card-link,.go-ds-news-stack a,.go-ds-mini-list a,.go-ds-promo-grid a,.go-ds-platform-grid a),
html body.home:not(.wp-admin) :is(.go-ds-card,.go-ds-card-link,.go-ds-news-stack a,.go-ds-mini-list a,.go-ds-promo-grid a,.go-ds-platform-grid a):is(:hover,:focus,:focus-visible,:active,:visited){
  text-decoration:none!important;
  background-image:none!important;
}

html body.home:not(.wp-admin) :is(.go-ds-card,.go-ds-card-link,.go-ds-news-stack a,.go-ds-mini-list a,.go-ds-promo-grid a,.go-ds-platform-grid a):is(:hover,:focus,:focus-visible,:active,:visited) :is(.go-ds-card-title,strong,h2,h3,h4){
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
  filter:none!important;
  text-decoration:none!important;
  background-image:none!important;
}

@media (max-width:1380px){
  html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy,
  html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy{
    max-width:min(74%, 640px)!important;
  }

  html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy strong,
  html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy strong{
    font-size:clamp(1.66rem,2.25vw,2.45rem)!important;
    max-width:min(100%, 15ch)!important;
  }
}

@media (max-width:1100px){
  html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy,
  html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy{
    max-width:100%!important;
  }

  html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy strong,
  html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy strong{
    max-width:min(100%, 16ch)!important;
    font-size:clamp(1.55rem,3.8vw,2.2rem)!important;
  }
}

@media (max-width:760px){
  html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy strong,
  html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy strong{
    max-width:100%!important;
    font-size:clamp(1.42rem,6.2vw,1.9rem)!important;
    line-height:1.04!important;
  }

  html body.home:not(.wp-admin) .go-ds-home .go-ds-hero-card--main .go-ds-hero-copy em,
  html body.home:not(.wp-admin) .go-ds-hero-card--main .go-ds-hero-copy em{
    font-size:.82rem!important;
    line-height:1.28!important;
  }
}
