/* Numbered process/registration step timeline: re-presents an existing
   <ol><li><strong>Title</strong> description</li></ol> how-to list (casino
   registration walkthroughs, deposit/withdraw guides, "get started" guides)
   as a connected vertical timeline. No new copy is introduced
   (see scripts/inject-process-steps.mjs). */

.cc-process-steps {
  margin: 22px 0;
  font-family: 'Open Sans', system-ui, sans-serif;
}

.cc-process-step {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}

.cc-process-step--last {
  padding-bottom: 0;
}

.cc-process-step-marker {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
}

.cc-process-step-marker::before {
  content: '';
  position: absolute;
  top: 32px;
  bottom: -22px;
  left: 50%;
  width: 0;
  border-left: 2px dashed rgba(34, 58, 177, 0.3);
  transform: translateX(-50%);
}

.cc-process-step--last .cc-process-step-marker::before {
  display: none;
}

.cc-process-step-num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* Solid background-color, not background-image: see the matching note in
     step-diagram.css about the Elementor lazy-load rule that zeroes out
     background-image on below-the-fold sections in this static mirror. */
  background-color: #223AB1;
  color: #ffffff;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 58, 177, 0.25);
}

.cc-process-step-body {
  flex: 1 1 auto;
  padding-top: 3px;
}

.cc-process-step-title {
  margin: 0 0 4px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  color: #1f2937;
}

.cc-process-step-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

.cc-process-step-text:empty {
  display: none;
}

.cc-process-step-text a {
  color: #223AB1;
  font-weight: 600;
}

@media (min-width: 640px) {
  /* Wider viewports: lay steps out as a responsive card grid instead of a
     single vertical column, still numbered but without the connector line
     (which only reads cleanly as a single-file column). */
  .cc-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 20px;
  }

  .cc-process-step,
  .cc-process-step--last {
    flex-direction: column;
    padding-bottom: 0;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid rgba(34, 58, 177, 0.12);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(34, 58, 177, 0.06);
  }

  .cc-process-step-marker {
    width: auto;
  }

  .cc-process-step-marker::before {
    display: none;
  }

  .cc-process-step-body {
    padding-top: 0;
  }
}
