/* ============================================================
   Qumogu Insights — 增量样式
   基类（topbar / story-hero / story-body / takeaway / story-cta）
   复用 ../stories/stories.css，这里只补 GEO 文章需要的元素。
   ============================================================ */

/* ---------- Hub 列表 ---------- */
.insight-list {
    max-width: 1000px;
    margin: 40px auto 72px;
    padding: 0 24px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.insight-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 20px;
    padding: 24px 26px 22px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}
.insight-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0071e3;
    background: #f0f6ff;
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 12px;
}
.insight-card h3 {
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 10px;
    color: #1d1d1f;
    letter-spacing: -.01em;
}
.insight-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0 0 14px;
}
.insight-meta {
    font-size: 12px;
    color: #8e8e93;
}

/* ---------- 正文补充元素 ---------- */
.story-body h2 {
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: #1d1d1f;
    margin: 44px 0 14px;
    font-weight: 700;
}
.story-body ul {
    margin: 0 0 22px;
    padding-left: 22px;
}
.story-body li {
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.story-body li::marker { color: #0071e3; }

/* 开篇 40–60 词直接回答（GEO：答案前置，便于 AI 摘录） */
.story-body p.answer-box {
    font-size: 18px;
    line-height: 1.65;
    color: #1d1d1f;
    background: #f5f5f7;
    border-left: 3px solid #0071e3;
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 0 0 34px;
}

/* 表格 */
.table-wrap { overflow-x: auto; margin: 0 0 28px; }
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
thead th {
    text-align: left;
    background: #f5f5f7;
    color: #1d1d1f;
    font-weight: 600;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    color: #1d1d1f;
    line-height: 1.55;
}
tbody tr:last-child td { border-bottom: none; }

.story-body blockquote {
    margin: 0 0 26px;
    padding: 4px 0 4px 20px;
    border-left: 3px solid #d2d2d7;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.7;
    font-style: italic;
}
.story-body p.note {
    font-size: 14.5px;
    color: #6e6e73;
    background: #fbfbfd;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 0 24px;
}

/* takeaway：模板用 h2，基类只定义了 h3 */
.takeaway-inner h2 {
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #1d1d1f;
    font-weight: 700;
}

/* FAQ（FAQPage schema 对应可见内容） */
.insight-faq { margin-top: 52px; }
.insight-faq h2 { font-size: 25px; margin: 0 0 18px; }
.insight-faq .faq-item {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: #fff;
}
.insight-faq .faq-item[open] { border-color: #0071e3; }
.insight-faq summary {
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 600;
    color: #1d1d1f;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.insight-faq summary::-webkit-details-marker { display: none; }
.insight-faq summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 21px;
    font-weight: 400;
    color: #0071e3;
    transition: transform .25s ease;
}
.insight-faq .faq-item[open] summary::after { transform: rotate(45deg); }
.insight-faq .faq-item p {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1f;
}

/* 来源引用 */
.insight-sources { margin-top: 44px; }
.insight-sources h2 {
    font-size: 18px;
    margin: 0 0 12px;
    color: #1d1d1f;
}
.insight-sources ul { margin: 0; padding-left: 20px; }
.insight-sources li {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 6px;
}
.insight-sources a { color: #0071e3; }

/* Hub 页头 */
.insight-hero {
    max-width: 780px;
    margin: 72px auto 0;
    padding: 0 24px;
    text-align: center;
}
.insight-hero h1 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 10px 0 14px;
    color: #1d1d1f;
}
.insight-hero p {
    font-size: 17px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0;
}
@media (max-width: 640px) {
    .insight-hero h1 { font-size: 30px; }
    .story-body h2 { font-size: 22px; }
}


/* ---------- 全站导航注入后的补偿（文章页复用首页 header） ---------- */
body { padding-top: var(--nav-h); }
.story-hero { padding-top: 40px; }
@media (max-width: 768px) {
    .story-hero { padding-top: 28px; }
}
