#ad-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
  overscroll-behavior: contain;
}
#ad-viewer[open] {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
}
#ad-viewer::backdrop { background: #000; }
#ad-viewer :is(video, img) {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
#ad-viewer video { width: 100%; height: 100%; }
#ad-viewer button {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: rgb(0 0 0 / 65%);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  cursor: pointer;
}
#ad-viewer button:focus-visible { outline: 2px solid white; outline-offset: 3px; }

/* Keep the homepage ads accessible if the 3D renderer is unavailable. */
.ad-list-mode :is(.UnifiedCanvas, .Loading, .Home-ui, .CTAScroll, .custom-cursor) { display: none; }
.ad-list-mode .Home .Home-srOnly {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 6rem max(1.25rem, 4vw) 2rem;
  overflow: auto;
  overscroll-behavior: contain;
  clip: auto;
  white-space: normal;
  background: #0a0a0a;
  color: white;
}
.ad-list-mode .Home-srOnly > p { display: none; }
.ad-list-mode .Home-srOnly h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.ad-list-mode .Home-srOnly ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.75rem 1rem; }
.ad-list-mode .Home-srOnly a { display: grid; gap: .5rem; color: inherit; }
.ad-list-mode .Home-srOnly img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: black; }

/* Native scene frames follow the About sections when WebGL is unavailable. */
.ad-list-mode .Page:has([data-slice-type="saiv_interactive_logo"]) {
  isolation: isolate;
}
.ad-list-mode .Page:has([data-slice-type="saiv_interactive_logo"])::before,
.ad-list-mode .AboutSceneFallback {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ad-list-mode .Page:has([data-slice-type="saiv_interactive_logo"])::before {
  background: #000 url("/about-us/fallback/desktop-horizon.webp") center / cover no-repeat;
}
@media (orientation: portrait) {
  .ad-list-mode .Page:has([data-slice-type="saiv_interactive_logo"])::before {
    background-image: url("/about-us/fallback/mobile-horizon.webp");
  }
}
.AboutSceneFallback > picture,
.AboutSceneFallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.AboutSceneFallback > picture { opacity: 0; }
.ad-list-mode [data-slice-type="saiv_interactive_logo"] .GlDomElement:empty {
  background: url("/3d/svg/saiv-latin.svg") center / 85% auto no-repeat;
}
.ad-list-mode .Page .CTAScroll {
  display: flex;
}
