.wp-block-table {
    overflow: auto;
    transition: all 200ms ease-in-out;
    position: relative;
    max-height: 400px;
}

.has-frozen-header > table {
    position: relative;
}

.has-frozen-header > table tr:first-child > th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.wp-block-table.has-frozen-first-column table {
    table-layout: auto;
}

.wp-block-table.has-frozen-first-column:not(.wp-block-table--pinned-left) tr > *:first-child {
    box-shadow: 4px 0 6px -2px rgba( 0,0,0,.25);
    position: sticky;
    left: 0;
    z-index: 1;
}

.wp-block-table.has-frozen-header.has-frozen-first-column thead > tr > *:first-child {
    z-index: 2;
    background-color: orange;
}
