.projects-table {
  width: 100%;
  border-collapse: collapse;
  --hover-offset: 1.25rem;
}
.projects-table tr {
  border-bottom: 1px solid var(--c--lowest);
}
.projects-table th,
.projects-table td {
  padding: 0.5rem;
}
.projects-table td {
  padding: 0.125rem;
  height: 2.67rem;
  vertical-align: middle;
}
/* Header */
.projects-table th:last-child,
.projects-table td:last-child {
  width: calc(2.5rem + var(--hover-offset));
}
.projects-table th button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  color: var(--c--low);
  font-size: 1rem;
  font-weight: 300;
  gap: 0.25rem;
  padding: 0;
}
.projects-table th button:hover {
  font-weight: 400;
  letter-spacing: -0.01em;
}
.projects-table th button:focus-visible {
  outline: 3px solid;
  outline-offset: 0.25rem;
}
.projects-table th button svg {
  width: 1em;
}
.projects-table th button:hover,
.projects-table th[aria-sort="ascending"] button,
.projects-table th[aria-sort="descending"] button {
  color: var(--c--lowest);
}
.projects-table th[aria-sort="ascending"] svg {
  transform: rotate(-90deg);
}
.projects-table th[aria-sort="descending"] svg {
  transform: rotate(90deg);
}

/* Rows */
.projects-table tr {
  color: var(--c--low);
}
.projects-table tr[data-fully-clickable] {
  cursor: pointer;
}
.projects-table td {
  transition: transform 0.3s;
}
.projects-table a {
  display: block;
  color: inherit;
  margin-left: auto;
  width: 1.5rem;
}
.projects-table a svg {
  width: 1.5rem;
}
.projects-table tr[data-fully-clickable]:hover,
.projects-table tr[data-fully-clickable]:focus-within {
  color: var(--c--lowest);
}
.projects-table tr[data-fully-clickable]:hover td:not(:last-child),
.projects-table tr[data-fully-clickable]:focus-within td:not(:last-child) {
  transform: translateX(var(--hover-offset));
}
@media (max-width: 63.99rem) {
  .projects-table thead {
    display: none;
  }
  .projects-table td {
    font-size: 1.2rem;
    height: auto;
    padding: 0.5rem;
  }

  .projects-table tr {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 0 var(--l--global-gap);
    justify-content: space-between;
  }

  .projects-table tr:first-child {
    border-top: 1px solid;
  }

  .projects-table tr[data-fully-clickable]:hover td:not(:last-child),
  .projects-table tr[data-fully-clickable]:focus-within td:not(:last-child) {
    transform: none;
  }
  .projects-table td:first-child {
    font-size: 1.67rem;
    line-height: 1.25;
    min-height: 2.5em;
    grid-column: span 2;
    order: -2;
    /* flex: 0 0 calc(100% - 3rem - var(--l--global-gap)); */
  }
  .projects-table td:nth-child(4) {
    text-align: right;
  }
  .projects-table td:last-child {
    order: -1;
    margin-left: auto;
    /* flex: 0 0 3rem; */
    aspect-ratio: 1;
    display: flex;
    align-items: center;
  }
}
@media (max-width: 41.99rem) {
  .projects-table tr {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .projects-table td {
    font-size: 1rem;
  }
  .projects-table td:nth-child(2) {
    grid-column: span 3;
  }
  .projects-table td:nth-child(3) {
    grid-column: span 2;
  }
}
