/* ============================================================
   TRANG NỘI DUNG TĨNH (ava_pages)
   ------------------------------------------------------------
   Dùng cho lớp trang hỗ trợ: /page/game-khong-chay-phai-lam-sao,
   /page/game-flash-khong-choi-duoc-nua, ...

   VÌ SAO CẦN FILE NÀY: nội dung trang được echo thẳng vào
   .page-layout-section-wrap — vốn là flex-wrap container. Không
   bọc lại thì MỌI thẻ <h2>, <p>, <ul> đều thành flex item và
   nằm ngang cạnh nhau, chữ dính vào nhau, bảng vỡ.

   Bản mobile (header_mobile.php) không nạp combine-auto.php nên
   file này được khai báo tường minh ở cả misc_desktop.php lẫn
   misc_mobile.php, và được loại khỏi bundle trong combine-auto.php
   — cùng cách làm với game-partials-inline.css.

   Bảng màu dùng lại token của site:
     nền #1a1b28  viền #2f3148  nhấn #a48eff
     chữ chính #e5e6ee  chữ phụ #aaadbe
   ============================================================ */

.support-page {
    /* Bắt buộc: thẻ cha là flex-wrap, thiếu dòng này thì khối co lại vừa nội
       dung và lề phải răng cưa. */
    width: 100%;
    /* Giới hạn độ dài dòng. Ở màn rộng, chữ trải hết bề ngang là hơn 1300px —
       mắt không bắt được đầu dòng tiếp theo. */
    max-width: 820px;
    color: #c8cbd9;
    font-size: 16px;
    line-height: 1.75;
}

.support-page > *:first-child {
    margin-top: 0;
}

.support-page p {
    margin: 0 0 14px;
}

.support-page h2 {
    margin: 30px 0 10px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-transform: none;
}

.support-page h3 {
    margin: 22px 0 8px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: #e5e6ee;
    text-transform: none;
}

.support-page strong {
    color: #f0f1f7;
    font-weight: 700;
}

.support-page a {
    color: #a48eff;
    font-weight: 600;
}

.support-page a:hover {
    text-decoration: underline !important;
}

/* all.css đặt list-style:none cho mọi ul/ol. Trang hướng dẫn cần dấu đầu dòng
   thật — danh sách các bước mà không có đánh dấu thì đọc như một khối chữ. */
.support-page ul,
.support-page ol {
    margin: 0 0 14px 1.5rem;
    padding: 0;
    list-style: disc;
}

.support-page ol {
    list-style: decimal;
}

.support-page li {
    margin: 6px 0;
}

.support-page li::before {
    content: none;
}

/* --- Bảng phím điều khiển --- */

.support-page table {
    width: 100%;
    margin: 0 0 18px;
    border-collapse: collapse;
    background: #1a1b28;
    border: 1px solid #2f3148;
    border-radius: 10px;
    overflow: hidden;
    font-size: 15px;
}

.support-page th,
.support-page td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #2f3148;
}

.support-page th {
    background: #242531;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.support-page tr:last-child td {
    border-bottom: 0;
}

/* Màn hẹp: bảng 3 cột bị bóp tới mức không đọc được. Cho cuộn ngang thay vì
   ép xuống dòng giữa từ. */
@media (max-width: 560px) {
    .support-page table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* --- Khối "Xem thêm" cuối trang --- */

.support-page .support-more {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .support-page .support-more {
        grid-template-columns: repeat(2, 1fr);
    }
}

.support-page .support-more li {
    margin: 0;
}

.support-page .support-more li::before {
    content: none;
}

.support-page .support-more a {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    background: #1a1b28;
    border: 1px solid #2f3148;
    color: #cfd2e3;
    font-size: 14.5px;
    font-weight: 700;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.support-page .support-more a:hover {
    background: #242531;
    border-color: #4a3c8c;
    color: #a48eff;
    text-decoration: none !important;
}

@media (max-width: 780px) {
    .support-page {
        font-size: 15.5px;
    }

    .support-page h2 {
        font-size: 19px;
        margin-top: 24px;
    }
}
