/* Support Service table styling */
body.page .support-page-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
body.page .support-page-content .wp-block-table th,
body.page .support-page-content .wp-block-table td {
    border: 1px solid #d3d7df;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.35;
    color: #334155;
    vertical-align: middle;
}
body.page .support-page-content .wp-block-table thead th {
    text-align: center;
    font-weight: 700;
    font-size: 44px;
}
body.page .support-page-content .wp-block-table thead th:nth-child(2) { background: #f3d468; }
body.page .support-page-content .wp-block-table thead th:nth-child(3) { background: #de6666; }
body.page .support-page-content .wp-block-table thead th:nth-child(4) { background: #6f97d9; }
body.page .support-page-content .wp-block-table tbody td:nth-child(2) { background: #efe4bf; text-align: center; }
body.page .support-page-content .wp-block-table tbody td:nth-child(3) { background: #e3bdc0; text-align: center; }
body.page .support-page-content .wp-block-table tbody td:nth-child(4) { background: #b4c6e4; text-align: center; }
body.page .support-page-content .wp-block-table tbody td:first-child {
    background: var(--wp--preset--color--white);
    text-align: left;
    font-size: 20px;
}
.single-layout-common .support-page-content .wp-block-post-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.single .support-page-content .wp-block-post-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    width: auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-wrap: anywhere;
}
/* Readability: loosen line-height and inter-paragraph spacing in long-form
   article bodies (developer blog / manuals) so dense Japanese text breathes. */
body.single .wp-block-post-content p.wp-block-paragraph,
body.page .wp-block-post-content p.wp-block-paragraph {
    line-height: 1.9;
    letter-spacing: 0.01em;
}

body.single .wp-block-post-content > p.wp-block-paragraph:first-child,
body.page .wp-block-post-content > p.wp-block-paragraph:first-child {
    margin-top: 0 !important;
}
body.single .wp-block-post-content li,
body.page .wp-block-post-content li {
    line-height: 1.8;
}
.single-layout-common .support-page-content .wp-block-post-content.is-layout-constrained > .alignwide,
body.single .support-page-content .wp-block-post-content.is-layout-constrained > .alignwide {
    max-width: 100% !important;
    width: auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.single-layout-common .support-page-content,
body.single .support-page-content,
body.page .support-page-content {
    overflow-x: hidden;
}
.support-page-sidebar-column {
    min-width: 260px;
    align-self: flex-start;
    position: sticky;
    top: 100px;
    /* Cap height so sidebar never exceeds the viewport, enabling sticky */
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
@supports (-moz-appearance: none) {
    .support-page-sidebar-column {
        scrollbar-width: thin;
        scrollbar-color: var(--q-border) transparent;
    }
}
.support-page-sidebar-column::-webkit-scrollbar {
    width: 4px;
}
.support-page-sidebar-column::-webkit-scrollbar-track {
    background: transparent;
}
.support-page-sidebar-column::-webkit-scrollbar-thumb {
    background: var(--q-border);
    border-radius: 4px;
}
.support-side-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.support-side-menu-list li {
    margin: 0;
    border-bottom: 1px solid var(--q-primary);
    padding-left: 0;
}
.support-side-menu-list li:last-child {
    border-bottom: 0;
}
.support-side-menu-list a {
    display: block;
    padding: 8px 0.75rem;
    color: var(--q-primary-dark);
    text-decoration: none;
    line-height: 1.45;
    transition: background-color 120ms ease, color 120ms ease;
}
.support-side-menu-list a:hover {
    background-color: var(--q-primary);
    color: var(--wp--preset--color--white);
    border-radius: 4px;
}
.support-side-menu-list-secondary {
    margin-top: 0.9rem;
}
