.sf-page .sf-sidebar-ads{position:static;display:block;max-height:none;overflow:visible;min-width:0}
.sf-sidebar-cta-content{min-width:0}
.sf-forum-sidebar-ad{width:100%;max-width:300px;margin:0 auto 24px;background:#1c1425;box-shadow:0 0 0 1px #6d527d;border-radius:12px 12px 0 0;flex:0 0 auto}
.sf-forum-ad-label{font:10px/1.4 system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:#d8c9e0!important;margin:0!important;padding:13px 12px;text-align:center}
.sf-forum-sidebar-unit{display:block;width:100%;max-width:300px;height:250px}
.sf-sidebar-cta-content>.sf-panel:first-child{margin-top:0}
/* One desktop sticky rail; the ad is outside the independently scrolling CTA area. */
@media(min-width:1200px) and (min-height:650px) and (hover:hover) and (pointer:fine){
 .sf-page .sf-sidebar-ads{position:sticky;top:95px;align-self:start;display:flex;flex-direction:column;height:calc(100vh - 115px);max-height:calc(100vh - 115px);overflow:visible}
 .sf-sidebar-ads>.sf-sidebar-cta-content{flex:1 1 auto;min-height:0;overflow-y:auto;padding:1px 5px 1px 1px;scrollbar-width:thin;scrollbar-gutter:stable}
 .sf-sidebar-ads>.sf-forum-sidebar-ad{flex:0 0 auto}
}
/* On mobile/tablet, and short windows, both the ad and CTAs remain in normal page flow. */
@media(max-width:720px){.sf-forum-sidebar-ad{margin-top:20px}.sf-page .sf-sidebar-ads .sf-sidebar-cta-content>.sf-panel{margin-top:18px}}
