/* GO v57: green light-mode hero accents, cleaner single sidebar cards, refined author/tags and smaller reader rail. */

:root {
  --go-v57-green: #6f8f00;
  --go-v57-green-strong: #4f6900;
  --go-v57-green-bright: #c7f000;
  --go-v57-green-soft: rgba(111, 143, 0, 0.105);
  --go-v57-green-line: rgba(111, 143, 0, 0.32);
}

/* Home/hero categories and hovers: light mode uses the site green instead of the old blue. */
html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) .go-ds-home {
  --ds-accent: var(--go-v57-green);
  --ds-accent-soft: var(--go-v57-green-soft);
}

html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) :is(
  .go-ds-see-more,
  .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
) {
  color: var(--go-v57-green) !important;
}

html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) :is(
  .go-ds-see-more,
  .go-ds-hero-cat,
  .go-ds-card-cat,
  .go-ds-card-kicker,
  .go-ds-card-category,
  .go-home-label,
  .go-home-badge
) {
  border-color: var(--go-v57-green-line) !important;
}

html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) :is(
  .go-ds-see-more,
  .go-ds-hero-card a,
  .go-ds-card-link,
  .go-home-story-title a,
  .go-home-latest-title a
):is(:hover, :focus-visible),
html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) .go-ds-card-link:is(:hover, :focus-visible) .go-ds-card-title,
html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) .go-ds-hero-card a:is(:hover, :focus-visible) .go-ds-hero-copy strong,
html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) .go-home-story-title a:is(:hover, :focus-visible),
html:not(.dark):not([data-theme="dark"]) body.home:not(.wp-admin):not(.dark):not(.dark-mode):not(.is-dark-theme):not(.newsx-dark-mode):not([data-theme="dark"]) .go-home-latest-title a:is(:hover, :focus-visible) {
  color: var(--go-v57-green-strong) !important;
}

/* News single hero: category/chips/hover in green on light mode. */
html:not(.dark):not([data-theme="dark"]) body.go-template-news:not(.dark):not(.dark-mode):not(.newsx-dark-mode):not(.is-dark-theme):not([data-theme="dark"]) .go-article__hero--guide-like :is(
  .go-article__eyebrow,
  .go-article__eyebrow a,
  .go-article__hero-nav .go-news-archive-chip,
  .go-article__meta-author
) {
  color: var(--go-v57-green) !important;
}

html:not(.dark):not([data-theme="dark"]) body.go-template-news:not(.dark):not(.dark-mode):not(.newsx-dark-mode):not(.is-dark-theme):not([data-theme="dark"]) .go-article__hero--guide-like .go-article__hero-nav .go-news-archive-chip {
  border-color: var(--go-v57-green-line) !important;
  background: var(--go-v57-green-soft) !important;
}

html:not(.dark):not([data-theme="dark"]) body.go-template-news:not(.dark):not(.dark-mode):not(.newsx-dark-mode):not(.is-dark-theme):not([data-theme="dark"]) .go-article__hero--guide-like :is(
  .go-article__title a,
  .go-article__eyebrow a,
  .go-article__meta-author,
  .go-article__hero-nav .go-news-archive-chip
):is(:hover, :focus-visible),
html:not(.dark):not([data-theme="dark"]) body.go-template-news:not(.dark):not(.dark-mode):not(.newsx-dark-mode):not(.is-dark-theme):not([data-theme="dark"]) .go-article__hero--guide-like .go-article__share-link:is(:hover, :focus-visible) {
  border-color: var(--go-v57-green) !important;
  color: var(--go-v57-green-strong) !important;
}

html:not(.dark):not([data-theme="dark"]) body.go-template-news:not(.dark):not(.dark-mode):not(.newsx-dark-mode):not(.is-dark-theme):not([data-theme="dark"]) .go-article__hero--guide-like .go-article__meta-avatar {
  border-color: var(--go-v57-green) !important;
}

/* Refined single sidebars, less generic and less placeholder-like. */
body.single:not(.wp-admin) .go-v55-sidebar-pack {
  gap: 16px;
  margin-bottom: 22px;
}

body.single:not(.wp-admin) .go-v55-sidebar-card,
body.single:not(.wp-admin) .go-guide-sidebar__block,
body.single:not(.wp-admin) .go-article__side-card,
body.single:not(.wp-admin) .go-review-single-sidebar-card,
body.single:not(.wp-admin) .go-review-single-card {
  border-radius: 22px !important;
  border-color: rgba(15, 23, 42, 0.095) !important;
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(199, 240, 0, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 252, 0.94)) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.072) !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-sidebar-card, .go-review-single-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-sidebar-card, .go-review-single-card) {
  border-color: rgba(255, 255, 255, 0.105) !important;
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(199, 240, 0, 0.075), transparent 58%),
    linear-gradient(180deg, rgba(18, 20, 28, 0.88), rgba(8, 10, 15, 0.92)) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28) !important;
}

body.single:not(.wp-admin) .go-v55-sidebar-card::before {
  width: 2px;
  opacity: 0.4;
  background: linear-gradient(180deg, var(--go-v57-green-bright), transparent 76%);
}

body.single:not(.wp-admin) :is(.go-v55-sidebar-card__head, .go-guide-section-head, .go-article__side-head) {
  gap: 6px !important;
  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-v57-green) !important;
  letter-spacing: 0.055em !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) 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),
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__head span, .go-guide-section-head span, .go-article__side-label, .go-review-single-kicker) {
  color: var(--go-v57-green-bright) !important;
}

body.single:not(.wp-admin) .go-v55-sidebar-card__head h2 {
  font-size: 1.06rem;
}

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

body.single:not(.wp-admin) .go-v55-sidebar-facts > div {
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-v55-sidebar-facts > div,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-v55-sidebar-facts > div {
  background: rgba(255, 255, 255, 0.045);
}

body.single:not(.wp-admin) .go-v55-mini-post {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
}

body.single:not(.wp-admin) .go-v55-mini-post__media {
  width: 78px;
  height: 58px;
  border-radius: 14px;
}

body.single:not(.wp-admin) .go-v55-mini-post__body span,
body.single:not(.wp-admin) .go-v55-after-hero__body > span {
  font-size: 0.68rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

body.single:not(.wp-admin) .go-v55-mini-post__body a {
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Refined finish after the default related modules. */
body.single:not(.wp-admin) .go-v55-after-finish {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  background:
    radial-gradient(780px 300px at 0% 0%, rgba(199, 240, 0, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 250, 0.96)) !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-v55-after-finish,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-v55-after-finish {
  background:
    radial-gradient(780px 300px at 0% 0%, rgba(199, 240, 0, 0.075), transparent 58%),
    linear-gradient(180deg, rgba(18, 20, 28, 0.9), rgba(8, 10, 15, 0.94)) !important;
}

body.single:not(.wp-admin) .go-v55-after-finish::before {
  height: 2px;
  opacity: 0.52;
}

body.single:not(.wp-admin) .go-v55-after-finish__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  margin-bottom: 18px;
}

body.single:not(.wp-admin) .go-v55-after-finish__head span {
  color: var(--go-v57-green) !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-v55-after-finish__head span,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-v55-after-finish__head span {
  color: var(--go-v57-green-bright) !important;
}

body.single:not(.wp-admin) .go-v55-after-finish__head h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.88rem);
}

body.single:not(.wp-admin) .go-v55-after-finish__head p {
  display: none !important;
}

body.single:not(.wp-admin) .go-v55-after-hero,
body.single:not(.wp-admin) .go-v55-after-card {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.095);
}

body.single:not(.wp-admin) .go-v55-after-hero__body h3 {
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
}

body.single:not(.wp-admin) .go-v55-after-cta,
body.single:not(.wp-admin) .go-v55-after-finish__footer a {
  background: rgba(199, 240, 0, 0.14) !important;
  border-color: rgba(111, 143, 0, 0.28) !important;
  color: var(--go-v57-green-strong) !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) :is(.go-v55-after-cta, .go-v55-after-finish__footer a),
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) :is(.go-v55-after-cta, .go-v55-after-finish__footer a) {
  color: var(--go-v57-green-bright) !important;
}

/* Author/byline block rebuilt visually. */
body.single:not(.wp-admin) .go-single-author-card,
body.single:not(.wp-admin) .go-guide-author .go-single-author-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.105) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(360px 160px at 0% 0%, rgba(199, 240, 0, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 252, 0.94)) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07) !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-single-author-card,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-single-author-card {
  border-color: rgba(255, 255, 255, 0.11) !important;
  background:
    radial-gradient(360px 160px at 0% 0%, rgba(199, 240, 0, 0.075), transparent 62%),
    linear-gradient(180deg, rgba(18, 20, 28, 0.9), rgba(8, 10, 15, 0.94)) !important;
}

body.single:not(.wp-admin) .go-single-author-card__avatar {
  width: 58px !important;
  height: 58px !important;
  border: 2px solid rgba(199, 240, 0, 0.7);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.11);
}

body.single:not(.wp-admin) .go-single-author-card__body {
  gap: 7px !important;
}

body.single:not(.wp-admin) .go-single-author-card__head {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px 12px !important;
}

body.single:not(.wp-admin) .go-single-author-card__eyebrow {
  color: var(--go-v57-green) !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-single-author-card__eyebrow,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-single-author-card__eyebrow {
  color: var(--go-v57-green-bright) !important;
}

body.single:not(.wp-admin) .go-single-author-card__name {
  font-size: 1rem !important;
  font-weight: 900 !important;
}

body.single:not(.wp-admin) .go-single-author-card p {
  color: var(--go-v55-muted, #626b7a) !important;
  font-size: 0.9rem !important;
  line-height: 1.48 !important;
}

body.single:not(.wp-admin) .go-single-author-card__link {
  margin-top: 2px;
  color: var(--go-v57-green-strong) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) .go-single-author-card__link,
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) .go-single-author-card__link {
  color: var(--go-v57-green-bright) !important;
}

/* Tags and source pills refined. */
body.single:not(.wp-admin) .go-article__footer-meta,
body.single:not(.wp-admin) .go-guide-tags {
  margin-top: 18px;
  padding: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.54) !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) :is(.go-article__footer-meta, .go-guide-tags),
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) :is(.go-article__footer-meta, .go-guide-tags) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

body.single:not(.wp-admin) .newsx-post-sources,
body.single:not(.wp-admin) .go-single-source-cluster,
body.single:not(.wp-admin) .go-guide-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
}

body.single:not(.wp-admin) .post-source {
  margin: 0 !important;
}

body.single:not(.wp-admin) :is(.go-single-source-pill, .go-guide-tags a, .post-tags a, .newsx-tags a, .tagcloud a) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid var(--go-v57-green-line) !important;
  border-radius: 999px !important;
  background: var(--go-v57-green-soft) !important;
  color: var(--go-v57-green-strong) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

:is(html.dark, html[class*="dark"], html[data-theme="dark"]) body.single:not(.wp-admin) :is(.go-single-source-pill, .go-guide-tags a, .post-tags a, .newsx-tags a, .tagcloud a),
body.single:not(.wp-admin):is(.dark, .dark-mode, .is-dark-theme, .newsx-dark-mode, [data-theme="dark"], [class*="dark"]) :is(.go-single-source-pill, .go-guide-tags a, .post-tags a, .newsx-tags a, .tagcloud a) {
  color: var(--go-v57-green-bright) !important;
}

body.single:not(.wp-admin) :is(.go-single-source-pill, .go-guide-tags a, .post-tags a, .newsx-tags a, .tagcloud a):is(:hover, :focus-visible) {
  transform: translateY(-1px);
  border-color: var(--go-v57-green) !important;
  background: rgba(199, 240, 0, 0.18) !important;
  color: var(--go-v57-green-strong) !important;
}

/* Smaller reader rail. */
body.single:not(.wp-admin) .go-reader-rail {
  width: 48px !important;
  gap: 4px !important;
  padding: 6px 5px !important;
}

body.single:not(.wp-admin) .go-reader-rail::before {
  content: "Ler" !important;
  font-size: 6.5px !important;
  line-height: 1 !important;
  margin: 1px 0 0 !important;
  letter-spacing: 0.08em !important;
}

body.single:not(.wp-admin) .go-reader-rail__button {
  width: 32px !important;
  height: 32px !important;
}

body.single:not(.wp-admin) .go-reader-rail__button i {
  font-size: 13px !important;
}

@media (max-width: 1100px) {
  body.single:not(.wp-admin) .go-v55-after-finish__head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 720px) {
  body.single:not(.wp-admin) .go-single-author-card,
  body.single:not(.wp-admin) .go-guide-author .go-single-author-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    padding: 15px !important;
  }

  body.single:not(.wp-admin) .go-single-author-card__avatar {
    width: 48px !important;
    height: 48px !important;
  }
}
