/* PNGMagic V69 — gallery-only PNG transparency + no gallery ad gaps.
   Hero/top AdSense is intentionally untouched. */

/* PNG checkerboard: force it behind transparent PNG pixels even if shared CSS
   gives gallery images/cards a solid background. */
.category-masonry .category-card.is-png-file,
.category-masonry .category-card.is-png-file > a{
  background-color:#fff !important;
  background-image:
    linear-gradient(45deg,#ededed 25%,transparent 25%),
    linear-gradient(-45deg,#ededed 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,#ededed 75%),
    linear-gradient(-45deg,transparent 75%,#ededed 75%) !important;
  background-size:32px 32px !important;
  background-position:0 0,0 16px,16px -16px,-16px 0 !important;
}
.category-masonry .category-card.is-png-file > a > img{
  background-color:transparent !important;
  background-image:none !important;
}

/* Never allow AdSense/Auto Ads to reserve a visual slot inside the image gallery.
   This is scoped to .category-masonry, so the hero ad remains unchanged. */
.category-masonry ins.adsbygoogle,
.category-masonry .google-auto-placed,
.category-masonry .adsbygoogle-noablate,
.category-masonry [data-ad-client],
.category-masonry [data-ad-slot]{
  display:none !important;
  width:0 !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* Remove the parent item too when Google injects an ad wrapper as a masonry child. */
.category-masonry > :has(> ins.adsbygoogle),
.category-masonry > :has(.google-auto-placed),
.category-masonry > :has(.adsbygoogle-noablate){
  display:none !important;
  width:0 !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
