/* ads-layer: own-ads containers and Taboola widgets (every theme). Linked by body-end.php with every layer unit. */
.ad-unit--house{display:block;text-align:center;line-height:0}
.ad-unit--house[hidden]{display:none}
/* The dormant fallback inside a house container stays unrendered whatever a theme gives ins.adsbygoogle. */
.ad-unit--house > ins.adsbygoogle[hidden],.ad-unit--house > .ad-unit--taboola[hidden]{display:none}
.ad-unit__label{display:block;margin:0 0 4px;font:500 10px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.12em;text-transform:uppercase;opacity:.6}
.ad-unit__label:empty{display:none}
.ad-unit__link{display:inline-block;max-width:100%;line-height:0}
.ad-unit__link img,.ad-unit__image{display:inline-block;max-width:100%;height:auto;vertical-align:top}
.ad-unit__frame{display:block;border:0;max-width:100%;margin:0 auto}
/* Collapse the theme's reserved box only once the serve answered with nothing for the slot (is-collapsed); while the
   request is in flight the box keeps its reserved height so a filled creative does not shift the content below.
   Descendant form: signal and folio wrap the slot in a second element (article-below-ad-wrap > ad-slot). */
:is(.ad-slot,.listing-inline-ad-wrap,.author-profile-ad-wrap,.article-in-content-ad,.home-bottom-ad,[class*='ad-wrap']):has(.ad-unit--house.is-collapsed){display:none}
/* The same for a Taboola placement Taboola left without content (ads-layer.js marks it is-collapsed). */
:is(.ad-slot,.listing-inline-ad-wrap,.author-profile-ad-wrap,.article-in-content-ad,.home-bottom-ad,[class*='ad-wrap']):has(.ad-unit--taboola.is-collapsed){display:none}
/* A theme's debug-style slot box (striped, dashed, small caps, rules) must not frame a live own ad or a Taboola widget:
   both are content, not a placeholder. The theme's own label is dropped for a Taboola feed too. */
.ad-slot:has(> .ad-unit--house),.ad-slot:has(> .ad-unit--taboola){background:none;border:0;border-radius:0;padding:0;color:inherit;font-size:inherit;letter-spacing:normal;text-transform:none;display:block}
.ad-slot:has(> .ad-unit--taboola){min-height:0}
.ad-slot:has(> .ad-unit--taboola) > .ad-slot__label{display:none}
/* A theme that labels its slot itself (folio ::before) does not label a house unit twice, nor a Taboola feed. */
.ad-slot:has(.ad-unit--house)::before,.ad-slot:has(> .ad-unit--taboola)::before{content:none}
