/* ============================================================
   案例详情页（show_case.html）专属美化 2026-11-18
   作用域：.case-detail（正文区）/ .case-detail-rel（相关区）
   不影响其它页面
   ============================================================ */

/* ---------- 正文标题栏：实心深蓝 → 浅色底 + 蓝色竖条 ---------- */
.case-detail .NyNewsdetail_title {
    background: linear-gradient(90deg, #f2f7fd 0%, #fafcff 100%) !important;
    color: #14243d !important;
    border-left: 6px solid #1a6fc4;
    border-radius: 4px;
    padding: 16px 3% !important;
    line-height: 1.4 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(20, 50, 90, .05);
}
.case-detail .NyNewsdetail_title:before {
    display: none !important;
}

/* ---------- 发布时间 / 点击次数：信息胶囊 ---------- */
.case-detail .NyNewsdetail_tips {
    margin: 0 0 26px !important;
}
.case-detail .NyNewsdetail_tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.case-detail .NyNewsdetail_tips ul li {
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    padding: 6px 14px !important;
    margin: 0 10px 0 0 !important;
    background: #f5f8fc;
    border: 1px solid #e8eef5;
    border-radius: 20px;
    font-size: 13px !important;
    color: #8391a4 !important;
}
.case-detail .NyNewsdetail_tips ul li span {
    margin-left: 6px !important;
    color: #2b4a72;
    font-weight: 600;
}

/* ---------- 正文：更舒适的阅读排版 ---------- */
.case-detail .NyNewsdetail_con {
    color: #3d4a5c !important;
    font-size: 16px !important;
    line-height: 1.95 !important;
    padding: 4px 0 10px !important;
}
.case-detail .NyNewsdetail_con p,
.case-detail .NyNewsdetail_con div {
    line-height: 1.95 !important;
    margin: 0 0 16px !important;
}
/* 首段引言：左侧蓝条强调 */
.case-detail .NyNewsdetail_con > p:first-child {
    background: #f5f9fe;
    border-left: 4px solid #1a6fc4;
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    color: #2b3d55;
}
/* 产品特点 / 小标题段落 */
.case-detail .NyNewsdetail_con > p:not(:first-child) {
    color: #34445c;
}
.case-detail .NyNewsdetail_con strong {
    color: #1b3c63;
    font-weight: 700;
}
/* 特点列表：勾选样式 */
.case-detail .NyNewsdetail_con ul {
    margin: 6px 0 26px !important;
    padding: 18px 22px 18px 40px !important;
    list-style: none;
    background: #fbfcfe;
    border: 1px solid #edf2f8;
    border-radius: 8px;
}
.case-detail .NyNewsdetail_con ul li {
    position: relative;
    line-height: 1.9;
    margin-bottom: 8px;
    color: #41516a;
}
.case-detail .NyNewsdetail_con ul li:last-child {
    margin-bottom: 0;
}
.case-detail .NyNewsdetail_con ul li:before {
    content: '';
    position: absolute;
    left: -22px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #e3f0fc;
    border: 1px solid #bcd8f5;
}
.case-detail .NyNewsdetail_con ul li:after {
    content: '';
    position: absolute;
    left: -19px;
    top: 12px;
    width: 5px;
    height: 3px;
    border-left: 2px solid #1a6fc4;
    border-bottom: 2px solid #1a6fc4;
    transform: rotate(-45deg);
}

/* ---------- 常见问题：卡片式问答 ---------- */
.case-detail .cd-sec {
    margin: 34px 0 18px !important;
    padding-left: 14px;
    font-size: 20px;
    font-weight: 800;
    color: #14243d;
    border-left: 5px solid #1a6fc4;
    line-height: 1.4 !important;
}
.case-detail .cd-q,
.case-detail .cd-a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 14px !important;
    padding: 14px 18px;
    border-radius: 8px;
    line-height: 1.85 !important;
}
.case-detail .cd-q {
    background: #f0f6fd;
    border: 1px solid #dbe9f8;
}
.case-detail .cd-q strong {
    color: #14385f;
    font-size: 16px;
}
.case-detail .cd-a {
    background: #fafbfd;
    border: 1px solid #edf1f6;
    color: #4a5a70;
}
.case-detail .cd-badge {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: linear-gradient(135deg, #1a6fc4, #0a58a2);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}
.case-detail .cd-badge.a {
    background: linear-gradient(135deg, #8aa3bf, #6b829e);
}

/* ---------- 文章来源行 ---------- */
.case-detail .drs-source {
    background: #f5f9fe !important;
    border-left: 4px solid #1a6fc4 !important;
    border-radius: 0 6px 6px 0;
    padding: 12px 18px !important;
    font-size: 15px !important;
    color: #6a7a8e !important;
}
.case-detail .drs-source b {
    color: #2b4a72;
}
.case-detail .drs-source a {
    color: #1a6fc4 !important;
}

/* ---------- 上一篇 / 下一篇 ---------- */
.case-detail .ey_PrevNext {
    margin: 34px auto 0 !important;
    padding: 18px 4px;
    border-top: 1px solid #e6edf5;
    border-bottom: 1px solid #e6edf5;
}
.case-detail .ey_PrevNext ul li a {
    color: #2b4a72 !important;
    font-weight: 600;
}
.case-detail .ey_PrevNext ul li a:hover {
    color: #1a6fc4 !important;
}

/* ================= 相关区（精选产品 / 最新新闻） ================= */
.case-detail-rel .drs-rel-hd {
    border-bottom: 2px solid #e6edf5 !important;
    padding-bottom: 12px !important;
    margin-bottom: 22px !important;
}
.case-detail-rel .drs-rel-hd h2 {
    font-size: 23px !important;
    font-weight: 800 !important;
    color: #14243d !important;
    padding-left: 14px;
    position: relative;
}
.case-detail-rel .drs-rel-hd h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 21px;
    background: linear-gradient(180deg, #1a6fc4, #0a58a2);
    border-radius: 2px;
}
.case-detail-rel .drs-rel-hd h2 i {
    color: #1a6fc4 !important;
    font-size: 12px !important;
    font-weight: 400;
    letter-spacing: 2px;
}
.case-detail-rel .drs-rel-hd a {
    color: #8592a4 !important;
    font-size: 13px !important;
    padding: 5px 14px;
    border: 1px solid #dbe4ee;
    border-radius: 20px;
    transition: all .3s;
}
.case-detail-rel .drs-rel-hd a:hover {
    color: #fff !important;
    background: #1a6fc4;
    border-color: #1a6fc4;
    text-decoration: none;
}

/* 精选产品卡片：圆角阴影 */
.case-detail-rel .drs-rel-prods .eyouPro_Right ul li {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(20, 50, 90, .06);
    padding: 12px;
    transition: transform .35s, box-shadow .35s;
}
.case-detail-rel .drs-rel-prods .eyouPro_Right ul li:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 50, 90, .13);
}

/* 最新新闻列表：图文行卡片化 */
.case-detail-rel .nyPro_list dl dd {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    transition: box-shadow .3s, border-color .3s;
}
.case-detail-rel .nyPro_list dl dd:hover {
    box-shadow: 0 10px 28px rgba(20, 50, 90, .1);
    border-color: #dbe9f8;
}
.case-detail-rel .nyPro_list dl dd .nyProList_img {
    border-radius: 6px;
    background: #f2f7fd !important;
}
.case-detail-rel .nyPro_list dl dd .nyProList_name a {
    color: #213751 !important;
    font-weight: 700;
}
.case-detail-rel .nyPro_list dl dd:hover .nyProList_name a {
    color: #fff !important;
}
.case-detail-rel .nyPro_list dl dd .nyProList_tips p em {
    /* 保留原图标 */
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 880px) {
    .case-detail .NyNewsdetail_title {
        font-size: 20px !important;
    }
    .case-detail .NyNewsdetail_con ul {
        padding-left: 30px !important;
    }
    .cd-q .cd-badge{color:#fff !important}
}
