/*
  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;
}

.index-cta-bar {
  position: relative;
  display: flex;
  padding: 40px;
  align-items: center;
  gap: var(--pos-gap-card-elements, 24px);
  justify-content: space-between;
  align-self: stretch;
  border-radius: 4px;
}

.index-cta-bar canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: 4px;
}

.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;
  z-index: 5;
}

.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 a {
  border: 1px solid var(--pos-color-button-primary-stroke-normal);
  z-index: 5;
}

/* 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;
  }
}
