.case-study-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.case-study-table col:nth-child(1) { width: 16%; }
.case-study-table col:nth-child(2) { width: 20%; }
.case-study-table col:nth-child(3) { width: 25%; }
.case-study-table col:nth-child(4) { width: 15%; }
.case-study-table col:nth-child(5) { width: 24%; }
.case-study-table :is(th, td) {
  padding: clamp(.65rem, 1.1vw, 1rem);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  vertical-align: top;
}
.case-study-table thead th { background: var(--surface, #edecf9); }
.case-study-table tbody th { font-weight: 750; }
.case-study-label { display: none; }
.case-study-table tbody tr { scroll-margin-top: 6rem; }
@media (max-width: 899px) {
  .case-study-table { display: block; position: relative; }
  .case-study-table colgroup { display: none; }
  .case-study-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .case-study-table tbody { display: grid; gap: 1rem; }
  .case-study-table tbody tr {
    display: grid;
    padding: 1rem;
    gap: .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface, #fff);
  }
  .case-study-table tbody :is(th, td) { display: block; border: 0; padding: 0; }
  .case-study-table tbody th { font-size: 1.25rem; }
  .case-study-label { display: block; font-weight: 700; margin-bottom: .2rem; }
}
