/* Preserve the supplied 950x300 creative and fit the whole slot to its column. */
.rr-ad.rr-ad--mail{display:block;min-height:0;padding:8px;border-style:solid;letter-spacing:normal;text-transform:none}
.rr-ad__viewport{position:relative;width:100%;max-width:950px;aspect-ratio:950/300;margin:auto;overflow:hidden}
.rr-ad__stage{position:absolute;top:0;left:0;width:950px;height:300px;transform:scale(var(--rr-ad-scale,0));transform-origin:top left}
.rr-ad--mail .rr-ad__stage iframe,.rr-ad--mail .rr-ad__stage img{max-width:none}
.home-ad-card .rr-ad.rr-ad--mail{min-height:0;padding:38px 8px 8px}
/* Verified VK adaptive slots: the SDK measures this flow container, not a scaled stage. */
.rr-ad--vk-adaptive .rr-ad__viewport--adaptive{position:relative;max-width:none;aspect-ratio:auto;min-height:250px;overflow:visible}
.rr-ad--vk-adaptive .rr-ad__viewport--adaptive>ins.mrg-tag{display:block;width:100%;text-decoration:none}
.rr-ad--vk-adaptive .rr-ad__viewport--adaptive iframe{border:0}
/* Native control banner: fixed pixels and normal flow, without legacy scaling or baseline space. */
.rr-ad.rr-ad--vk-fixed{overflow:visible}
.rr-ad--vk-fixed .rr-ad__viewport--fixed{width:300px;height:250px;max-width:none;aspect-ratio:auto;margin-inline:calc(50% - 150px);overflow:visible;line-height:0}
.rr-ad--vk-fixed .rr-ad__viewport--fixed ins.mrg-tag{display:block;width:300px;height:250px;text-decoration:none}
.rr-ad--vk-fixed .rr-ad__viewport--fixed iframe{border:0}
.site-page-end__main>.rr-ad.rr-ad--vk-fixed{margin-inline:auto}
@media(max-width:340px){.site-page-end__main>.rr-ad.rr-ad--vk-fixed{width:calc(100% - 2px)}}
