/* PVPGRAM.COM V45: actual banner footprint equals 728 x 90 on desktop.
   Older V42/V43 two equal columns compressed banners to about 618 x 76.
   Each ad keeps its original source-file validation (728 x 90).
   Stacking at normal desktop widths prevents compression and side-rail overlap. */
.home-ads.v42-home-ads {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center;
  align-items: start;
  gap: 14px !important;
  width: 100% !important;
  max-width: 728px !important;
  min-width: 0;
  margin: 16px auto 22px;
}
.home-ads.v42-home-ads > a.ad-banner.ad-slot-wide {
  display: flex;
  width: 100% !important;
  max-width: 728px !important;
  min-width: 0;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 728 / 90 !important;
  margin: 0 auto !important;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
}
/* Both placeholders and paid banners use the same outer geometry.
   Displayed media cannot be cropped or stretched. */
.home-ads.v42-home-ads > a.ad-banner.ad-real.ad-slot-wide {
  padding: 0 !important;
  border: 0 !important;
}
.home-ads.v42-home-ads > a.ad-banner.ad-real.ad-slot-wide > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
/* Only extremely wide screens can show two real 728 px banners side by side
   without overlapping 160px left/right floating advertisements. */
@media (min-width: 1900px) {
  .home-ads.v42-home-ads {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 1470px !important;
    max-width: calc(100vw - 400px) !important;
    grid-template-columns: repeat(2, minmax(0, 728px)) !important;
    margin-left: 0;
    margin-right: 0;
  }
}
/* Below 768px, preserving a 728 px CSS box would produce horizontal scroll.
   Mobile preview shrinks proportionally; 728 x 90 is still the uploaded file size. */
@media (max-width: 767px) {
  .home-ads.v42-home-ads {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 728px !important;
    gap: 10px !important;
  }
}
