.banners {
  position: relative;
  background: transparent;
}

.banners__top {
  display: flex;
  justify-content: center;
  min-height: 150px;
}

.banners__left {
  position: absolute;
  top: 0;
  left: 0;
}

.banners__right {
  position: absolute;
  top: 0;
  right: 0;
}

.banners__left .banners__sticky-container {
  right: 0;
}

.banners__sticky-container {
  position: absolute;
  top: 0;
}

.banners__skyscraper {
  position: sticky;
  transform: translateZ(0);
  z-index: 2;
  top: 66px;
}

.banners__takeover-ad {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  display: none; /* hidden by default */
  z-index: 1000; /* high z-index to ensure it appears on top */
  justify-content: center;
  align-items: center;
}

.banners__takeover-ad.visible {
  display: flex; /* show the ad */
}

.banners__takeover-content {
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Search placements should match height of the web component */
advt-component[placementid*='middle_'] > div {
  height: 100%;
}

@media (max-width: 1299px) {
  .banners__left {
    display: none;
  }
}

@media (max-width: 989px) {
  .banners__right {
    display: none;
  }
}
