/*CTA tab
============================================================================ */
.cta-bar {
  position: relative;
  background:
    url('../../images/marketing-landing/pictures/light_bg.avif') bottom right no-repeat,
    linear-gradient(86deg, var(--Gradients-Gradient-1-from, #3A8DDE) 8.31%, var(--Gradients-Gradient-2-to, #0F7B0A) 98.03%);
  background-size:
    35%,
    100%;
  padding: 30px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--pos-gap-card-card);
  width: 100%;
  overflow: hidden;
}

.cta-bar .cta-text {
  color: var(--pos-color-inverted);
}

.cta-text h2 {
  font-size: var(--pos-headline-2, 30px);
  color: var(--pos-color-inverted);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-1-Line-height, 32px);
  padding-bottom: 0.3rem;
}
.cta-text p {
  color: var(--pos-color-inverted);
}
.cta-bar::before {
  content: "";
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(60, 211, 173, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.cta-button-container {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.button-padding.secondary {
  padding: 12px 24px;
  font-size: 16px;
}

/*CTA tab responsive classes
============================================================================ */

@media (max-width: 1024px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .cta-bar {
    background-position: right -50px bottom, center, center;
    background-size: auto 120%, cover, cover;
    padding: 24px;
  }

  .cta-bar::before {
    width: 300px;
    height: 300px;
    right: 5%;
  }

  .cta-text h2 {
    font-size: 26px;
    line-height: 30px;
    display: flex;
    flex-direction: column;
  }

  .button-padding.secondary {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .cta-bar {
    background-position: right -60px bottom, center, center;
    background-size: auto 140%, cover, cover;
    padding: 20px;
  }

  .cta-content {
    gap: 1.5rem;
  }

  .cta-bar::before {
    width: 250px;
    height: 250px;
    right: 2%;
  }

  .cta-text h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .button-padding.secondary {
    padding: 8px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cta-bar {
    padding: 16px;
    background-position: right -70px bottom, center, center;
    background-size: auto 160%, cover, cover;
  }

  .cta-content {
    gap: 1rem;
  }

  .cta-text h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .cta-bar::before {
    width: 180px;
    height: 180px;
    right: 0%;
  }

  .button-padding.secondary {
    padding: 8px 16px;
    font-size: 13px;
  }
}
