table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  background-color: var(--p--theme--color--background);
  color: var(--p--theme--color--text);
  padding: var(--p--spacing--1) var(--p--spacing--1-4);
  text-align: left;
}
td {
  font-size: var(--p--font-size--n1);
}
td:first-child,
th:first-child {
  padding-left: var(--p--spacing--3-4);
}
td:last-child,
th:last-child {
  padding-right: var(--p--spacing--3-4);
}
th,
td.views-field-title {
  font-size: var(--p--font-size--0);
  font-weight: 500;
  line-height: var(--p--line-height--tight);
}
th a,
td a {
  text-decoration: none;
  color: inherit;
}
th {
  border-bottom: var(--p--spacing--1-4) solid;
}

tbody tr:nth-child(2n) {
  --p--theme--color--text: var(--p--color--neutral--900);
  --p--theme--color--text-light: var(--p--color--neutral--700);
  --p--theme--color--background: var(--p--color--neutral--100);
  --p--theme--color--separator: var(--p--color--neutral--300);
}
tbody tr:focus-within,
tbody tr:hover {
  --p--theme--color--text: var(--p--color--neutral--50);
  --p--theme--color--text-light: var(--p--color--neutral--200);
  --p--theme--color--background: var(--p--color--neutral--900);
  --p--theme--color--separator: var(--p--color--neutral--600);
}
tbody tr:focus-within a {
  outline: none;
}

thead a {
  display: flex;
  align-items: center;
  gap: var(--p--spacing--1-4);
  padding-right: var(--p--font-size--n2);
}
table .tablesort--asc {
  background-image: url(../../icons/solid/sort-down.svg);
}
table .tablesort--desc {
  background-image: url(../../icons/solid/sort-up.svg);
}
table .tablesort {
  width: var(--p--font-size--n2);
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: calc(-1 * (var(--p--font-size--n2) + var(--p--spacing--1-4)));
}
@media (max-width: 24rem) {
  th,
  td {
    font-size: var(--p--font-size--n2);
  }
  th,
  td.views-field-title {
    font-size: var(--p--font-size--n1);
  }
}
