:root {
  --go-ad-border-color: rgba(229, 231, 235, 0.92);
  --go-ad-label-color: #6b7280;
  --go-ad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(245, 247, 250, 0.46));
  --go-ad-highlight: rgba(255, 255, 255, 0.72);
}

html.dark,
html[class*="dark"],
body.dark,
body.dark-mode,
body.is-dark-theme,
body.newsx-dark-mode,
body[class*="dark"],
[data-theme="dark"],
body[data-theme="dark"] {
  --go-ad-border-color: rgba(31, 41, 55, 0.74);
  --go-ad-label-color: #a8b0bd;
  --go-ad-surface: linear-gradient(180deg, rgba(15, 15, 18, 0.42), rgba(15, 15, 18, 0.18));
  --go-ad-highlight: rgba(255, 255, 255, 0.06);
}

.go-ad-slot {
  --go-ad-min-height: 112px;
  position: relative;
  display: block;
  clear: both;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: clamp(1.35rem, 2.5vw, 2rem) 0;
  z-index: 0;
}

.go-ad-slot--top {
  --go-ad-min-height: clamp(96px, 12vw, 120px);
}

.go-ad-slot--in-feed {
  --go-ad-min-height: clamp(96px, 12vw, 120px);
  width: 100%;
  flex: 0 0 100%;
  grid-column: 1 / -1;
}

.go-ad-slot--in-article,
.go-ad-slot--sidebar {
  --go-ad-min-height: clamp(250px, 32vw, 300px);
}

.go-ad-slot--sidebar {
  max-width: 100%;
}

.go-ad-slot--widget {
  margin-block: clamp(1rem, 2vw, 1.6rem);
}

.go-ad-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--go-ad-min-height);
  padding: clamp(0.8rem, 1.6vw, 1rem);
  border: 1px solid var(--go-ad-border-color);
  border-radius: clamp(0.9rem, 1.25vw, 1.15rem);
  background: var(--go-ad-surface);
  box-shadow: inset 0 1px 0 var(--go-ad-highlight);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: visible;
}

.go-ad-inner--widget {
  margin: 0 !important;
}

.go-ad-label {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--go-ad-label-color);
  opacity: 0.92;
}

.go-ad-inner > script:first-child {
  display: none !important;
}

.go-ad-slot,
.go-ad-slot * {
  box-sizing: border-box;
}

.go-ad-slot .adsbygoogle,
.go-ad-slot ins.adsbygoogle,
.go-ad-slot iframe,
.go-ad-slot img,
.go-ad-slot div,
.go-ad-slot [id*="google_ads_iframe"] {
  max-width: 100% !important;
}

.go-ad-slot ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-height: calc(var(--go-ad-min-height) - 2rem);
}

.go-ad-slot iframe {
  width: 100% !important;
}

.go-feed-adsense,
.go-contextual-adsense,
.go-autorelaxed-adsense,
.go-inline-adsense {
  width: 100%;
  max-width: 100%;
}

.go-inline-adsense {
  clear: both;
}

.newsx-posts-feed > .go-ad-slot--top,
.go-home-shell > .go-ad-slot--top,
.go-news-archive-recent > .go-ad-slot--top,
.go-tech-section > .go-ad-slot--top,
.go-vh-section > .go-ad-slot--top,
.go-gallery-section > .go-ad-slot--top,
.go-guides-section > .go-ad-slot--top,
.go-gh-results > .go-ad-slot--top,
.go-entertainment-section > .go-ad-slot--top,
.go-reviews-archive-list-section > .go-ad-slot--top,
.go-gamehub__inner > .go-ad-slot--top,
.go-cp-section > .go-ad-slot--top {
  margin-top: clamp(1rem, 2.2vw, 1.45rem);
  margin-bottom: clamp(1.45rem, 2.6vw, 2rem);
}

.go-ad-slot.newsx-widget,
.go-ad-slot.widget,
.go-ad-slot.widget_block,
.go-ad-slot.widget_text,
.go-ad-slot.widget_custom_html {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.newsx-sidebar .go-ad-slot--sidebar {
  position: relative;
  align-self: flex-start;
}

@media (min-width: 1101px) {
  .go-ad-slot--sidebar.is-sticky,
  .go-ad-slot--sidebar[data-go-sticky="1"] {
    position: sticky !important;
    top: calc(96px + var(--go-shell-admin-offset, 0px) + 12px);
  }
}

@media (max-width: 1024px) {
  .go-ad-slot--sidebar {
    --go-ad-min-height: clamp(180px, 34vw, 250px);
  }
}

@media (min-width: 768px) {
  .go-ad-slot--mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .go-ad-slot {
    margin-block: 1rem 1.2rem;
  }

  .go-ad-slot--top,
  .go-ad-slot--in-feed {
    --go-ad-min-height: clamp(90px, 28vw, 120px);
  }

  .go-ad-slot--in-article,
  .go-ad-slot--sidebar {
    --go-ad-min-height: clamp(250px, 78vw, 300px);
  }

  .go-ad-inner {
    padding: 0.75rem;
    border-radius: 0.95rem;
  }

  .go-ad-slot--desktop {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .go-ad-slot--sidebar.is-sticky,
  .go-ad-slot--sidebar[data-go-sticky="1"] {
    position: relative !important;
    top: auto !important;
  }
}
