
.bpa-ad-sticky {
 position:fixed;
 top:110px;
 width:160px;
 max-height:none;
 overflow:visible;
 z-index:20;
}
.bpa-ad-sticky-left {left:8px}
.bpa-ad-sticky-right {right:8px}
.bpa-ad-sticky .bpa-ad-slot {
 max-width:100%;
 overflow:hidden;
}
/* STEP 213: Show fixed side ads inside 160px desktop rails */
@media (max-width:1199px) {
 .bpa-ad-sticky {
  display:none;
 }
}


/* Responsive Ads Manager placements */
.bpa-ad-slot {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 12px auto;
  text-align: center;
  overflow: hidden;
}
.bpa-ad-slot img,
.bpa-ad-slot video,
.bpa-ad-slot iframe {
  max-width: 100%;
}
.bpa-ad-slot img,
.bpa-ad-slot video {
  height: auto;
}
.bpa-ad-wide {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-inline: auto;
  padding-inline: 16px;
}
.bpa-ad-wide .bpa-ad-slot {
  max-width: 1200px;
}
@media (max-width: 767px) {
  .bpa-ad-wide {
    padding-inline: 12px;
  }
  .bpa-ad-slot {
    margin-block: 10px;
  }
  .bpa-ad-sticky {
    display: none;
  }
}


/* STEP 212: GLOBAL DESKTOP SIDE RAILS */
/* Existing page-specific 160px layouts are excluded. */
@media (min-width: 1200px) {
  #main-content:not(.blog-detail-page):not(.bpa-journal-v3):not(.add-listing-page):not(.business-detail-page):not(.directory-page):not(.category-detail-page):not(.locations-page):not(.search-page):not(:has(.hp-intro)) {
    padding-left: 160px;
    padding-right: 160px;
    box-sizing: border-box;
  }
}
/* END STEP 212 */

/* BPA_TARGETED_FULLBLEED_V1
   Desktop full-width backgrounds for verified direct-child hero/CTA sections.
   Main content retains existing 160px side padding.
*/
@media (min-width: 1200px) {
  #main-content:is(
    .bpa-about,
    .adx-page,
    .contact-page,
    .dcx-page,
    .faqx-page,
    .forgot-page,
    .login-page,
    .bpp-page,
    .ppx-page,
    .rpx-page,
    .register-page,
    .tcx-page,
    .wb-page,
    .wfu-page
  ) > :is(
    .bpa-hero,
    .adx-hero, .adx-bottom,
    .contact-hero, .contact-bottom-cta,
    .dcx-hero, .dcx-bottom,
    .faqx-hero, .faqx-bottom,
    .forgot-hero, .forgot-bottom-cta,
    .login-hero, .login-bottom-cta,
    .bpp-hero, .bpp-bottom,
    .ppx-hero, .ppx-bottom,
    .rpx-hero, .rpx-bottom,
    .register-hero, .register-bottom-cta,
    .tcx-hero, .tcx-bottom,
    .wb-hero, .wb-bottom,
    .wfu-hero, .wfu-bottom
  ) {
    box-sizing: border-box;
    width: calc(100% + 320px);
    max-width: none;
    margin-left: -160px;
    margin-right: -160px;
  }
}
/* END BPA_TARGETED_FULLBLEED_V1 */



/* BPA_STICKY_LAYOUT_V8 */

@media (min-width:1200px) {
    .bpa-ad-sticky {
        position: fixed;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 160px;
        height: 600px;
        min-width: 160px;
        max-width: 160px;
        max-height: none;
        box-sizing: border-box;
        overflow: visible;
    }

    .bpa-ad-sticky-left {
        left: 0;
    }

    .bpa-ad-sticky-right {
        right: 0;
    }

    .bpa-ad-sticky > .bpa-ad-slot {
        width: 160px;
        height: 600px;
        max-width: 160px;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow: visible;
    }
}



/* END BPA_STICKY_LAYOUT_V8 */

