/*
  general
  responsive
*/

/* general
============================================================================ */

.bg-cta-bar {
  display: flex;
  max-width: 1440px;
  padding: var(--pos-gap-section-section, 240px) var(--pos-gap-page-content-x-margin, 40px) 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-section-elements, 40px);
  align-self: stretch;
  margin: 0 auto;
  background-color: var(--pos-color-page-background);

}

.index-cta-bar {
  display: flex;
  padding: 40px;
  align-items: center;
  gap: var(--pos-gap-card-elements, 24px);
  justify-content: space-between;
  align-self: stretch;
  border-radius: 4px;
  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%;
}

.index-cta-bar header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--pos-gap-tag-v, 8px);
  flex: 1 0 0;
}

.index-cta-bar header h1 {
  align-self: stretch;
  color: var(--pos-color-inverted, #fff);
  font-size: var(--pos-headline-2, 1.875rem);
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.index-cta-bar header h2 {
  align-self: stretch;
  color: var(--pos-color-inverted, #fff);
  font-size: var(--pos-headline-4, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--pos-headline-4-line-height, 28px);
}

.index-cta-bar .button {
  border: 1px solid var(--pos-color-button-primary-stroke-normal);
}

/* responsive
============================================================================ */

@media (max-width: 1024px) {
  .index-cta-bar {
    padding: 40px;
    flex-direction: column;
    gap: 24px;
  }

  .index-cta-bar header {
    align-items: center;
    gap: var(--pos-gap-tag-v, 8px);
  }

  .index-cta-bar header h1 {
    font-size: 2rem;
    line-height: 40px;
  }

  .index-cta-bar header h2 {
    font-size: 1.25rem;
    line-height: 24px;
  }
}
