@media (max-width: 600px) {
    /* The local layers cover the two edge cues when the reader reaches each end. */
    .s3-article .article-table-scroll {
        --table-surface: var(--s3-raised, #fff);
        padding-bottom: 4px;
        background:
            linear-gradient(var(--table-surface), var(--table-surface)) left bottom / 20px 4px local no-repeat,
            linear-gradient(var(--table-surface), var(--table-surface)) right bottom / 20px 4px local no-repeat,
            linear-gradient(to right, var(--s3-muted), transparent) left bottom / 18px 4px scroll no-repeat,
            linear-gradient(to left, var(--s3-muted), transparent) right bottom / 18px 4px scroll no-repeat;
    }

    .article-luggage-rules .article-table-scroll {
        container-type: inline-size;
    }

    .article-luggage-rules .article-table-scroll table {
        width: max-content;
        border-collapse: separate;
        border-spacing: 0;
    }

    .article-luggage-rules .article-table-scroll tr {
        display: grid;
        grid-template-columns: 35cqi 64cqi 78cqi;
    }

    .article-luggage-rules .article-table-scroll :is(td, th) {
        box-sizing: border-box;
        min-width: 0;
        overflow-wrap: anywhere;
        padding: .55rem .45rem;
    }

    /* In the four-column London comparison the quoted eight-hour cost is column three. */
    .article-luggage-rules .article-table-scroll tr:has(> :nth-child(4):last-child) {
        grid-template-columns: 35cqi 64cqi 78cqi 72cqi;
    }

    .article-luggage-rules .article-table-scroll tr:has(> :nth-child(4):last-child) > :nth-child(2) {
        grid-area: 1 / 3;
    }

    .article-luggage-rules .article-table-scroll tr:has(> :nth-child(4):last-child) > :nth-child(3) {
        grid-area: 1 / 2;
    }
}
