/* Keep every reserved slot in the DOM. Only the integration adapter may mark
   a slot filled after it actually has a creative. Provider/slot markers alone
   are not an integration and must not expose empty placeholders or gaps. */
html body .ad-slot:not([data-ad-state="filled"]),html body .ad-slot[hidden]{display:none!important}
html body .ad-slot[data-ad-policy="suppressed"]{display:none!important}
html body .ad-slot[data-ad-state="filled"] .ad-surface{background:transparent;border:0}
html body .ad-slot[data-ad-state="filled"] .ad-surface::after{content:none!important}

/* Ad slots: AdSense standard formats. Desktop 728x90 (wide slots 970x90), mobile 300x250.
   Space is reserved by fixed size so the page does not jump when the ad loads. Load after theme.css. */
html body .ad-slot{container-type:normal;display:block;width:100%;max-width:970px;min-width:0;min-height:0;margin:28px auto 34px;text-align:center}
html body .ad-slot .ad-surface{position:relative;display:flex;align-items:center;justify-content:center;width:728px!important;max-width:100%;height:90px!important;margin:0 auto!important;background:#f1f3f4;border:1px solid #e3e8ea;box-sizing:border-box}
html body .ad-slot .ad-surface::after{content:"728\d7 90";font-size:12px;color:#6b7781}
html body .ad-slot.ad-wide .ad-surface{width:970px!important}
html body .ad-slot.ad-wide .ad-surface::after{content:"970\d7 90"}
html body .ad-slot.ad-first-mobile,html body .ad-slot.ad-mobile-only{display:none}
@media(max-width:900px){
  html body .ad-slot.ad-first-mobile,html body .ad-slot.ad-mobile-only{display:block}
  html body .ad-slot.ad-first-desktop{display:none}
  html body .ad-slot{margin:24px auto 28px}
  html body .ad-slot .ad-surface,html body .ad-slot.ad-wide .ad-surface{width:300px!important;height:250px!important}
  html body .ad-slot .ad-surface::after,html body .ad-slot.ad-wide .ad-surface::after{content:"300\d7 250"}
}

/* Wide ads need 970px of content width; on narrower desktops they fall back to 728x90 */
@media(min-width:901px) and (max-width:1030px){
  html body .ad-slot.ad-wide .ad-surface{width:728px!important}
  html body .ad-slot.ad-wide .ad-surface::after{content:"728\d7 90"}
}
