.st-ad{box-sizing:border-box;display:block;clear:both;max-width:100%;margin:2.5rem 0;padding:1rem 0;text-align:center;background:var(--surface-muted,#f7f7f5);border-block:1px solid var(--border,#e9e9e4)}
.st-ad__label{display:block;margin:0 0 .5rem;font:500 .625rem/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.14em;color:var(--muted,#6b6b63)}
.st-ad__target{display:flex;justify-content:center;align-items:flex-start;max-width:100%;min-height:var(--st-ad-height,280px);margin-inline:auto}

/* Sidebar reservation follows the tenant size map; sticky belongs to the theme. */
.st-ad--sidebar{margin:0;padding:0;border:0;background:transparent;container-type:inline-size}
.st-ad--sidebar .st-ad__label{margin-bottom:10px}
.st-ad__preview-creative{box-sizing:border-box;display:grid;place-items:center;width:var(--st-ad-preview-width,300px);max-width:100%;min-height:inherit;padding:16px;border:1px dashed #c9cec6;border-radius:12px;background:#f4f5f3;color:#616970;font:500 .75rem/1.5 system-ui,sans-serif}
.st-ad--gallery{container-type:inline-size}
@container(max-width:299px){:is(.st-ad--sidebar,.st-ad--gallery) .st-ad__preview-creative{width:min(var(--st-ad-preview-width,300px),250px)}}

/* Reserve space before consent/load; creatives never determine page width. */
.network-ad { min-width: 0; width: 100%; margin: 24px auto; min-height: 300px; text-align: center; }
.network-ad .publisher-ad-creative { display: block; width: 100%; }
.network-ad--header { max-width: 1200px; }
.network-ad--sidebar { max-width: 360px; }
.network-ad[data-ad-state="denied"], .network-ad[data-ad-state="unfilled"] { visibility: hidden; }
[data-ad-privacy] { margin: 16px 0; font: inherit; cursor: pointer; }
