/* EDGE Process Cards v1.0.3 */
.edge-process-cards,
.edge-process-cards *,
.edge-process-cards *::before,
.edge-process-cards *::after {
  box-sizing: border-box;
}

.edge-process-cards {
  --edge-process-gap: 20px;
  --edge-process-slide-width: 86%;
  --edge-process-nav-color: #6e866f;
  --edge-process-nav-hover-color: #3f4d49;
  --edge-card-bg: #c4ceca;
  --edge-card-text: #101312;
  --edge-card-link: currentColor;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.edge-process-cards__viewport {
  position: relative;
  width: 100%;
  overflow: visible;
}

.edge-process-cards__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--edge-process-gap, 20px);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.edge-process-cards__card {
  --edge-card-bg: #c4ceca;
  --edge-card-text: #101312;
  --edge-card-link: currentColor;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 345px;
  border-radius: 8px;
  background: var(--edge-card-bg);
  color: var(--edge-card-text);
  overflow: visible;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.edge-process-cards__card--light {
  --edge-card-bg: #c4ceca;
  --edge-card-text: #101312;
}

.edge-process-cards__card--sage {
  --edge-card-bg: #71867a;
  --edge-card-text: #fff;
}

.edge-process-cards__card--dark {
  --edge-card-bg: #3f4d49;
  --edge-card-text: #fff;
}

.edge-process-cards__card--white {
  --edge-card-bg: #fff;
  --edge-card-text: #101312;
}


/* Desktop connector layering: arrows intentionally overlap the neighbouring card.
   Earlier cards sit above later cards so their connector images are not hidden
   behind the next card stacking context. */
.edge-process-cards--desktop-arrows .edge-process-cards__card {
  z-index: 1;
}

.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(1) { z-index: 50; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(2) { z-index: 40; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(3) { z-index: 30; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(4) { z-index: 20; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(5) { z-index: 10; }

.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(1):hover,
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(1):focus-within { z-index: 50; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(2):hover,
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(2):focus-within { z-index: 40; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(3):hover,
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(3):focus-within { z-index: 30; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(4):hover,
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(4):focus-within { z-index: 20; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(5):hover,
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(5):focus-within { z-index: 10; }

/* Do not raise hovered cards above neighbouring connector arrows.
   The connector is a child of the preceding card, so the parent card's
   stacking order must remain higher than the next card even while hovering. */

.edge-process-cards__card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.edge-process-cards__title {
  margin: 0 0 0.85em;
  color: var(--edge-card-text);
  font-family: inherit;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.edge-process-cards__body {
  margin: 0;
  color: var(--edge-card-text);
  font-family: inherit;
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.edge-process-cards__body p {
  margin: 0 0 1em;
}

.edge-process-cards__body p:last-child {
  margin-bottom: 0;
}

.edge-process-cards__body a {
  color: var(--edge-card-link);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 0.06em;
}

.edge-process-cards__body a:hover,
.edge-process-cards__body a:focus {
  color: var(--edge-card-link);
}

.edge-process-cards__connector {
  display: none;
  position: absolute;
  z-index: 120;
  width: 88px;
  pointer-events: none;
  transform-origin: center center;
}

.edge-process-cards__connector img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain;
  filter: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.edge-process-cards--desktop-arrows .edge-process-cards__connector {
  display: block;
}

/* Default desktop connector positions, tuned for five horizontal cards. */
.edge-process-cards__card:nth-child(1) .edge-process-cards__connector {
  top: 27%;
  right: -52px;
  transform: rotate(0deg);
}

.edge-process-cards__card:nth-child(2) .edge-process-cards__connector {
  top: 12%;
  right: -58px;
  transform: rotate(0deg);
}

.edge-process-cards__card:nth-child(3) .edge-process-cards__connector {
  top: 8%;
  right: -62px;
  transform: rotate(0deg);
}

.edge-process-cards__card:nth-child(4) .edge-process-cards__connector {
  top: 27%;
  right: -52px;
  transform: rotate(0deg);
}

.edge-process-cards__slider-ui {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  width: 100%;
}

.edge-process-cards__nav {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(16, 19, 18, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: var(--edge-process-nav-color) !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.edge-process-cards__nav:hover,
.edge-process-cards__nav:focus,
.edge-process-cards__nav:active {
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--edge-process-nav-hover-color) !important;
  border-color: rgba(16, 19, 18, 0.22) !important;
  box-shadow: none !important;
}

.edge-process-cards__nav[disabled] {
  opacity: 0.35;
  cursor: default;
}

.edge-process-cards__nav span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.edge-process-cards__nav--prev span {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.edge-process-cards__nav--next span {
  transform: rotate(45deg) translate(-1px, 1px);
}

.edge-process-cards__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.edge-process-cards__dot {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(16, 19, 18, 0.22) !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease, opacity 220ms ease;
}

.edge-process-cards__dot:hover,
.edge-process-cards__dot:focus,
.edge-process-cards__dot:active {
  background: rgba(16, 19, 18, 0.38) !important;
  box-shadow: none !important;
}

.edge-process-cards__dot[aria-selected="true"] {
  width: 24px !important;
  background: var(--edge-process-nav-color) !important;
}

.edge-process-cards.is-initialized .edge-process-cards__card,
.edge-process-cards.is-initialized .edge-process-cards__connector {
  will-change: transform, opacity;
}

@media (max-width: 1200px) {
  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__viewport {
    overflow: hidden;
    width: 100%;
  }

  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__track {
    justify-content: flex-start;
    width: auto;
    max-width: none;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__card {
    flex: 0 0 var(--edge-process-slide-width, 82%);
    max-width: var(--edge-process-slide-width, 82%);
  }

  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__slider-ui {
    display: flex;
  }

  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__connector {
    display: none;
  }

  .edge-process-cards--desktop-arrows .edge-process-cards__card,
  .edge-process-cards--desktop-arrows .edge-process-cards__card:hover,
  .edge-process-cards--desktop-arrows .edge-process-cards__card:focus-within {
    z-index: 1;
  }


  .edge-process-cards--mobile-arrows[data-edge-process-slider="1200"] .edge-process-cards__connector:not(.edge-process-cards__connector--hide-mobile) {
    display: block;
    top: 18px;
    right: 18px;
    width: 54px;
    opacity: 0.75;
  }
}

@media (max-width: 1024px) {
  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__viewport,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__viewport {
    overflow: hidden;
    width: 100%;
  }

  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__track,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__track {
    justify-content: flex-start;
    width: auto;
    max-width: none;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__card,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__card {
    flex: 0 0 var(--edge-process-slide-width, 82%);
    max-width: var(--edge-process-slide-width, 82%);
  }

  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__slider-ui,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__slider-ui {
    display: flex;
  }

  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__connector,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__connector {
    display: none;
  }

  .edge-process-cards--desktop-arrows .edge-process-cards__card,
  .edge-process-cards--desktop-arrows .edge-process-cards__card:hover,
  .edge-process-cards--desktop-arrows .edge-process-cards__card:focus-within {
    z-index: 1;
  }


  .edge-process-cards--mobile-arrows[data-edge-process-slider="1024"] .edge-process-cards__connector:not(.edge-process-cards__connector--hide-mobile),
  .edge-process-cards--mobile-arrows:not([data-edge-process-slider]) .edge-process-cards__connector:not(.edge-process-cards__connector--hide-mobile) {
    display: block;
    top: 18px;
    right: 18px;
    width: 54px;
    opacity: 0.75;
  }
}

@media (max-width: 767px) {
  .edge-process-cards[data-edge-process-slider="767"] .edge-process-cards__viewport,
  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__viewport,
  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__viewport,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__viewport {
    overflow: hidden;
    width: 100%;
  }

  .edge-process-cards[data-edge-process-slider="767"] .edge-process-cards__track,
  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__track,
  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__track,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__track {
    justify-content: flex-start;
    width: auto;
    max-width: none;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .edge-process-cards[data-edge-process-slider="767"] .edge-process-cards__card,
  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__card,
  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__card,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__card {
    flex: 0 0 var(--edge-process-slide-width, 86%);
    max-width: var(--edge-process-slide-width, 86%);
  }

  .edge-process-cards[data-edge-process-slider="767"] .edge-process-cards__slider-ui,
  .edge-process-cards[data-edge-process-slider="1024"] .edge-process-cards__slider-ui,
  .edge-process-cards[data-edge-process-slider="1200"] .edge-process-cards__slider-ui,
  .edge-process-cards:not([data-edge-process-slider]) .edge-process-cards__slider-ui {
    display: flex;
  }

  
/* Desktop connector layering: arrows intentionally overlap the neighbouring card.
   Earlier cards sit above later cards so their connector images are not hidden
   behind the next card stacking context. */
.edge-process-cards--desktop-arrows .edge-process-cards__card {
  z-index: 1;
}

.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(1) { z-index: 50; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(2) { z-index: 40; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(3) { z-index: 30; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(4) { z-index: 20; }
.edge-process-cards--desktop-arrows .edge-process-cards__card:nth-child(5) { z-index: 10; }

/* Do not raise hovered cards above neighbouring connector arrows.
   The connector is a child of the preceding card, so the parent card's
   stacking order must remain higher than the next card even while hovering. */

.edge-process-cards__card-inner {
    padding: 32px 26px;
  }

  .edge-process-cards__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .edge-process-cards__body {
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .edge-process-cards__connector {
    display: none;
  }

  .edge-process-cards--desktop-arrows .edge-process-cards__card,
  .edge-process-cards--desktop-arrows .edge-process-cards__card:hover,
  .edge-process-cards--desktop-arrows .edge-process-cards__card:focus-within {
    z-index: 1;
  }


  .edge-process-cards--mobile-arrows .edge-process-cards__connector:not(.edge-process-cards__connector--hide-mobile) {
    display: block;
    top: 18px;
    right: 18px;
    width: 50px;
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edge-process-cards__track,
  .edge-process-cards__card,
  .edge-process-cards__connector,
  .edge-process-cards__connector img {
    transition: none !important;
    animation: none !important;
    transform: none;
  }
}


/* v1.0.3: robust slider mode based on the actual JS state.
   This fixes mobile Safari/Chrome offsets where the transform was calculated
   while slide widths/gaps were still settling, causing partially clipped cards. */
.edge-process-cards.is-slider {
  overflow: hidden;
}

.edge-process-cards.is-slider .edge-process-cards__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.edge-process-cards.is-slider .edge-process-cards__track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  width: auto;
  max-width: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.edge-process-cards.is-slider .edge-process-cards__card {
  flex: 0 0 var(--edge-process-slide-width, 82%);
  width: var(--edge-process-slide-width, 82%);
  max-width: var(--edge-process-slide-width, 82%);
  min-width: 0;
  z-index: 1 !important;
}

.edge-process-cards.is-slider .edge-process-cards__connector {
  display: none;
}

.edge-process-cards.is-slider .edge-process-cards__slider-ui {
  display: flex;
}

/* On phones the active slide should be fully within the viewport.
   We deliberately override Elementor's previous 86% mobile value because that
   caused partial-card layouts and transform mismatches in mobile Safari. */
@media (max-width: 767px) {
  .edge-process-cards.is-slider .edge-process-cards__card {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .edge-process-cards.is-slider .edge-process-cards__track {
    gap: var(--edge-process-gap, 20px);
  }
}
