/* Banner 2, v2 and legacy pages: additional creatives flow below the
   originals without shifting the original rail. No sticky/fixed positioning. */
/* Some regional layouts set the aside to position:static with higher
   specificity; the repeat layer must be anchored to its own ad column. */
.sidebar-ads[data-banner2-rail],
.banner2-legacy-rail[data-banner2-rail] {
  position: relative !important;
}
.banner2-legacy-rail {
  display: flow-root; /* isolate the old .baner bottom margins */
}
@media (min-width: 1021px) {
  [data-banner2-rail] > .banner2-flow-repeats {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--banner2-flow-gap, 20px);
    overflow: hidden;
  }
  .banner2-legacy-rail > .banner2-flow-repeats > .baner {
    margin-bottom: 0;
    flex: none;
  }
  .sidebar-ads > .banner2-flow-repeats > .ad-card {
    flex: none;
  }
}
@media (max-width: 1020px) {
  [data-banner2-rail] > .banner2-flow-repeats {
    display: none;
  }
}
