/* GO v50: hard fixes for home bands/latest block and single after-content. */
body:not(.wp-admin){
  --go-v50-bg-light:#f8f6f7;
  --go-v50-bg-dark:#1f1d2b;
  --go-v50-panel-light:#ffffff;
  --go-v50-panel-soft-light:#f1eff5;
  --go-v50-panel-dark:#211f2c;
  --go-v50-panel-soft-dark:#272531;
  --go-v50-text-light:#080a10;
  --go-v50-text-dark:#f7f7fb;
  --go-v50-muted-light:rgba(8,10,16,.64);
  --go-v50-muted-dark:rgba(247,247,251,.70);
  --go-v50-line-light:rgba(8,10,16,.12);
  --go-v50-line-dark:rgba(255,255,255,.12);
  --go-v50-blue:#2800f0;
  --go-v50-green:#c7f000;
}

/* --------------------------------------------------------------------------
   HOME BANDS: only the hero gets a structural band.
   -------------------------------------------------------------------------- */
body.home:not(.wp-admin),
body.home:not(.wp-admin) .go-ds-home,
body.home:not(.wp-admin) .site-content{
  background:var(--go-v50-bg-light)!important;
}
body.home.newsx-dark-mode:not(.wp-admin),
body.home.dark-mode:not(.wp-admin),
html.dark body.home:not(.wp-admin),
body.home.newsx-dark-mode:not(.wp-admin) .go-ds-home,
body.home.dark-mode:not(.wp-admin) .go-ds-home,
html.dark body.home:not(.wp-admin) .go-ds-home{
  background:var(--go-v50-bg-dark)!important;
}

/* kill every old decorative/full-width stripe on home except hero */
body.home:not(.wp-admin) :is(
  .go-ds-home,
  .go-ds-topbar,
  .go-ds-latest-strip,
  .go-ds-anchor,
  .go-ds-content-band,
  .go-ds-duo,
  .go-ds-panel,
  .go-ds-section,
  .go-ds-bottom-layout,
  .go-ds-latest-feed,
  .go-ds-rightbar,
  .go-ds-side-rail
)::before,
body.home:not(.wp-admin) :is(
  .go-ds-home,
  .go-ds-topbar,
  .go-ds-latest-strip,
  .go-ds-anchor,
  .go-ds-content-band,
  .go-ds-duo,
  .go-ds-panel,
  .go-ds-section,
  .go-ds-bottom-layout,
  .go-ds-latest-feed,
  .go-ds-rightbar,
  .go-ds-side-rail
)::after{
  content:none!important;
  display:none!important;
}

/* the single structural band starts after the functional Últimas bar and ends before the mini Últimas strip */
body.home:not(.wp-admin) .go-ds-hero{
  position:relative!important;
  isolation:isolate!important;
  margin-top:clamp(20px,2.6vw,38px)!important;
  margin-bottom:clamp(26px,3vw,46px)!important;
  z-index:0!important;
}
body.home:not(.wp-admin) .go-ds-hero::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:100vw!important;
  top:calc(clamp(18px,2.2vw,32px) * -1)!important;
  bottom:calc(clamp(16px,2vw,28px) * -1)!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:var(--go-v50-panel-soft-light)!important;
  border-top:1px solid var(--go-v50-line-light)!important;
  border-bottom:1px solid var(--go-v50-line-light)!important;
}
body.home.newsx-dark-mode:not(.wp-admin) .go-ds-hero::before,
body.home.dark-mode:not(.wp-admin) .go-ds-hero::before,
html.dark body.home:not(.wp-admin) .go-ds-hero::before{
  background:var(--go-v50-panel-soft-dark)!important;
  border-color:var(--go-v50-line-dark)!important;
}

/* mini Últimas strip above Explore: it is a component, not a page stripe */
body.home:not(.wp-admin) .go-ds-latest-strip{
  background:#090a10!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:10px!important;
  overflow:hidden!important;
  margin-top:0!important;
  margin-bottom:clamp(24px,3vw,42px)!important;
}
body.home:not(.wp-admin) .go-ds-latest-strip-head,
body.home:not(.wp-admin) .go-ds-latest-strip-grid a{
  background:#090a10!important;
}

/* Últimas Publicações: no outer band, only the card/panel itself. */
body.home:not(.wp-admin) .go-ds-bottom-layout{
  position:relative!important;
  isolation:auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin-top:clamp(42px,5vw,74px)!important;
}
body.home:not(.wp-admin) .go-ds-bottom-layout::before,
body.home:not(.wp-admin) .go-ds-bottom-layout::after{
  content:none!important;
  display:none!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed{
  --go-latest-panel:var(--go-v50-panel-light);
  --go-latest-text:var(--go-v50-text-light);
  --go-latest-muted:var(--go-v50-muted-light);
  --go-latest-line:var(--go-v50-line-light);
  --go-latest-accent:var(--go-v50-blue);
  position:relative!important;
  background:var(--go-latest-panel)!important;
  color:var(--go-latest-text)!important;
  border:1px solid var(--go-latest-line)!important;
  border-radius:16px!important;
  padding:clamp(22px,2.4vw,34px)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.home.newsx-dark-mode:not(.wp-admin) .go-ds-latest-feed,
body.home.dark-mode:not(.wp-admin) .go-ds-latest-feed,
html.dark body.home:not(.wp-admin) .go-ds-latest-feed{
  --go-latest-panel:var(--go-v50-panel-dark);
  --go-latest-text:var(--go-v50-text-dark);
  --go-latest-muted:var(--go-v50-muted-dark);
  --go-latest-line:var(--go-v50-line-dark);
  --go-latest-accent:var(--go-v50-green);
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-section-head{
  margin:0 0 20px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid var(--go-latest-line)!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-section-title{
  color:var(--go-latest-text)!important;
  text-transform:uppercase!important;
  letter-spacing:-.05em!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-see-more{
  color:var(--go-latest-accent)!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-list{
  display:grid!important;
  gap:0!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-item{
  padding:22px 0!important;
  border-bottom:1px solid var(--go-latest-line)!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-item:first-child{
  padding-top:0!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-item:last-child{
  padding-bottom:0!important;
  border-bottom:0!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card--latest .go-ds-card-link{
  display:grid!important;
  grid-template-columns:minmax(190px,260px) minmax(0,1fr)!important;
  gap:clamp(18px,2vw,26px)!important;
  align-items:center!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card--latest .go-ds-card-media{
  min-height:132px!important;
  border-radius:10px!important;
  overflow:hidden!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card--latest .go-ds-card-title{
  color:var(--go-latest-text)!important;
  font-size:clamp(22px,1.6vw,31px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card-excerpt,
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card-meta{
  color:var(--go-latest-muted)!important;
}
body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card-cat{
  color:var(--go-latest-accent)!important;
}

/* --------------------------------------------------------------------------
   SINGLE AFTER-CONTENT: author, tags/meta, comments and related content.
   -------------------------------------------------------------------------- */
body.single:not(.wp-admin) :is(.go-article__footer,.go-review-single-main > .go-single-author-card,.go-review-single-more,.go-review-single-comments,.go-article__related,.go-article__comments){
  margin-top:clamp(34px,4vw,58px)!important;
}
body.single:not(.wp-admin) .go-article__footer-top{
  display:grid!important;
  gap:clamp(18px,2vw,26px)!important;
}
body.single:not(.wp-admin) .go-article__footer-share{
  display:none!important;
}

/* one horizontal author card across news, reviews and critiques */
body.single:not(.wp-admin) .go-single-author-card{
  --go-author-panel:var(--go-v50-panel-light);
  --go-author-text:var(--go-v50-text-light);
  --go-author-muted:var(--go-v50-muted-light);
  --go-author-line:var(--go-v50-line-light);
  --go-author-accent:var(--go-v50-blue);
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr) auto!important;
  gap:18px!important;
  align-items:center!important;
  padding:20px!important;
  border:1px solid var(--go-author-line)!important;
  border-radius:18px!important;
  background:var(--go-author-panel)!important;
  color:var(--go-author-text)!important;
  box-shadow:none!important;
}
body.single.newsx-dark-mode:not(.wp-admin) .go-single-author-card,
body.single.dark-mode:not(.wp-admin) .go-single-author-card,
html.dark body.single:not(.wp-admin) .go-single-author-card{
  --go-author-panel:rgba(255,255,255,.035);
  --go-author-text:var(--go-v50-text-dark);
  --go-author-muted:var(--go-v50-muted-dark);
  --go-author-line:var(--go-v50-line-dark);
  --go-author-accent:var(--go-v50-green);
}
body.single:not(.wp-admin) .go-single-author-card__avatar{
  width:68px!important;
  height:68px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  border:3px solid var(--go-author-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb, var(--go-author-accent) 16%, transparent)!important;
}
body.single:not(.wp-admin) .go-single-author-card__avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
body.single:not(.wp-admin) .go-single-author-card__body{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
}
body.single:not(.wp-admin) .go-single-author-card__eyebrow{
  color:var(--go-author-accent)!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.single:not(.wp-admin) .go-single-author-card__name{
  color:var(--go-author-text)!important;
  font-size:clamp(20px,1.35vw,25px)!important;
  line-height:1!important;
  font-weight:950!important;
  text-decoration:none!important;
}
body.single:not(.wp-admin) .go-single-author-card p{
  max-width:680px!important;
  margin:4px 0 0!important;
  color:var(--go-author-muted)!important;
  font-size:14px!important;
  line-height:1.45!important;
}
body.single:not(.wp-admin) .go-single-author-card__link{
  justify-self:end!important;
  width:max-content!important;
  margin:0!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  border:1px solid var(--go-author-line)!important;
  color:var(--go-author-accent)!important;
  background:transparent!important;
  font-size:12px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  text-decoration:none!important;
}

/* tags / metadata as a clean box */
body.single:not(.wp-admin) :is(
  .go-article__footer-meta,
  .newsx-post-tags,
  .post-tags,
  .tagcloud,
  .tags-links,
  .cat-links,
  .go-review-single-main > .post-tags,
  .go-review-single-main > .newsx-post-tags,
  .go-sc-sources,
  .go-guide-article__footer-meta
){
  --go-meta-panel:rgba(255,255,255,.60);
  --go-meta-line:var(--go-v50-line-light);
  --go-meta-text:var(--go-v50-text-light);
  --go-meta-muted:var(--go-v50-muted-light);
  --go-meta-accent:var(--go-v50-blue);
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
  width:100%!important;
  padding:16px 18px!important;
  border:1px solid var(--go-meta-line)!important;
  border-radius:18px!important;
  background:var(--go-meta-panel)!important;
  color:var(--go-meta-text)!important;
  box-shadow:none!important;
}
body.single.newsx-dark-mode:not(.wp-admin) :is(.go-article__footer-meta,.newsx-post-tags,.post-tags,.tagcloud,.tags-links,.cat-links,.go-review-single-main > .post-tags,.go-review-single-main > .newsx-post-tags,.go-sc-sources,.go-guide-article__footer-meta),
body.single.dark-mode:not(.wp-admin) :is(.go-article__footer-meta,.newsx-post-tags,.post-tags,.tagcloud,.tags-links,.cat-links,.go-review-single-main > .post-tags,.go-review-single-main > .newsx-post-tags,.go-sc-sources,.go-guide-article__footer-meta),
html.dark body.single:not(.wp-admin) :is(.go-article__footer-meta,.newsx-post-tags,.post-tags,.tagcloud,.tags-links,.cat-links,.go-review-single-main > .post-tags,.go-review-single-main > .newsx-post-tags,.go-sc-sources,.go-guide-article__footer-meta){
  --go-meta-panel:rgba(255,255,255,.035);
  --go-meta-line:var(--go-v50-line-dark);
  --go-meta-text:var(--go-v50-text-dark);
  --go-meta-muted:var(--go-v50-muted-dark);
  --go-meta-accent:var(--go-v50-green);
}
body.single:not(.wp-admin) :is(.go-article__footer-tag-list,.go-single-source-cluster,.post-source){
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
  margin:0!important;
}
body.single:not(.wp-admin) :is(.go-article__footer-meta a,.newsx-post-tags a,.post-tags a,.tagcloud a,.tags-links a,.cat-links a,.go-single-source-pill){
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:32px!important;
  padding:0 12px!important;
  border:1px solid color-mix(in srgb, var(--go-meta-accent) 32%, var(--go-meta-line))!important;
  border-radius:999px!important;
  background:color-mix(in srgb, var(--go-meta-accent) 9%, transparent)!important;
  color:var(--go-meta-accent)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  text-decoration:none!important;
}

/* related/comments after text should stay in the same visual system */
body.single:not(.wp-admin) :is(.go-article__related,.go-article__comments,.go-review-single-more,.go-review-single-comments){
  padding-top:clamp(22px,2.4vw,34px)!important;
  border-top:1px solid var(--go-v50-line-light)!important;
}
body.single.newsx-dark-mode:not(.wp-admin) :is(.go-article__related,.go-article__comments,.go-review-single-more,.go-review-single-comments),
body.single.dark-mode:not(.wp-admin) :is(.go-article__related,.go-article__comments,.go-review-single-more,.go-review-single-comments),
html.dark body.single:not(.wp-admin) :is(.go-article__related,.go-article__comments,.go-review-single-more,.go-review-single-comments){
  border-top-color:var(--go-v50-line-dark)!important;
}

/* --------------------------------------------------------------------------
   REVIEW/CRITIQUE VERDICT: always readable, especially light mode.
   -------------------------------------------------------------------------- */
body.single:not(.wp-admin) .go-review-single-closing{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border-radius:18px!important;
  border:1px solid rgba(245,247,250,.18)!important;
  background:#05070b!important;
  color:#f5f7fa!important;
}
body.single:not(.wp-admin) .go-review-single-closing::after{
  background:rgba(5,7,11,.76)!important;
}
body.single:not(.wp-admin) .go-review-single-closing h2,
body.single:not(.wp-admin) .go-review-single-closing-body,
body.single:not(.wp-admin) .go-review-single-closing-body p,
body.single:not(.wp-admin) .go-review-single-closing p{
  color:#f5f7fa!important;
  opacity:1!important;
}
body.single:not(.wp-admin) .go-review-single-closing-score{
  border-color:rgba(245,247,250,.30)!important;
  background:rgba(245,247,250,.88)!important;
  color:#070910!important;
}
body.single:not(.wp-admin) .go-review-single-closing-score span,
body.single:not(.wp-admin) .go-review-single-closing-score strong{
  color:#070910!important;
}

/* light mode Em Alta sidebar color lock */
body.home:not(.wp-admin):not(.newsx-dark-mode):not(.dark-mode) .go-ds-rightbar .go-ds-section-title,
html:not(.dark) body.home:not(.wp-admin) .go-ds-rightbar .go-ds-section-title,
body.home:not(.wp-admin):not(.newsx-dark-mode):not(.dark-mode) .go-ds-rightbar .go-ds-ranking strong,
html:not(.dark) body.home:not(.wp-admin) .go-ds-rightbar .go-ds-ranking strong{
  color:var(--go-v50-text-light)!important;
}
body.home:not(.wp-admin):not(.newsx-dark-mode):not(.dark-mode) .go-ds-rightbar .go-ds-ranking span,
html:not(.dark) body.home:not(.wp-admin) .go-ds-rightbar .go-ds-ranking span{
  background:rgba(40,0,240,.12)!important;
  color:var(--go-v50-blue)!important;
}

@media (max-width:780px){
  body.home:not(.wp-admin) .go-ds-hero::before{
    top:-14px!important;
    bottom:-12px!important;
  }
  body.home:not(.wp-admin) .go-ds-bottom-layout{
    margin-top:34px!important;
  }
  body.home:not(.wp-admin) .go-ds-latest-feed{
    padding:16px!important;
    border-radius:14px!important;
  }
  body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card--latest .go-ds-card-link{
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card--latest .go-ds-card-media{
    min-height:72px!important;
  }
  body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card--latest .go-ds-card-title{
    font-size:clamp(17px,5.2vw,21px)!important;
    line-height:1.06!important;
  }
  body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-card-excerpt{
    display:none!important;
  }
  body.single:not(.wp-admin) .go-single-author-card{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:14px!important;
    padding:16px!important;
  }
  body.single:not(.wp-admin) .go-single-author-card__avatar{
    width:56px!important;
    height:56px!important;
  }
  body.single:not(.wp-admin) .go-single-author-card__link{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:6px!important;
  }
  body.single:not(.wp-admin) :is(.go-article__footer-meta,.newsx-post-tags,.post-tags,.tagcloud,.tags-links,.cat-links,.go-review-single-main > .post-tags,.go-review-single-main > .newsx-post-tags,.go-sc-sources,.go-guide-article__footer-meta){
    padding:14px!important;
    border-radius:16px!important;
  }
}
