@media (max-width: 760px) {
  #portfolioSection .portfolio-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    container-type: inline-size;
    max-height: calc(100dvh - 110px);
    overflow: auto;
    overscroll-behavior-x: contain;
    position: relative;
  }

  #portfolioSection .portfolio-table {
    border-collapse: separate;
    border-spacing: 0;
    display: table;
    min-width: 900px;
    table-layout: fixed;
    width: 900px;
  }

  #portfolioSection .portfolio-table thead {
    display: table-header-group;
    width: auto;
  }

  #portfolioSection .portfolio-table tbody {
    display: table-row-group;
    width: auto;
  }

  #portfolioSection .portfolio-table tr,
  #portfolioSection .portfolio-table tbody tr.portfolio-data-row {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: table-row;
    margin: 0;
    padding: 0;
    width: auto;
  }

  #portfolioSection .portfolio-table th,
  #portfolioSection .portfolio-table td,
  #portfolioSection .portfolio-table tbody tr.portfolio-data-row td {
    border-bottom: 1px solid #e2e8f0;
    display: table-cell;
    padding: 8px;
    width: auto;
  }

  #portfolioSection .portfolio-table th:nth-child(1),
  #portfolioSection .portfolio-data-row td:nth-child(1) { width: 160px; }
  #portfolioSection .portfolio-table th:nth-child(2),
  #portfolioSection .portfolio-data-row td:nth-child(2) { width: 110px; }
  #portfolioSection .portfolio-table th:nth-child(3),
  #portfolioSection .portfolio-data-row td:nth-child(3) { width: 420px; }
  #portfolioSection .portfolio-table th:nth-child(4),
  #portfolioSection .portfolio-data-row td:nth-child(4) { width: 110px; }
  #portfolioSection .portfolio-table th:nth-child(5),
  #portfolioSection .portfolio-data-row td:nth-child(5) { width: 100px; }

  #portfolioSection .portfolio-table tbody tr.portfolio-data-row td:nth-child(n)::before,
  #portfolioSection .portfolio-table tbody tr.portfolio-data-row.is-checklist-entry td:nth-child(n)::before {
    content: none;
  }

  #portfolioSection .portfolio-table th:first-child,
  #portfolioSection .portfolio-data-row td:first-child {
    background: #ffffff;
    box-shadow: 1px 0 0 #cbd5e1;
    left: 0;
    position: sticky;
    z-index: 2;
  }

  #portfolioSection .portfolio-table th:first-child { z-index: 6; }

  #portfolioSection .portfolio-data-row .portfolio-item-heading strong {
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  #portfolioSection .portfolio-data-row .portfolio-timeline-chip-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #portfolioSection .portfolio-group-row-content,
  #portfolioSection .portfolio-category-section-row td > span,
  #portfolioSection .portfolio-entry-preview {
    box-sizing: border-box;
    left: 8px;
    margin-left: 0;
    max-width: none;
    position: sticky;
    width: calc(100cqw - 32px);
  }

  #portfolioSection .portfolio-category-section-row td > span { display: block; }

  #portfolioSection .portfolio-group-row-content {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  #portfolioSection .portfolio-group-title { min-width: 0; }

  #portfolioSection .portfolio-entry-preview-row > td {
    padding: 10px 8px;
  }

  #portfolioSection .portfolio-entry-preview {
    padding-left: 8px;
  }

  #portfolioSection .portfolio-entry-preview[aria-label]::before {
    color: #0f172a;
    content: attr(aria-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
  }

  #portfolioSection .portfolio-entry-preview-grade > summary {
    flex-wrap: wrap;
    gap: 8px;
  }

  #portfolioSection .portfolio-entry-preview-columns,
  #portfolioSection .is-academic-qualification-preview .portfolio-entry-preview-columns {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
  }

  #portfolioSection .portfolio-table tr[hidden],
  #portfolioSection .portfolio-table tr.is-category-collapsed { display: none; }
}
