/**
 * 河北内卷网 PC 站 · 可视化装修组件桌面样式（配合 assets/js/deco-engine.js）
 * 类名前缀 dc-，独立于站点原有 style.css，避免污染。
 */
.dc-slot { box-sizing: border-box; }
.dc-slot > * { max-width: 100%; }

/* Banner */
.dc-banner { position: relative; display: grid; gap: 12px; grid-template-columns: 1fr; }
.dc-banner:has(.dc-banner-item:nth-child(2)) { grid-template-columns: 2fr 1fr; }
.dc-banner:has(.dc-banner-item:nth-child(3)) { grid-template-columns: 2fr 1fr 1fr; }
.dc-banner-item { display: block; border-radius: 12px; overflow: hidden; background: #eef2f7; }
.dc-banner-item img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; display: block; }
.dc-banner-ph { display: flex; align-items: center; justify-content: center; min-height: 160px; color: #9aa7bd; }

/* 搜索 */
.dc-search { padding: 8px 0; }
.dc-search-box { display: flex; gap: 8px; }
.dc-search-box input { flex: 1; height: 46px; border: 1px solid #dbe2ec; border-radius: 8px; padding: 0 16px; font-size: 15px; outline: none; }
.dc-search-box button { height: 46px; padding: 0 28px; border: none; border-radius: 8px; background: #2E7DE5; color: #fff; font-size: 15px; cursor: pointer; }
.dc-search-tags { margin-top: 10px; font-size: 13px; color: #98a2b3; }
.dc-search-tags a { color: #2E7DE5; text-decoration: none; margin-right: 12px; }

/* 统计 */
.dc-stats { display: flex; flex-wrap: wrap; gap: 8px; background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px 8px; }
.dc-stat { flex: 1; min-width: 90px; text-align: center; position: relative; }
.dc-stat + .dc-stat::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 30px; background: #eef1f6; }
.dc-stat b { display: block; font-size: 26px; font-weight: 800; }
.dc-stat span { font-size: 13px; color: #9aa3af; }

/* 分类宫格 */
.dc-cats { display: grid; gap: 10px; background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px; }
.dc-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #333; }
.dc-cat-ic { width: 52px; height: 52px; border-radius: 12px; background: #eef4ff; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 22px; color: #2E7DE5; }
.dc-cat-ic img { width: 100%; height: 100%; object-fit: contain; }
.dc-cat span { font-size: 13px; }

/* 公告 */
.dc-notice { display: flex; align-items: center; gap: 8px; background: #fff8ec; border: 1px solid #ffe6b3; color: #8a6d3b; border-radius: 10px; padding: 12px 16px; font-size: 14px; }

/* 卡片容器 */
.dc-card { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px 20px; }
.dc-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dc-card-title { font-size: 17px; font-weight: 700; color: #1a1a1a; }
.dc-card-more { font-size: 13px; color: #98a2b3; text-decoration: none; }

/* 热词 chips */
.dc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.dc-chip { font-size: 13px; color: #2E7DE5; background: #eef4ff; padding: 6px 14px; border-radius: 16px; text-decoration: none; }

/* 企业 */
.dc-shops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dc-shop { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #333; }
.dc-shop-logo { width: 100%; height: 90px; border-radius: 10px; background: #f5f7fa; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dc-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.dc-shop-lt { font-size: 30px; font-weight: 700; color: #2E7DE5; }
.dc-shop-name { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 信息列表 */
.dc-info { display: block; padding: 12px 0; border-bottom: 1px solid #f2f4f7; text-decoration: none; color: #333; }
.dc-info:last-child { border-bottom: none; }
.dc-info-t { font-size: 15px; color: #1a1a1a; }
.dc-info-m { margin-top: 6px; font-size: 12px; color: #98a2b3; display: flex; gap: 16px; }
.dc-itag { display: inline-block; font-size: 12px; color: #2E7DE5; background: #eef4ff; border-radius: 4px; padding: 1px 8px; margin-right: 8px; }
.dc-flag { display: inline-block; font-size: 12px; color: #ff6b35; border: 1px solid #ffd0b8; border-radius: 4px; padding: 1px 6px; margin-right: 8px; }

/* 文本 / 图片 / 按钮 / 分隔线 */
.dc-text { padding: 6px 2px; line-height: 1.7; }
.dc-image { display: block; width: 100%; cursor: pointer; }
.dc-button { display: inline-block; text-align: center; padding: 12px 28px; font-size: 15px; text-decoration: none; }
.dc-divider { width: 100%; }

/* 详情组件 */
.dc-dbanner { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dc-dbanner img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.dc-dprice { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px 20px; }
.dc-dprice b { font-size: 28px; color: #ff3b30; margin-right: 12px; }
.dc-dtitle { font-size: 18px; font-weight: 700; color: #1a1a1a; }
.dc-dprice em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: #9aa3af; }
.dc-ddesc { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px 20px; font-size: 15px; line-height: 1.8; color: #333; white-space: pre-wrap; }
.dc-dcontact { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 16px 20px; }
.dc-dcontact span { color: #98a2b3; font-size: 14px; }
.dc-dcontact b { flex: 1; font-size: 18px; color: #1a1a1a; }
.dc-dcall { background: #2E7DE5; color: #fff; padding: 8px 22px; border-radius: 20px; text-decoration: none; font-size: 14px; }
.dc-dshop { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 16px 20px; text-decoration: none; color: #333; }
.dc-dshop-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #eef4ff; display: flex; align-items: center; justify-content: center; color: #2E7DE5; font-weight: 700; }
.dc-dshop-av img { width: 100%; height: 100%; object-fit: cover; }
.dc-dshop-nm { font-size: 16px; font-weight: 700; }
.dc-dactions { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 14px 20px; }
.dc-dact { border: 1px solid #ddd; border-radius: 20px; padding: 8px 22px; color: #666; text-decoration: none; font-size: 14px; }
.dc-dact-main { flex: 1; text-align: center; background: #2E7DE5; color: #fff; border-radius: 24px; padding: 12px; text-decoration: none; font-size: 15px; }

/* 扩展组件 */
.dc-stitle { display: flex; align-items: flex-end; padding: 14px 0 8px; }
.dc-st-title { font-weight: 800; line-height: 1.3; }
.dc-st-sub { font-size: 13px; color: #9aa3af; margin-top: 4px; }
.dc-st-more { font-size: 14px; margin-left: 16px; }
.dc-inav { display: grid; gap: 12px; margin-top: 8px; }
.dc-inav-item { border-radius: 10px; overflow: hidden; background: #eef2f7; }
.dc-inav-item img { width: 100%; height: 96px; object-fit: cover; display: block; }
.dc-fgrid-wrap { margin: 8px 0; }
.dc-fgrid { display: grid; gap: 14px; margin-top: 8px; }
.dc-fgrid-card { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px; }
.dc-fgrid-icon { font-size: 28px; margin-bottom: 6px; }
.dc-fgrid-title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.dc-fgrid-desc { font-size: 13px; color: #9aa3af; margin-top: 4px; line-height: 1.6; }
.dc-video { border-radius: 12px; overflow: hidden; margin: 8px 0; }
.dc-cbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 12px; margin: 12px 0; }
.dc-cbar-title { color: #fff; font-size: 15px; font-weight: 600; }
.dc-cbar-btns { display: flex; gap: 10px; }
.dc-cbar-btn { background: #fff; color: #2E7DE5; font-size: 14px; padding: 8px 18px; border-radius: 22px; font-weight: 600; text-decoration: none; }
.dc-cbar-btn.ghost { background: rgba(255,255,255,.22); color: #fff; }
.dc-spacer { width: 100%; }
/* PC 专属组件 */
.hn-hero-ov { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.dc-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dc-pcard { display: block; background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 18px; text-decoration: none; transition: .15s; }
.dc-pcard:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); border-color: #d7e3f5; }
.dc-pcard h4 { margin: 0 0 6px; font-size: 15px; color: #1a1a1a; }
.dc-pcard p { margin: 0; font-size: 13px; color: #9aa3af; }
.dc-pilist { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 6px 20px; }
.dc-piitem { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f2f4f8; text-decoration: none; }
.dc-piitem:last-child { border-bottom: none; }
.dc-piitem .t { color: #1a1a1a; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-piitem .m { color: #9aa3af; font-size: 13px; flex-shrink: 0; }
.dc-ptagwrap { display: flex; flex-wrap: wrap; gap: 10px; }
.dc-ptag { background: #fff; border: 1px solid #e6ebf2; border-radius: 20px; padding: 8px 18px; font-size: 14px; color: #445; text-decoration: none; }
.dc-ptag:hover { border-color: #2E7DE5; color: #2E7DE5; }
.dc-prich { background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 24px 28px; line-height: 1.9; color: #333; }
.dc-prich h2 { font-size: 20px; margin: 0 0 14px; }

@media (max-width: 720px) {
  .dc-shops { grid-template-columns: repeat(2, 1fr); }
  .dc-banner:has(.dc-banner-item:nth-child(2)),
  .dc-banner:has(.dc-banner-item:nth-child(3)) { grid-template-columns: 1fr; }
}

/* 通用内容块：图文推广卡 / 图标列表 / 引言 / 倒计时 */
.dc-promo { display:flex; align-items:center; gap:24px; padding:28px 32px; border-radius:14px; overflow:hidden; margin:8px 0; }
.dc-promo-img { width:240px; min-height:150px; flex:0 0 auto; border-radius:10px; background-size:cover; background-position:center; }
.dc-promo-body { flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }
.dc-promo-t { font-size:24px; font-weight:800; }
.dc-promo-s { font-size:15px; opacity:.9; }
.dc-promo-btn { align-self:flex-start; margin-top:8px; background:rgba(255,255,255,.94); font-weight:700; font-size:15px; padding:9px 24px; border-radius:24px; text-decoration:none; }
.dc-icon-list { display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin:8px 0; }
.dc-il-row { display:flex; align-items:center; gap:12px; padding:12px 14px; background:#fff; border:1px solid #eef1f5; border-radius:10px; text-decoration:none; color:inherit; transition:box-shadow .15s,transform .15s; }
.dc-il-row:hover { box-shadow:0 6px 18px rgba(20,40,80,.08); transform:translateY(-1px); }
.dc-il-ic { font-size:22px; flex:0 0 auto; }
.dc-il-b { flex:1; min-width:0; }
.dc-il-t { font-size:15px; font-weight:700; color:#1a1a1a; }
.dc-il-d { font-size:13px; color:#8a93a0; margin-top:2px; }
.dc-il-a { color:#c4ccd6; font-size:18px; }
.dc-quote { margin:16px 0; padding:24px 28px; border-radius:12px; font-size:18px; line-height:1.8; font-style:italic; }
.dc-quote-a { text-align:right; font-size:14px; opacity:.8; margin-top:8px; font-style:normal; }
.dc-countdown { display:flex; align-items:center; justify-content:center; gap:14px; margin:8px 0; padding:18px; border-radius:12px; font-size:16px; }
.dc-cd-num { font-size:26px; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:1px; }
.dc-cd-note { font-size:13px; opacity:.9; }
@media (max-width:720px){ .dc-icon-list{ grid-template-columns:1fr; } .dc-promo{ flex-direction:column; align-items:flex-start; } .dc-promo-img{ width:100%; } }

/* 企业列表布局变体 + 产业地图入口 */
.dc-pgrid-list { grid-template-columns: 1fr; }
.dc-pgrid-list .dc-pcard { display:flex; align-items:center; justify-content:space-between; }
.dc-pgrid-list .dc-pcard p { margin:0; }
.dc-map { display:flex; align-items:stretch; background:linear-gradient(120deg,#0F3B7A,#2E7DE5); border-radius:16px; overflow:hidden; color:#fff; }
.dc-map-img { flex:0 0 44%; min-height:240px; background-size:cover; background-position:center; }
.dc-map-body { flex:1; padding:28px 32px; display:flex; flex-direction:column; justify-content:center; gap:12px; align-items:flex-start; }
.dc-map-body h2 { margin:0; font-size:26px; }
.dc-map-body p { margin:0; opacity:.9; }
.dc-map-tags { display:flex; flex-wrap:wrap; gap:8px; }
.dc-map-tags a { background:rgba(255,255,255,.16); color:#fff; font-size:13px; padding:5px 12px; border-radius:14px; text-decoration:none; }
.dc-map-tags a:hover { background:rgba(255,255,255,.28); }
@media (max-width:720px){ .dc-map{ flex-direction:column; } .dc-map-img{ flex:none; width:100%; min-height:160px; } }

/* 公告横向跑马灯 */
.dc-notice-marquee { overflow:hidden; }
.dc-notice-marquee .dc-marquee-mask { flex:1; min-width:0; overflow:hidden; }
.dc-marquee-in { display:inline-block; white-space:nowrap; animation:dcmarquee linear infinite; will-change:transform; }
@keyframes dcmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
