ol.scroll-steps {
    margin: 0 0 2.5rem;
    padding: 0;
    position: relative;
    counter-reset: section-number;
}

/* Only target direct <li> children of <ol> */
ol.scroll-steps > li {
    counter-increment: section-number;
    display: grid !important;
    margin-bottom: 30px;
    grid-template-columns: 1fr 2rem 1fr;
    gap: 2rem;
    list-style: none;
}

/* Spacing except last */
ol.scroll-steps > li:not(:last-of-type) {
    margin-bottom: 2rem;
}

/* Number circle */
ol.scroll-steps > li::before {
    content: counter(section-number);
    order: 2;
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1rem solid white;
    margin-inline: -1rem;
    color: white;
    background: linear-gradient(to bottom, #1a3ad6 25vw, silver 0%) fixed;
    z-index: -1;
}

/* Vertical line */
ol.scroll-steps::after {
    content: "";
    height: calc(100% + 1rem);
    width: 2px;
    background: linear-gradient(to bottom, blue 25vw, silver 0%) fixed;
    position: absolute;
    left: calc(50% - 1px);
    top: 1rem;
    z-index: -2;
}

/* Image / content blocks */
.scroll-block {
    height: 400px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-block--left {
    order: 1;
}

.scroll-block--right {
    order: 3;
}

/* Checklist UL inside scroll-steps */
.scroll-steps li ul.industry-checklist {
    list-style: none;
    margin: 0;
    padding: 0 0 0 10px;
    width: 100% !important;
    display: block !important;
}

/* Checklist LI items */
.scroll-steps li ul.industry-checklist li {
    width: 100% !important;
    display: block !important;
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Check icon */
.scroll-steps li ul.industry-checklist li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #1a3ad6;
    font-size: 16px;
}

/* ===============================
   SCROLL STEPS – RESPONSIVE ONLY
   (Does NOT affect desktop)
================================ */

/* TABLET */
@media (max-width: 991px) {

  ol.scroll-steps > li {
    grid-template-columns: 1fr 3rem 1fr;
    gap: 1.5rem;
  }

  .scroll-block {
    height: 320px !important;
  }
}

/* MOBILE */
@media (max-width: 767px) {

  /* Hide center line */
  ol.scroll-steps::after {
    display: none;
  }

  ol.scroll-steps > li {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 42px;
    position: relative;
  }

  ol.scroll-steps > li::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-width: 4px;
  }

  .scroll-block {
    height: auto !important;
    justify-content: flex-start;
  }

  .scroll-block--left,
  .scroll-block--right {
    order: initial;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

  ol.scroll-steps > li {
    padding-left: 36px;
  }

  ol.scroll-steps > li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

