/* DP Scroll Stack 1.0.2. Only classes with dp- prefix are styled. */
.dp-scroll-stack {
  box-sizing: border-box;
  position: relative;
  width: 100%;
}
.dp-scroll-stack *, .dp-scroll-stack *::before, .dp-scroll-stack *::after { box-sizing: border-box; }
/* Accessible, editable fallback: no JS, reduced motion or Elementor editor. */
.dp-scroll-stack:not(.dp-ss-active) > .dp-stack-stage,
.dp-scroll-stack:not(.dp-ss-active) > .e-con-inner > .dp-stack-stage {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px;
  height: auto !important;
  min-height: 0;
  overflow: visible;
}
.dp-scroll-stack:not(.dp-ss-active) .dp-stack-stage > .dp-stack-card,
.dp-scroll-stack:not(.dp-ss-active) .dp-stack-stage > .e-con-inner > .dp-stack-card {
  width: 100%;
  max-width: 100%;
  position: relative !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  clip-path: none !important;
  visibility: visible !important;
}
.dp-scroll-stack.dp-ss-active {
  overflow: visible !important;
  min-height: 0 !important;
  height: calc(100vh + var(--dp-ss-runway, 300vh)) !important;
  display: block !important;
  align-content: normal !important;
}
@supports (height: 100svh) {
  .dp-scroll-stack.dp-ss-active { height: calc(100svh + var(--dp-ss-runway, 300svh)) !important; }
}
/* Elementor boxed containers wrap their children in .e-con-inner. That wrapper
   must span the full scroll runway, or its sticky child stops after 1 viewport. */
.dp-scroll-stack.dp-ss-active > .e-con-inner {
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.dp-scroll-stack.dp-ss-active > .dp-stack-stage,
.dp-scroll-stack.dp-ss-active > .e-con-inner > .dp-stack-stage {
  position: sticky !important;
  top: 0 !important;
  left: 0;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh !important;
  min-height: 0 !important;
  padding: 20px !important;
  overflow: clip !important;
  perspective: var(--dp-ss-perspective, 1400px);
  isolation: isolate;
}
@supports (height: 100svh) {
  .dp-scroll-stack.dp-ss-active > .dp-stack-stage,
  .dp-scroll-stack.dp-ss-active > .e-con-inner > .dp-stack-stage { height: 100svh !important; }
}
.dp-scroll-stack.dp-ss-active .dp-stack-stage > .e-con-inner {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  grid-area: 1 / 1 !important;
}
.dp-scroll-stack.dp-ss-active .dp-stack-stage > .dp-stack-card,
.dp-scroll-stack.dp-ss-active .dp-stack-stage > .e-con-inner > .dp-stack-card {
  grid-area: 1 / 1 !important;
  position: relative !important;
  width: min(100%, var(--dp-ss-card-width, 920px)) !important;
  max-width: 100% !important;
  height: var(--dp-ss-card-height, 70vh) !important;
  min-height: 0 !important;
  margin: 0 !important;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform-origin: center center;
}
.dp-ss-hud {
  position: absolute;
  z-index: 100000;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--dp-ss-hud-color, #e7e7e7);
  background: var(--dp-ss-hud-background, rgba(0, 0, 0, 0.6));
  font: 500 11px/1.5 system-ui, sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.dp-ss-hud--bottom { bottom: 16px; }
.dp-ss-hud--top { top: 16px; }
.dp-ss-rail { display: block; position: relative; width: 120px; height: 2px; overflow: hidden; background: rgba(255,255,255,.28); }
.dp-ss-fill { display: block; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left center; }
.dp-ss-count { font-variant-numeric: tabular-nums; }
.dp-ss-editor-note { padding: 18px; border: 1px dashed #999; font: 14px/1.5 system-ui, sans-serif; }
@media (max-width: 767px) {
  .dp-scroll-stack.dp-ss-active > .dp-stack-stage,
  .dp-scroll-stack.dp-ss-active > .e-con-inner > .dp-stack-stage { padding: 12px !important; }
  .dp-ss-rail { width: 70px; }
}
/* Honor users' motion preferences even if JS is blocked. */
@media (prefers-reduced-motion: reduce) {
  .dp-scroll-stack { height: auto !important; min-height: 0 !important; }
  .dp-scroll-stack > .dp-stack-stage,
  .dp-scroll-stack > .e-con-inner > .dp-stack-stage {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    height: auto !important;
    gap: 24px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .dp-scroll-stack .dp-stack-stage > .dp-stack-card,
  .dp-scroll-stack .dp-stack-stage > .e-con-inner > .dp-stack-card {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .dp-ss-hud { display: none !important; }
}
