/* wbmind ads — slot containers. Breakpoint-dependent rules are printed inline by the plugin. */
.wb-ad {
  display: block;
  position: relative;
  clear: both;
  box-sizing: border-box;
  max-width: 100%;
  margin: 32px auto;
  text-align: center;
}
.wb-ad__label {
  margin: 0 0 6px;
  font: 600 11px/1.2 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a94a0;
  text-align: center;
}
.wb-ad__ins { display: block; margin: 0 auto; }

/* in article text */
.article-body > .wb-ad,
.wb-ad--at-heading { margin: 36px 0; }

/* right sidebar */
.wb-ad--sidebar { margin: 24px 0 0; }

/* full-width band (above footer etc.) — same gutters as Bottom sections */
.wb-ad-band { display: block; box-sizing: border-box; padding: 0 25px; margin: 24px 0; }
.wb-ad-band > .wb-ad { margin: 0 auto; }
@media (max-width: 1039px) { .wb-ad-band { padding: 0 12px; } }

/* inside card grids: take the whole row */
.wb-ad--feed { grid-column: 1 / -1; width: 100%; }

/* unfilled: collapse or show own fallback */
.wb-ad__fallback { display: none; text-align: left; }
.wb-ad--collapse:not(.wb-ad--has-fallback):has(> .wb-ad__ins[data-ad-status="unfilled"]) { display: none !important; }
.wb-ad--has-fallback:has(> .wb-ad__ins[data-ad-status="unfilled"]) { min-height: 0 !important; }
.wb-ad--has-fallback:has(> .wb-ad__ins[data-ad-status="unfilled"]) > .wb-ad__ins,
.wb-ad--has-fallback:has(> .wb-ad__ins[data-ad-status="unfilled"]) > .wb-ad__label { display: none !important; }
.wb-ad--has-fallback:has(> .wb-ad__ins[data-ad-status="unfilled"]) > .wb-ad__fallback,
.wb-ad--house > .wb-ad__fallback { display: block; }

/* own sponsor */
.wb-ad--sponsor { text-align: left; }
.wb-ad__sponsor img { max-width: 100%; height: auto; }

/* debug placeholders (?wbads_debug=1) */
.wb-ad--debug {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 2px dashed #1daa91;
  outline-offset: -2px;
  background: repeating-linear-gradient(135deg, #f1faf7 0 12px, #e6f5f1 12px 24px);
  color: #167568;
  font: 500 13px/1.4 Nunito, system-ui, sans-serif;
  padding: 12px;
}
.wb-ad--debug b { font-weight: 800; font-size: 15px; }
