@media (min-width: 992px) {
  .lg-integration-banner {
    height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.lg-integration-banner__flex {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    @media (min-width: 0px) and (max-width: 767.98px) {
        flex-direction: column;
        gap: 20px;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
        flex-direction: column;
    }
}

.lg-integration-banner__content {
    flex: 0 1 60%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 60%;
    @media (min-width: 0px) and (max-width: 991.98px) {
      max-width: 100%;
      flex: 0 1 100%;
    }
}


.lg-integration-banner__title {
    font-size: 54px;
    line-height: 62px;
    font-weight: 500;
    color: #070819;
    margin-bottom: 20px;
    text-wrap: pretty;
    @media (min-width: 0px) and (max-width: 767.98px) {
        font-size: 36px;
        line-height: 44px;
    }
}

.lg-integration-banner__title-suffix > span {
    color: #0027D6;

    sup {
        top: -20px;
        font-size: 34px;
        line-height: 42px;
        @media (min-width: 0px) and (max-width: 767.98px) {
            top: -12px;
            font-size: 26px;
            line-height: 32px;
        }
    }
}

.lg-integration-banner__title-highlight {
    color: #0027D6;

    sup {
        top: -18px;
        font-size: 35px;
        @media (min-width: 0px) and (max-width: 767.98px) {
            font-size: 26px;
            top: -10px;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
            top: -22px;
        }
    }
}


div .lg-integration-banner__description {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #070819;
    max-width: 700px;
    margin: 0px 0 48px 0;
    text-wrap: pretty;
    @media (min-width: 0px) and (max-width: 991.98px) {
      margin: 0px 0 24px 0;
    }
}
div .lg-integration-banner__description:last-child {
  margin: 0px;
}

.lg-integration-banner__media {
    flex: 0 1 40%;
    text-align: end;
    max-width: 40%;
    @media (min-width: 0px) and (max-width: 991.98px) {
      max-width: 100%;
      flex: 0 1 100%;
      text-align: left;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
        text-align: left;
    }
}

.lg-integration-banner__logo-card img {
    border-radius: 8px;
}

div .lg-integration-banner__cta--primary {  
  border-radius: 4px;
  padding: 8px 16px;
  border-width: 1px;
  border-style: solid;
  border-color: #0027D6 !important;
  color: #fff !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
  box-shadow: none; 
  background-color: #0027D6 !important;
  &:hover {
    @media (min-width: 1200px) {
      background-color: #08075f !important;
    color: #ffffff !important;
    border-color: #08075f !important;
    }    
  }  
}

div .lg-integration-banner__cta--secondary {
border-radius: 4px;
  padding: 8px 16px;
  border-width: 1px;
  border-style: solid;
  border-color: #0835FF !important;
  color: #0835FF !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
  box-shadow: none; 
  background-color: transparent !important;
  &:hover {
    @media (min-width: 1200px) {
      background-color: #F5F5FF !important;
    color: #08075F !important;
    border-color: #08075F !important;
    }    
  } 
}


.lg-integration-banner__logo {
    max-width: 100%;
    height: auto;
}

.lg-integration-banner__media--animation {
    text-align: left;
    overflow: hidden;
}

.lg-integration-banner__visual {
    --cta-icon-size: 80px;
    --cta-icon-gap: 24px;
    --cta-duration: 15s;
    width: 100%;
}

.lg-integration-banner__figure,
.lg-integration-banner__video {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
    display: inline-block;
}

.lg-integration-banner .lg-video-showcase__play-btn {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    display: flex;
    width: 97px;
    height: 97px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background-color: rgba(222, 227, 255, 0.9);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.lg-integration-banner .lg-video-showcase__play-btn::before {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #0027d6;
    content: "";
}

.lg-integration-banner .lg-video-showcase__play-btn svg {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    fill: #fff;
    transform: translateX(2px);
}

.lg-integration-banner .lg-video-showcase__play-btn.is-hidden {
    display: none;
}

/* Keep the poster in its original box while the video plays over it. */
.lg-integration-banner .lg-video-showcase__placeholder-img.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.lg-integration-banner .lg-video-showcase__inline-video,
.lg-integration-banner .lg-video-showcase__inline-iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 8px;
    object-fit: contain;
    object-position: center center;
}

/* A smaller video stays centered in the poster. Chrome otherwise pins it to the top. */
.lg-integration-banner .lg-video-showcase__media.is-chrome-controls {
    overflow: hidden;
}

.lg-integration-banner .lg-video-showcase__media.is-chrome-controls .lg-video-showcase__inline-video {
    object-fit: contain;
    object-position: center center;
    overflow: hidden;
}

.lg-integration-banner .lg-video-showcase__media.is-chrome-controls .lg-video-showcase__inline-video::-webkit-media-controls-enclosure {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    background: transparent;
    transition: opacity 0.28s ease;
}

/* Resting pointer: hide the whole controls layer, black bar included.
   Fullscreen keeps Chrome's own show and hide. */
.lg-integration-banner .lg-video-showcase__media.is-chrome-controls:not(.is-controls-awake) .lg-video-showcase__inline-video:not(:fullscreen):not(:-webkit-full-screen)::-webkit-media-controls-enclosure {
    opacity: 0 !important;
}

/* Chrome control bar: full width, flush to the bottom, no top line.
   Hidden until the pointer moves. It fades back out with the buttons
   once the pointer rests — hover alone must not leave the black bar up. */
.lg-integration-banner .lg-video-showcase__media.is-chrome-controls .lg-video-showcase__inline-video::-webkit-media-controls-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    opacity: 0 !important;
    transform: none;
    transition: opacity 0.28s ease;
}

.lg-integration-banner .lg-video-showcase__media.is-chrome-controls.is-controls-awake .lg-video-showcase__inline-video::-webkit-media-controls-panel {
    opacity: 1 !important;
    transform: none;
}

.lg-integration-banner .lg-video-showcase__media.is-chrome-controls .lg-video-showcase__inline-video:fullscreen::-webkit-media-controls-panel,
.lg-integration-banner .lg-video-showcase__media.is-chrome-controls .lg-video-showcase__inline-video:-webkit-full-screen::-webkit-media-controls-panel {
    opacity: 1 !important;
    transform: none;
}

/* Finished video must not change the poster box. */
.lg-integration-banner .lg-video-showcase__media.is-ended .lg-video-showcase__inline-video,
.lg-integration-banner .lg-video-showcase__media.is-ended .lg-video-showcase__inline-iframe {
    width: 0;
    height: 0;
    visibility: hidden;
    pointer-events: none;
}

.lg-integration-banner .lg-video-showcase__inline-video:fullscreen,
.lg-integration-banner .lg-video-showcase__inline-video:-webkit-full-screen {
    border-radius: 0;
}

/* integration-stats */

.lg-integration-stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 42px 0;
    @media (min-width: 0px) and (max-width: 991.98px) {
        padding: 20px 0;
        flex-direction: column;
    }
}

.lg-integration-stats__item {
    max-width: 100%;
    margin-right: 100px;
    padding-right: 100px;
    text-align: center;
    border-right: 1px solid transparent;
    border-image-source: linear-gradient(180deg, #D4D9FF 0%, #5A5C76 50%, #D4D9FF 100%);
    border-image-slice: 1;
    @media (min-width: 0px) and (max-width: 991.98px) {
        padding: 0 0 20px 0;
        margin: 0 0 20px 0;
        width: 90%;
        border-right: 0;
        border-bottom: 1px solid transparent;
        border-image: linear-gradient(90deg, #D4D9FF 0%, #5A5C76 50%, #D4D9FF 100%) 1;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
        margin-right: 20px;
        padding-right: 20px;
    }
}

.lg-integration-stats__item:last-child {
    margin-right: 0;
    border-right: none;
    padding-right: 0;

    @media (min-width: 0px) and (max-width: 991.98px) {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

.lg-integration-stats__item:first-child {
    @media (min-width: 0px) and (max-width: 991.98px) {
        margin-right: 0;
        padding-right: 0;
    }
}

.lg-integration-stats__label {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    color: #070819;
    margin-bottom: 4px;
}

.lg-integration-stats__value {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #0027D6;
    font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
}

@media (min-width: 992px) {
    .lg-integration-banner {
      height: 530px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  .lg-integration-banner__flex {
      display: flex;
      gap: 40px;
      justify-content: space-between;
      @media (min-width: 0px) and (max-width: 767.98px) {
          flex-direction: column;
          gap: 20px;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
          flex-direction: column;
      }
  }
  
  .lg-integration-banner__content {
      flex: 0 1 60%;
      justify-content: center;
      display: flex;
      flex-direction: column;
      max-width: 60%;
      @media (min-width: 0px) and (max-width: 991.98px) {
        max-width: 100%;
        flex: 0 1 100%;
      }
  }
  
  
  .lg-integration-banner__title {
      font-size: 54px;
      line-height: 62px;
      font-weight: 500;
      color: #070819;
      margin-bottom: 20px;
      @media (min-width: 0px) and (max-width: 767.98px) {
          font-size: 36px;
          line-height: 44px;
      }
  }
  
  .lg-integration-banner__title-highlight {
      color: #0027D6;
  
      sup {
          top: -18px;
          font-size: 35px;
          @media (min-width: 0px) and (max-width: 767.98px) {
              font-size: 26px;
              top: -10px;
          }
          @media (min-width: 768px) and (max-width: 991.98px) {
              top: -22px;
          }
      }
  }
  
  
  div .lg-integration-banner__description {
      font-size: 20px;
      line-height: 28px;
      font-weight: 400;
      color: #070819;
      max-width: 700px;
      margin: 0px 0 48px 0;
      @media (min-width: 0px) and (max-width: 991.98px) {
        margin: 0px 0 24px 0;
      }
  }
  div .lg-integration-banner__description:last-child {
    margin: 0px;
  }
  
  .lg-integration-banner__media {
      flex: 0 1 40%;
      text-align: end;
      max-width: 40%;
      @media (min-width: 0px) and (max-width: 991.98px) {
        max-width: 100%;
        flex: 0 1 100%;
        text-align: left;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
          text-align: left;
      }
  }
  
  div .lg-integration-banner__cta {  
    border-radius: 4px;
    padding: 8px 16px;
    border-width: 1px;
    border-style: solid;
    border-color: #0027D6;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    box-shadow: none; 
    background-color: #0027D6;
    &:hover {
      @media (min-width: 1200px) {
        background-color: #08075f;
      color: #ffffff;
      border-color: #08075f;
      }    
    }  
  }
  .lg-integration-banner__logo {
      max-width: 100%;
      height: auto;
  }
  
  /* integration-stats */
  
  .lg-integration-stats__grid {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 42px 0;
      @media (min-width: 0px) and (max-width: 991.98px) {
          padding: 20px 0;
          flex-direction: column;
      }
  }
  
  .lg-integration-stats__item {
      max-width: 100%;
      margin-right: 100px;
      padding-right: 100px;
      text-align: center;
      border-right: 1px solid transparent;
      border-image-source: linear-gradient(180deg, #D4D9FF 0%, #5A5C76 50%, #D4D9FF 100%);
      border-image-slice: 1;
      @media (min-width: 0px) and (max-width: 991.98px) {
          padding: 0 0 20px 0;
          margin: 0 0 20px 0;
          width: 90%;
          border-right: 0;
          border-bottom: 1px solid transparent;
          border-image: linear-gradient(90deg, #D4D9FF 0%, #5A5C76 50%, #D4D9FF 100%) 1;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
          margin-right: 20px;
          padding-right: 20px;
      }
  }
  
  .lg-integration-stats__item:last-child {
      margin-right: 0;
      border-right: none;
      padding-right: 0;
  
      @media (min-width: 0px) and (max-width: 991.98px) {
          border-bottom: none;
          margin-bottom: 0;
          padding-bottom: 0;
      }
  }
  
  .lg-integration-stats__label {
      font-size: 18px;
      line-height: 26px;
      font-weight: 500;
      color: #070819;
      margin-bottom: 4px;
  }
  
  .lg-integration-stats__value {
      font-size: 24px;
      line-height: 32px;
      font-weight: 600;
      color: #0027D6;
      font-family: var(--wp--preset--font-family--archivo, "Archivo", sans-serif);
  }

  .lg-integration-banner__actions {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    align-items: center;
    gap: 12px;
}

  /* ==========================================================================
     Mobile image lightbox (zoom)
     ========================================================================== */


/* Mobile image lightbox (zoom) */

@media (max-width: 991.98px) {
  .lg-integration-banner--image-popup .lg-integration-banner__media img.js-lg-lightbox,
  .js-lg-lightbox {
    cursor: zoom-in;
  }
}

.lg-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
}

.lg-lightbox.is-open {
  display: flex;
}

.lg-lightbox__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.lg-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 10px 5px;
  box-sizing: border-box;
  cursor: zoom-in;
}

.lg-lightbox__img.is-zoomed {
  max-width: none;
  max-height: none;
  transform: scale(1.25);
  transform-origin: center center;
  cursor: zoom-out;
}

/* Keep the zoom centered */
.lg-lightbox__stage:has(.is-zoomed) {
  align-items: center;
  justify-content: center;
}

.lg-lightbox__close {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100001;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
}

.lg-lightbox.is-open .lg-lightbox__close {
  display: flex;
}


@media (min-width: 992px) and (max-width: 1199.98px) {
  .platform-banner-section {
    height: 560px;
  }
}