/* Damit der Inner in einer Grid-/Flex-Spalte die volle Spaltenhöhe erbt
   und die Sticky-Range der Nachbarspalte entspricht. */
.cb-scroll-explosion {
  --cb-scroll-explosion-sticky-min-height: 150vh;
  --cb-scroll-explosion-sticky-position-top: var(--header-height, 0);

  height: 100%;
  line-height: 0;
}

.cb-scroll-explosion .cb-scroll-explosion-inner.sticky {
  height: 100%;
  min-height: var(--cb-scroll-explosion-sticky-min-height, 150vh); /* Fallback, wenn kein hoher Nachbar vorhanden ist */
}

.cb-scroll-explosion .cb-scroll-explosion-inner.sticky .canvas-wrapper {
  position: sticky;
  top: var(--cb-scroll-explosion-sticky-position-top);
  z-index: 1;
}

/* Overflow handling for fixed grid full with sticky inner. */
.hf-fixed-grid-full:has(.cb-scroll-explosion-inner.sticky) {
  overflow: clip;
}

.cb-scroll-explosion .canvas-wrapper canvas {
  width: 100%;
  height: auto;
}