/*
 * Comparison: the white card with the two column titles ("AI generates" /
 * "Eleken product designer decides") and a slot for Comparison Rows.
 * Figma "Eleken Site 2026": desktop 503:1458, tablet 503:2940, mobile 503:4521.
 *
 * This CSS lives inside the component's Shadow DOM. The rows are separate
 * components, each in its own Shadow DOM, so nothing here can style them: each
 * row draws its own dashed line and spacing, and repeats the column widths below.
 * Breakpoints follow Webflow: desktop ≥992 (base), tablet ≤991, mobile ≤767.
 */

:host {
  display: block;
}

.cmp,
.cmp *,
.cmp *::before,
.cmp *::after {
  box-sizing: border-box;
}

.cmp {
  padding: 40px 32px;
  border-radius: 6px;
  background-color: var(--colors--white, #fff);
  color: var(--colors--main, #1d1e22);
  text-align: left;
  overflow-wrap: break-word;
}

/* Two equal columns, as in every Comparison Row */
.cmp-head {
  display: flex;
  gap: 80px;
  align-items: center;
}

.cmp-title {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: var(--colors--main, #1d1e22);
  font-family: Regolapro, "Regola Pro", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
}

@media screen and (max-width: 991px) {
  .cmp-head {
    gap: 32px;
  }
}

/* Mobile: a 125px left column, the right one takes the rest */
@media screen and (max-width: 767px) {
  .cmp {
    padding: 32px 8px;
  }

  .cmp-head {
    gap: 12px;
  }

  .cmp-title {
    font-size: 15px;
    line-height: 22px;
  }

  .cmp-title:first-child {
    flex: none;
    width: 125px;
  }
}

