/*
  general
  top
  bottom
  responsive
  mobile
*/

/* general
============================================================================ */

.bg-complex-box {
  background-color: var(--pos-color-page-background, #f7f8fa);
}

.index-complex-box {
  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-complex-box.first-box {
  padding-top: 50px;
}

/* top
============================================================================ */

.index-complex-box .complex-box-top {
  display: flex;
  padding: var(--pos-gap-section-title-content, 80px) var(--pos-gap-section-title-content, 80px) 0px;
  align-items: flex-start;
  gap: var(--pos-gap-section-elements, 40px);
  flex-shrink: 0;

  border-radius: 4px;
  background: var(--pos-color-complex-box-gradient);
  border: 1px solid var(--pos-color-complex-box-top-border);
}

.index-complex-box .complex-box-top-success-story {
  align-items: center;
}

.index-complex-box .complex-box-content {
  display: flex;
  max-width: 580px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.index-complex-box .complex-box-content-success-story {
  padding-bottom: 30px;
}

.complex-box-margin-auto {
  margin: auto 0;
}

.complex-box-content-padding {
  padding: var(--pos-gap-text-content);
}

.complex-box-content header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.complex-box-content header h1 {
  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) 77.54%, var(--subheader-news-gradient-to, #0f7b0a) 99.96%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.complex-box-content header .short-h1 {
  background: linear-gradient(270deg, var(--subheader-news-gradient-from, #2173c4) 58.97%, var(--subheader-news-gradient-to, #0f7b0a) 99.96%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.complex-box-content header h2 {
  align-self: stretch;

  font-size: var(--pos-headline-1, 3rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-1-line-height, 48px);

  color: var(--pos-color-prominent, #141414);
}

.complex-box-content header .small-header {
  align-self: stretch;

  font-size: var(--pos-headline-2, 1.875rem);
  font-style: normal;
  font-weight: 700;
  line-height: 32px;

  color: var(--pos-color-prominent, #141414);
}

.complex-box-content p {
  align-self: stretch;

  color: var(--pos-color-normal, #374151);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 400;
  line-height: var(--pos-headline-4-line-height, 28px);
}

.complex-box-paragraph-success-story {
  color: var(--pos-color-prominent, #141414) !important;
}

.complex-box-content p b {
  font-weight: 700;
  color: var(--pos-color-prominent, #141414);
  font-size: var(--pos-headline-3, 1.25rem);
}

.complex-box-content nav {
  display: flex;
  align-items: center;
  gap: var(--pos-gap-n-button, 16px);
}

.complex-box-video {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  margin: 50px 50px 0px auto;
}

#main-video {
  margin: 0;
}

.complex-box-video-success-story {
  margin-top: -100px;
}

.complex-box-video iframe {
  z-index: 3;
}

.complex-box-video video {
  z-index: 3;
}

.complex-box-video .main-image {
  z-index: 3;
  scale: 1.1;
}

.complex-box-bg1 {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.complex-box-bg2 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* bottom
============================================================================ */

.index-complex-box .complex-box-bottom {
  display: flex;
  gap: var(--pos-gap-card-card);
  align-items: stretch;
}

.complex-box-bottom-success-story {
  width: 100%;
}

.complex-box-card {
  width: 100%;
  padding: var(--pos-gap-s-button);
  display: flex;
  justify-content: center;
  border-radius: 3px;
  position: relative;
  gap: var(--pos-gap-text-content, 16px);
}

.complex-box-card-success-story {
  display: flex;
  padding: var(--pos-padding-cards-boxes, 40px);
  align-items: center;
  gap: var(--pos-padding-cards-boxes, 40px);
  flex: 1 0 0;
  align-self: stretch;

  border-radius: var(--pos-corner-panel, 4px);
  background: var(--pos-color-highlighted-background, #EFF2F6);

  box-shadow: 0px 4px 6px 0px rgba(40, 51, 65, 0.10);
}

.gradient-border {
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(var(--pos-color-page-background)) padding-box,
    linear-gradient(to bottom right, var(--card-border-gradient-from), var(--card-border-gradient-to)) border-box;
}


.complex-box-card .list-icon {
  display: flex;
  margin-top: 10px;
  margin-left: 10px;
  width: 48px;
  height: 48px;
  padding: 0.625px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: var(--pos-color-panel-background, #fff);
  border-radius: var(--pos-corner-panel, 4px);
}

.list-icon-success-story {
  margin-top: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  background: none !important;
  width: 32px !important;
  height: 32px !important;
}

.complex-box-card div {
  display: flex;
  padding-top: 12px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
}

.complex-box-card div h3 {
  align-self: stretch;
  color: var(--pos-color-prominent, #141414);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-4-line-height, 28px);
}

.complex-box-card div p {
  align-self: stretch;
  color: var(--pos-color-normal, #374151);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

/* icon color */
.promo-card-container svg path:not(:first-child) {
  stroke: var(--pos-color-graphic);
}

/* icon background color */
.promo-card-container svg path:first-child {
  fill: var(--pos-color-panel-background);
}


/* responsive
============================================================================ */

@media (max-width: 1440px) {
  .index-complex-box.first-box {
    padding-top: 50px;
  }

  .index-complex-box header h2 {
    font-size: 3.5rem;
    line-height: 64px;
  }
}

@media (max-width: 1440px) {
  .index-complex-box header h1 {
    font-size: var(--pos-headline-3, 1.25rem);
    line-height: 24px;
  }

  .index-complex-box header h2 {
    font-size: 3rem;
    line-height: 56px;
  }

  .index-complex-box p {
    font-size: 1.125rem;
    line-height: 24px;
  }

  .index-complex-box .complex-box-bottom {
    flex-direction: column;
    width: 100%;
  }

  .complex-box-video {
    order: 2;
    margin: 30px 0px;

  }
}

@media (max-width: 1100px) {
  .index-complex-box.first-box {
    padding-top: 50px;
  }

  .index-complex-box .complex-box-top {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: var(--pos-padding-cards-boxes);
  }
}

/* mobile
============================================================================ */

@media (max-width: 768px) {
  .index-complex-box {
    padding: var(--pos-gap-section-section) var(--pos-gap-page-content-x-margin, 24px) var(--pos-gap-n-button, 16px) var(--pos-gap-page-content-x-margin, 24px);
    height: auto;
  }

  .complex-box-image {
    padding-right: 30px;
  }


  .index-complex-box .complex-box-top {
    padding: var(--pos-padding-table-cells);
  }

  .index-complex-box.first-box {
    padding-top: 30px;
  }

  .index-complex-box header h1 {
    font-size: 1.25rem;
    line-height: 24px;
  }

  .index-complex-box header h2 {
    font-size: 2rem;
    line-height: 40px;
  }

  .index-complex-box p {
    font-size: 1.125rem;
    line-height: 20px;
  }

  .index-complex-box .complex-box-top {
    width: 100%;
    height: auto;
  }

  .complex-box-video iframe {
    width: 100%;
    height: auto;
    min-height: 200px;
  }

  .complex-box-video video {
    width: 100%;
    height: auto;
    min-height: 200px;
  }
}

.font-change {
  font-size: var(--pos-headline-4)
}

@media (max-width: 500px) {
  .index-complex-box .complex-box-top {
    overflow: hidden;
  }
}