@charset "utf-8";
/**
 * GEO 段落级可摘录结构样式 · 全独立前缀 jm-geo- / jm-qa
 * 不依赖 jd- / ja- / jm-home 的 CSS 变量, 两套详情页模板都能直接用。
 * 由 header.php 在文章页引入。
 */

/* ---------- 描述性小节标题(h3 -> h2 后保持原视觉层级) ---------- */
.jd-main-inner h2,
.article-content h2 {
    display: block;
    margin: 26px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #2563eb;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #1f2937;
}
.jd-main-inner > .jm-geo:first-child h2,
.article-content > .jm-geo:first-child h2 { margin-top: 0; }

/* ---------- 资源规格速览 ---------- */
.jm-geo {
    margin: 0 0 26px;
    padding: 20px 22px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}
.jm-geo > h2 {
    margin: 0 0 10px !important;
    padding-left: 0 !important;
    border-left: 0 !important;
    font-size: 17px !important;
    color: #111827 !important;
}
.jm-geo-def {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.85;
    color: #374151;
}
.jm-geo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 12px;
    font-size: 14px;
    table-layout: fixed;
}
.jm-geo-table th,
.jm-geo-table td {
    padding: 9px 12px;
    border: 1px solid #e5e7eb;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}
.jm-geo-table th {
    width: 108px;
    background: #eef2f7;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
}
.jm-geo-table td { background: #fff; color: #1f2937; }
.jm-geo-table time { color: #1f2937; }
.jm-geo-ver {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #6b7280;
}
.jm-geo-ver + .jm-geo-ver { margin-top: 6px; }
.jm-geo-ver a { color: #2563eb; text-decoration: none; }
.jm-geo-ver a:hover { text-decoration: underline; }
.jm-geo-ver code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #eef2f7;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    word-break: break-all;
}

/* ---------- 自包含 Q&A 块 ---------- */
.jm-qa {
    margin: 12px 0;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.jm-qa-q {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.6;
    color: #1f2937 !important;
}
.jm-qa-q::before {
    content: "问";
    display: inline-block;
    margin-right: 8px;
    padding: 1px 7px;
    border-radius: 4px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    vertical-align: 1px;
}
.jm-qa-a {
    font-size: 14px;
    line-height: 1.85;
    color: #4b5563;
}
.jm-qa-a p { margin: 0; }

/* ---------- 窄屏 ---------- */
@media (max-width: 640px) {
    .jm-geo { padding: 16px 14px 14px; }
    .jd-main-inner h2, .article-content h2 { font-size: 17px; }
    .jm-geo-table { font-size: 13px; }
    .jm-geo-table th { width: 84px; }
    .jm-geo-table th, .jm-geo-table td { padding: 7px 8px; }
}
