/* 泛微OA 专题页（/fanwei-oa.html）专用样式
 * ---------------------------------------------------------------------------
 * 只作用于 .page-fanwei，不影响其他页面。
 * 站点样式层叠复杂（modern / polish / override 互相 !important），
 * 这里用独立前缀 fw-，选择器范围足够窄，不需要堆 !important。
 * 复用 column-banner.css 的内页横幅，只补一张栏目背景图。
 * ------------------------------------------------------------------------- */

.page-fanwei { --column-image: url("/static/picture/column-services-v3.jpg"); }

.fw-main { padding: 40px 15px 72px; }

.fw-section,
.fw-faq {
    margin-top: 28px;
    padding: 36px 40px;
    background: #fff;
    border: 1px solid #e6eef4;
    border-radius: 14px;
}

.fw-section-title {
    margin: 0 0 12px;
    color: #17324d;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.fw-section-lead {
    margin: 0 0 26px;
    color: #5a7284;
    font-size: 15px;
    line-height: 1.9;
}

/* 六项服务能力 */
.fw-cap-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fw-cap-list li {
    padding: 22px 22px 20px;
    background: #f7fbfd;
    border: 1px solid #e3eef5;
    border-radius: 12px;
}

.fw-cap-list h3 {
    margin: 0 0 10px;
    color: #167bb8;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.fw-cap-list p {
    margin: 0;
    color: #5a7284;
    font-size: 14px;
    line-height: 1.85;
}

.fw-section-more { margin: 24px 0 0; }

.fw-link-more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #167bb8;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.fw-link-more:hover {
    /* modern.css 有全局 `a:hover { color: var(--signal-dark) }`（墨绿 #087f5b），
       权重 (0,1,1) 高于这里的 (0,1,0)，不显式写就会变绿。 */
    color: #0f5f86;
    text-decoration: underline;
}

/* 文章聚合列表 */
.fw-post-list { margin: 0; padding: 0; list-style: none; }

.fw-post-list li + li { border-top: 1px solid #edf3f7; }

.fw-post {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "title date" "desc desc";
    gap: 6px 16px;
    padding: 18px 4px;
    text-decoration: none;
}

.fw-post-title {
    grid-area: title;
    color: #1d3a52;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.fw-post-desc {
    grid-area: desc;
    color: #6b8294;
    font-size: 13px;
    line-height: 1.75;
}

.fw-post time {
    grid-area: date;
    color: #92a5b3;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fw-post:hover .fw-post-title { color: #167bb8; }

/* 常见问题 */
.fw-faq-item {
    padding: 16px 0;
    border-top: 1px solid #edf3f7;
}

.fw-faq-item:first-of-type { border-top: 0; }

.fw-faq-item summary {
    cursor: pointer;
    color: #1d3a52;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    list-style: none;
}

.fw-faq-item summary::-webkit-details-marker { display: none; }

.fw-faq-item summary::after {
    content: "+";
    float: right;
    color: #167bb8;
    font-weight: 400;
}

.fw-faq-item[open] summary::after { content: "–"; }

.fw-faq-item p {
    margin: 12px 0 0;
    color: #5a7284;
    font-size: 15px;
    line-height: 1.9;
}

/* 底部咨询 */
.fw-cta {
    margin-top: 28px;
    padding: 40px;
    background: linear-gradient(120deg, #167bb8 0%, #2f9ed8 100%);
    border-radius: 14px;
}

.fw-cta-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.fw-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 1.8;
}

.fw-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.fw-cta-primary {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 26px;
    background: #fff;
    color: #167bb8;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

/* 同上：不写这两条 hover，白底按钮的文字会变墨绿 */
.fw-cta-primary:hover { color: #0f5f86; }

.fw-cta-phone {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

/* 白字变墨绿在蓝底上几乎看不清，这里保持白字、加一层淡背景 */
.fw-cta-phone:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .14);
}

@media (max-width: 991px) {
    .fw-cap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .fw-main { padding: 24px 12px 48px; }
    .fw-section,
    .fw-faq { padding: 24px 18px; border-radius: 12px; }
    .fw-section-title { font-size: 21px; }
    .fw-cap-list { grid-template-columns: 1fr; gap: 12px; }
    .fw-cap-list li { padding: 18px; }
    .fw-post {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "desc" "date";
    }
    .fw-cta { padding: 28px 20px; }
    .fw-cta-title { font-size: 20px; }
}
