/* Base layout + type — brand decoration in templates/<tpl>/blocks/cta/css/style.css */

@keyframes px-cta-rotate {
  to {
    transform: rotate(360deg);
  }
}

.px-cta.style-1 {
  text-align: center;
}

/* Dark panel by default — markup ships light-on-dark copy, ticker and btn-outline-light */
.px-cta.style-1 .px-cta__panel {
  --headings-color: var(--px-ink-on-dark);
  position: relative;
  overflow: hidden;
  padding: var(--px-gap-xl) var(--px-gap-lg);
  border-radius: var(--px-radius-section);
  background: var(--px-color-dark);
  color: var(--px-muted-on-dark);
  text-align: center;
}

.px-cta.style-1 .px-cta__panel .px-sec-desc {
  color: var(--px-muted-on-dark);
}

.px-cta.style-1 .px-cta__panel .px-sec-badge {
  color: var(--px-ink-on-dark);
}

.px-cta.style-1 .px-cta__glow {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.px-cta.style-1 .px-cta__glow--1 {
  top: -15rem;
  left: -7.5rem;
  background: var(--px-color-primary);
}

.px-cta.style-1 .px-cta__glow--2 {
  right: -7.5rem;
  bottom: -15rem;
  background: color-mix(in srgb, var(--px-color-primary) 45%, var(--px-color-on-dark));
}

.px-cta.style-1 .px-cta__rotate {
  position: absolute;
  top: var(--px-gap-xl);
  right: var(--px-gap-xl);
  z-index: 2;
  width: 6.875rem;
  height: 6.875rem;
}

.px-cta.style-1 .px-cta__rotate svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: px-cta-rotate 14s linear infinite;
}

.px-cta.style-1 .px-cta__rotate-text {
  fill: var(--px-cta-ticker, var(--px-ink-on-dark));
  font-size: 10.5px; /* SVG user units (scales with the badge viewBox) */
  font-weight: 600;
  letter-spacing: 2.5px;
}

.px-cta.style-1 .px-cta__rotate-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--px-icon-md);
  color: var(--px-color-primary);
}

.px-cta.style-1 .px-cta__content {
  position: relative;
  z-index: 2;
}

.px-cta.style-1 .px-sec-title {
  max-width: 18ch;
  margin-inline: auto;
}

.px-cta.style-1 .px-sec-desc {
  margin-inline: auto;
  margin-top: var(--px-gap-sm);
  max-width: 32rem;
}

.px-cta.style-1 .px-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--px-gap);
  margin-top: var(--px-gap-xl);
}

.px-cta.style-1.text-center .px-cta__actions,
.px-cta.style-1 .px-cta__actions {
  justify-content: center;
}

.px-cta.style-1.text-end .px-cta__actions {
  justify-content: flex-end;
}

.px-cta.style-1.text-start .px-cta__actions {
  justify-content: flex-start;
}

@media (max-width: 991.98px) {
  .px-cta.style-1 .px-cta__rotate {
    display: none;
  }

  .px-cta.style-1 .px-cta__panel {
    padding: var(--px-gap-xl) var(--px-gap);
    border-radius: var(--px-radius-lg);
  }
}
