/*
  general
  text
  header
  buttons
  steps
  responsive
  mobile
*/

/* general
============================================================================ */
.pos-theme-dark .bg-textsteps2 {
  background: var(--pos-color-panel-background, #fff);
  padding-bottom: var(--pos-gap-section-section);
}

.index-textsteps {
  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: start;
  gap: var(--pos-gap-section-title-content, 80px);
  margin: 0 auto;
  overflow: hidden;
}

/* text
============================================================================ */

.textsteps-text {
  display: flex;
  max-width: 1440px;
  align-items: center;
  gap: var(--pos-gap-section-elements, 40px);
  align-self: stretch;
}

/* header
============================================================================ */

.text-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--pos-gap-section-elements, 40px);
  flex: 1 0 0;
  align-self: stretch;
}

.textsteps-header {
  display: flex;
  width: 881px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-tag-v, 8px);
}

.textsteps-header h1 {
  align-self: stretch;
  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(--subheader-news-gradient-from, #2173c4) 89.48%, var(--subheader-news-gradient-to, #0f7b0a) 99.96%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.textsteps-header h2 {
  align-self: stretch;
  color: var(--pos-color-prominent);
  font-size: var(--pos-headline-1, 3rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-1-line-height, 48px);
}

.text-head p {
  align-self: stretch;
  color: var(--pos-color-normal, #374151);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-4-line-height, 28px);
}

.text-head p a {
  color: var(--General-elements-Prominent---text, #141414);
  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;
}

/* buttons
============================================================================ */

.textstep-buttons {
  display: flex;
  width: 209px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: var(--pos-gap-n-button, 16px);
  align-self: stretch;
}

.textstep-buttons nav {
  display: flex;
  align-items: center;
  gap: var(--pos-gap-n-button, 16px);
}

.textstep-buttons button {
  text-wrap: nowrap;
  height: 44px;
}

.textstep-buttons nav .icon {
  display: flex;
  width: 46px;
  height: 46px;
  padding: var(--pos-gap-tag-h, 12px);
  justify-content: center;
  align-items: center;
  gap: var(--Space-space-0, 0px);
  border-radius: var(--pos-corner-button, 4px);
  border: 1px solid var(--pos-color-button-primary-stroke-normal, #141414);
  background: var(--pos-color-button-primary-fill-normal, #141414);
}

.pos-theme-dark .textstep-buttons nav .icon {
  border: 1px solid #9da3ad;
  background: none;
}

.textstep-buttons nav .white-icon {
  display: flex;
  width: 46px;
  height: 46px;
  padding: var(--pos-gap-tag-h, 12px);
  justify-content: center;
  align-items: center;
  gap: var(--Space-space-0, 0px);
  border-radius: var(--pos-corner-button, 4px);
  border: 1px solid var(--pos-color-button-secondary-stroke-normal, #141414);
  background: var(--pos-color-button-secondary-fill-normal-transparent, #fff0);
}

/* steps
============================================================================ */

.textsteps-steps {
  position: relative;
  display: flex;
  width: 1727px;
  height: 266px;
  align-items: flex-start;
  gap: var(--pos-gap-tag-v0, 80px);
  flex-shrink: 0;
  left: -25%;
}

.textsteps-steps::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--pos-color-divider-lines, #e2e8f0);
  z-index: 0;
}

#textsteps-steps2::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 0;
  width: 166%;
  height: 2px;
  background: var(--pos-color-divider-lines, #e2e8f0);
  z-index: 0;
}



.textsteps-steps .step {
  display: flex;
  width: 272px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-step-step, 32px);
  flex-shrink: 0;
}

.textsteps-steps .step .icon {
  display: flex;
  width: 80px;
  height: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 0;
  background-color: var(--pos-color-page-background);

  border-radius: var(--pos-corner-panel, 4px);
}

.textsteps-steps .step-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pos-gap-n-button, 16px);
  align-self: stretch;
}

.textsteps-steps .step-content .wrap-text {
  text-wrap: wrap;
}

.textsteps-steps .step-content h3 {
  color: var(--pos-color-prominent);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-4-line-height, 28px);
  text-wrap: nowrap;
  align-self: stretch;
}

.textsteps-steps .step-content h3 span {
  color: var(--pos-color-supplementary);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 400;
  line-height: var(--pos-headline-4-line-height, 28px);
  padding-right: 6px;
}

.textsteps-steps .step-content p {
  color: var(--pos-color-normal);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.step .icon {
  background: #fff;
  transition: background 0.3s ease;
}

.pos-theme-dark .step .icon {
  background: #141414;
}

.step .icon.active {
  background: linear-gradient(312.05deg, #2173C4 -5.71%, #0F7B0A 100%);
}

.step .icon.active svg path {
  stroke: #fff;
}



/* responsive
============================================================================ */

@media (min-width: 1920px) {
  .textsteps-steps {
    left: -10%;
  }
}

@media (min-width: 1800px) {
  .index-textsteps {
    overflow: visible;
  }

  .textsteps-steps .step {
    position: relative;
  }

  #textsteps-steps2 {
    overflow: hidden;
  }
}

@media (max-width: 1800px) {
  .textsteps-text {
    padding-left: 2rem;
  }

  .textsteps-steps {
    left: 0;
  }
}

@media (max-width: 1440px) {
  .textsteps-header {
    width: 100%;
  }

  .textsteps-header h1 {
    font-size: var(--pos-headline-3, 1.25rem);
    line-height: var(--pos-headline-3-line-height, 24px);
  }

  .textsteps-header h2 {
    font-size: var(--pos-headline-1, 2.5rem);
    line-height: var(--pos-headline-1-line-height, 40px);
  }
}

/* mobile
============================================================================ */

@media (max-width: 900px) {
  .textsteps-text {
    flex-direction: column;
    gap: var(--pos-gap-section-elements, 32px);
    padding: 0;
  }

  .textsteps-header h1 {
    font-size: var(--pos-headline-1, 1.25rem);
    line-height: var(--pos-headline-1-line-height, 28px);
  }

  .textsteps-header h2 {
    font-size: var(--pos-headline-1, 1.75rem);
    line-height: var(--pos-headline-1-line-height, 28px);
  }

  .textstep-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100%;
  }

  .textstep-buttons nav {
    gap: 8px;
  }

  .textstep-buttons button {
    width: 209px;
    height: 44px;
    text-wrap: nowrap;
  }
}