/* ─────────────────────────────────────────────────────────────────
   block-setup — 4-step process / alternating editorial rows
   Each step is a Bootstrap .row styled as a card with an accent
   stripe on the leading edge (block-unique). Card surface, typography,
   image frames inherit from design-system.css recipes.
   ───────────────────────────────────────────────────────────────── */

.block-setup {
  position: relative;
  overflow: hidden;
}

/* Each step row = card surface (mirrors .ds-card recipe) */
.block-setup > .container > .row > .col-12 > .row {
  margin: 0 0 var(--ds-space-4) 0;
  background: var(--scheme-card-bg);
  border: 1px solid var(--scheme-rule);
  border-radius: var(--ds-radius);
  padding: var(--ds-space-5) var(--ds-space-6);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ds-shadow-sm);
  transition: box-shadow var(--ds-duration) var(--ds-ease-out);
}

/* Accent stripe on the leading edge — block-unique signature */
.block-setup > .container > .row > .col-12 > .row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ds-cta), var(--ds-accent));
}

/* When alternating, flip stripe to the right edge for visual rhythm */
.block-setup > .container > .row > .col-12 > .row.flex-lg-row-reverse::before {
  left: auto;
  right: 0;
  background: linear-gradient(180deg, var(--ds-accent), var(--ds-cta));
}

/* Editorial proportion: image ~42%, text ~58% on desktop */
@media (min-width: 992px) {
  .block-setup > .container > .row > .col-12 > .row > .col-lg-4:first-of-type {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .block-setup > .container > .row > .col-12 > .row > .col-lg-4:last-of-type {
    flex: 0 0 58%;
    max-width: 58%;
  }
}

.block-setup h3 {
  margin-bottom: var(--ds-space-3);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1;
}

.block-setup p {
  color: var(--scheme-fg-soft);
  margin: 0;
  max-width: 56ch;
  line-height: 1.6;
}

.block-setup .px-g { padding: 0; }

@media (max-width: 991px) {
  .block-setup > .container > .row > .col-12 > .row {
    padding: var(--ds-space-4) var(--ds-space-5);
  }
}

@media (max-width: 600px) {
  .block-setup h3 { font-size: 1.3rem; }
  .block-setup p  { font-size: var(--ds-fs-body-sm); }
}
