/* Bolta Pakistan V16.6.3 — prevent homepage_top billboard from overlaying the hero.
   Legacy .top-ad > a rules absolutely positioned the homepage billboard canvas,
   so it did not reserve its own vertical space in the document flow. */
.bp-home-billboard.bp-ad-block,
.bp-home-billboard.bp-ad-placeholder {
  display: block !important;
  position: relative !important;
  width: min(970px, 100%) !important;
  max-width: 970px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  margin: 12px auto 18px !important;
  padding: 0 !important;
  isolation: isolate !important;
  z-index: 0 !important;
  box-sizing: border-box !important;
}

/* Override legacy .top-ad > a { position:absolute; inset:0; height:100% }.
   Keep the creative in normal flow so the homepage grid starts below it. */
.bp-home-billboard > .bp-ad-canvas {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 970 / 250 !important;
  overflow: hidden !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.bp-home-billboard > .bp-ad-canvas img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
