/* Styles embedded in the Webflow New project template. */

/** 
******************************************************
NEW TEMPLATE
******************************************************
**/

/* list  */
[data-block='rich-main-new'] > ul > li a {
  color: #3827c7;
  background-image: url(https://cdn.prod.website-files.com/63f38a8c92397a024fcb9ae8/6a845c698f0514c6b71a23b3_icon-arrow-blue-link.svg);
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: 1.5rem;
  padding-right: 1.5rem;
  display: inline-block;
}
[data-block='rich-main-new'] > ul > li:last-child {
  margin-bottom: 0rem;
  padding-bottom: 0rem;
  border: 0rem;
}

[data-block='rich-main-new'] > p + p {
  margin-top: 2rem;
}

  /* gaps */
[data-block='rich-main-new'] [data-dropdown-group] + figure,
[data-block='rich-main-new'] [data-dropdown-group] + .w-embed,
[data-block='rich-main-new'] > p + .w-embed,
[data-block='rich-main-new'] > p + [fs-richtext-component='review'] {
  margin-top: 6rem;
}

[data-block='rich-main-new'] .w-embed.w-iframe,
[data-block='rich-main-new'] .w-embed.w-video,
[data-block='rich-main-new'] .w-embed {
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  pointer-events: none;
}

[data-block='rich-main-new'] [fs-richtext-component='review'] figcaption strong br {
  display: none;
}

[data-block='rich-main-new'] figure > div {
  display: block !important;
}
[data-block='rich-main-new'] > figure + figure,
[data-block='rich-main-new'] > figure.w-richtext-align-fullwidth {
  margin-right: 0rem;
}

/* Full-width figures must span the container, as they do on the live Webflow page.
   Webflow renders their inline max-width with a doubled unit (`max-width:1312pxpx`),
   so the cap is invalid there and never applies. The CMS export carries the valid
   value, which would otherwise shrink the figure and — with margin-right pinned to
   0rem above and margin-left staying auto — push it to the right of the container. */
[data-block='rich-main-new'] figure.w-richtext-align-fullwidth,
[fs-richtext-component] figure.w-richtext-align-fullwidth {
  max-width: 100% !important;
}

[fs-richtext-component] .dropdown:first-child .dropdown-toggle {
  border: unset;
}

[fs-richtext-component^='dropdowns-'] figure + figure {
  margin-top: 0.5rem;
}
[data-block='rich-main-new'] > .project-new__numbers.is--component:first-child {
  margin-top: 0rem;
}
.w-richtext figure.w-richtext-align-floatleft {
  margin-bottom: 1rem !important;
  margin-right: 2rem !important;
}
[data-block='rich-main-new'] p:has(+ h2) {
  margin-bottom: 0;
}

/* project-new__rich-numbers css  */
.project-new__rich-numbers ul {
  grid-column-gap: 2rem !important;
  grid-row-gap: 2rem !important;
  flex-flow: initial !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0rem !important;
  margin-right: 0rem !important;
}
.project-new__rich-numbers ul li {
  background-image: none !important;
  margin-bottom: 0;
  padding-left: 2rem;
  font-size: inherit !important;
}

/*  project-new__rich-dropdown */
.project-new__rich-dropdown ul,
.project-new__rich-approach ul {
  width: auto !important;
  max-width: none !important;
  margin-left: 0rem !important;
  margin-right: 0rem !important;
}
.project-new__rich-approach ul li {
  background-image: none !important;
}

/* numbers cards with icons */
[data-rich-icon-numbers] figure {
  display: none !important;
}
.data-numbers__wrap strong {
  padding: 0rem !important;
  border: none !important;
  margin: 0 !important;
}
/** 
******************************************************
Responsive
******************************************************
**/
@media screen and (min-width: 992px) {
  [data-block='rich-main-new'] > figure:not(.w-richtext-align-fullwidth) + figure,
  [data-block='rich-main-new'] > figure:not(.w-richtext-align-fullwidth) + .w-iframe {
    width: auto;
    flex: 1;
  }
  [data-block='rich-main-new']:first-of-type > p:first-of-type + figure {
    margin-top: 3rem;
  }
  [data-block='rich-main-new'] > .project-new__numbers.is--component:first-child {
    margin-top: 1rem;
    margin-bottom: 6rem;
  }

  .collection__item.mod--project-new-about:has(a:hover) [data-button-text] {
    color: #ffffff;
  }
  .collection__item.mod--project-new-about:has(a:hover)  {
    background-color: #02021e;
  }
}

@media screen and (max-width: 991px) {
  [data-block='rich-main-new'] > p + p {
    margin-top: 1.5rem;
  }

  [data-block='rich-main-new'] [data-dropdown-group] + figure,
  [data-block='rich-main-new'] [data-dropdown-group] + .w-embed,
  [data-block='rich-main-new'] > p + .w-embed,
  [data-block='rich-main-new'] > p + [fs-richtext-component='review'] {
    margin-top: 3rem;
  }

  [data-block='rich-main-new'] > figure + figure,
  [data-block='rich-main-new'] > figure + .w-iframe {
    margin-top: 0.5rem;
  }

  .project-new__rich-numbers ul {
    grid-column-gap: 1rem !important;
    grid-row-gap: 1rem !important;
  }

  .project-new__rich-numbers ul li {
    min-height: 14rem !important;
    padding: 1.5rem !important;
  }

  .project-new__rich-dropdown ul {
    grid-column-gap: 0.25rem;
    grid-row-gap: 0.25rem;
  }
  .project-new__rich-approach ul {
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
  }

  .project-new__rich-dropdown ul li {
    padding-left: 2.5rem !important;
    font-size: 1rem !important;
  }
  .project-new__rich-approach ul li {
    padding-left: 0.75rem !important;
    font-size: 1rem !important;
  }
}

@media screen and (max-width: 479px) {
  [data-block='rich-main-new'] > ul > li a {
  background-size: 1.25rem;
  padding-right: 1.25rem;
}
  
  .project-new__rich-numbers ul {
    grid-column-gap: 0.5rem !important;
    grid-row-gap: 0.5rem !important;
  }

  .project-new__rich-numbers ul li {
    min-height: 10.5rem !important;
  }

  .project-new__rich-dropdown ul li {
    padding-left: 1.8rem !important;
    font-size: 0.75rem !important;
  }
  .project-new__rich-approach ul li {
    padding-left: 0.4rem !important;
    font-size: 0.75rem !important;
  }
}

/* Video loader spinner, embedded in the hero media block. */

[data-spinner-circle='true'] {
    transform-origin: 50% 50%;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    stroke-width: 2px;

    animation:
      spinner-rotate 2s linear 0.25s infinite,
      spinner-dash 1.5s ease-in-out 0.25s infinite;
  }

  [data-spinner-trace='true'] {
    stroke-opacity: 0.2;
    stroke-width: 2px;
  }

  @keyframes spinner-rotate {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes spinner-dash {
    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0;
    }

    50% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -35px;
    }

    100% {
      stroke-dasharray: 89, 200;
      stroke-dashoffset: -135px;
    }
  }
