/* ==========================================================================
   WP-KORE CUBE CSS — SECTION CLOSING CTA (page-level section archetype)
   Was ad-hoc inside composition.css; lives here as a section component.
   ========================================================================== */

.section-closing-cta {
  /* Inverse stage by default: .bg-dark owns the surface ladder; do not paint
     --canvas here (it loaded after utilities and clobbered bg-dark). */
  background-color: var(--local-cta-bg, var(--bg-dark));
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}
.section-closing-cta .ambient-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  min-width: 100vw;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.section-closing-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, oklch(0% 0 0 / 45%) 0%, oklch(0% 0 0 / 88%) 100%);
  pointer-events: none;
  z-index: 1;
}
.section-closing-cta>.wrapper,
.section-closing-cta>[class*="wrapper"] {
  position: relative;
  z-index: 2;
}
.section-closing-cta .cluster,
.section-closing-cta [class*="cluster"] {
  --local-cluster-flex-dir: column;
  --local-cluster-align: stretch;
  --local-cluster-item-w: 100%;
  display: flex;
  flex-direction: var(--local-cluster-flex-dir);
  flex-wrap: wrap;
  align-items: var(--local-cluster-align);
  justify-content: center;
  gap: var(--space-md);
}
.section-closing-cta .cluster>* {
  width: var(--local-cluster-item-w);
  max-width: 100%;
}
@media (min-width: 36rem) {
  .section-closing-cta .cluster,
  .section-closing-cta [class*="cluster"] {
    --local-cluster-flex-dir: row;
    --local-cluster-align: center;
    --local-cluster-item-w: auto;
  }
}
