/* Comparison Table Block */

.comp-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--gray);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 46px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--font);
}

/* Column widths */
.comp-table colgroup,
.comp-th--label,
.comp-td--label { width: 35%; }
.comp-th--col1,
.comp-td--col1  { width: 33%; }
.comp-th--col2,
.comp-td--col2  { width: 32%; }

/* Header row */
.comp-table thead tr {
  background: var(--bckg-mint);
  border-bottom: 1px solid var(--gray);
}

.comp-th {
  padding: 19px 30px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: -0.04em;
  color: var(--txt);
  text-align: center;
}

.comp-th--label {
  text-align: left;
}

th.comp-th.comp-th--col1 {
  text-align: left;
  line-height: 18px;
}

/* Body rows */
.comp-tr {
  border-bottom: 1px solid var(--gray);
  transition: background 0.2s ease;
}

.comp-tr:last-child {
  border-bottom: none;
}

.comp-tr:hover {
  background: var(--bckg-mint);
}

.comp-td {
  padding: 18px 30px;
  font-size: 16px;
  line-height: 26px;
  color: var(--txt);
  vertical-align: middle;
}

.comp-td--label {
  font-weight: 600;
}

.comp-td--col1,
.comp-td--col2 {
  font-weight: 300;
}

/* Vertical column dividers */
.comp-th--col1,
.comp-td--col1 {
  border-left: 1px solid var(--gray);
  border-right: 1px solid var(--gray);
}

/* Responsive */
@media screen and (max-width: 767px) {
  .comp-table-wrap {
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: visible;
  }

  .comp-table {
    min-width: 520px;
  }

  .comp-th,
  .comp-td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .comp-th {
    font-size: 15px;
  }
}
