/* CC Numbered Steps — scoped to .cc-ns, no global resets */

/* ── Wrapper: display:grid injected via Elementor dynamic CSS ───── */
/* grid-template-columns set per breakpoint by the Columns control  */
.cc-ns {
  display: grid;
}

/* ── Step row (inline default: circle left, content right) ─────── */

.cc-ns__step {
  display: flex;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #E2E8F0;
  align-items: flex-start;
  position: relative;
}

.cc-ns__step:last-child {
  border-bottom: none;
}

.cc-ns__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.cc-ns__num {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background-color: #1A365D;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Vertical connector (inline style) */
.cc-ns__connector {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background-color: #E2E8F0;
  margin-top: 4px;
}

.cc-ns-line-dashed .cc-ns__connector {
  background: repeating-linear-gradient(
    to bottom,
    #E2E8F0 0,
    #E2E8F0 6px,
    transparent 6px,
    transparent 12px
  );
}

.cc-ns-line-dotted .cc-ns__connector {
  background: repeating-linear-gradient(
    to bottom,
    #E2E8F0 0,
    #E2E8F0 3px,
    transparent 3px,
    transparent 9px
  );
}

.cc-ns__content {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}

.cc-ns__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0D98BA;
  margin-bottom: 6px;
}

.cc-ns__heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A365D;
  margin: 0 0 10px;
  padding: 0;
}

.cc-ns__body {
  font-size: 16px;
  line-height: 1.75;
  color: #2D3748;
  margin: 0;
}

.cc-ns__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0D98BA;
  text-decoration: none;
  margin-top: 12px;
  transition: color 0.15s ease;
}

.cc-ns__link:hover {
  color: #0b87a6;
  text-decoration: underline;
}

/* ── Stacked step style: circle top, content below, centered ───── */

.cc-ns-step-stacked .cc-ns__step {
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: none;
  gap: 0;
  padding-left: 8px;
  padding-right: 8px;
}

/* Horizontal connector stretches across top of each step */
.cc-ns-step-stacked .cc-ns__left {
  flex-direction: row;
  width: 100%;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.cc-ns-step-stacked .cc-ns__connector {
  height: 2px;
  width: auto;
  flex: 1;
  min-height: unset;
  min-width: 12px;
  margin-top: 0;
  margin-left: 4px;
}

/* Dashed/dotted flip to horizontal for stacked style */
.cc-ns-step-stacked.cc-ns-line-dashed .cc-ns__connector {
  background: repeating-linear-gradient(
    to right,
    #E2E8F0 0,
    #E2E8F0 6px,
    transparent 6px,
    transparent 12px
  );
}

.cc-ns-step-stacked.cc-ns-line-dotted .cc-ns__connector {
  background: repeating-linear-gradient(
    to right,
    #E2E8F0 0,
    #E2E8F0 3px,
    transparent 3px,
    transparent 9px
  );
}

.cc-ns-step-stacked .cc-ns__content {
  padding-top: 0;
  width: 100%;
}

/* ── Mobile: shrink for inline style ───────────────────────────── */

@media (max-width: 600px) {
  .cc-ns__num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
  }

  .cc-ns__step {
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .cc-ns__heading {
    font-size: 18px;
  }

  .cc-ns__body {
    font-size: 15px;
  }
}
