.table-block thead {
  background: var(--color-primary);
  color: #fff;
}
.table-block thead th {
  padding: 1rem 1.5rem;
}
.table-block tbody, .table-block tfoot, .table-block thead {
  border: 0;
}
.table-block tbody tr:nth-child(even),
tbody tr:nth-child(even) {
  background: #f7f7f7;
}
.table-block tbody tr:last-of-type {
  border-bottom: 2px solid #f7f7f7;
}
.table-block td {
  padding: 1.25rem 1.5rem;
}
.table-block td:first-of-type, .table-block th:first-of-type {
  text-align: left;
}



/***************   Mobile    ***************/

@media all and (max-width: 1439px) {
  .table-block .text-block-text {
    margin: 0;
  }
  .table-block thead {
    font-size: 1.25em;
  }
  .table-block thead th {
    padding: 0.75rem 1.25rem;  
  }
  .table-block td {
    font-size: 1em;
    padding: 0.75rem 1.25rem;
  }
}

@media all and (max-width: 1023px) {
  .table-block-table {
    margin: 0;
  }
  .table-block td {
    font-size: 0.75rem;
  }
  .table-block-table p {
    font-size: 0.75rem;
  }
}

@media all and (max-width: 639px) {
  .table-block table {
    border: 0;
  }
  .table-block table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    width: 1px;
  }
  .table-block table tr {
    display: block;
  }
  .table-block table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .75rem;
    text-align: right;
  }

  .table-block table thead th {
    display: none;
    font-size: 1rem;
  }
  .table-block table thead th:first-of-type {
    display: block;
  }
  
  .table-block table td::before {
    content: attr(data-label);
    float: left;
  }

  .table-block table td:first-of-type::before {
    content: "";
  }

  .table-block table td:last-child {
    border-bottom: 0;
  }
}