/**
 * CUTIS Theme — Service "Procedure, step by step" process section
 *
 * Per the design brief, this section reuses the reference's text content
 * (eyebrow/title/description, step title/description) and its grey section
 * wash, but replaces the reference's vertical process-track/process-num
 * timeline with a 4-column card grid — so process-card/process-card__media/
 * process-card__badge/process-card__body are new classes, not ported from
 * _design-reference/style.css.
 *
 * .row, .g-4 and .col-md-6 are already defined in single-service-types.css /
 * single-service-comparison.css, both enqueued alongside this file on every
 * service singular page — not redeclared here. .col-lg-3 is new (no earlier
 * section needed a 4-across desktop grid).
 *
 * Colors/fonts/spacing are pulled from the CSS custom properties defined in
 * assets/css/header.css :root and from the Theme Settings design tokens
 * (inc/theme-settings.php -> cutis_output_theme_css_vars()). Values with no
 * matching token (card radius/shadow) are hardcoded, same as
 * single-service-technique.css.
 */

/* ------------------------------------------------------------------ */
/* Section shell — grey wash, scoped to .service-process the same way
   single-service-types.css scopes its own grey background, so the two grey
   sections on the page look visually identical/consistent rather than
   reusing the reference's global .section-bg-grey class. */
/* ------------------------------------------------------------------ */
.service-process {
  background: color-mix(in srgb, var(--cutis-color-border) 30%, white);
}

/* ------------------------------------------------------------------ */
/* Grid addition — col-lg-3 (4-across desktop), on top of the .row/.g-4/
   .col-md-6 rules already defined in earlier section stylesheets. */
/* ------------------------------------------------------------------ */
@media (min-width: 992px) {
  .col-lg-3 {
    width: 25%;
  }
}

/* ------------------------------------------------------------------ */
/* Process card */
/* ------------------------------------------------------------------ */
.process-card {
  background: var(--cutis-color-surface);
  border: 1px solid var(--cutis-color-border);
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(15, 43, 61, 0.06),
    0 1px 3px rgba(15, 43, 61, 0.05);
  overflow: visible;
  height: 100%;
}

.process-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px 16px 0 0;
}
.process-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Circular number badge, overlapping the image's bottom-right corner. The
   card needs no extra bottom margin for this to clear — .process-card__body
   already starts below the media block, and the badge's own negative
   bottom offset (-18px) sits inside that padding rather than being clipped,
   since the card's overflow is visible (unlike the media block, which clips
   its image to rounded top corners only). */
.process-card__badge {
  position: absolute;
  bottom: -18px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cutis-color-primary);
  color: var(--cutis-color-surface);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card__body {
  padding: 24px 20px 20px;
}
.process-card__body h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--cutis-color-heading);
}
.process-card__body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--cutis-color-text);
}
.process-card__body ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--cutis-color-text);
  display: grid;
  gap: 6px;
}
