/* APP5T Advertising Platform V4.2 — unified web ad render contract. */
:where([data-ad-v4], [data-ad-wrapper]) {
  --ad-v4-gap: 32px;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 980px;
  min-width: 0;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible;
}

:where([data-ad-v4], [data-ad-wrapper]) > ins.adsbygoogle {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

:where([data-ad-v4], [data-ad-wrapper]).is-ad-v4-filled,
body.ad-v4-web-runtime :where([data-ad-v4], [data-ad-wrapper])[data-state="filled"] {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  margin: var(--ad-v4-gap) auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

:where([data-ad-v4], [data-ad-wrapper]).is-ad-v4-collapsed,
body.ad-v4-web-runtime :where([data-ad-v4], [data-ad-wrapper])[data-state="unfilled"],
body.ad-v4-web-runtime :where([data-ad-v4], [data-ad-wrapper])[data-state="unfill-optimized"],
body.ad-v4-web-runtime :where([data-ad-v4], [data-ad-wrapper])[data-state="timeout"],
body.ad-v4-web-runtime :where([data-ad-v4], [data-ad-wrapper])[data-state="error"],
body.ad-v4-web-runtime :where([data-ad-v4], [data-ad-wrapper])[data-state="surface-mismatch"] {
  display: block !important;
  min-height: 0 !important;
  max-height: 0 !important;
  height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.ad-v4-label,
body.ad-v4-web-runtime [data-ad-wrapper] > .tw-ad-label {
  display: none;
  margin: 0 0 6px;
  color: #667085;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.is-ad-v4-filled > .ad-v4-label,
body.ad-v4-web-runtime [data-ad-wrapper].is-ad-v4-filled > .tw-ad-label {
  display: block;
}

/* Neutralise the obsolete home reservation until Google marks the unit filled. */
body.ad-v4-web-runtime section.tw-ad-slot.tw-ad-home_after_hero.tw-legacy-home-leaderboard,
body.ad-v4-web-runtime section.tw-ad-slot.tw-ad-home_after_hero.tw-legacy-home-leaderboard.is-collapsed {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.ad-v4-web-runtime section.tw-ad-slot.tw-ad-home_after_hero.tw-legacy-home-leaderboard.is-ad-v4-collapsed {
  max-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
body.ad-v4-web-runtime section.tw-ad-slot.tw-ad-home_after_hero.tw-legacy-home-leaderboard.is-ad-v4-filled {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  margin: var(--ad-v4-gap) auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.ad-v4-web-runtime section.tw-ad-slot.tw-ad-home_after_hero.tw-legacy-home-leaderboard > ins.adsbygoogle {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
}

@media (max-width: 767px) {
  :where([data-ad-v4], [data-ad-wrapper]) { --ad-v4-gap: 24px; }
}
