/* GO v58: neon green accents, unified single sidebars and Explore module. */

:root {
  --go-v58-neon: #c7f000;
  --go-v58-neon-text: #101218;
  --go-v58-neon-soft: rgba(199, 240, 0, 0.14);
  --go-v58-neon-line: rgba(199, 240, 0, 0.42);
  --go-v58-card-bg: rgba(255, 255, 255, 0.88);
  --go-v58-card-bg-2: rgba(246, 248, 251, 0.96);
  --go-v58-card-line: rgba(15, 23, 42, 0.105);
  --go-v58-text: #10131b;
  --go-v58-muted: #626b7a;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body,
body:is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) {
  --go-v58-card-bg: rgba(18, 20, 28, 0.9);
  --go-v58-card-bg-2: rgba(8, 10, 15, 0.94);
  --go-v58-card-line: rgba(255, 255, 255, 0.11);
  --go-v58-text: #f5f7fb;
  --go-v58-muted: #a7afbd;
}

/* Home and hero badges/hover accents use the requested neon green. */
body:not(.wp-admin) :is(
  .go-ds-hero-cat,
  .go-ds-card-cat,
  .go-ds-card-kicker,
  .go-ds-card-category,
  .go-home-label,
  .go-home-badge,
  .go-home-story-category,
  .go-home-story-kicker,
  .go-home-section-kicker,
  .go-article__eyebrow,
  .go-article__eyebrow a,
  .go-guide-label,
  .go-review-single-kicker
) {
  color: var(--go-v58-neon) !important;
}

body:not(.wp-admin) :is(
  .go-ds-hero-cat,
  .go-ds-card-cat,
  .go-ds-card-kicker,
  .go-ds-card-category,
  .go-home-label,
  .go-home-badge,
  .go-article__eyebrow a,
  .go-guide-label
) {
  border-color: var(--go-v58-neon-line) !important;
}

body:not(.wp-admin) :is(
  .go-ds-hero-card a,
  .go-ds-card-link,
  .go-home-story-title a,
  .go-home-latest-title a,
  .go-article__title a,
  .go-article__eyebrow a,
  .go-guide-label,
  .go-review-single-title a
):is(:hover, :focus-visible),
body:not(.wp-admin) .go-ds-card-link:is(:hover, :focus-visible) .go-ds-card-title,
body:not(.wp-admin) .go-ds-hero-card a:is(:hover, :focus-visible) .go-ds-hero-copy strong,
body:not(.wp-admin) .go-home-story-title a:is(:hover, :focus-visible),
body:not(.wp-admin) .go-home-latest-title a:is(:hover, :focus-visible),
body:not(.wp-admin) :is(.go-article__share-link, .go-guide-share a, .go-review-single-share a):is(:hover, :focus-visible) {
  color: var(--go-v58-neon) !important;
  border-color: var(--go-v58-neon-line) !important;
}

body:not(.wp-admin) .go-ds-home {
  --ds-accent: var(--go-v58-neon) !important;
  --ds-accent-soft: var(--go-v58-neon-soft) !important;
}

/* Single sidebars: same card language and same compact item layout across news, guides and reviews. */
body.single:not(.wp-admin) :is(
  .go-v55-sidebar-card,
  .go-guide-sidebar__block,
  .go-article__side-card,
  .go-review-single-card,
  .go-review-single-score-card
) {
  overflow: hidden !important;
  padding: 16px !important;
  border: 1px solid var(--go-v58-card-line) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(199, 240, 0, 0.08), transparent 58%),
    linear-gradient(180deg, var(--go-v58-card-bg), var(--go-v58-card-bg-2)) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075) !important;
  color: var(--go-v58-text) !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) :is(
  .go-v55-sidebar-card,
  .go-guide-sidebar__block,
  .go-article__side-card,
  .go-review-single-card,
  .go-review-single-score-card
),
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) :is(
  .go-v55-sidebar-card,
  .go-guide-sidebar__block,
  .go-article__side-card,
  .go-review-single-card,
  .go-review-single-score-card
) {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3) !important;
}

body.single:not(.wp-admin) :is(
  .go-v55-sidebar-card__head,
  .go-guide-section-head,
  .go-article__side-head,
  .go-review-single-sidebar-more h2,
  .go-review-single-card > h2
) {
  margin-bottom: 14px !important;
}

body.single:not(.wp-admin) :is(
  .go-v55-sidebar-card__head span,
  .go-guide-section-head span,
  .go-article__side-label,
  .go-review-single-kicker
) {
  color: var(--go-v58-neon) !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.single:not(.wp-admin) :is(
  .go-v55-sidebar-card__head h2,
  .go-guide-section-head h2,
  .go-article__side-title,
  .go-review-single-card > h2,
  .go-review-single-sidebar-more h2
) {
  color: var(--go-v58-text) !important;
  font-size: 1.04rem !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-list,
  .go-guide-sidebar__list,
  .go-review-single-sidebar-list,
  .go-v55-mini-list
) {
  display: grid !important;
  gap: 10px !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story,
  .go-guide-sidebar__item,
  .go-review-single-sidebar-link,
  .go-v55-mini-post
) {
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.48) !important;
  text-decoration: none !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) :is(
  .go-article__side-story,
  .go-guide-sidebar__item,
  .go-review-single-sidebar-link,
  .go-v55-mini-post
),
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) :is(
  .go-article__side-story,
  .go-guide-sidebar__item,
  .go-review-single-sidebar-link,
  .go-v55-mini-post
) {
  border-color: rgba(255, 255, 255, 0.075) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story:not(:has(.go-article__side-story-media)),
  .go-guide-sidebar__item:not(:has(.go-guide-sidebar__thumb)),
  .go-review-single-sidebar-link:not(:has(.go-review-single-sidebar-thumb)),
  .go-v55-mini-post:not(:has(.go-v55-mini-post__media))
) {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.single:not(.wp-admin) .go-article__side-story--numbered {
  grid-template-columns: 36px minmax(0, 1fr) !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story-media,
  .go-guide-sidebar__thumb,
  .go-review-single-sidebar-thumb,
  .go-v55-mini-post__media
) {
  display: block !important;
  width: 78px !important;
  height: 58px !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, 0.12) !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story-media img,
  .go-guide-sidebar__thumb img,
  .go-review-single-sidebar-thumb img,
  .go-v55-mini-post__media img
) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.22s ease, filter 0.22s ease !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story,
  .go-guide-sidebar__item,
  .go-review-single-sidebar-link,
  .go-v55-mini-post
):is(:hover, :focus-within) :is(img) {
  transform: scale(1.045) !important;
  filter: brightness(1.04) saturate(1.03) !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story-copy,
  .go-guide-sidebar__item > div,
  .go-review-single-sidebar-copy,
  .go-v55-mini-post__body
) {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story-meta,
  .go-guide-sidebar__item time,
  .go-review-single-sidebar-copy small,
  .go-v55-mini-post__body span
) {
  color: var(--go-v58-muted) !important;
  font-size: 0.68rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.035em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story-title,
  .go-guide-sidebar__item a:not(.go-guide-sidebar__thumb),
  .go-review-single-sidebar-copy strong,
  .go-v55-mini-post__body a
) {
  color: var(--go-v58-text) !important;
  font-size: 0.91rem !important;
  font-weight: 880 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  text-decoration: none !important;
}

body.single:not(.wp-admin) :is(
  .go-article__side-story-title,
  .go-guide-sidebar__item a:not(.go-guide-sidebar__thumb),
  .go-review-single-sidebar-link,
  .go-v55-mini-post__body a
):is(:hover, :focus-visible),
body.single:not(.wp-admin) .go-review-single-sidebar-link:is(:hover, :focus-visible) strong {
  color: var(--go-v58-neon) !important;
}

body.single:not(.wp-admin) .go-article__side-rank {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: var(--go-v58-neon) !important;
  color: var(--go-v58-neon-text) !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
}

body.single:not(.wp-admin) .go-v55-sidebar-facts {
  gap: 10px !important;
}

body.single:not(.wp-admin) .go-v55-sidebar-facts > div {
  min-height: 68px !important;
  border-radius: 16px !important;
}

/* End of single: same Explore shortcut design as the homepage, without the old Continue lendo block. */
body.single:not(.wp-admin) .go-v58-single-explore {
  margin: clamp(34px, 5vw, 58px) 0 0 !important;
  padding: clamp(18px, 3vw, 28px) 0 0 !important;
  border-top: 1px solid var(--go-v58-card-line) !important;
}

body.single:not(.wp-admin) .go-v58-single-explore__head {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 0 16px !important;
}

body.single:not(.wp-admin) .go-v58-single-explore__head h2 {
  margin: 0 !important;
  color: var(--go-v58-text) !important;
  font-size: clamp(22px, 2.1vw, 34px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
}

body.single:not(.wp-admin) .go-v58-single-explore__grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.single:not(.wp-admin) .go-v58-explore-card {
  position: relative !important;
  min-height: 104px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border-radius: 14px !important;
  background: #11131b !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.single:not(.wp-admin) .go-v58-explore-card .go-ds-anchor-media,
body.single:not(.wp-admin) .go-v58-explore-card .go-ds-anchor-img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.single:not(.wp-admin) .go-v58-explore-card .go-ds-anchor-img {
  object-fit: cover !important;
  filter: saturate(0.98) contrast(1.03) brightness(0.76) !important;
  transform: scale(1.01) !important;
  transition: transform 0.22s ease, filter 0.22s ease !important;
}

body.single:not(.wp-admin) .go-v58-explore-card .go-ds-anchor-img--fallback {
  background: radial-gradient(circle at 25% 20%, rgba(199, 240, 0, 0.22), transparent 34%), linear-gradient(135deg, #191b25, #090b12) !important;
}

body.single:not(.wp-admin) .go-v58-explore-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.72)) !important;
}

body.single:not(.wp-admin) .go-v58-explore-card .go-ds-anchor-label {
  position: absolute !important;
  left: 12px !important;
  right: auto !important;
  bottom: 12px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: calc(100% - 24px) !important;
  min-height: 30px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: var(--go-v58-neon) !important;
  color: var(--go-v58-neon-text) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
}

body.single:not(.wp-admin) .go-v58-explore-card:is(:hover, :focus-visible) .go-ds-anchor-img {
  transform: scale(1.05) !important;
  filter: saturate(1.05) contrast(1.05) brightness(0.86) !important;
}

body.single:not(.wp-admin) .go-v58-explore-card:is(:hover, :focus-visible) .go-ds-anchor-label {
  box-shadow: 0 0 0 3px rgba(199, 240, 0, 0.18) !important;
}

@media (max-width: 1100px) {
  body.single:not(.wp-admin) .go-v58-single-explore__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.single:not(.wp-admin) .go-v58-single-explore__head {
    justify-content: flex-start !important;
  }

  body.single:not(.wp-admin) .go-v58-single-explore__head h2 {
    font-size: 24px !important;
    text-align: left !important;
  }

  body.single:not(.wp-admin) .go-v58-single-explore__grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 4px !important;
  }

  body.single:not(.wp-admin) .go-v58-single-explore__grid::-webkit-scrollbar {
    display: none !important;
  }

  body.single:not(.wp-admin) .go-v58-explore-card {
    flex: 0 0 154px !important;
    min-height: 92px !important;
    scroll-snap-align: start !important;
  }

  body.single:not(.wp-admin) :is(
    .go-article__side-story,
    .go-guide-sidebar__item,
    .go-review-single-sidebar-link,
    .go-v55-mini-post
  ) {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body.single:not(.wp-admin) :is(
    .go-article__side-story-media,
    .go-guide-sidebar__thumb,
    .go-review-single-sidebar-thumb,
    .go-v55-mini-post__media
  ) {
    width: 72px !important;
    height: 54px !important;
  }
}

/* Legacy latest box used in review sidebars follows the same compact visual system. */
body.single:not(.wp-admin) .go-v47-sidebar-latest__list {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__list li a {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.48) !important;
  text-decoration: none !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-v47-sidebar-latest__list li a,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-v47-sidebar-latest__list li a {
  border-color: rgba(255, 255, 255, 0.075) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__rank {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: var(--go-v58-neon) !important;
  color: var(--go-v58-neon-text) !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__copy {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__copy time {
  color: var(--go-v58-muted) !important;
  font-size: 0.68rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.035em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__copy strong {
  color: var(--go-v58-text) !important;
  font-size: 0.91rem !important;
  font-weight: 880 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}

body.single:not(.wp-admin) .go-v47-sidebar-latest__list li a:is(:hover, :focus-visible) .go-v47-sidebar-latest__copy strong {
  color: var(--go-v58-neon) !important;
}

/* v59: Homepage Últimas Publicações title sizing, evita corte com reticências cedo demais. */
html body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-list .go-ds-card--latest .go-ds-card-title,
html body.home:not(.wp-admin) .go-ds-bottom-layout .go-ds-latest-list .go-ds-card--latest .go-ds-card-title,
html body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-list .go-ds-card--latest .go-ds-card-title a,
html body.home:not(.wp-admin) .go-ds-bottom-layout .go-ds-latest-list .go-ds-card--latest .go-ds-card-title a {
  font-size: clamp(18px, 1.18vw, 24px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.038em !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}

@media (max-width: 900px) {
  html body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-list .go-ds-card--latest .go-ds-card-title,
  html body.home:not(.wp-admin) .go-ds-bottom-layout .go-ds-latest-list .go-ds-card--latest .go-ds-card-title,
  html body.home:not(.wp-admin) .go-ds-latest-feed .go-ds-latest-list .go-ds-card--latest .go-ds-card-title a,
  html body.home:not(.wp-admin) .go-ds-bottom-layout .go-ds-latest-list .go-ds-card--latest .go-ds-card-title a {
    font-size: clamp(16px, 4.2vw, 20px) !important;
    line-height: 1.1 !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
}
