/* PVPGRAM.COM V51 | 625x90 ad box + consistent two-column alignment.
 * The source-file size is validated on the server (V50).
 * At 1320px+ the home content widens to accommodate two 625px banners;
 * smaller screens stack them; phone screens scale them without cropping.
 */
.home-ads.v42-home-ads {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 12px !important;
  width: min(100%, 625px) !important;
  max-width: 625px !important;
  min-width: 0 !important;
  box-sizing: border-box;
  position: static !important;
  left: auto !important;
  transform: none !important;
  margin: 15px auto 22px !important;
}
.home-ads.v42-home-ads > a.ad-banner.ad-slot-wide,
.home-ads.v42-home-ads > a.ad-banner.ad-empty.ad-slot-wide.v44-empty-wide {
  display: flex !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  max-width: 625px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 625 / 90 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.home-ads.v42-home-ads > a.ad-banner.ad-real.ad-slot-wide > img {
  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;
}
/* Only home MAIN widens; header/nav/footer keep identical alignment across page changes. */
@media (min-width: 1320px) {
  body.v51-home main.main-content.wrap {
    width: min(1280px, calc(100% - 40px));
  }
  body.v51-home .home-ads.v42-home-ads {
    width: 1262px !important; /* 625 + 12 + 625 */
    max-width: 100% !important;
    grid-template-columns: repeat(2, 625px) !important;
  }
  body.v51-home .home-ads.v42-home-ads > a.ad-banner.ad-slot-wide,
  body.v51-home .home-ads.v42-home-ads > a.ad-banner.ad-empty.ad-slot-wide.v44-empty-wide {
    width: 625px !important;
    max-width: 625px !important;
    height: 90px !important;
  }
}
/* 1280px home content and fixed 100px side rails would overlap here.
 * Hide only HOME rails in this narrow-desktop band; preserve rails on other pages.
 * Beyond 1530px both rails and all 625px banners fit without collision. */
@media (min-width: 1320px) and (max-width: 1530px) {
  body.v51-home .v18-rail {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .home-ads.v42-home-ads { gap: 10px !important; }
}
