/* GO v93: home hero spacing, header logo, author fields, home arrows and official videos. */

:root {
  --go-v93-blue: #2817f1;
  --go-v93-blue-rgb: 40, 23, 241;
  --go-v93-lime: #c7f000;
  --go-v93-lime-rgb: 199, 240, 0;
}

/* Bring the homepage hero slightly closer to the Últimas bar without sticking to it. */
body.home:not(.wp-admin) .go-ds-home {
  padding-top: clamp(18px, 1.7vw, 30px) !important;
}

body.home:not(.wp-admin) .go-ds-hero {
  margin-top: 0 !important;
}

body.home:not(.wp-admin) .go-ds-wrap > .go-ds-hero:first-child {
  margin-top: clamp(12px, 1.25vw, 22px) !important;
}

/* Header logo a touch larger, without breaking the compact header. */
html body:not(.wp-admin) .go-v27-header-logo,
html body:not(.wp-admin) header#site-header .go-v27-header-logo {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
}

html body:not(.wp-admin) :is(.go-v24-brand, .go-v38-header-brand-right, .go-v27-header-brand, .go-shell-header-brand) {
  min-width: 32px !important;
}

@media (max-width: 720px) {
  html body:not(.wp-admin) .go-v27-header-logo,
  html body:not(.wp-admin) header#site-header .go-v27-header-logo {
    width: 27px !important;
    height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
  }
}

/* Author/byline field colors on singles. */
body.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span) {
  color: #111827 !important;
  background: rgba(var(--go-v93-blue-rgb), 0.055) !important;
  border: 1px solid rgba(var(--go-v93-blue-rgb), 0.15) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.single:not(.wp-admin) .go-article__meta-author {
  padding: 4px 11px 4px 4px !important;
}

body.single:not(.wp-admin) .go-review-single-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 7px 12px !important;
  line-height: 1 !important;
}

body.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a) {
  color: #0f172a !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img) {
  border-color: var(--go-v93-blue) !important;
  box-shadow: 0 0 0 3px rgba(var(--go-v93-blue-rgb), 0.12) !important;
}

body.single:not(.wp-admin) .go-single-author-card {
  border-color: rgba(var(--go-v93-blue-rgb), 0.16) !important;
  background: linear-gradient(135deg, rgba(var(--go-v93-blue-rgb), 0.045), rgba(255,255,255,0.02)) !important;
  box-shadow: none !important;
}

body.single:not(.wp-admin) .go-single-author-card__name {
  color: #090d18 !important;
}

body.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link) {
  color: var(--go-v93-blue) !important;
  text-decoration-color: rgba(var(--go-v93-blue-rgb), 0.35) !important;
}

body.single:not(.wp-admin) .go-single-author-card p {
  color: #4b5565 !important;
}

html.dark body.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span),
html.go-root-dark-mode body.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span),
html[data-theme="dark"] body.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span),
body.newsx-dark-mode.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span),
body.dark.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span),
body.dark-mode.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span),
body.is-dark-theme.single:not(.wp-admin) :is(.go-article__meta-author, .go-review-single-meta span) {
  color: #f6f7fb !important;
  background: rgba(255,255,255,0.055) !important;
  border-color: rgba(var(--go-v93-lime-rgb), 0.22) !important;
}

html.dark body.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a),
html.go-root-dark-mode body.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a),
html[data-theme="dark"] body.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a),
body.newsx-dark-mode.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a),
body.dark.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a),
body.dark-mode.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a),
body.is-dark-theme.single:not(.wp-admin) :is(.go-article__meta-author span, .go-review-single-meta a) {
  color: #ffffff !important;
}

html.dark body.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img),
html.go-root-dark-mode body.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img),
html[data-theme="dark"] body.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img),
body.newsx-dark-mode.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img),
body.dark.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img),
body.dark-mode.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img),
body.is-dark-theme.single:not(.wp-admin) :is(.go-article__meta-avatar, .go-review-single-meta img, .go-single-author-card__avatar img) {
  border-color: var(--go-v93-lime) !important;
  box-shadow: 0 0 0 3px rgba(var(--go-v93-lime-rgb), 0.13) !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.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: rgba(var(--go-v93-lime-rgb), 0.18) !important;
  background: linear-gradient(135deg, rgba(var(--go-v93-lime-rgb), 0.045), rgba(255,255,255,0.018)) !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.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: #ffffff !important;
}

html.dark body.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link),
html.go-root-dark-mode body.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link),
html[data-theme="dark"] body.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link),
body.newsx-dark-mode.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link),
body.dark.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link),
body.dark-mode.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link),
body.is-dark-theme.single:not(.wp-admin) :is(.go-single-author-card__eyebrow, .go-single-author-card__link) {
  color: var(--go-v93-lime) !important;
  text-decoration-color: rgba(var(--go-v93-lime-rgb), 0.38) !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.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: rgba(246, 247, 251, 0.76) !important;
}

/* Home carousel arrows: outside the blocks, vertically centered and cleaner. */
body.home:not(.wp-admin) .go-ds-carousel {
  overflow: visible !important;
}

body.home:not(.wp-admin) .go-ds-carousel-btn {
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: color-mix(in srgb, var(--ds-bg) 92%, transparent) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10) !important;
}

body.home:not(.wp-admin) .go-ds-carousel-btn--prev {
  left: -24px !important;
}

body.home:not(.wp-admin) .go-ds-carousel-btn--next {
  right: -24px !important;
}

@media (max-width: 760px) {
  body.home:not(.wp-admin) .go-ds-carousel-btn--prev { left: 6px !important; }
  body.home:not(.wp-admin) .go-ds-carousel-btn--next { right: 6px !important; }
}

/* Official video player below Plataformas. */
.go-v93-video-hub {
  margin-top: clamp(28px, 4vw, 56px) !important;
}

.go-v93-video-shell {
  display: grid;
  gap: 14px;
}

.go-v93-video-main {
  border-radius: 16px;
  overflow: hidden;
  background: #05070d;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
}

.go-v93-video-player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #03040a;
}

.go-v93-video-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.go-v93-video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 16px;
  color: #fff;
}

.go-v93-video-caption span {
  color: var(--go-v93-lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.go-v93-video-caption h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.go-v93-video-caption a {
  flex: 0 0 auto;
  color: var(--go-v93-lime) !important;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.go-v93-video-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.go-v93-video-card {
  appearance: none;
  border: 1px solid var(--ds-border-soft);
  border-radius: 14px;
  background: transparent;
  color: var(--ds-text);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  display: grid;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.go-v93-video-card:is(:hover, :focus-visible),
.go-v93-video-card.is-active {
  transform: translateY(-2px);
  border-color: var(--ds-accent);
  background: var(--ds-accent-soft);
  outline: 0;
}

.go-v93-video-thumb {
  aspect-ratio: 16 / 9;
  background: #05070d;
  overflow: hidden;
}

.go-v93-video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.go-v93-video-card-copy {
  display: grid;
  gap: 4px;
  padding: 10px 11px 12px;
}

.go-v93-video-card-copy span {
  color: var(--ds-accent);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.go-v93-video-card-copy strong {
  color: var(--ds-text);
  font-size: 0.86rem;
  line-height: 1.1;
  font-weight: 900;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.go-v93-video-card-copy small {
  color: var(--ds-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

@media (max-width: 940px) {
  .go-v93-video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .go-v93-video-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .go-v93-video-list {
    grid-template-columns: 1fr;
  }
}
