/* The original Webflow section remains the visual source of truth. */
@media (min-width: 992px) {
  [data-service-story] {
    overflow: visible !important;
  }

  [data-service-story] .three-service-categories {
    height: 100vh;
    min-height: 720px;
overflow: hidden;
    isolation: isolate;
  }

  .service-story__stage {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: stretch;
  }

  .service-story__cards {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .service-story__card {
    position: absolute;
    inset: 0;
    margin: 0;
    background: transparent;
    transform: translate3d(0, 110%, 0);
    will-change: transform;
  }

  .service-story__card:first-child {
    transform: translate3d(0, 0, 0);
  }

  .service-story__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
  }

  .service-story__labels {
    height: 100%;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .service-story__label {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #17151d;
    opacity: 0.38;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    line-height: 26px;
    white-space: nowrap;
    transform-origin: left center;
    will-change: transform, opacity;
  }

  .service-story__label:first-child {
    opacity: 1;
    transform: scale(1.08);
  }

  .service-story__arrow {
    color: #7a6aff;
  }
}

@media (max-width: 991px) {
  .service-story__stage {
    width: 100%;
  }

  .service-story__cards {
    display: grid;
    gap: 20px;
  }

  .service-story__card img {
    display: block;
    width: 100%;
    height: auto;
  }

  .service-story__labels {
    display: none;
  }
}


/* Runtime-generated Solutions links remain clickable through the pinned stack. */
.service-story__card,
.service-story__label {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}
.service-story__card:focus-visible,
.service-story__label:focus-visible {
  outline: 2px solid #6755ed;
  outline-offset: 3px;
}
