.omega-ads-slot{box-sizing:border-box;display:block;width:min(100%,var(--oa-width,100%));max-width:100%;min-width:0;margin-inline:auto;text-align:center;isolation:isolate}
.omega-ads-slot[data-mode="grid"][data-grid-align="left"]{margin-left:0;margin-right:auto}
.omega-ads-slot[data-mode="grid"][data-grid-align="right"]{margin-left:auto;margin-right:0}
.omega-ads-slot .omega-ads-stage{box-sizing:border-box;display:flex;justify-content:var(--oa-align,center);align-items:center;width:100%;height:var(--oa-height,auto);min-height:0;max-width:100%;gap:var(--oa-gap,0px)}
.omega-ads-slot .omega-ads-stage[data-mode="grid"]{display:grid;grid-template-columns:repeat(var(--oa-columns,1),minmax(0,1fr));height:auto;align-items:start}
.omega-ads-slot .omega-ads-creative{box-sizing:border-box;min-width:0;max-width:100%;width:100%;margin:0;text-align:center;line-height:0}
.omega-ads-slot:not(.omega-ads-parallax) .omega-ads-creative img{display:block!important;max-width:100%!important;max-height:var(--oa-height,none);height:auto!important;margin-inline:auto!important;object-fit:contain!important}
.omega-ads-slot .omega-ads-creative a,.omega-ads-slot .omega-ads-creative picture{max-width:100%}
.omega-ads-slot .omega-ads-creative iframe,.omega-ads-slot .omega-ads-creative video{max-width:100%;display:block;margin-inline:auto}
.omega-ads-slot .omega-ads-creative video{height:auto}
.omega-ads-parallax,.omega-ads-parallax .omega-ads-stage,.omega-ads-parallax .omega-ads-creative{width:100%;height:100%}
.omega-ads-slot[hidden],.omega-module.omega-ads-empty{display:none!important}
.omega-home .omega-sidebar>.omega-module.omega-type-ad:has(.omega-ads-slot){margin-bottom:16px}
@media(max-width:650px){.omega-ads-slot .omega-ads-stage[data-mode="grid"]{grid-template-columns:1fr}}
/* Prevent a desktop-cached grid flashing several creatives on a narrow screen. */
@media(max-width:1024px){.omega-ads-slot[data-mobile-single="1"] .omega-ads-stage[data-mode="grid"]{grid-template-columns:1fr}.omega-ads-slot[data-mobile-single="1"] .omega-ads-stage[data-mode="grid"]>.omega-ads-creative:not(:first-child){display:none}}
/* Baner TOP divider: desktop only, only for a grid with at least two creatives. */
@media (min-width: 1025px) {
  .omega-ads-slot[data-group="1"] .omega-ads-stage[data-mode="grid"]:has(> .omega-ads-creative:nth-child(2)) { position: relative; }
  .omega-ads-slot[data-group="1"] .omega-ads-stage[data-mode="grid"]:has(> .omega-ads-creative:nth-child(2))::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 1px; height: 62px;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, transparent, rgba(21, 43, 70, .24) 18%, rgba(21, 43, 70, .24) 82%, transparent);
    pointer-events: none;
  }
}
