/* Shared Markets/Radar asset-detail placement. The creative stays exactly
   320x50; the standard advertising runtime owns inventory, delivery and
   no-fill collapse. */
.market-detail-project-ad{display:flow-root;min-width:0}
.market-detail-project-ad>.th-ad-slot--small-banner{--th-ad-height:50px;width:320px;max-width:320px;margin:10px auto 12px}
/* On 320–339px viewports the detail shell is intentionally 20px narrower
   than the viewport. Break the fixed creative out by exactly that gutter
   rather than shrinking/cropping a provider iframe. */
@media(min-width:320px) and (max-width:339px){
  .market-side-panel:has(>.market-detail-project-ad){overflow:visible}
  .market-detail-project-ad>.th-ad-slot--small-banner{max-width:none;left:50%;transform:translateX(-50%)}
}
@media(max-width:319px){.market-detail-project-ad>.th-ad-slot--small-banner{display:none!important}}
