/* =========================================================
   Game Overdrive v214
   Fixes: header stability, offcanvas blackout, single title clipping,
   and tiny titles in Promoções / Críticas / Plataformas blocks.
   ========================================================= */

:root{
  --go-v214-ui-font:"Roboto",Arial,Helvetica,sans-serif;
  --go-v214-title-font:"Khand","Roboto Condensed","Arial Narrow",Arial,Helvetica,sans-serif;
  --go-v214-header-h:64px;
  --go-v214-header-btn:40px;
}

/* HEADER: rebuild the shell into a stable single row. */
html body:not(.wp-admin) header#site-header.go-v24-header{
  position:relative!important;
  z-index:99990!important;
  min-height:var(--go-v214-header-h)!important;
  height:auto!important;
  overflow:visible!important;
  background:#05070b!important;
  border-bottom:1px solid rgba(199,240,0,.24)!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-inner{
  width:min(1320px,calc(100vw - 32px))!important;
  min-height:var(--go-v214-header-h)!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  margin-inline:auto!important;
  padding:0!important;
  overflow:visible!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-left,
html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-main-nav,
html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-actions{
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-left{
  justify-content:flex-start!important;
  gap:12px!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-main-nav{
  justify-content:flex-start!important;
  gap:20px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-main-nav a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:var(--go-v214-header-btn)!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  font-family:var(--go-v214-ui-font)!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:.015em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-main-nav a:is(:hover,:focus-visible){
  color:#c7f000!important;
  -webkit-text-fill-color:#c7f000!important;
  background:transparent!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-actions{
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header :is(.go-v24-menu-toggle,.go-v24-search-icon-button,.go-v31-social-link),
html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search button,
html body:not(.wp-admin) header#site-header.go-v24-header .newsx-dark-mode-switcher,
html body:not(.wp-admin) header#site-header.go-v24-header .go-v38-follow-link{
  box-sizing:border-box!important;
  height:var(--go-v214-header-btn)!important;
  min-height:var(--go-v214-header-btn)!important;
  max-height:var(--go-v214-header-btn)!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.055)!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  box-shadow:none!important;
  transform:none!important;
  overflow:hidden!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header :is(.go-v24-menu-toggle,.go-v24-search-icon-button,.go-v31-social-link),
html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search button{
  width:var(--go-v214-header-btn)!important;
  min-width:var(--go-v214-header-btn)!important;
  max-width:var(--go-v214-header-btn)!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-menu-toggle{
  flex:0 0 var(--go-v214-header-btn)!important;
  gap:0!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-menu-toggle span{
  display:block!important;
  width:18px!important;
  height:2px!important;
  min-height:2px!important;
  margin:2px 0!important;
  background:currentColor!important;
  border:0!important;
  opacity:1!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-brand,
html body:not(.wp-admin) header#site-header.go-v24-header .go-v26-header-logo-link,
html body:not(.wp-admin) header#site-header.go-v24-header .go-v27-header-compact-brand{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:72px!important;
  height:var(--go-v214-header-btn)!important;
  overflow:visible!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header :is(.go-v26-header-logo,.go-v27-header-logo){
  display:block!important;
  width:auto!important;
  max-width:58px!important;
  height:auto!important;
  max-height:28px!important;
  object-fit:contain!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search{
  box-sizing:border-box!important;
  width:clamp(260px,24vw,360px)!important;
  min-width:220px!important;
  height:var(--go-v214-header-btn)!important;
  max-height:var(--go-v214-header-btn)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--go-v214-header-btn)!important;
  align-items:center!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.06)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search input{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0 13px!important;
  border:0!important;
  background:transparent!important;
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  font-family:var(--go-v214-ui-font)!important;
  font-size:13px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  line-height:1!important;
  text-transform:uppercase!important;
  outline:0!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search input::placeholder{
  color:rgba(248,250,252,.72)!important;
  -webkit-text-fill-color:rgba(248,250,252,.72)!important;
  opacity:1!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search button{
  border-top:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-left:1px solid rgba(255,255,255,.14)!important;
  background:transparent!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header :is(.go-v24-search-icon-button,.go-v24-header-search button,.go-v31-social-link,.newsx-dark-mode-switcher) svg{
  width:17px!important;
  height:17px!important;
  max-width:17px!important;
  max-height:17px!important;
  display:block!important;
  color:currentColor!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .go-v38-follow-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:auto!important;
  padding:0 14px!important;
  font-family:var(--go-v214-ui-font)!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}

/* Header theme switcher: prevents the sun/moon from falling out of the button. */
html body:not(.wp-admin) header#site-header.go-v24-header .newsx-dark-mode-switcher{
  position:relative!important;
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0 8px!important;
  line-height:1!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .newsx-dark-mode-switcher :is(.go-shell-dark-toggle-track,.go-shell-dark-toggle-thumb){
  display:none!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header .newsx-dark-mode-switcher :is(span,i,svg){
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  opacity:.82!important;
  overflow:visible!important;
}

html body:not(.wp-admin) header#site-header.go-v24-header :is(.go-v24-menu-toggle,.go-v24-search-icon-button,.go-v31-social-link,.go-v38-follow-link,.newsx-dark-mode-switcher,.go-v24-header-search button):is(:hover,:focus-visible){
  border-color:rgba(199,240,0,.38)!important;
  color:#c7f000!important;
  -webkit-text-fill-color:#c7f000!important;
  background:rgba(199,240,0,.09)!important;
  transform:none!important;
}

/* Hide duplicated compact search button if the full search is visible. */
@media (min-width: 1041px){
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-search-icon-button{
    display:none!important;
  }
}

@media (max-width: 1180px){
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-inner{
    width:calc(100vw - 24px)!important;
    gap:12px!important;
  }
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-main-nav{
    gap:14px!important;
  }
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search{
    width:clamp(220px,22vw,300px)!important;
  }
}

@media (max-width: 1040px){
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-inner{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-main-nav{
    display:none!important;
  }
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-header-search{
    display:none!important;
  }
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v24-search-icon-button{
    display:grid!important;
  }
}

@media (max-width: 560px){
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v38-follow-link,
  html body:not(.wp-admin) header#site-header.go-v24-header .go-v31-social-link{
    display:none!important;
  }
}

/* HOME: titles in Promoções / Críticas / Plataformas were too small after global font refinement. */
html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-title,
html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-title a,
html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-title,
html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-title a{
  font-family:var(--go-v214-title-font)!important;
  font-size:clamp(1.28rem,1.48vw,1.72rem)!important;
  font-weight:600!important;
  line-height:1.03!important;
  letter-spacing:-.012em!important;
  text-transform:none!important;
  display:block!important;
  overflow:visible!important;
  text-overflow:clip!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  white-space:normal!important;
}

html body.home:not(.wp-admin) .go-ds-rail-box .go-ds-card--mini .go-ds-card-title,
html body.home:not(.wp-admin) .go-ds-rail-box .go-ds-card--mini .go-ds-card-title a,
html body.home:not(.wp-admin) .go-ds-side-rail .go-ds-card--mini .go-ds-card-title,
html body.home:not(.wp-admin) .go-ds-side-rail .go-ds-card--mini .go-ds-card-title a{
  font-family:var(--go-v214-title-font)!important;
  font-size:clamp(1.16rem,1.18vw,1.44rem)!important;
  font-weight:600!important;
  line-height:1.04!important;
  letter-spacing:-.01em!important;
  display:block!important;
  overflow:visible!important;
  text-overflow:clip!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  white-space:normal!important;
}

html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-link,
html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-link{
  grid-template-columns:132px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
}

html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-media,
html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-media{
  width:132px!important;
  min-width:132px!important;
}

html body.home:not(.wp-admin) :is(.go-ds-panel--promos,.go-ds-panel--platforms,.go-ds-rail-box) .go-ds-section-head h2{
  font-size:clamp(1.85rem,2.3vw,2.7rem)!important;
  line-height:.96!important;
  font-weight:600!important;
}

/* SINGLE TITLES: stop clipping and reduce excessive width/size. */
html body.single:not(.wp-admin) :is(.go-article__title,.entry-title,.post-title),
html body.single-post:not(.wp-admin) :is(.go-article__title,.entry-title,.post-title){
  display:block!important;
  width:100%!important;
  max-width:1120px!important;
  overflow:visible!important;
  text-overflow:clip!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  font-family:var(--go-v214-title-font)!important;
  font-size:clamp(2.25rem,3.45vw,4.15rem)!important;
  line-height:1.02!important;
  letter-spacing:-.014em!important;
  font-weight:600!important;
}

html body.single:not(.wp-admin) :is(.go-article__deck,.go-article__excerpt,.entry-subtitle,.go-single-subtitle),
html body.single-post:not(.wp-admin) :is(.go-article__deck,.go-article__excerpt,.entry-subtitle,.go-single-subtitle){
  font-family:var(--go-v214-ui-font)!important;
  font-size:clamp(1.02rem,1.28vw,1.25rem)!important;
  line-height:1.45!important;
  font-weight:400!important;
}

/* OFFCANVAS: make the outside transparent; only the panel should be dark. */
html body:not(.wp-admin) .go-v24-offcanvas-layer{
  position:fixed!important;
  inset:0!important;
  z-index:100000!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  opacity:1!important;
  overflow:visible!important;
}

html body:not(.wp-admin) .go-v24-offcanvas-layer::before,
html body:not(.wp-admin) .go-v24-offcanvas-layer::after,
html body:not(.wp-admin) .go-v24-offcanvas-backdrop::before,
html body:not(.wp-admin) .go-v24-offcanvas-backdrop::after{
  content:none!important;
  display:none!important;
}

html body:not(.wp-admin) .go-v24-offcanvas-backdrop,
html body.go-v24-menu-open:not(.wp-admin) .go-v24-offcanvas-backdrop{
  position:absolute!important;
  inset:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  opacity:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}

html body:not(.wp-admin) aside#go-v24-offcanvas.go-v24-offcanvas-panel{
  position:absolute!important;
  z-index:2!important;
  top:0!important;
  left:0!important;
  bottom:auto!important;
  width:min(320px,calc(100vw - 26px))!important;
  max-width:320px!important;
  min-height:100vh!important;
  height:100vh!important;
  max-height:100vh!important;
  overflow-y:auto!important;
  background:#05080e!important;
  background-color:#05080e!important;
  background-image:none!important;
  color:#f8fafc!important;
  box-shadow:14px 0 38px rgba(0,0,0,.32)!important;
  border-right:1px solid rgba(199,240,0,.22)!important;
}

html body:not(.wp-admin) :is(.go-v24-offcanvas-head,.go-v24-offcanvas-nav,.go-v24-offcanvas-extra){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

html body:not(.wp-admin) .go-v24-offcanvas-nav a,
html body:not(.wp-admin) .go-v24-offcanvas-extra a{
  font-family:var(--go-v214-title-font)!important;
  font-size:1.14rem!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:-.006em!important;
  text-transform:none!important;
}

html body:not(.wp-admin) .go-v24-offcanvas-extra > strong{
  font-family:var(--go-v214-ui-font)!important;
  font-size:.72rem!important;
  font-weight:600!important;
  letter-spacing:.045em!important;
}

@media (max-width: 760px){
  html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-title,
  html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-title a,
  html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-title,
  html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-title a,
  html body.home:not(.wp-admin) .go-ds-rail-box .go-ds-card--mini .go-ds-card-title,
  html body.home:not(.wp-admin) .go-ds-rail-box .go-ds-card--mini .go-ds-card-title a{
    font-size:clamp(1.16rem,5.4vw,1.45rem)!important;
    line-height:1.05!important;
  }

  html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-link,
  html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-link{
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:12px!important;
  }

  html body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-media,
  html body.home:not(.wp-admin) .go-ds-panel--platforms .go-ds-card--mini .go-ds-card-media{
    width:112px!important;
    min-width:112px!important;
  }

  html body.single:not(.wp-admin) :is(.go-article__title,.entry-title,.post-title),
  html body.single-post:not(.wp-admin) :is(.go-article__title,.entry-title,.post-title){
    font-size:clamp(2rem,8vw,3rem)!important;
    line-height:1.03!important;
  }
}
