/*
  general
  header
  cards
  mobile
*/

/* general
============================================================================ */
#tree-background {
    position: absolute;
    top: 90%;
    left: 50%;
    width: 150%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;}


#textcards {
  overflow: visible;
}
.index-textcards {
  display: flex;
  max-width: 1440px;
  padding: var(--pos-gap-section-section) var(--pos-gap-page-content-x-margin, 40px) 0;
  flex-direction: column;
  align-items: start;
  gap: var(--pos-gap-section-title-content, 40px);
  margin: 0 auto;
}

/* header
============================================================================ */

.textcards-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--pos-gap-section-elements, 40px);
  flex: 1 0 0;
  align-self: stretch;
  text-align: center;
}

.textcards-header div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pos-gap-tag-v, 8px);
  align-self: stretch;
}

.textcards-header div h1 {
  text-align: center;
  font-size: var(--pos-headline-3, 1.5rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-3-line-height, 32px);
  background: linear-gradient(270deg, var(--subtitle-gradient-from, #2173c4) 0%, var(--subtitle-gradient-to, #0f7b0a) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.textcards-header div h2 {
  align-self: stretch;
  color: var(--pos-color-prominent, #141414);
  text-align: center;
  font-size: var(--pos-headline-1, 3rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-1-line-height, 48px);
}

.textcards-header p {
  align-self: stretch;
  color: var(--pos-color-normal, #374151);
  text-align: center;
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 400;
  line-height: var(--pos-headline-4-line-height, 28px);
}

/* cards
============================================================================ */

.textcards-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pos-gap-card-card, 40px);
}

.textcards-mid {
  align-self: stretch;
}

.textcards-mid img,
.textcards-mid video {
  object-fit: cover;
  height: 100%;
  border-radius: var(--pos-corner-panel, 4px);
}

.textcards-left,
.textcards-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-card-card, 40px);
  align-self: stretch;
}

.textcards-card {
  color: var(--pos-color-prominent);
  display: flex;
  flex: 1 0 0;
  padding: var(--pos-padding-cards-boxes, 40px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-text-content, 16px);
  align-self: stretch;
  border-radius: var(--pos-corner-panel, 4px);
  border: 1px solid transparent;
  background: linear-gradient(140.55deg, rgba(255, 255, 255, 0.8) 1.6%, rgba(247, 248, 250, 0.8) 98.37%) padding-box, linear-gradient(to bottom right, #ecf1f6, #f7f8fa) border-box;
  z-index: 5;
}

.textcards-card h3 {
  align-self: stretch;
  color: var(--pos-color-prominent, #141414);
  font-size: var(--pos-headline-2, 1.875rem);
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.textcards-card p {
  align-self: stretch;
  color: var(--pos-color-normal, #374151);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.textcards-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--pos-gap-section-elements, 40px);
  margin: 0 auto;
}

.textcards-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pos-gap-n-button, 16px);
}

.terms-of-service-aligner{
  text-align: start !important;
}

/* mobile
============================================================================ */

@media (max-width: 900px) {
  .textcards-header div h1 {
    font-size: 1.25rem;
    line-height: 24px;
    text-align: start;
  }

  .textcards-header div h2 {
    font-size: 1.75rem;
    line-height: 28px;
    text-align: start;
  }

  .textcards-header p {
    font-size: 1.125rem;
    line-height: 20px;
    text-align: start;
  }

  .textcards-cards {
    grid-template-columns: 1fr;
    /* Single column on mobile */
    grid-template-areas:
      "mid"
      "left"
      "right";
  }

  .textcards-mid {
    grid-area: mid;
    z-index: 1;

  }

  .textcards-left {
    grid-area: left;
  }

  .textcards-right {
    grid-area: right;
  }

  .textcards-mid img,
  .textcards-mid video {
    width: 100%;
  }

  .textcards-card h3 {
    font-size: 1.5rem;
    line-height: 32px;
  }

  .textcards-card p {
    font-size: 1rem;
    line-height: 20px;
  }

  .textcards-footer nav {
    flex-direction: column;
    gap: var(--pos-gap-n-button, 16px);
  }
}
