/*
  general
  text
  image
  mobile
*/

/* general
============================================================================ */
.bg-textimg2 {
  position: relative;
  overflow-x: clip;
}

#bg-textimg2 {
  position: absolute;
  bottom: -65%;
  right: -40%;
  width: 80%;
  height: 1300px;
  object-fit: contain;
}

.index-textimg,
.index-textimg2 {
  display: flex;
  max-width: 1440px;
  align-items: center;
  align-self: stretch;
  margin: 0 auto;
  padding: var(--pos-gap-section-section, 240px) var(--pos-gap-page-content-x-margin, 40px) 0;
}

/* text
============================================================================ */

.text {
  display: flex;
  width: 812px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--pos-gap-section-elements, 40px);
  align-self: stretch;
}


.text-header .short-h1 {
  background: linear-gradient(270deg, var(--subheader-news-gradient-from, #2173c4) 88.34%, var(--subheader-news-gradient-to, #0f7b0a) 99.98%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-header h2 {
  align-self: stretch;
  color: var(--pos-color-prominent, #141414);
  font-size: var(--pos-headline-1, 3em);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-1-line-height, 48px);
}

.text p {
  align-self: stretch;
  color: var(--pos-color-normal, #374151);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 325;
  line-height: var(--pos-headline-4-line-height, 28px);
}

.text p a {
  color: var(--pos-color-prominent);
  font-size: var(--Headline-4, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Headline-4-line-height, 28px);
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.text nav {
  display: flex;
  align-items: center;
  gap: var(--pos-gap-n-button, 16px);
}

/* image
============================================================================ */

.index-textimg img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
}

/* responsive
============================================================================ */

@media (max-width: 1440px) {
  .bg-textimg {
    display: none;
  }
}

/* mobile
============================================================================ */

@media (max-width: 900px) {
  .index-textimg2 {
    flex-direction: column;
    gap: var(--pos-gap-section-elements, 40px);
    align-items: center;
  }

  #bg-textimg2 {
    display: none;
  }

  .text {
    width: 100%;
    align-items: center;
    gap: var(--pos-gap-section-elements, 40px);
  }

  .text-header h1 {
    font-size: var(--pos-headline-3, 1.25rem);
    line-height: var(--pos-headline-3-line-height, 24px);
  }

  .text-header h2 {
    font-size: var(--pos-headline-1, 1.75rem);
    line-height: var(--pos-headline-1-line-height, 28px);
  }

  .text p {
    font-size: var(--pos-headline-4, 1.125rem);
    line-height: var(--pos-headline-4-line-height, 20px);
  }

  .text button {
    text-wrap: nowrap;
  }
}
