.dsm-employment-table {
  width: 100%;
}

@media (max-width: 680px) {
  .dsm-employment-table,
  .dsm-employment-table tbody,
  .dsm-employment-table tr,
  .dsm-employment-table th,
  .dsm-employment-table td {
    display: block;
    width: 100%;
  }

  .dsm-employment-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .dsm-employment-table tbody tr {
    margin: 0 0 1rem;
    overflow: hidden;
    border: 1px solid #d8e2e8;
    border-radius: 12px;
    background: #fff;
  }

  .dsm-employment-table tbody th {
    padding: 0.85rem 1rem;
    border: 0;
    background: #e8f4f2;
    color: #07364a;
    font-size: 1rem;
  }

  .dsm-employment-table tbody td {
    display: block;
    padding: 0.85rem 1rem;
    border: 0;
    border-top: 1px solid #e4eaee;
    overflow-wrap: anywhere;
  }

  .dsm-employment-table tbody td::before {
    display: block;
    margin-bottom: 0.25rem;
    color: #07364a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .dsm-contract-table tbody td:nth-of-type(1)::before {
    content: "Decisions to document";
  }

  .dsm-contract-table tbody td:nth-of-type(2)::before {
    content: "Records to keep aligned";
  }

  .dsm-pay-table tbody td:nth-of-type(1)::before {
    content: "Useful when";
  }

  .dsm-pay-table tbody td:nth-of-type(2)::before {
    content: "Define before using it";
  }
}
