/* GO v102: keep byline/share only below featured image and align hero text to cover width. */

:root {
  --go-v102-cover-width: min(1180px, calc(100vw - 48px));
}

/* Standard/news/guides singles only. Keep reviews, críticas and games untouched. */
html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__hero-inner,
html body.go-template-standard.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__hero-inner,
html body.go-template-news.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__hero-inner,
html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__cover,
html body.go-template-news.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__hero-visual,
html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta {
  width: var(--go-v102-cover-width) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Title/deck can use the same visual width as the featured image, like a clean editorial hero. */
html body.single-post:not(.single-games):not(.single-go_entity):not(.single-review):not(.single-critica):not(.go-template-game):not(.go-template-review):not(.go-template-critica):not(.wp-admin) .go-article__title,
html body.go-template-standard.single:not(.single-games):not(.single-go_entity):not(.single-review):not(.single-critica):not(.go-template-game):not(.go-template-review):not(.go-template-critica):not(.wp-admin) .go-article__title,
html body.go-template-news.single:not(.single-games):not(.single-go_entity):not(.single-review):not(.single-critica):not(.go-template-game):not(.go-template-review):not(.go-template-critica):not(.wp-admin) .go-article__title {
  max-width: 100% !important;
  width: 100% !important;
  text-wrap: balance !important;
}

html body.single-post:not(.single-games):not(.single-go_entity):not(.single-review):not(.single-critica):not(.go-template-game):not(.go-template-review):not(.go-template-critica):not(.wp-admin) :is(.go-article__deck, .go-article__subtitle),
html body.go-template-standard.single:not(.single-games):not(.single-go_entity):not(.single-review):not(.single-critica):not(.go-template-game):not(.go-template-review):not(.go-template-critica):not(.wp-admin) :is(.go-article__deck, .go-article__subtitle),
html body.go-template-news.single:not(.single-games):not(.single-go_entity):not(.single-review):not(.single-critica):not(.go-template-game):not(.go-template-review):not(.go-template-critica):not(.wp-admin) :is(.go-article__deck, .go-article__subtitle) {
  max-width: 100% !important;
  width: 100% !important;
}

/* Remove the duplicated byline/share that was appearing above the featured image. */
html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__hero-inner > .go-article__meta-row {
  display: none !important;
}

/* Use only the row below the featured image for metadata + sharing. */
html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) :is(.go-article__hero-share--below-cover, .go-article__hero-share--below-cover-standard) {
  display: none !important;
}

html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta {
  display: block !important;
  padding-top: 14px !important;
  margin-top: 0 !important;
  margin-bottom: clamp(24px, 3.2vw, 42px) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  padding-bottom: 14px !important;
}

html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta .go-article__meta-row,
html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__meta-row--after-cover {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 18px !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta .go-article__meta {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta .go-article__share {
  display: flex !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta .go-article__share-list {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.newsx-dark-mode.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta,
body.dark.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta,
body.dark-mode.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta,
body.is-dark-theme.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta,
html.dark body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta,
html.go-root-dark-mode body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta,
html[data-theme="dark"] body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.wp-admin) .go-article__post-cover-meta {
  border-bottom-color: rgba(184, 197, 212, 0.12) !important;
}

@media (max-width: 720px) {
  :root {
    --go-v102-cover-width: min(100% - 28px, 1180px);
  }

  html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta .go-article__meta-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  html body.single:not(.single-review):not(.single-critica):not(.single-games):not(.single-go_entity):not(.go-template-review):not(.go-template-critica):not(.go-template-game):not(.wp-admin) .go-article__post-cover-meta .go-article__share {
    margin-left: 0 !important;
  }
}
