/* /vs comparison pages. Same tokens as tools.css; logical properties for RTL. */
.vs-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vs-cols > .the_box { min-width: 0; margin: 0; }
.vs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vs-list li { position: relative; padding-inline-start: 22px; color: var(--ve-text-muted); line-height: 1.6; overflow-wrap: anywhere; }
.vs-list li:before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--ve-accent); }
.vs-con li:before { background: var(--ve-text-faint); }
.vs-note, .vs-lead { margin-bottom: 14px !important; }

.vs-scroll { overflow-x: auto; margin-top: 14px; border: 1px solid var(--ve-line); border-radius: var(--ve-radius); -webkit-overflow-scrolling: touch; }
.vs-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.vs-table th, .vs-table td { padding: 11px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--ve-line); overflow-wrap: anywhere; }
.vs-table thead th { background: var(--ve-surface-2); color: var(--ve-text-strong, var(--ve-text)); font-size: .8rem; letter-spacing: .03em; text-transform: uppercase; }
.vs-table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--ve-surface); color: var(--ve-text); font-weight: 600; width: 22%; }
.vs-table td { color: var(--ve-text-muted); width: 39%; }
.vs-table tbody tr:last-child > * { border-bottom: 0; }
.vs-table small { display: block; margin-top: 4px; color: var(--ve-text-faint); font-size: .78rem; line-height: 1.4; }
.vs-who { display: none; }

.vs-card > span { display: block; }
.vs-card b { display: block; color: var(--ve-text); }
.vs-card small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; margin-top: 4px; font-weight: 400; font-size: .82rem; line-height: 1.45; color: var(--ve-text-muted); }
.vs-card { align-items: flex-start; }

.vs-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto !important; }
.vs-cta-btns .btn { white-space: normal; max-width: 100%; }
.vs-sources-list { margin: 14px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: .9rem; }
.vs-sources-list a { overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
  .vs-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vs-cols > .the_box + .the_box { margin-top: 24px; }
}
@media (max-width: 640px) {
  .vs-scroll { border: 0; overflow: visible; }
  .vs-table { min-width: 0; display: block; }
  .vs-table thead { display: none; }
  .vs-table tbody, .vs-table tr { display: block; }
  .vs-table tr { margin-bottom: 12px; border: 1px solid var(--ve-line); border-radius: var(--ve-radius); overflow: hidden; background: var(--ve-surface); }
  .vs-table tbody th { position: static; display: block; width: auto; background: var(--ve-surface-2); border-bottom: 1px solid var(--ve-line); }
  .vs-table td { display: block; width: auto; border-bottom: 1px solid var(--ve-line); }
  .vs-table tr > td:last-child { border-bottom: 0; }
  .vs-who { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ve-accent-fg); }
  .vs-cta-btns .btn { width: 100%; }
}
