/* usp: section-owned desktop and responsive styles. */
/* Depends on ../../assets/css/base.css for tokens and grid utilities. */

.ln-middle-sections {
  width: 100%;
  margin-top: -730px;
}

.ln-usp {
  position: absolute;
  z-index: 4;
  top: 1567px;
  left: 0;
  width: 100%;
  height: 1084px;
  padding: 0;
  overflow: hidden;

}

.middle-three-section-page .ln-usp {
  position: relative;
  top: auto;
  left: auto;
}

.ln-usp__visual {
  position: absolute;
  inset: 0;
}

.ln-usp__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  background-color: var(--ln-color-navy);
  object-fit: cover;
  pointer-events: none;

}

.ln-usp__statement {
  position: absolute;
  top: 21.2177%;
  left: 8.4656%;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 40.6085%;
  height: auto;
  min-height: 180px;
  padding: clamp(20px, 2vw, 30px);
  color: #f8feb3;
  background: rgb(0 34 55 / 60%);
  border-radius: 6px;
  backdrop-filter: blur(3px);
}

.ln-usp__statement-inner {
  width: 100%;
  min-width: 0;
}

.ln-usp__statement p {
  margin: 0;
  font-size: clamp(20px, 1.56vw, 30px);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.ln-usp__statement-title {
  font-weight: 700 !important;
}

.ln-usp__statement-text {
  margin-top: 24px !important;
}

@media (min-width: 64.001rem) and (max-width: 87.5rem) {
  .ln-usp__statement {
    width: min(44%, 560px);
    min-height: 0;
    padding: clamp(20px, 2vw, 26px);
  }

  .ln-usp__statement p {
    font-size: clamp(20px, 2vw, 26px);
  }

  .ln-usp__statement-text {
    margin-top: 18px !important;
  }
}

.ln-usp__panel {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 33.333333%;
  padding: 80px 40px;
  margin: 0;
  color: var(--ln-color-navy);
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(12px);

}

.ln-usp__panel p {
  width: 100%;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;

}

.ln-usp__panel-link {
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.ln-usp__panel--sales {
  bottom: 0;
  left: 0;
  height: 854px;
  border-right: 0.5px solid rgb(0 34 55 / 40%);

}

.ln-usp__panel--marketing {
  right: 33.333333%;
  bottom: 0;
  height: 498px;
  border-right: 0.5px solid rgb(0 34 55 / 40%);

}

.ln-usp__panel--inbox {
  right: 0;
  bottom: 0;
  height: 317px;

}

@media (min-width: 64.001rem) and (min-height: 43.75rem) and (prefers-reduced-motion: no-preference) {
  .ln-usp.is-usp-scroll-enhanced {
    position: relative;
    top: auto;
    left: auto;
    height: 440vh;
    overflow-x: clip;
    overflow-y: visible;
  }

  .ln-usp.is-usp-scroll-enhanced .ln-usp__stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: clip;
  }

  .ln-usp.is-usp-scroll-enhanced [data-ln-usp-panels] {
    position: relative;
    height: 100%;
  }

  .ln-usp.is-usp-scroll-enhanced [data-ln-usp-panel] {
    top: 0;
    bottom: auto;
    height: 100%;
    padding-top: clamp(112px, 14vh, 160px);
    will-change: transform;
  }
}

@media (max-width: 64rem) {
  .ln-usp {
      position: relative;
      top: auto;
      left: auto;
      display: grid;
      width: calc(100% + 40px);
      height: auto;
      min-height: 900px;
      margin: 72px -20px 0;
      align-content: end;
    
  }
  
  .ln-usp__image {
      object-position: center;
    
  }

  .ln-usp__statement {
      top: 12%;
      left: 20px;
      width: min(614px, calc(100% - 40px));
      height: auto;
      min-height: 200px;
  }
  
  .ln-usp__panel {
      position: relative;
      right: auto;
      bottom: auto;
      left: auto;
      width: 100%;
      height: auto;
      min-height: 190px;
      padding: 40px 28px;
      border-right: 0;
      border-bottom: 0.5px solid rgb(0 34 55 / 40%);
    
  }
  
  .ln-usp__panel--inbox {
      border-bottom: 0;
    
  }
  
  .ln-usp__panel p {
      font-size: clamp(24px, 5vw, 30px);
    
  }
}

@media (min-width: 48rem) and (max-width: 64rem) {
  .middle-three-section-page .ln-usp {
    width: 100%;
    margin: 72px 0 0;
  }

  .middle-three-section-page .ln-usp__panel {
    width: 100%;
    padding-inline: 40px;
  }
}

@media (max-width: 767px) {
  .ln-usp {
    --ln-usp-mobile-sticky-top: calc(clamp(136px, 16.25svh, 152px) + env(safe-area-inset-top, 0px));
    --ln-usp-mobile-stack-gap: 16px;
    --ln-usp-mobile-stack-height: clamp(380px, 51svh, 520px);
    --ln-usp-mobile-tail-height: clamp(96px, 12svh, 128px);
    background: var(--ln-color-navy);
    overflow: visible;
  }

  .admin-bar .ln-usp {
    --ln-usp-mobile-stack-height: clamp(380px, 51svh, 520px);
  }

  .ln-usp__stage,
  .ln-usp__stage > .ln-row,
  .ln-usp__stage [data-ln-usp-panels] {
    height: auto;
    min-height: 0;
  }

  .ln-usp__stage [data-ln-usp-panels] {
    padding-bottom: 0;
    background: var(--ln-color-navy);
  }

  .ln-usp__stage [data-ln-usp-panels]::after {
    display: block;
    height: var(--ln-usp-mobile-tail-height);
    content: "";
  }

  .ln-usp__stage picture {
    display: contents;
  }

  .ln-usp__visual {
    position: sticky;
    inset: auto;
    top: var(--ln-usp-mobile-sticky-top);
    z-index: 0;
    height: var(--ln-usp-mobile-stack-height);
  }

  .ln-usp__image {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: center center;
  }

  .ln-usp__statement {
    position: absolute;
    top: 150px;
    left: 20px;
    z-index: 1;
    width: calc(100% - 40px);
    min-height: 0;
    padding: 18px 16px;
  }

  .ln-usp__statement p {
    font-size: clamp(18px, 5vw, 22px);
  }

  .ln-usp__statement-text {
    margin-top: 18px !important;
  }

  .ln-usp__panel {
    position: sticky;
    top: var(--ln-usp-mobile-sticky-top);
    z-index: 1;
    height: var(--ln-usp-mobile-stack-height);
    min-height: var(--ln-usp-mobile-stack-height);
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .ln-usp__panel--marketing {
    z-index: 2;
    background: #fff;
  }

  .ln-usp__panel--inbox {
    z-index: 3;
    background: #fff;
  }

  .ln-usp__panel p,
  .ln-usp__panel-link {
    position: relative;
    z-index: 1;
  }

  .middle-three-section-page .ln-usp {
    width: 100%;
    margin: 72px 0 0;
  }

  .middle-three-section-page .ln-usp__panel {
    padding-inline: 20px;
  }
}
