/* Mobile reading layout for genuine header-led comparison tables.
   Non-matching and complex tables keep their original scrolling behaviour. */
@media (max-width: 720px) {
  .gw-redesign main table.gw-responsive-cards {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    border: 0 !important;
    border-collapse: separate !important;
    background: transparent !important;
    margin: 1rem 0 1.5rem;
    font-size: 0.94rem !important;
  }
  .gw-redesign main table.gw-responsive-cards :is(thead, tbody, tfoot) {
    display: block !important;
    width: 100%;
  }
  .gw-redesign main table.gw-responsive-cards tr.gw-card-table-heading {
    display: none !important;
  }
  .gw-redesign main table.gw-responsive-cards tr.gw-card-table-row {
    display: block !important;
    min-width: 0;
    margin: 0 0 .9rem;
    padding: .25rem .85rem;
    border: 1px solid #dde8de;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(18, 63, 38, .035);
  }
  .gw-redesign main table.gw-responsive-cards tr.gw-card-table-row td {
    display: grid !important;
    grid-template-columns: minmax(5.3rem, 35%) minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
    box-sizing: border-box;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: .6rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ecf0ea !important;
    background: transparent !important;
    color: #253a2c;
    overflow-wrap: anywhere;
    white-space: normal !important;
    line-height: 1.5;
  }
  .gw-redesign main table.gw-responsive-cards tr.gw-card-table-row td::before {
    content: attr(data-gw-label);
    color: #50715b;
    font-size: .77rem;
    font-weight: 700;
    line-height: 1.7;
    white-space: normal;
  }
  .gw-redesign main table.gw-responsive-cards tr.gw-card-table-row td[data-gw-primary] {
    display: block !important;
    padding: .65rem 0 .8rem !important;
    color: #163d2a;
    font-size: 1.02rem;
    font-weight: 700;
  }
  .gw-redesign main table.gw-responsive-cards td[data-gw-primary]::before {
    display: none !important;
  }
  .gw-redesign main table.gw-responsive-cards tr.gw-card-table-row td:last-child {
    border-bottom: 0 !important;
  }
  .gw-redesign main table.gw-responsive-cards td :is(a, em, strong, span) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
