/* as-publicites 1.2.0 : la pub prend exactement la taille de sa bannière (ni fond, ni bordure, ni texte autour) ; un bloc sans pub disparaît. */
.aspb[data-aspb-place]{position:relative;display:block;width:100%;max-width:var(--aspb-w,100%);margin-inline:auto;line-height:0}
@media(max-width:767px){.aspb-servie[data-aspb-place]{max-width:var(--aspb-wm,var(--aspb-w,100%))}}
.aspb-pub{width:100%}
.aspb-pub+.aspb-pub{margin-top:8px}
.aspb-pub picture,.aspb-lien{display:block}
.aspb-pub img,.aspb-pub video{display:block;width:100%;max-width:100%;height:auto}
.aspb iframe{display:block;border:0;max-width:none}
.aspb-echelle{position:relative;max-width:var(--aspb-bw);margin-inline:auto;aspect-ratio:var(--aspb-r);overflow:hidden;container-type:inline-size}
.aspb-boite{position:absolute;top:0;left:0;width:var(--aspb-bw);height:var(--aspb-bh);transform-origin:0 0}
@supports (scale:tan(atan2(1cqw,1px))){.aspb-boite{transform:scale(min(1,tan(atan2(100cqw,var(--aspb-bw)))))}}
.elementor-widget-as_pub_place,.as-pub-serveur{width:100%}
body:not(.elementor-editor-active) .as-pub:has(.as-pub-serveur):not(:has([data-aspb-place])){display:none!important}
/* Places remplies par le script (pubs Robox, anciens emplacements) : taille réservée, pub entière (contain). */
.aspb:not(.aspb-servie){aspect-ratio:var(--aspb-r,auto)}
@media(max-width:767px){.aspb:not(.aspb-servie){aspect-ratio:var(--aspb-rm,var(--aspb-r,auto));max-width:var(--aspb-wm,var(--aspb-w,100%))}}
.aspb:not(.aspb-servie) :is(.aspb-contenu,.aspb-pub,.aspb-lien,picture){height:100%}
.aspb:not(.aspb-servie) .aspb-pub :is(img,video){height:100%;object-fit:contain}
.aspb-rempli{overflow:hidden}
.aspb-mention{position:absolute;top:0;inset-inline-end:0;z-index:1;padding:0 6px;font-size:11px;line-height:1.6;background:#fffd;color:#4b5563}
.aspb-apercu{display:grid;place-content:center;gap:4px;box-sizing:border-box;height:100%;min-height:90px;padding:8px;border:2px dashed #9aa1ad;background:#f1f3f5;color:#3d4350;text-align:center;font-size:13px;line-height:1.5}
