table {
  border: 1px solid var(--_color---color-border);
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  overflow: hidden;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  border: 1px solid var(--_color---color-border);
  padding: 0;
}



table th,
table td {
  padding: 1rem;
  color: white;
  text-align: center;
  line-height: 1.4;
}

table th {
  background: var(--_color---color-bg-alt);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1em .625rem;
}

[data-label="title"] {
  text-align: left;
  font-size: 1rem;
}

tfoot tr {
  background: var(--_color---color-bg-alt);
  color: white;
  font-weight: bold;
}


@media screen and (max-width: 600px) {


  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    display: block;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td[data-label="title"]::before {
    display: none;
  }
  
  table td:last-child {
    border-bottom: 0;
  }


  [data-label="title"] {

  background: var(--_color---color-bg-alt);
}


}

