/* GO v112: review order/colors, author card polish and homepage specials link cleanup. */

:root {
  --go-v112-blue: #2817f1;
  --go-v112-blue-rgb: 40, 23, 241;
  --go-v112-lime: #c7f000;
  --go-v112-lime-rgb: 199, 240, 0;
  --go-v112-dark-surface: rgba(255,255,255,.035);
  --go-v112-dark-line: rgba(255,255,255,.13);
  --go-v112-dark-text: #f7f8fb;
  --go-v112-dark-muted: rgba(247,248,251,.68);
  --go-v112-light-text: #090d15;
  --go-v112-light-muted: #596577;
  --go-v112-light-line: rgba(15,23,42,.12);
}

/* Review: keep Veredito visually before the author recommendations. */
body.single:not(.wp-admin) .go-review-single-closing + .go-review-single-more--by-author {
  margin-top: clamp(22px, 3vw, 34px) !important;
}

/* More reviews by author: quieter, readable colors. */
body.single:not(.wp-admin) .go-review-single-more--by-author,
body.single-review:not(.wp-admin) .go-review-single-more--by-author,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author {
  width: 100% !important;
  max-width: min(920px, 100%) !important;
  margin: clamp(26px, 4vw, 44px) 0 !important;
  padding: clamp(18px, 2.6vw, 26px) !important;
  border: 1px solid var(--go-v112-light-line) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.70) !important;
  box-shadow: 0 16px 38px rgba(15,23,42,.055) !important;
}

body.single:not(.wp-admin) .go-review-single-more-head,
body.single-review:not(.wp-admin) .go-review-single-more-head,
body.go-template-review:not(.wp-admin) .go-review-single-more-head,
body.go-template-critica:not(.wp-admin) .go-review-single-more-head {
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

body.single:not(.wp-admin) .go-review-single-more-avatar,
body.single-review:not(.wp-admin) .go-review-single-more-avatar,
body.go-template-review:not(.wp-admin) .go-review-single-more-avatar,
body.go-template-critica:not(.wp-admin) .go-review-single-more-avatar {
  width: 36px !important;
  height: 36px !important;
  border: 2px solid var(--go-v112-blue) !important;
  box-shadow: 0 0 0 4px rgba(var(--go-v112-blue-rgb), .08) !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author h2,
body.single-review:not(.wp-admin) .go-review-single-more--by-author h2,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author h2,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author h2 {
  color: var(--go-v112-light-text) !important;
  font-size: clamp(1.15rem, 1.45vw, 1.45rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid,
body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-left: 1px solid var(--go-v112-light-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child,
body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child {
  border-left: 0 !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border: 1px solid rgba(var(--go-v112-blue-rgb), .32) !important;
  border-radius: 12px !important;
  background: rgba(var(--go-v112-blue-rgb), .09) !important;
  color: var(--go-v112-blue) !important;
  font-size: .9rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author h3,
body.single-review:not(.wp-admin) .go-review-single-more--by-author h3,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author h3,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author h3 {
  color: var(--go-v112-light-text) !important;
  font-size: clamp(.94rem, 1vw, 1.02rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -.03em !important;
  overflow-wrap: anywhere !important;
}

body.single:not(.wp-admin) .go-review-single-more--by-author time,
body.single-review:not(.wp-admin) .go-review-single-more--by-author time,
body.go-template-review:not(.wp-admin) .go-review-single-more--by-author time,
body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author time {
  color: var(--go-v112-light-muted) !important;
}

html.dark body.single:not(.wp-admin) .go-review-single-more--by-author,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more--by-author,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more--by-author,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more--by-author,
body.dark-mode.single:not(.wp-admin) .go-review-single-more--by-author,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more--by-author {
  border-color: var(--go-v112-dark-line) !important;
  background: rgba(255,255,255,.032) !important;
  box-shadow: none !important;
}

html.dark body.single:not(.wp-admin) .go-review-single-more-avatar,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more-avatar,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more-avatar,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more-avatar,
body.dark-mode.single:not(.wp-admin) .go-review-single-more-avatar,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more-avatar {
  border-color: var(--go-v112-lime) !important;
  box-shadow: 0 0 0 4px rgba(var(--go-v112-lime-rgb), .10) !important;
}

html.dark body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
body.dark-mode.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card {
  border-left-color: var(--go-v112-dark-line) !important;
}

html.dark body.single:not(.wp-admin) .go-review-single-more--by-author h2,
html.dark body.single:not(.wp-admin) .go-review-single-more--by-author h3,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more--by-author h2,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more--by-author h3,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more--by-author h2,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more--by-author h3,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more--by-author h2,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more--by-author h3,
body.dark-mode.single:not(.wp-admin) .go-review-single-more--by-author h2,
body.dark-mode.single:not(.wp-admin) .go-review-single-more--by-author h3,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more--by-author h2,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more--by-author h3 {
  color: var(--go-v112-dark-text) !important;
}

html.dark body.single:not(.wp-admin) .go-review-single-more--by-author time,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more--by-author time,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more--by-author time,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more--by-author time,
body.dark-mode.single:not(.wp-admin) .go-review-single-more--by-author time,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more--by-author time {
  color: var(--go-v112-dark-muted) !important;
}

html.dark body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
html.go-root-dark-mode body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
html[data-theme="dark"] body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
body.newsx-dark-mode.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
body.dark-mode.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score,
body.is-dark-theme.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-score {
  border-color: rgba(var(--go-v112-lime-rgb), .42) !important;
  background: rgba(var(--go-v112-lime-rgb), .10) !important;
  color: var(--go-v112-lime) !important;
}

/* Normal single author card: cleaner box, no clipping. */
html body.single:not(.wp-admin) .go-single-author-card,
html body.single:not(.wp-admin) .go-article .go-single-author-card,
html body.single:not(.wp-admin) .go-review-single-main .go-single-author-card,
html body.single:not(.wp-admin) .go-article__footer .go-single-author-card {
  width: min(100%, 780px) !important;
  max-width: 780px !important;
  margin: clamp(28px, 4vw, 48px) 0 !important;
  padding: clamp(18px, 2.4vw, 24px) !important;
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) !important;
  grid-template-areas: "avatar label" "avatar head" "avatar bio" "avatar actions" !important;
  align-items: start !important;
  gap: 6px 16px !important;
  border: 1px solid var(--go-v112-light-line) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: 0 16px 38px rgba(15,23,42,.055) !important;
  overflow: visible !important;
}

html body.single:not(.wp-admin) .go-single-author-card__label {
  grid-area: label !important;
  color: var(--go-v112-blue) !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
}

html body.single:not(.wp-admin) .go-single-author-card__avatar {
  grid-area: avatar !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  border-color: var(--go-v112-blue) !important;
  box-shadow: 0 0 0 4px rgba(var(--go-v112-blue-rgb), .08) !important;
}

html body.single:not(.wp-admin) .go-single-author-card__body {
  display: contents !important;
}

html body.single:not(.wp-admin) .go-single-author-card__head {
  grid-area: head !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 5px 10px !important;
  min-width: 0 !important;
}

html body.single:not(.wp-admin) .go-single-author-card__name {
  color: var(--go-v112-light-text) !important;
  font-size: clamp(1.2rem, 1.45vw, 1.55rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
}

html body.single:not(.wp-admin) .go-single-author-card__eyebrow {
  padding: 0 !important;
  min-height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--go-v112-blue) !important;
  font-size: .9rem !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: rgba(var(--go-v112-blue-rgb), .35) !important;
}

html body.single:not(.wp-admin) .go-single-author-card p {
  grid-area: bio !important;
  max-width: 62ch !important;
  margin: 4px 0 0 !important;
  color: var(--go-v112-light-muted) !important;
  font-size: .96rem !important;
  line-height: 1.5 !important;
}

html body.single:not(.wp-admin) .go-single-author-card__actions {
  grid-area: actions !important;
  margin-top: 8px !important;
  gap: 10px 14px !important;
}

html body.single:not(.wp-admin) .go-single-author-card__link {
  color: var(--go-v112-blue) !important;
  white-space: normal !important;
}

html body.single:not(.wp-admin) .go-single-author-card__social {
  color: var(--go-v112-light-text) !important;
  background: rgba(var(--go-v112-blue-rgb), .055) !important;
  border-color: rgba(var(--go-v112-blue-rgb), .16) !important;
}

html.dark body.single:not(.wp-admin) .go-single-author-card,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card,
body.dark-mode.single:not(.wp-admin) .go-single-author-card,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card {
  border-color: var(--go-v112-dark-line) !important;
  background: rgba(255,255,255,.03) !important;
  box-shadow: none !important;
}

html.dark body.single:not(.wp-admin) .go-single-author-card__avatar,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card__avatar,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card__avatar,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card__avatar,
body.dark-mode.single:not(.wp-admin) .go-single-author-card__avatar,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card__avatar {
  border-color: var(--go-v112-lime) !important;
  box-shadow: 0 0 0 4px rgba(var(--go-v112-lime-rgb), .10) !important;
}

html.dark body.single:not(.wp-admin) .go-single-author-card__label,
html.dark body.single:not(.wp-admin) .go-single-author-card__eyebrow,
html.dark body.single:not(.wp-admin) .go-single-author-card__link,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card__label,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card__eyebrow,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card__link,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card__label,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card__eyebrow,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card__link,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card__label,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card__eyebrow,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card__link,
body.dark-mode.single:not(.wp-admin) .go-single-author-card__label,
body.dark-mode.single:not(.wp-admin) .go-single-author-card__eyebrow,
body.dark-mode.single:not(.wp-admin) .go-single-author-card__link,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card__label,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card__eyebrow,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card__link {
  color: var(--go-v112-lime) !important;
  text-decoration-color: rgba(var(--go-v112-lime-rgb), .38) !important;
}

html.dark body.single:not(.wp-admin) .go-single-author-card__name,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card__name,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card__name,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card__name,
body.dark-mode.single:not(.wp-admin) .go-single-author-card__name,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card__name {
  color: var(--go-v112-dark-text) !important;
}

html.dark body.single:not(.wp-admin) .go-single-author-card p,
html.go-root-dark-mode body.single:not(.wp-admin) .go-single-author-card p,
html[data-theme="dark"] body.single:not(.wp-admin) .go-single-author-card p,
body.newsx-dark-mode.single:not(.wp-admin) .go-single-author-card p,
body.dark-mode.single:not(.wp-admin) .go-single-author-card p,
body.is-dark-theme.single:not(.wp-admin) .go-single-author-card p {
  color: var(--go-v112-dark-muted) !important;
}

@media (max-width: 760px) {
  body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid,
  body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid,
  body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid,
  body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-grid {
    grid-template-columns: 1fr !important;
  }

  body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
  body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
  body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card,
  body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card {
    border-left: 0 !important;
    border-top: 1px solid var(--go-v112-light-line) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child,
  body.single-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child,
  body.go-template-review:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child,
  body.go-template-critica:not(.wp-admin) .go-review-single-more--by-author .go-review-single-more-card:first-child {
    border-top: 0 !important;
  }

  html body.single:not(.wp-admin) .go-single-author-card {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 6px 12px !important;
  }

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