/* ============================================================
   投资沧州·云向导 - 政务云帮办子页面样式
   ============================================================ */

/* ---------------- 子页横幅 ---------------- */
.page-banner {
    background: linear-gradient(118deg, #2e6de6 0%, #3d85ee 55%, #5ba3f5 100%);
    padding: 40px 0 44px;
}

.page-banner h1 { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: 2px; }

.page-banner h1 i { margin-right: 10px; font-size: 24px; }

.page-banner p { color: rgba(255, 255, 255, .9); font-size: 14px; margin-top: 12px; letter-spacing: 1px; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 2px 0;
    font-size: 13px;
    color: #98a1b3;
}

.breadcrumb a { color: #67718a; }

.breadcrumb a:hover { color: #2f6fe8; }

.breadcrumb > i { font-size: 11px; color: #c0c6d4; }

.breadcrumb span { color: #333; }

/* ---------------- 通用区块 ---------------- */
.guide-section { margin-top: 26px; }

.sec-title { font-size: 18px; font-weight: 600; color: #333; margin: 28px 0 18px; }

.sec-title i { color: #2f6fe8; margin-right: 8px; font-size: 16px; }

/* ---------------- 云帮办主布局 ---------------- */
.guide-wrap { padding-bottom: 46px; }

/* 智能帮办横幅入口（图中红字标注的醒目入口） */
.chat-cta {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(115deg, #e5382e 0%, #f4633a 60%, #f78a4b 100%);
    border-radius: 14px;
    padding: 22px 26px;
    color: #fff;
    box-shadow: 0 10px 26px rgba(229, 56, 46, .28);
    transition: transform .2s, box-shadow .2s;
}

.chat-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(229, 56, 46, .36); }

.chat-cta-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    flex-shrink: 0;
}

.chat-cta-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.chat-cta-body b { font-size: 19px; letter-spacing: 1px; }

.chat-cta-body em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .88); }

.chat-cta-btn {
    margin-left: auto;
    flex-shrink: 0;
    background: #fff;
    color: #e5382e;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 22px;
}

.chat-cta-btn i { margin-left: 4px; font-size: 12px; }

/* 服务卡片网格 */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.svc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(30, 80, 180, .07);
    padding: 24px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.svc-card::after {
    content: '';
    position: absolute;
    right: -22px;
    top: -22px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: currentColor;
    opacity: .06;
}

.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(30, 80, 180, .15); }

.svc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    transition: transform .2s;
}

.svc-card:hover .svc-icon { transform: scale(1.06); }

.svc-name { font-size: 16px; font-weight: 600; color: #333; }

.svc-note { font-size: 12.5px; color: #98a1b3; line-height: 1.6; }

/* 卡片配色（icon 渐变 + 卡片主色） */
.tone-blue .svc-icon { background: linear-gradient(135deg, #2f6fe8, #5b9cf6); }
.tone-blue { color: #2f6fe8; }

.tone-cyan .svc-icon { background: linear-gradient(135deg, #0ea5b7, #3fd0d8); }
.tone-cyan { color: #0ea5b7; }

.tone-purple .svc-icon { background: linear-gradient(135deg, #7c4ddb, #a78bfa); }
.tone-purple { color: #7c4ddb; }

.tone-green .svc-icon { background: linear-gradient(135deg, #22a05c, #55d187); }
.tone-green { color: #22a05c; }

.tone-gold .svc-icon { background: linear-gradient(135deg, #e08a12, #f6c34a); }
.tone-gold { color: #e08a12; }

.tone-indigo .svc-icon { background: linear-gradient(135deg, #4054c8, #7a8cf0); }
.tone-indigo { color: #4054c8; }

.tone-teal .svc-icon { background: linear-gradient(135deg, #0f9d8f, #4ecdc0); }
.tone-teal { color: #0f9d8f; }

.tone-slate .svc-icon { background: linear-gradient(135deg, #64748b, #94a3b8); }
.tone-slate { color: #64748b; }

/* ---------------- 详情页 ---------------- */
.detail-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(30, 80, 180, .08);
    padding: 28px 32px;
}

.detail-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.detail-head h2 { font-size: 22px; font-weight: 700; color: #222; }

.detail-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    margin-top: 16px;
    padding: 14px 18px;
    background: #f7f9fd;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
}

.detail-info span { color: #8a93a6; margin-right: 8px; }

.detail-info span i { margin-right: 5px; color: #2f6fe8; }

.detail-body { margin-top: 20px; }

.detail-meta-line { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; font-size: 13px; color: #9aa3b5; }

.detail-meta-line i { margin-right: 5px; }

.detail-summary {
    margin: 18px 0 0;
    padding: 14px 18px;
    background: #f7f9fd;
    border-left: 3px solid #2f6fe8;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.detail-attachment { margin-top: 20px; }

.detail-foot { margin-top: 26px; border-top: 1px solid #f0f2f7; padding-top: 20px; }

.btn-back {
    display: inline-block;
    border: 1px solid #d6def0;
    border-radius: 999px;
    padding: 8px 24px;
    font-size: 14px;
    color: #556;
    transition: color .2s, border-color .2s;
}

.btn-back:hover { color: #2f6fe8; border-color: #2f6fe8; }

.btn-back i { margin-right: 6px; font-size: 12px; }

/* ---------------- 富文本基础样式 ---------------- */
.rich-text { font-size: 14px; color: #444; line-height: 1.9; word-break: break-word; }

.rich-text p { margin: 0 0 12px; }

.rich-text img { max-width: 100%; height: auto; border-radius: 6px; }

.rich-text ul, .rich-text ol { padding-left: 22px; margin: 0 0 12px; }

.rich-text li { margin-bottom: 6px; }

.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { margin: 18px 0 10px; color: #333; }

.rich-text table { border-collapse: collapse; width: 100%; margin: 0 0 12px; }

.rich-text table td, .rich-text table th { border: 1px solid #e3e8f2; padding: 8px 12px; font-size: 13px; }

.rich-text blockquote {
    border-left: 3px solid #2f6fe8;
    background: #f7f9fd;
    padding: 10px 14px;
    margin: 0 0 12px;
    color: #667;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .chat-cta { flex-wrap: wrap; }
    .chat-cta-btn { margin-left: 76px; }
}

@media (max-width: 640px) {
    .svc-grid { grid-template-columns: 1fr; }
    .chat-cta { padding: 18px; gap: 14px; }
    .chat-cta-btn { margin-left: 0; width: 100%; text-align: center; }
    .detail-card { padding: 20px 18px; }
}
