/* =========================================================
   Game Overdrive v30, template/promo/offcanvas/single fixes
   ========================================================= */
:root {
  --go-v30-green: #c7f000;
  --go-v30-blue: #2800f0;
  --go-v30-dark: #1f1d2b;
  --go-v30-light: #f8f6f7;
  --go-v30-text: #0b0d12;
  --go-v30-muted: #656b78;
  --go-v30-line-light: rgba(9, 11, 18, .12);
  --go-v30-line-dark: rgba(255, 255, 255, .12);
  --go-v30-card-light: rgba(255, 255, 255, .58);
  --go-v30-card-dark: rgba(255, 255, 255, .035);
  --go-v30-radius: 14px;
}

/* Promoções da home, sempre com espaço reservado quando existir matéria na categoria. */
body.home:not(.wp-admin) .go-ds-panel--promos {
  display: block !important;
  min-width: 0 !important;
}
body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-promo-grid {
  display: grid !important;
  gap: 18px !important;
}
body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--list .go-ds-card-link,
body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card--mini .go-ds-card-link {
  grid-template-columns: 180px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
}
body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card-title,
body.home:not(.wp-admin) .go-ds-panel--promos .go-ds-card-title a {
  color: var(--ds-text, #f7f7fb) !important;
}
body.home:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-ds-panel--promos .go-ds-card-title,
body.home:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-ds-panel--promos .go-ds-card-title a {
  color: #0b0d12 !important;
}

/* Offcanvas claro: texto preto, sem verde sobrando; escuro mantém o verde Overdrive. */
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) aside#go-v24-offcanvas.go-v24-offcanvas-panel {
  background: var(--go-v30-light) !important;
  color: var(--go-v30-text) !important;
  border-right: 1px solid var(--go-v30-line-light) !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-head {
  min-height: 72px !important;
  padding: 14px 18px !important;
  background: var(--go-v30-light) !important;
  border-bottom: 1px solid var(--go-v30-line-light) !important;
  color: var(--go-v30-text) !important;
}
html body:not(.wp-admin) .go-v27-offcanvas-site-brand,
html body:not(.wp-admin) .go-v24-offcanvas-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
html body:not(.wp-admin) .go-v27-offcanvas-logo,
html body:not(.wp-admin) .go-v26-offcanvas-logo {
  max-width: 210px !important;
  max-height: 38px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v27-offcanvas-logo--light,
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v26-offcanvas-logo.go-v27-offcanvas-logo--light {
  display: block !important;
}
html body.dark-mode:not(.wp-admin) .go-v27-offcanvas-logo--dark,
html body.newsx-dark-mode:not(.wp-admin) .go-v27-offcanvas-logo--dark,
html.dark body:not(.wp-admin) .go-v27-offcanvas-logo--dark {
  display: block !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-close {
  color: #11141b !important;
  background: rgba(9, 11, 18, .055) !important;
  border-color: rgba(9, 11, 18, .14) !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-search-row button {
  background: rgba(255, 255, 255, .64) !important;
  border-color: rgba(9, 11, 18, .16) !important;
  color: #0b0d12 !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-nav a,
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-extra a,
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-nav a span:last-child,
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-extra a span:last-child {
  color: #0b0d12 !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-icon {
  color: var(--go-v30-blue) !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-extra strong {
  color: var(--go-v30-blue) !important;
}
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-nav a:hover,
html body:not(.wp-admin):not(.dark-mode):not(.newsx-dark-mode) .go-v24-offcanvas-extra a:hover {
  background: rgba(40, 0, 240, .07) !important;
  color: #0b0d12 !important;
}
html body.dark-mode:not(.wp-admin) aside#go-v24-offcanvas.go-v24-offcanvas-panel,
html body.newsx-dark-mode:not(.wp-admin) aside#go-v24-offcanvas.go-v24-offcanvas-panel,
html.dark body:not(.wp-admin) aside#go-v24-offcanvas.go-v24-offcanvas-panel {
  background: #08090f !important;
  color: #f7f7fb !important;
  border-right: 1px solid rgba(199, 240, 0, .22) !important;
}
html body.dark-mode:not(.wp-admin) .go-v24-offcanvas-head,
html body.newsx-dark-mode:not(.wp-admin) .go-v24-offcanvas-head,
html.dark body:not(.wp-admin) .go-v24-offcanvas-head {
  background: #08090f !important;
  border-bottom-color: rgba(199, 240, 0, .22) !important;
}

/* Header logo, alinhado e sem estourar. */
html body:not(.wp-admin) .go-v27-header-compact-brand {
  width: auto !important;
  min-width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
html body:not(.wp-admin) .go-v27-header-logo {
  width: auto !important;
  height: 28px !important;
  max-height: 28px !important;
  max-width: 42px !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Portal templates: visual mais limpo, editorial e consistente. */
.go-portal-page {
  padding-top: clamp(34px, 4vw, 58px) !important;
  background: var(--go-portal-bg, var(--go-v30-light)) !important;
}
.go-portal-shell {
  width: min(1180px, calc(100vw - 40px)) !important;
}
.go-portal-hero {
  padding-bottom: clamp(22px, 3vw, 36px) !important;
}
.go-portal-hero__head {
  max-width: 980px !important;
}
.go-portal-hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.8rem) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
}
.go-portal-tabs {
  margin-top: 22px !important;
  gap: 8px !important;
}
.go-portal-tabs__item {
  min-height: 34px !important;
  border-radius: 999px !important;
  background: transparent !important;
}
.go-portal-featured__grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr) !important;
  gap: clamp(20px, 2.4vw, 30px) !important;
}
.go-portal-card__media,
.go-portal-card__media img,
.go-portal-card__placeholder {
  border-radius: var(--go-v30-radius) !important;
}
.go-portal-card__body {
  padding-top: 12px !important;
}
.go-portal-card__title {
  font-weight: 850 !important;
  letter-spacing: -.045em !important;
}
.go-portal-card__excerpt {
  color: var(--go-portal-muted) !important;
}
.go-portal-featured__side .go-portal-card.is-compact {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--go-portal-line) !important;
}
.go-portal-featured__side .go-portal-card.is-compact .go-portal-card__body { padding-top: 0 !important; }
.go-portal-featured__side .go-portal-card.is-compact .go-portal-card__title { font-size: 1rem !important; line-height: 1.08 !important; }
.go-portal-feed__grid { gap: 30px 24px !important; }
.go-portal-page--promocoes .go-portal-featured__grid,
.go-portal-page--promocoes .go-portal-feed__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Singles: sidebar “Mais desta editoria”, “Últimas reviews” e “Em alta” mais legíveis. */
.go-article__sidebar .go-article__side-card {
  border: 1px solid var(--go-v30-line-light) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .48) !important;
  padding: 18px !important;
  box-shadow: none !important;
}
body.newsx-dark-mode .go-article__sidebar .go-article__side-card,
body.dark-mode .go-article__sidebar .go-article__side-card,
html.dark body .go-article__sidebar .go-article__side-card {
  border-color: var(--go-v30-line-dark) !important;
  background: rgba(255, 255, 255, .035) !important;
}
.go-article__side-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--go-v30-line-light) !important;
}
body.newsx-dark-mode .go-article__side-head,
body.dark-mode .go-article__side-head,
html.dark body .go-article__side-head { border-bottom-color: var(--go-v30-line-dark) !important; }
.go-article__side-label {
  color: var(--go-v30-blue) !important;
  font-size: .7rem !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
body.newsx-dark-mode .go-article__side-label,
body.dark-mode .go-article__side-label,
html.dark body .go-article__side-label { color: var(--go-v30-green) !important; }
.go-article__side-title {
  margin: 0 !important;
  color: inherit !important;
  font-size: 1.08rem !important;
  line-height: 1 !important;
  letter-spacing: -.035em !important;
  font-weight: 950 !important;
}
.go-article__side-list { display: grid !important; gap: 14px !important; }
.go-article__side-story {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}
.go-article__side-story-media {
  aspect-ratio: 16 / 10 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.go-article__side-story-media img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.go-article__side-story-title {
  color: inherit !important;
  font-size: .92rem !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
  letter-spacing: -.025em !important;
}
.go-article__side-story-meta { color: var(--go-v30-muted) !important; font-size: .72rem !important; font-weight: 800 !important; }
body.newsx-dark-mode .go-article__side-story-meta,
body.dark-mode .go-article__side-story-meta,
html.dark body .go-article__side-story-meta { color: rgba(255,255,255,.62) !important; }
.go-article__side-rank {
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: rgba(40,0,240,.10) !important;
  color: var(--go-v30-blue) !important;
  font-weight: 950 !important;
}
body.newsx-dark-mode .go-article__side-rank,
body.dark-mode .go-article__side-rank,
html.dark body .go-article__side-rank { background: rgba(199,240,0,.12) !important; color: var(--go-v30-green) !important; }
.go-article__side-story--numbered { grid-template-columns: 38px minmax(0, 1fr) !important; }

/* Review single: veredito legível no modo claro. */
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-closing,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-closing-body,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-closing-body p,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-verdict,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-verdict p,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-card,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-card p,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-card li {
  color: #0b0d12 !important;
}
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-closing {
  background: rgba(255,255,255,.56) !important;
  border-color: rgba(9,11,18,.12) !important;
}
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-closing h2,
body:not(.newsx-dark-mode):not(.dark-mode) .go-review-single-card h2 { color: #0b0d12 !important; }

@media (max-width: 900px) {
  .go-portal-shell { width: min(100%, calc(100vw - 28px)) !important; }
  .go-portal-featured__grid,
  .go-portal-page--promocoes .go-portal-featured__grid,
  .go-portal-page--promocoes .go-portal-feed__grid,
  .go-portal-feed__grid {
    grid-template-columns: 1fr !important;
  }
  .go-portal-featured__side .go-portal-card.is-compact {
    grid-template-columns: 120px minmax(0, 1fr) !important;
  }
  .go-article__side-story { grid-template-columns: 112px minmax(0, 1fr) !important; }
}
html.go-root-dark-mode body:not(.wp-admin) aside#go-v24-offcanvas.go-v24-offcanvas-panel,
html[class*="dark"] body:not(.wp-admin) aside#go-v24-offcanvas.go-v24-offcanvas-panel {
  background: #08090f !important;
  color: #f7f7fb !important;
  border-right-color: rgba(199, 240, 0, .22) !important;
}
html.go-root-dark-mode body:not(.wp-admin) .go-v24-offcanvas-head,
html[class*="dark"] body:not(.wp-admin) .go-v24-offcanvas-head {
  background: #08090f !important;
  color: #f7f7fb !important;
  border-bottom-color: rgba(199, 240, 0, .22) !important;
}
html.go-root-dark-mode body:not(.wp-admin) .go-v24-offcanvas-nav a,
html.go-root-dark-mode body:not(.wp-admin) .go-v24-offcanvas-extra a,
html.go-root-dark-mode body:not(.wp-admin) .go-v24-offcanvas-nav a span:last-child,
html.go-root-dark-mode body:not(.wp-admin) .go-v24-offcanvas-extra a span:last-child,
html[class*="dark"] body:not(.wp-admin) .go-v24-offcanvas-nav a,
html[class*="dark"] body:not(.wp-admin) .go-v24-offcanvas-extra a,
html[class*="dark"] body:not(.wp-admin) .go-v24-offcanvas-nav a span:last-child,
html[class*="dark"] body:not(.wp-admin) .go-v24-offcanvas-extra a span:last-child {
  color: var(--go-v30-green) !important;
}
html.go-root-dark-mode body:not(.wp-admin) .go-v24-offcanvas-icon,
html[class*="dark"] body:not(.wp-admin) .go-v24-offcanvas-icon { color: var(--go-v30-green) !important; }
