.elementor .fo-collections-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
}

.elementor .fo-collections-stack > .fo-collection-panel {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin-block: 0;
  background-color: #0a0a0a;
}

.elementor .fo-collections-stack > .fo-collection-panel:nth-child(1) { z-index: 1; }
.elementor .fo-collections-stack > .fo-collection-panel:nth-child(2) { z-index: 2; }
.elementor .fo-collections-stack > .fo-collection-panel:nth-child(3) { z-index: 3; }

/* Conserver les sections faciles à sélectionner dans Elementor. */
body.elementor-editor-active .fo-collections-stack > .fo-collection-panel {
  position: relative;
  top: auto;
}

/* Respect du réglage système de réduction des animations. */
@media (prefers-reduced-motion: reduce) {
  .elementor .fo-collections-stack > .fo-collection-panel {
    position: relative;
    top: auto;
  }
}
