/* ============================================================
   行业应用详情页 - show_case.html
   正文主区 + 侧边栏（相关产品 / 行业新闻）
   作用域前缀 .cdet，不影响其它页面
   ============================================================ */
.cdet {
    background: #f5f7fa;
    padding: 46px 0 70px;
}
.cdet .w1400 { overflow: hidden; }

/* ============ 主区 ============ */
.cdet-main { display: flex; gap: 30px; align-items: flex-start; }
.cdet-art {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 34px 40px 40px;
    border-radius: 4px;
    box-shadow: 0 2px 18px rgba(20, 40, 70, .05);
}

/* 面包屑 */
.cdet-crumb { font-size: 15px; color: #98a4b3; margin-bottom: 22px; }
.cdet-crumb a { color: #8b98a8; text-decoration: none; transition: color .2s; }
.cdet-crumb a:hover { color: #1a6fc4; }
.cdet-crumb i { font-style: normal; margin: 0 10px; color: #c6cfda; }
.cdet-crumb span { color: #55657a; }

/* 标题 */
.cdet-title {
    font-size: 26px;
    line-height: 2;
    font-weight: 800;
    color: #14243d;
    margin: 0 0 18px;
    letter-spacing: .5px;
}

/* 元信息 */
.cdet-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    color: #8a97a8;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f4;
}
.cdet-meta span { position: relative; padding-left: 20px; }
.cdet-meta span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 13px;
    height: 13px;
    margin-top: -7px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .55;
}
.cdet-meta__date::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355667a' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.cdet-meta__hit::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355667a' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.cdet-meta__tag {
    padding-left: 0 !important;
    padding: 4px 12px !important;
    background: #eaf3fc;
    color: #1a6fc4;
    border-radius: 3px;
    font-weight: 600;
}
.cdet-meta__tag::before { display: none; }

/* 导读 */
.cdet-lead {
    display: flex;
    gap: 16px;
    margin: 28px 0 6px;
    padding: 20px 22px;
    background: linear-gradient(90deg, #f0f6fd 0%, #f7fafd 100%);
    border-left: 4px solid #1a6fc4;
    border-radius: 0 4px 4px 0;
}
.cdet-lead__label {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a6fc4;
    letter-spacing: 2px;
    line-height: 1.9;
}
.cdet-lead p { margin: 0; font-size: 15px; line-height: 1.9; color: #4a5b70; }

/* 正文 */
.cdet-body { padding: 20px 0 8px; font-size: 16px; line-height: 2; color: #3d4c5f; }
.cdet-body h2,
.cdet-body h3 { color: #14243d; font-weight: 700; margin: 30px 0 14px; line-height: 1.5; }
.cdet-body h2 { font-size: 22px; padding-left: 14px; border-left: 4px solid #1a6fc4; }
.cdet-body h3 { font-size: 18px; }
.cdet-body p { margin: 0 0 18px;line-height:2 }
.cdet-body img { max-width: 100%; height: auto; border-radius: 3px; margin: 8px 0; }
.cdet-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.cdet-body table th,
.cdet-body table td { border: 1px solid #dde4ec; padding: 10px 14px; text-align: left; }
.cdet-body table th { background: #f0f5fa; color: #243b56; font-weight: 700; }

/* 上一篇 / 下一篇 */
.cdet-foot { margin-top: 34px; padding-top: 26px; border-top: 1px solid #edf0f4; }
.cdet-nav { display: flex; gap: 16px; }
.cdet-nav__item {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 16px 18px;
    background: #f7f9fc;
    border: 1px solid #eceff4;
    border-radius: 4px;
    text-decoration: none;
    transition: all .25s ease;
}
.cdet-nav__item:hover { background: #eef5fd; border-color: #cfe1f5; transform: translateY(-2px); }
.cdet-nav__item.is-disabled { opacity: .5; pointer-events: none; }
.cdet-nav__item span { display: block; font-size: 14px; color: #1a6fc4; font-weight: 700; margin-bottom: 6px; }
.cdet-nav__item strong { display: block; font-size: 16px; color: #35465c; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdet-nav__item--next { text-align: right; }

/* 分享 */
.cdet-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    font-size: 15px;
    color: #8a97a8;
}
.cdet-share .bdsharebuttonbox { display: inline-flex; gap: 8px; }
.cdet-share .bdsharebuttonbox a {
    width: 32px; height: 32px; line-height: 32px; text-align: center;
    background: #f0f3f7; border-radius: 50%; cursor: pointer;
    transition: all .2s;
}
.cdet-share .bdsharebuttonbox a:hover { background: #1a6fc4; }
.cdet-share .bdsharebuttonbox a:hover::before { color: #fff; }
.cdet-source a { color: #1a6fc4; text-decoration: none; }
.cdet-source a:hover { text-decoration: underline; }
.cdet-source em { font-style: normal; color: #a3aebd; margin-left: 2px; }

.cdet-back {
    margin-left: auto;
    padding: 8px 18px;
    background: #1a6fc4;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    transition: background .2s;
}
.cdet-back:hover { background: #0f4b8c; }

/* ============ 侧边栏 ============ */
.cdet-side { width: 320px; flex-shrink: 0; }
.cdet-box {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 18px rgba(20, 40, 70, .05);
    margin-bottom: 24px;
    overflow: hidden;
}
.cdet-box__hd {
    padding: 20px 22px 16px;
    border-bottom: 2px solid #f0f3f7;
    position: relative;
}
.cdet-box__hd::before {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 46px; height: 2px;
    background: #1a6fc4;
}
.cdet-box__hd h3 { margin: 0 0 3px; font-size: 20px; font-weight: 800; color: #14243d; }
.cdet-box__hd span { font-size: 11px; letter-spacing: 2px; color: #a9b5c3; font-weight: 600; }

/* 相关产品 */
.cdet-prod { padding: 14px 18px 18px; }
.cdet-prod__item {
    gap: 13px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed #eceff4;
    text-decoration: none;
}
.cdet-prod__item:last-child { border-bottom: 0; }
.cdet-prod__img {
    flex-shrink: 0;
    background: radial-gradient(circle at 50% 40%, #fff 0%, #eef4fb 70%, #e2ecf7 100%);
    border-radius: 3px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.cdet-prod__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .35s ease; }
.cdet-prod__item:hover .cdet-prod__img img { transform: scale(1.08); }
.cdet-prod__txt { margin-bottom:15px }
.cdet-prod__txt strong {
    display: block;
    font-size: 16px;
    line-height: 2;
    color: #35465c;
    font-weight: 600;
    margin-bottom: 6px;
    transition: color .2s;
    background: #eff4fd;
    padding: 5px 10px; }
.cdet-prod__item:hover .cdet-prod__txt strong { color: #1a6fc4; }
.cdet-prod__txt span { font-size: 12px; color: #1a6fc4; }

/* 行业新闻 */
.cdet-news { padding: 10px 20px 6px; }
.cdet-news__item {
    display: flex;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px dashed #eceff4;
    text-decoration: none;
}
.cdet-news__item:last-child { border-bottom: 0; }
.cdet-news__no {
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 800;
    color: #1a6fc4;
    line-height: 1.1;
    font-style: italic;
    transition: color .2s;
}
.cdet-news__item:hover .cdet-news__no { color: #1a6fc4; }
.cdet-news__txt { min-width: 0; }
.cdet-news__txt strong { display: block; font-size: 15.5px; line-height: 1.6; color: #35465c; font-weight: 600; margin-bottom: 5px; transition: color .2s; }
.cdet-news__item:hover .cdet-news__txt strong { color: #1a6fc4; }
.cdet-news__txt time { font-size: 14px; color: #a9b5c3; }
.cdet-box__more {
    display: block;
    margin: 4px 20px 18px;
    padding: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #1a6fc4;
    background: #f4f8fd;
    border-radius: 3px;
    text-decoration: none;
    transition: all .2s;
}
.cdet-box__more:hover { background: #1a6fc4; color: #fff; }

/* ============ 2026-11-25 字号与间距协调（覆盖上方旧值） ============ */
/* 正文：字号放大一档、行距收紧，段落间距统一 */
.cdet-body { font-size: 15px !important; line-height: 1.85 !important; color: #3d4c5f !important; padding: 18px 0 6px !important; }
.cdet-body p { margin: 0 0 16px !important;font-size:15px }
/* 章节标题：与正文拉开层级，上下间距对称 */
.cdet-body h2 { font-size: 18px !important; margin: 34px 0 16px !important; padding-left: 15px !important; line-height: 1.45 !important; }
.cdet-body h3 { font-size: 16px !important; margin: 26px 0 12px !important; line-height: 1.5 !important; }
/* 导读：字号与正文协调、收紧上下留白 */
.cdet-lead { margin: 24px 0 4px !important; padding: 18px 22px !important; gap: 18px !important; }
.cdet-lead__label { font-size: 14px !important; line-height: 1.8 !important; }
.cdet-lead p { font-size: 16px !important; line-height: 1.85 !important; }
/* 表格：字号加大、单元格留白收紧 */
.cdet-body table { font-size: 15px !important; margin: 16px 0 !important; }
.cdet-body table th, .cdet-body table td { padding: 9px 13px !important; }
/* 标题区：与导语衔接更紧凑 */
.cdet-title { margin: 0 0 14px !important; }
.cdet-meta { padding-bottom: 18px !important; gap: 20px !important; }

/* ============ 响应式 ============ */
@media screen and (max-width: 1100px) {
    .cdet-side { width: 280px; }
    .cdet-art { padding: 28px 26px 32px; }
    .cdet-title { font-size: 26px; }
}
@media screen and (max-width: 900px) {
    .cdet-main { flex-direction: column; }
    .cdet-side { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .cdet-box { margin-bottom: 0; }
}
@media screen and (max-width: 600px) {
    .cdet { padding: 26px 0 46px; }
    .cdet-art { padding: 22px 18px 26px; }
    .cdet-title { font-size: 20px; }
    .cdet-lead { flex-direction: column; gap: 6px; padding: 16px; }
    .cdet-body { font-size: 15px; }
    .cdet-body h2 { font-size: 19px; }
    .cdet-nav { flex-direction: column; }
    .cdet-nav__item--next { text-align: left; }
    .cdet-share { flex-wrap: wrap; }
    .cdet-back { margin-left: 0; width: 100%; text-align: center; }
    .cdet-side { grid-template-columns: 1fr; }
}

/* 2026-11-26 手机端溢出修复：正文宽表格把 article 撑出屏幕。
   让正文区自己横向滚动（表格完整可读），同时收紧单元格 padding 减小初始宽度。 */
@media screen and (max-width: 767px) {
    .cdet-art { overflow: hidden; }
    .cdet-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cdet-body table { table-layout: fixed; min-width: 100%; }
    .cdet-body table th,
    .cdet-body table td { padding: 8px 6px !important; word-break: break-word; font-size: 13px !important; }
}
