.works-archive--table .works-archive__title {
  margin-bottom: 20px;
}

.works-archive__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: url("./images/works/divider-01.svg") left bottom / 100% 1px no-repeat;
  font-family: "ABC Diatype", Arial, sans-serif;
  color: #212121;
  text-transform: uppercase;
}

.works-archive__table tbody tr {
  height: 44px;
  background: url("./images/works/divider-01.svg") left top / 100% 1px no-repeat;
  transition: background-color 240ms ease;
}

.works-archive__table tbody tr:hover {
  background-color: rgb(33 33 33 / 20%);
}

.works-archive__table td {
  padding: 8px 0;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.works-archive__table td:nth-child(2) { font-size: 16px; }

.works-archive__table td:first-child,
.works-archive__table td:nth-child(2) { width: 25.143%; }

.works-archive__table td:last-child { white-space: nowrap; }

.works-archive__table-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 60px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  vertical-align: middle;
}

.works-archive__table-tag:last-child { margin-right: 0; }

@media (max-width: 900px) {
  .works-archive__table td { font-size: 17px; }
  .works-archive__table-tag { font-size: 13px; }
}

@media (max-width: 620px) {
  .works-archive__table { table-layout: auto; }
  .works-archive__table tbody { display: block; }
  .works-archive__table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 68px; height: auto; padding: 10px 0; }
  .works-archive__table td { display: block; min-width: 0; padding: 0; font-size: 16px; }
  .works-archive__table td:first-child { width: auto; }
  .works-archive__table td:nth-child(2) { width: auto; font-size: 13px; text-align: right; }
  .works-archive__table td:last-child { grid-column: 1 / -1; margin-top: 6px; white-space: normal; }
  .works-archive__table-tag { margin: 2px 4px 2px 0; padding: 2px 7px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .works-archive__table tbody tr { transition: none; }
}
