/* Comparison pages: hub and the three vs- pages. Scoped under body.compare-page. */

.compare-page .compare-route-links {
  grid-template-columns: 1fr;
  gap: 0
}
.compare-page .compare-route-links .route-link {
  padding: 26px 0
}

.compare-page .section > h2 {
  margin-bottom: 36px
}
.compare-page table {
  margin-top: 0
}
.compare-page .article-content section > p,
.compare-page .qa p {
  max-width: 52ch
}

.compare-page table caption {
  text-align: left;
  caption-side: top;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px
}
.compare-page table thead th {
  font-size: 13px
}
.compare-page table tbody th[scope="row"] {
  font-weight: 600;
  background: var(--surface-muted);
  white-space: nowrap
}
.compare-page table td {
  font-size: 14px;
  line-height: 1.6
}
.compare-page .cite {
  display: inline-block;
  font-size: 12px;
  color: var(--muted)
}
.compare-page .cite a {
  color: var(--muted)
}
.compare-page .table-sources {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  max-width: none
}

.compare-page .verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}
.compare-page .verdict-side {
  border-top: 1px solid var(--line);
  padding-top: 20px
}
.compare-page .verdict-side h3 {
  font-size: 20px;
  margin-bottom: 12px
}
.compare-page .verdict-side p {
  color: var(--muted);
  font-size: 15px
}
.compare-page .verdict-side--sb h3 {
  color: var(--accent)
}
.compare-page .verdict-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  max-width: 68ch
}

.compare-page .qa {
  border-top: 1px solid var(--line);
  padding: 26px 0
}
.compare-page .qa:first-child {
  border-top: 0;
  padding-top: 0
}
.compare-page .qa h3 {
  font-size: 19px;
  margin-bottom: 10px
}
.compare-page .qa p {
  color: var(--muted);
  font-size: 15px
}

.compare-page .source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}
.compare-page .source-list li {
  font-size: 13px;
  color: var(--muted)
}
.compare-page .source-list a {
  color: var(--ink)
}

@media (max-width: 700px) {
  .compare-page table,
  .compare-page table thead,
  .compare-page table tbody,
  .compare-page table tr,
  .compare-page table th,
  .compare-page table td {
    display: block;
    width: 100%
  }
  .compare-page table caption {
    display: block;
    width: 100%;
    margin-bottom: 8px
  }
  .compare-page .table-wrap {
    margin-inline: 0
  }
  .compare-page table thead {
    position: absolute;
    left: -9999px
  }
  .compare-page table tbody tr {
    border-top: 1px solid var(--line);
    padding: 20px 0
  }
  .compare-page table tbody th[scope="row"] {
    background: none;
    padding: 0 0 12px;
    font-size: 17px
  }
  .compare-page table td {
    border: 0;
    padding: 10px 0 0
  }
  .compare-page table td[data-label]:before {
    content: attr(data-label) ": ";
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px
  }
  .compare-page .verdict-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}
