/* ---------------------------------------------------------------------------
   Glass comparison hub. Two wide tables and a run of verdict blocks, all built
   from the existing tokens. The tables carry the weight here, so they get real
   structure: sticky first column on narrow screens is avoided deliberately —
   it fights the horizontal scroll — and each table scrolls inside its own
   container so the page body never moves sideways.
--------------------------------------------------------------------------- */

.cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-top: 26px;
}

.cmp-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.cmp-table--decision {
  min-width: 38rem;
}

.cmp-table thead th {
  padding: 14px 16px;
  text-align: left;
  vertical-align: bottom;
  color: var(--color-text-light);
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-navy);
  white-space: nowrap;
}

.cmp-table tbody th {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  color: var(--color-text-dark);
  font-weight: var(--fw-semibold);
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  min-width: 11rem;
}

.cmp-table tbody td {
  padding: 13px 16px;
  vertical-align: top;
  color: var(--color-text);
  line-height: 1.5;
  border-bottom: 1px solid var(--color-border);
}

.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}

.cmp-table a {
  color: var(--color-navy);
  font-weight: var(--fw-medium);
}

/* Semantic yes/no, kept separate from the brand accent so the table reads at a
   glance without the page acquiring a second accent colour. */
.cmp-yes,
.cmp-no {
  font-weight: var(--fw-semibold);
}

.cmp-yes { color: #1f7a4d; }
.cmp-no { color: #a1382a; }

/* --- head-to-head verdict blocks ------------------------------------------ */

.cmp-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: 26px;
}

.cmp-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px;
  background: var(--color-surface);
}

.cmp-item__q {
  margin: 0;
  color: var(--color-text-dark);
  font-size: var(--fs-h5);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

/* The verdict is the liftable sentence — it carries the speakable marker and is
   what an answer engine quotes, so it is set apart from the reasoning below. */
.cmp-item__verdict {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--color-gold);
  color: var(--color-text-dark);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  line-height: 1.5;
}

.cmp-item__body {
  margin: 0;
  color: var(--color-text);
  font-size: var(--fs-small);
  line-height: 1.65;
}
