/* ============================================================
   xnn-geo.css — GEO 加固区块样式（2026-11-12）

   三个区块：
     .xnn-geo-answer    首段「一句话答案」块
     .xnn-geo-table-wrap 表格化答案（主题速查表 / 考试时间表 / 费用构成表）
     .xnn-geo-faq       可见 FAQ 问答区

   设计原则：
     · 颜色沿用站内红橙渐变体系，与文章页 H2/H3 保持一致
     · 不使用 position:fixed / absolute，不影响既有布局
     · 移动端自适应（表格横向可滚）
     · 只作用于 xnn-geo-* 类，不污染既有样式
   ============================================================ */

/* ---------- 一句话答案 ---------- */
.xnn-geo-answer {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 0 26px;
    padding: 18px 20px 16px;
    background: linear-gradient(135deg, #fff6f2 0%, #fff9f4 55%, #fffdf9 100%);
    border: 1px solid #ffd9c9;
    border-left: 5px solid #ff6a3d;
    border-radius: 12px;
    position: relative;
}
.xnn-geo-answer-lb {
    display: inline-block;
    margin: 0 0 8px;
    padding: 3px 11px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .5px;
    color: #fff;
    background: linear-gradient(90deg, #ff6a3d 0%, #ff8a3d 100%);
    border-radius: 999px;
}
.xnn-geo-answer-tx {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    color: #3d2b23;
    font-weight: 500;
}

/* ---------- 表格化答案 ---------- */
.xnn-geo-table-wrap {
    margin: 0 0 28px;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}
.xnn-geo-table {
    width: 100%;
    min-width: 560px;
    max-width: none;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.7;
}
.xnn-geo-table caption {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    color: #1a365d;
    background: linear-gradient(90deg, #eef4ff 0%, #f8fbff 100%);
    border-bottom: 1px solid #e2e8f0;
}
.xnn-geo-table th,
.xnn-geo-table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eef1f5;
}
.xnn-geo-table thead th {
    font-weight: 700;
    color: #1a365d;
    background: #f5f8fd;
    white-space: nowrap;
}
.xnn-geo-table tbody tr:last-child td {
    border-bottom: 0;
}
.xnn-geo-table tbody tr:nth-child(even) {
    background: #fcfdff;
}
.xnn-geo-tr-hl td {
    background: #fff7ed !important;
    font-weight: 600;
    color: #9a3412;
}
.xnn-geo-note {
    margin: 0;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #64748b;
    background: #fafbfd;
    border-top: 1px solid #eef1f5;
}

/* ---------- 可见 FAQ ---------- */
.xnn-geo-faq {
    box-sizing: border-box;
    max-width: 100%;
    margin: 30px 0 8px;
    padding: 22px 22px 8px;
    background: #fafcff;
    border: 1px solid #dbe7fb;
    border-radius: 14px;
}
.xnn-geo-faq-h {
    margin: 0 0 16px;
    padding: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a365d;
    border-bottom: 2px solid #e8eefb;
}
.xnn-geo-faq dl {
    margin: 0;
}
.xnn-geo-faq-q {
    margin: 0 0 6px;
    padding: 0 0 0 26px;
    position: relative;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.75;
    color: #1a365d;
}
.xnn-geo-faq-q::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #2b6cb0 0%, #4a90d9 100%);
    border-radius: 5px;
}
.xnn-geo-faq-a {
    margin: 0 0 18px;
    padding: 0 0 0 26px;
    position: relative;
    font-size: 14.5px;
    line-height: 1.85;
    color: #4a5568;
}
.xnn-geo-faq-a::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #ff6a3d 0%, #ffa53d 100%);
    border-radius: 5px;
}

/* ---------- 移动端 ---------- */
@media (max-width: 991px) {
    .xnn-geo-answer {
        padding: 15px 15px 13px;
        margin-bottom: 22px;
    }
    .xnn-geo-answer-tx {
        font-size: 15px;
        line-height: 1.8;
    }
    .xnn-geo-table {
        min-width: 360px;
        font-size: 13.5px;
    }
    .xnn-geo-table-wrap {
        max-width: 100%;
        width: 100%;
        overflow-x: auto;
    }
    .xnn-geo-table th,
    .xnn-geo-table td {
        padding: 9px 11px;
    }
    .xnn-geo-faq {
        padding: 18px 15px 6px;
        margin-top: 24px;
    }
    .xnn-geo-faq-h {
        font-size: 16.5px;
    }
    .xnn-geo-faq-q {
        font-size: 14.5px;
        padding-left: 24px;
    }
    .xnn-geo-faq-a {
        font-size: 14px;
        padding-left: 24px;
    }
}
