/*
 * Comparativas (centr.ar/comparativa/<otra>/). Se cargan después de site.css y funcionalidades.css:
 * el encabezado, las tarjetas, las preguntas frecuentes y el cierre son los de las páginas de
 * funcionalidad. Acá van las tablas y las dos columnas de «Elegí… si». En el celular cada fila de la
 * tabla se apila, con el nombre de cada columna arriba de su dato, para que no haya scroll de costado.
 */
.vs-hero .lead {
  margin-bottom: 0;
}
.vs-source {
  margin: 18px auto 0;
  color: var(--ink-3);
  font-size: 14px;
}
.vs-source a,
.vs-table a {
  color: inherit;
}

.vs-compare {
  display: grid;
  gap: 40px;
  width: min(1040px, calc(100% - 48px));
  margin: clamp(56px, 8vw, 96px) auto 0;
  text-align: left;
}
.vs-group h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 24px);
}
.vs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.45;
}
.vs-table th,
.vs-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.vs-table thead th,
.vs-table thead td {
  border-top: 0;
  background: #f1f4ee;
  font-size: 14px;
  font-weight: 700;
}
.vs-table thead th:nth-child(2) {
  color: var(--ok);
}
.vs-table tbody th {
  width: 30%;
  color: var(--ink-2);
  font-weight: 600;
}
.vs-table tbody td {
  width: 35%;
}

.vs-pick {
  width: min(1040px, calc(100% - 48px));
  margin: clamp(80px, 10vw, 128px) auto 0;
}
.vs-pick h2 {
  margin: 0;
}
.vs-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}
.vs-col {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.vs-col.vs-us {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.vs-col h3 {
  margin: 0 0 14px;
  font-size: 20px;
}
.vs-col ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.55;
}
.vs-col li + li {
  margin-top: 8px;
}
.vs-us li {
  color: #cfe0da;
}

.vs-owner {
  width: min(1040px, calc(100% - 48px));
  margin: 40px auto 0;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 720px) {
  .vs-cols {
    grid-template-columns: 1fr;
  }
  .vs-table,
  .vs-table tbody,
  .vs-table tr,
  .vs-table th,
  .vs-table td {
    display: block;
    width: auto;
  }
  .vs-table thead {
    display: none;
  }
  .vs-table tbody tr + tr {
    border-top: 1px solid var(--line);
  }
  .vs-table tbody th {
    width: auto;
    padding: 16px 18px 4px;
    border-top: 0;
    color: var(--ink);
  }
  .vs-table tbody td {
    width: auto;
    padding: 6px 18px;
    border-top: 0;
  }
  .vs-table tbody td:last-child {
    padding-bottom: 16px;
  }
  .vs-table td::before {
    content: attr(data-col);
    display: block;
    color: var(--ink-3);
    font-size: 12px;
    font-weight: 600;
  }
}
