/* wp-content/plugins/notts-osteo-elements/assets/css/what-to-expect.css
 *
 * The numbered visit steps. Section chrome comes from home-blocks.css.
 *
 * Cards on a two-column grid, matching the live site's arrangement. Ruled under the numeral rather
 * than boxed in heavy borders — the same restraint as the price table and the FAQ, so a visitor
 * moving between those pages does not meet a third visual language.
 *
 * Author: Sean Burn
 */

.nosteo-steps__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  /* The <ol> still carries the semantics; the marker is replaced by the numeral in the markup. */
  counter-reset: none;
}
.nosteo-steps__list > li { list-style: none; }

.nosteo-steps__item {
  padding: clamp(22px, 3vw, 34px);
  background: var(--nosteo-white);
  box-shadow: inset 0 0 0 1px var(--nosteo-hair);
}

.nosteo-steps__num {
  display: block;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--nosteo-tint-deep);
  font-family: var(--nosteo-mono);
  font-size: 15px;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--nosteo-ink);
}

.nosteo-steps__lead {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.6vw, 17.5px);
  line-height: 1.45;
  font-weight: var(--nosteo-weight-strong);
  text-wrap: pretty;
}

.nosteo-steps__body {
  margin: 0 0 1em;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.68;
  color: var(--nosteo-muted);
}
.nosteo-steps__body:last-child { margin-bottom: 0; }

/* Two across once a card can hold a sentence without breaking every few words. Measured on the
   section container, not the window, so the block can sit in any column. */
@container nosteo-sec (min-width: 760px) {
  .nosteo-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@supports not (container-type: inline-size) {
  @media (min-width: 900px) {
    .nosteo-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  }
}
