/* Queensirikit.Web Phase 02F - Journey mobile category layout.
   Developer-owned file. Never edit the designer's original stylesheet.
   All selectors are scoped to .qs-journey-page; desktop keeps designer behavior.
*/
@media screen and (max-width: 767px) {
    .content .qs-journey-page .info-body .category-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
    }

    .content .qs-journey-page .info-body .category {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 8px;
        width: 100%;
        max-width: 100%;
        padding: 0 0 24px;
        white-space: normal;
        box-sizing: border-box;
    }

    .content .qs-journey-page .info-body .category > a {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
        text-decoration: none;
    }

    .content .qs-journey-page .category table.category-button {
        width: 100%;
        max-width: 100%;
        margin: 0;
        table-layout: fixed;
        border-collapse: collapse;
    }

    .content .qs-journey-page .category table.category-button td.w1 {
        width: 12px;
        min-width: 12px;
        padding: 0;
    }

    .content .qs-journey-page .category table.category-button td.w1 img {
        display: block;
        width: 12px;
        height: 42px;
    }

    .content .qs-journey-page .category table.category-button td:nth-child(2) {
        width: 17px;
        padding: 0;
    }

    .content .qs-journey-page .category table.category-button td.bg {
        font-size: 13px;
        white-space: nowrap;
        vertical-align: middle;
        background-size: auto 42px;
    }

    .content .qs-journey-page .category table.category-button img.bullet {
        display: block;
        width: 12px;
        height: auto;
        margin-right: 3px;
    }
}

/* A single column prevents label clipping on especially narrow devices. */
@media screen and (max-width: 359px) {
    .content .qs-journey-page .info-body .category {
        grid-template-columns: 1fr;
    }
}
