/* ==========================================================================
   First appointment steps
   --------------------------------------------------------------------------
   The numbered steps under "What to Expect at Your First Appointment" on a
   condition page (part 7), loaded by inc/conditions.php.

   The "First appointment steps" section on a SERVICE page does not use these
   rules. It is drawn as icon-grid cards, the look the clinic chose for its
   own first-visit sections, so it takes its styles from icon-grid.css
   (inc/sections.php loads that file for it).
   ========================================================================== */

/* --- 7  First appointment: numbered steps -------------------------------- */

.csteps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-4);
}
/* Two by two: four steps across a ~53rem column wrapped every heading. */
@media (min-width: 40rem) { .csteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.csteps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--sp-3);
  align-items: start;
  align-content: start;   /* a taller neighbour must not open a gap under the title */
  background: color-mix(in srgb, var(--color-tile-teal) 45%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-tile-teal) 80%, var(--color-divider));
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
}
.csteps__num {
  grid-row: span 2;
  display: grid; place-items: center;
  inline-size: 2rem; block-size: 2rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface-invert);
  color: var(--color-text-invert);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.csteps__title { margin: 0.2rem 0 var(--sp-1); font-size: var(--fs-base); font-weight: var(--fw-semi); color: var(--color-heading); line-height: var(--lh-snug); }
.csteps__text { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-snug); color: var(--color-text-on-tint); }
