/* Comparison pages (vs_compare.html): the comparison's own illustration in the
   hero and the "at a glance" table. Used when a provider entry in
   _solution_comparisons.html has `glance` rows. */
.vs2-art { margin: 0; align-self: center; }
.vs2-art img { display: block; width: 100%; height: auto; border-radius: 4px; }

.vs2-glance { padding-block: 32px 8px; }
.vs2-glance > h2 { margin: 0 0 16px; }
.vs2-wrap { border: 2px solid #D9DEE7; border-radius: 4px; background: #fff; overflow: hidden; }
.vs2-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.vs2-table :is(th, td) { padding: 12px 16px; text-align: left; vertical-align: top; font-size: 16px; line-height: 1.5; color: #1B1C1A; overflow-wrap: anywhere; }
.vs2-table thead th { font-size: 18px; font-weight: 700; color: #042238; }
.vs2-table tbody th { width: 24%; font-weight: 600; color: #042238; }
.vs2-table tbody tr { border-top: 1px solid #E6EAF0; }
.vs2-table tfoot tr { border-top: 1px solid #E6EAF0; }
.vs2-table .vs2-us { background: #F4F0FE; }
.vs2-table thead .vs2-us { box-shadow: inset 0 4px 0 #6B48E0; }
.vs2-table thead th { vertical-align: middle; padding-block: 16px; }
.vs2-logo { display: block; width: auto; height: 36px; max-width: 100%; object-fit: contain; object-position: left center; }
.vs2-table tfoot td { padding-block: 8px; }
.vs2-table tfoot a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; }
.vs2-note { margin: 12px 0 0; max-width: 70ch; font-size: 14px; line-height: 1.5; color: #4A5568; }

@media (max-width: 640px) {
  .vs2-table, .vs2-table :is(tbody, tfoot, tr, th, td) { display: block; width: auto; }
  .vs2-table thead { display: block; }
  .vs2-table thead tr { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
  .vs2-table thead td { display: none; }
  .vs2-table thead th { display: block; flex: 1 1 0; padding: 0; background: none !important; box-shadow: none !important; }
  .vs2-logo { height: 30px; }
  .vs2-table tbody th { width: auto; padding-bottom: 4px; }
  .vs2-table tbody td { padding-block: 8px; }
  .vs2-table tbody td::before { content: attr(data-provider); display: block; font-size: 14px; font-weight: 700; color: #042238; }
  .vs2-table tfoot td:first-child { display: none; }
}

/* "Why Rentari" block above the at-a-glance table. Copy lives in _vs_pitch.html. */
.vs2-pitch { padding-block: 8px 24px; }
.vs2-pitch > h2 { margin: 0 0 8px; }
.vs2-verdict { margin: 0 0 16px; max-width: 70ch; font-size: 18px; line-height: 1.5; color: #042238; }
.vs2-pitch-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs2-pitch-col { padding: 24px; border: 2px solid #D9DEE7; border-radius: 4px; background: #fff; }
.vs2-pitch-us { border-color: #6B48E0; background: #F4F0FE; }
.vs2-pitch-col h3 { margin: 0 0 12px; font-size: 22px; font-weight: 600; line-height: 1.3; color: #042238; }
.vs2-pitch-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs2-pitch-col li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; line-height: 1.5; color: #1B1C1A; }
.vs2-pitch-col li::before { content: none; }
.vs2-pitch-col .pub-check { margin-top: 2px; }
.vs2-dot { width: 10px; height: 10px; margin: 7px 6px 0; border-radius: 50%; background: #8A94A6; }
.vs2-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.vs2-bottom p { margin: 0; flex: 1 1 320px; font-size: 18px; font-weight: 600; line-height: 1.5; color: #042238; }
@media (max-width: 820px) {
  .vs2-pitch-cols { grid-template-columns: 1fr; }
  .vs2-pitch-col { padding: 16px; }
}

/* Logos in section headings and detail-table headers. */
.vs2-pitch-col h3 .vs2-logo, .marketing-comparisons .sx-card h3 .vs2-logo { height: 36px; }
.marketing-comparisons .cr-table thead .vs2-logo { height: 30px; }
