/* Red Gate /kits/: the comparison stays one table on phones (one screen instead of six cards).
   Overrides the phone card layout in rg-ds2-polish.css for .rg-cmp only. */
@media (max-width:640px){
  .table-wrap.rg-cmp{overflow:visible;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
  .table-wrap.rg-cmp table{display:table;width:100% !important;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.3}
  .table-wrap.rg-cmp thead{display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip:auto}
  .table-wrap.rg-cmp tbody{display:table-row-group}
  .table-wrap.rg-cmp tr{display:table-row;border:0;border-radius:0;padding:0;margin:0;background:none}
  .table-wrap.rg-cmp :is(th,td){display:table-cell;padding:9px 6px;border:0;border-top:1px solid var(--line);vertical-align:top;text-align:left;overflow-wrap:break-word}
  .table-wrap.rg-cmp thead th{border-top:0;font-size:13px;font-weight:700;background:var(--paper);text-transform:none;letter-spacing:0;overflow-wrap:normal;hyphens:none}
  .table-wrap.rg-cmp th[scope="row"]{font-weight:600;padding-left:10px}
  .table-wrap.rg-cmp thead th:first-child{padding-left:10px}
  .table-wrap.rg-cmp td[data-label]::before{content:none}
}
