/* ============================================================
   黄豆云官网 — 二级页面样式（产品详情/解决方案/案例/新闻）
   ============================================================ */
.sub-crumb {
  background: #f6f8fa; border-bottom: 1px solid #eee;
  padding: 14px 0; font-size: 13px; color: #8c8c8c;
}
.sub-crumb .container { display: flex; align-items: center; gap: 8px; }
.sub-crumb a { color: #8c8c8c; }
.sub-crumb a:hover { color: var(--red, #e1251b); }
.sub-crumb .crumb-sep { color: #ccc; }
.sub-crumb .crumb-cur { color: #262626; }

/* 详情页头 */
.detail-hero {
  position: relative; padding: 64px 0 56px; overflow: hidden;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f1f6 100%);
}
.detail-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(158,45,255,.14), transparent 62%);
  pointer-events: none;
}
.detail-hero .dh-tag {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 4px;
  background: #fff; border: 1px solid #e5e5e5; font-size: 13px; color: #8c8c8c; margin-bottom: 16px;
}
.detail-hero .dh-title { font-size: 40px; font-weight: 600; color: #262626; line-height: 1.3; }
.detail-hero .dh-sub { font-size: 16px; color: #8c8c8c; margin-top: 12px; max-width: 860px; line-height: 1.7; }
.detail-hero .dh-actions { margin-top: 26px; display: flex; gap: 12px; }

/* 详情主体 */
.sub-main { min-height: 400px; }
.detail-body { padding: 48px 0 72px; }
.detail-layout { display: flex; gap: 40px; align-items: flex-start; }
.detail-content { flex: 1; min-width: 0; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 40px 44px; }
.detail-content h3 { font-size: 20px; font-weight: 600; color: #262626; margin: 28px 0 14px; }
.detail-content h3:first-child { margin-top: 0; }
.detail-content p { font-size: 15px; line-height: 1.9; color: #555; margin-bottom: 14px; }
.detail-content ul { padding-left: 4px; margin-bottom: 16px; }
.detail-content ul li { font-size: 15px; line-height: 1.9; color: #555; padding-left: 18px; position: relative; }
.detail-content ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--red, #e1251b); }
.detail-content b { color: #262626; }

/* 特性/规格 */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 8px; }
.feature-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: #f6f8fa; border-radius: 6px; font-size: 14px; color: #333;
}
.feature-item .fi-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 6px; background: var(--purple-grad, linear-gradient(-52deg,#ff76b1,#9c2dff 46%,#6c6eff)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; }
.spec-table th, .spec-table td { border: 1px solid #eee; padding: 11px 16px; font-size: 14px; text-align: left; }
.spec-table th { background: #fafbfc; color: #8c8c8c; font-weight: 500; width: 130px; }
.spec-table td { color: #333; }

/* 侧栏卡片 */
.detail-aside { width: 300px; flex-shrink: 0; }
.aside-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 22px 24px; margin-bottom: 16px; }
.aside-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: #262626; }
.aside-card .ac-hotline { font-size: 24px; font-weight: 700; color: var(--red, #e1251b); }
.aside-card .ac-desc { font-size: 13px; color: #8c8c8c; margin: 6px 0 14px; }
.aside-card .ac-btn { display: block; text-align: center; padding: 11px; border-radius: 6px; background: var(--red, #e1251b); color: #fff; font-size: 14px; margin-bottom: 10px; }
.aside-card .ac-btn:hover { background: #fd441f; }
.aside-card .ac-link { display: block; text-align: center; padding: 11px; border-radius: 6px; border: 1px solid #d9d9d9; color: #333; font-size: 14px; }
.aside-card .ac-link:hover { border-color: var(--red, #e1251b); color: var(--red, #e1251b); }
.aside-card ul li { font-size: 13px; color: #555; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; }
.aside-card ul li a:hover { color: var(--red, #e1251b); }
.aside-card ul li:last-child { border-bottom: none; }

/* 列表页 */
.list-hero { padding: 52px 0 44px; background: linear-gradient(135deg, #f8f9fb, #f0f1f6); }
.list-hero .lh-title { font-size: 36px; font-weight: 600; color: #262626; }
.list-hero .lh-sub { font-size: 15px; color: #8c8c8c; margin-top: 10px; }
.list-body { padding: 44px 0 72px; }

/* 新闻列表 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; display: block; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.news-card .nc-cover { height: 170px; background-size: cover; background-position: center; position: relative; }
.news-card .nc-tag { position: absolute; left: 12px; top: 12px; background: rgba(225,37,27,.9); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.news-card .nc-body { padding: 18px 20px 20px; }
.news-card .nc-date { font-size: 12px; color: #999; }
.news-card .nc-title { font-size: 16px; font-weight: 600; color: #262626; margin: 8px 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nc-summary { font-size: 13px; color: #8c8c8c; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 方案/产品卡片 */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 26px 28px; transition: transform .3s, box-shadow .3s; display: block; }
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.sol-card .sc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: #f6f0ff; margin-bottom: 14px; }
.sol-card .sc-title { font-size: 18px; font-weight: 600; color: #262626; }
.sol-card .sc-industry { display: inline-block; font-size: 12px; color: #9c2dff; background: #f6f0ff; padding: 2px 10px; border-radius: 10px; margin-top: 8px; }
.sol-card .sc-summary { font-size: 13px; color: #8c8c8c; line-height: 1.7; margin-top: 12px; }
.sol-card .sc-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--red, #e1251b); }

/* 案例页 */
.case-detail-hero { padding: 56px 0; background: linear-gradient(135deg, #f8f9fb, #f0f1f6); }
.case-detail-hero .cdh-title { font-size: 32px; font-weight: 600; color: #262626; line-height: 1.4; }
.case-detail-hero .cdh-meta { margin-top: 14px; display: flex; gap: 10px; align-items: center; }
.case-detail-hero .cdh-meta .cdh-logo { font-size: 20px; font-weight: 700; color: #333; }
.case-detail-hero .cdh-meta .cdh-tag { font-size: 13px; background: #fff; border: 1px solid #e5e5e5; padding: 4px 12px; border-radius: 4px; color: #8c8c8c; }

/* 回到顶部（二级页） */
.page-backtop {
  position: fixed; right: 16px; bottom: 40px; z-index: 900; width: 44px; height: 44px;
  background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; cursor: pointer;
  display: none; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.page-backtop.show { display: flex; }
.page-backtop:hover { color: var(--red, #e1251b); }

/* 空态 */
.empty-tip { text-align: center; padding: 90px 0; color: #999; }
.empty-tip .et-btn { display: inline-block; margin-top: 16px; padding: 10px 28px; background: var(--red, #e1251b); color: #fff; border-radius: 6px; font-size: 14px; }

/* 响应式 */
@media (max-width: 1200px) {
  .detail-layout { flex-direction: column; }
  .detail-aside { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .news-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .detail-hero .dh-title { font-size: 28px; }
  .detail-content { padding: 24px 20px; }
  .news-grid, .sol-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: 1fr; }
}
