/* ============================================================
   2026-11-17 Solutions 子页美化（Service Process / Quality Control /
   Project Reference）。独立文件，选择器全部限定 .sol-*，
   只作用于新模板容器，不影响其他栏目。可删 base.html 的引入行整体回退。
   ============================================================ */
.sol-wrap {
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    color: #1b2a20
}

.sol-wrap * {
    box-sizing: border-box
}

.sol-body {
    padding: 46px 0 78px;
    background: #fbfcfb
}

/* 页头导语 */
.sol-head {
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center
}

.sol-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: #69b77a
}

.sol-head h2 {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1b2a20
}

.sol-rule {
    display: block;
    width: 46px;
    height: 3px;
    margin: 0 auto 18px;
    background: #69b77a;
    border-radius: 2px
}

.sol-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #5d6b62
}

/* 流程卡：5 步 */
.sol-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative
}

.sol-step {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 292px;
    padding: 22px 18px 24px;
    background: #fff;
    border: 1px solid #e4ebe6;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(16, 40, 24, .04);
    transition: transform .28s, border-color .28s, box-shadow .28s
}

.sol-step:hover {
    transform: translateY(-3px);
    border-color: #9ed0aa;
    box-shadow: 0 12px 28px rgba(31, 74, 46, .1)
}

.sol-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eaf6ec;
    color: #2c7a42;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px
}

.sol-step:hover .sol-num {
    background: #69b77a;
    color: #fff
}

.sol-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    margin-bottom: 14px
}

.sol-icon img {
    max-width: 86px;
    max-height: 86px;
    object-fit: contain;
    opacity: .5;
    filter: grayscale(1);
    transition: opacity .28s, filter .28s, transform .28s
}

.sol-step:hover .sol-icon img {
    opacity: 1;
    filter: none;
    transform: scale(1.06)
}

.sol-step h3 {
    margin: auto 0 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    color: #24382b;
    min-height: 2.85em
}

.sol-step:hover h3 {
    color: #2c7a42
}

.sol-step .sol-bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 14px auto 0;
    background: #69b77a;
    border-radius: 2px
}

/* 连接箭头（桌面） */
.sol-arrow {
    position: absolute;
    top: 132px;
    width: 16px;
    height: 16px;
    border-top: 2px solid #cfe3d3;
    border-right: 2px solid #cfe3d3;
    transform: rotate(45deg);
    pointer-events: none
}

.sol-arrow.a1 {
    left: 19.3%
}

.sol-arrow.a2 {
    left: 39.6%
}

.sol-arrow.a3 {
    left: 59.9%
}

.sol-arrow.a4 {
    left: 80.2%
}

/* 认证卡：5 项 */
.sol-certs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px
}

.sol-cert {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 288px;
    padding: 26px 18px;
    background: #fff;
    border: 1px solid #e4ebe6;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(16, 40, 24, .04);
    transition: transform .28s, border-color .28s, box-shadow .28s
}

.sol-cert:hover {
    transform: translateY(-3px);
    border-color: #9ed0aa;
    box-shadow: 0 12px 28px rgba(31, 74, 46, .1)
}

.sol-cert .sol-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #eaf6ec;
    color: #2c7a42;
    font-size: 12px;
    font-weight: 700
}

.sol-cert .sol-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 104px;
    margin-bottom: 18px
}

.sol-cert .sol-logo img {
    max-width: 100%;
    max-height: 104px;
    object-fit: contain;
    transition: transform .28s
}

.sol-cert:hover .sol-logo img {
    transform: scale(1.05)
}

.sol-cert h3 {
    margin: auto 0 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
    color: #24382b;
    min-height: 4.2em
}

.sol-cert:hover h3 {
    color: #2c7a42
}

/* 图库：2x2 卡片，正方形完整展示原拼图 */
.sol-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.sol-shot {
    display: block;
    padding: 14px;
    background: #fff;
    border: 1px solid #e4ebe6;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 40, 24, .05);
    transition: transform .28s, border-color .28s, box-shadow .28s
}

.sol-shot:hover {
    transform: translateY(-3px);
    border-color: #9ed0aa;
    box-shadow: 0 12px 28px rgba(31, 74, 46, .1)
}

.sol-shot .sol-media {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3ef;
    aspect-ratio: 1 / 1
}

.sol-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s
}

.sol-shot:hover img {
    transform: scale(1.04)
}

.sol-shot .sol-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #2c7a42;
    font-size: 11px;
    font-weight: 700
}

.sol-shot .sol-cap {
    display: block;
    padding: 14px 4px 2px;
    font-size: 15px;
    font-weight: 700;
    color: #24382b
}

.sol-shot .sol-cap small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #7a8a80
}

/* 小屏 */
@media screen and (max-width: 1080px) {
    .sol-steps, .sol-certs {
        grid-template-columns: repeat(3, 1fr)
    }
    .sol-arrow {
        display: none
    }
}

@media screen and (max-width: 720px) {
    .sol-body {
        padding: 30px 0 48px
    }
    .sol-head h2 {
        font-size: 25px
    }
    .sol-steps, .sol-certs, .sol-gallery {
        grid-template-columns: 1fr 1fr
    }
    .sol-step, .sol-cert {
        min-height: 250px
    }
}

@media screen and (max-width: 520px) {
    .sol-steps, .sol-certs, .sol-gallery {
        grid-template-columns: 1fr
    }
}

/* ==========================================================================
   2026-11-17 应用详情正文排版（.sol-richtext）
   --------------------------------------------------------------------------
   仅作用于 show_app.html 的正文（模板给 .yyss 追加 sol-richtext 类）。
   正文来自 UEditor 富文本，模板端已清掉重复标题/空行/hr，这里只负责
   字号、行高、小标题、列表、图片的视觉统一。
   ========================================================================== */
.sol-richtext {
    width: 1080px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    padding: 46px 54px 50px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e8efe9;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(31, 74, 46, .06);
    font-size: 15.5px;
    line-height: 1.95;
    color: #46564d
}

/* 正文容器本来有 50px 上下外边距，卡片化后由 .sol-body 的 padding 承担 */
.sol-body .sol-richtext {
    margin: 0 auto
}

.sol-richtext > *:first-child {
    margin-top: 0
}

.sol-richtext > *:last-child {
    margin-bottom: 0
}

/* 段落
   英文站 style.css 里有 `.yyss p { color:#9d9d9d !important; font-size:14px !important }`，
   这里用同等 !important + 更高权重（.sol-body .sol-richtext p）统一覆盖，两站一致。 */
.sol-body .sol-richtext p,
.sol-richtext p {
    margin: 0 0 16px !important;
    font-size: 15.5px !important;
    line-height: 1.95 !important;
    color: #46564d !important
}

/* 正文段落内的 span 一并纠正颜色/字号；带内联绿色（小标题）的 span 仍由内联样式优先 */
.sol-body .sol-richtext p span,
.sol-body .sol-richtext li span {
    color: inherit;
    line-height: inherit
}

/* 正文内小标题（UEditor 常把绿色加粗行做成 span） */
.sol-richtext h1,
.sol-richtext h2,
.sol-richtext h3,
.sol-richtext h4 {
    margin: 30px 0 14px;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    color: #1f4a2e;
    text-align: left
}

.sol-richtext h1:first-child,
.sol-richtext h2:first-child,
.sol-richtext h3:first-child {
    margin-top: 0
}

/* 绿色强调行（如「SP 解决方案」「SP 的优势」）做成分节标题的观感 */
.sol-richtext p > span[style*="color: rgb(0, 176, 80)"],
.sol-richtext p > span[style*="color:rgb(0, 176, 80)"],
.sol-richtext p > span[style*="#00b050"],
.sol-richtext p > span[style*="#00B050"] {
    display: inline-block;
    margin-bottom: 2px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.6
}

/* 列表 */
.sol-richtext ul,
.sol-richtext ol {
    margin: 0 0 18px;
    padding-left: 22px
}

.sol-richtext li {
    margin-bottom: 8px;
    font-size: 15.5px;
    line-height: 1.9;
    color: #46564d
}

.sol-richtext li p {
    margin: 0
}

/* 正文里的 span 保留 UEditor 内联字号（16px 等），与段落 15.5px 视觉接近，
   这里不再强制 inherit，否则会连带压掉上面绿色小标题的 16.5px 设定。 */

/* 强调（绿色加粗小标题以外的正文强调）保留原色，不加额外背景 */

/* 图片：统一居中、圆角、留白，避免原始尺寸撑破卡片 */
.sol-richtext img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 22px auto;
    border: 1px solid #eef3ef;
    border-radius: 8px
}

/* 图片所在段落居中，避免图片贴左 */
.sol-richtext p:has(> img) {
    text-align: center
}

/* 表格（若有） */
.sol-richtext table {
    width: 100% !important;
    margin: 18px 0;
    border-collapse: collapse;
    font-size: 14.5px
}

.sol-richtext table td,
.sol-richtext table th {
    padding: 10px 12px;
    border: 1px solid #e2eae4;
    text-align: left
}

.sol-richtext table th {
    background: #f4f8f4;
    font-weight: 700;
    color: #1f4a2e
}

@media screen and (max-width: 1080px) {
    /* responsive.css 里 .yyss 被设成 width:100%!important，会顶掉卡片的居中留白，
       这里显式给左右外边距，保证窄屏卡片不贴边。 */
    .sol-body .sol-richtext {
        width: auto !important;
        max-width: none !important;
        margin: 0 12px !important;
        padding: 30px 24px 34px
    }

    .sol-richtext,
    .sol-richtext p,
    .sol-richtext li {
        font-size: 15px
    }
}

@media screen and (max-width: 520px) {
    .sol-body .sol-richtext {
        margin: 0 10px !important;
        padding: 24px 18px 28px
    }

    .sol-richtext h1,
    .sol-richtext h2,
    .sol-richtext h3,
    .sol-richtext h4 {
        font-size: 17px
    }
}
