/**
 * CUTIS Theme — Service "Hair Transplant vs. Medical Therapy" comparison section
 * Classes kept identical to _design-reference/style.css (compare-wrap, row,
 * g-0, col-md-6, compare-col, is-highlight) — none of them collide with
 * anything in header.css/layout.css.
 *
 * .row, .container-cutis, .eyebrow and .section-head are already defined in
 * single-service-types.css, which is enqueued alongside this file on every
 * service singular page — not redeclared here to avoid duplicate/conflicting
 * rules. Only the pieces this section adds on top (g-0 gutter, col-md-6,
 * compare-wrap/compare-col/is-highlight, and the summary paragraph) are
 * defined below.
 *
 * 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/gradient) are hardcoded, same as
 * single-service-introduction.css / single-service-types.css.
 */

/* ------------------------------------------------------------------ */
/* Section shell — cream wash is specific to this section (not a
   site-wide utility in layout.css), so it's scoped to .service-comparison
   the same way single-service-hero.css scopes its cream floating card,
   reusing the same --cutis-color-cream token. */
/* ------------------------------------------------------------------ */
.service-comparison {
  background: var(--cutis-color-cream);
}

/* ------------------------------------------------------------------ */
/* Grid addition — zero-gutter row, on top of the .row base rule already
   defined in single-service-types.css. */
/* ------------------------------------------------------------------ */
.g-0 {
  margin: 0;
}
.g-0 > * {
  padding: 0;
}
@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
}

/* ------------------------------------------------------------------ */
/* Comparison table */
/* ------------------------------------------------------------------ */
.compare-wrap {
  background: var(--cutis-color-surface);
  border-radius: 28px;
  border: 1px solid var(--cutis-color-border);
  box-shadow:
    0 4px 24px rgba(15, 43, 61, 0.06),
    0 1px 3px rgba(15, 43, 61, 0.05);
  overflow: visible;
}
.compare-col {
  padding: 36px;
  position: relative;
  display: flex;
  gap: 10px;
}
.compare-col + .compare-col {
  border-left: 1px solid var(--cutis-color-border);
}

/* Below the title: image on the left, points list on the right. Contained
   within the column's own 36px padding (no edge-bleed, unlike a card-header
   image) since it sits beside content rather than above it. */
.compare-col__body {
  display: inline-block;
  gap: 20px;
  width: 60%;
}
.compare-col__image {
  display: block;
  width: 40%;
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(15, 43, 61, 0.06),
    0 1px 3px rgba(15, 43, 61, 0.05);
  height: auto;
  object-fit: cover;
}
.compare-col__body ul {
  flex: 1;
  min-width: 0;
}
.compare-col.is-highlight {
  background: linear-gradient(
    135deg,
    var(--cutis-color-primary) 0%,
    color-mix(in srgb, var(--cutis-color-primary) 70%, black) 100%
  );
  position: relative;
  overflow: visible;
  border-radius: 0px 28px 28px 0px;
}
.compare-col.is-highlight h4,
.compare-col.is-highlight li {
  color: var(--cutis-color-surface);
}
.compare-col h4 {
  font-size: 19px;
  margin-bottom: 20px;
  color: var(--cutis-color-heading);
}
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.compare-col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--cutis-color-heading);
}
.compare-col li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 767.98px) {
  .compare-col + .compare-col {
    border-left: none;
    border-top: 1px solid var(--cutis-color-border);
  }
  .compare-col.is-highlight {
    border-radius: 0px 0px 28px 28px;
  }
}

/* ------------------------------------------------------------------ */
/* Summary paragraph below the table */
/* ------------------------------------------------------------------ */
.compare-summary {
  max-width: 800px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--cutis-color-text);
}
