/* 企业风 · 品牌商务+转化 */
:root { --main: #1D6FD1; --accent: #F59E0B; --dark: #0F2B46; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #F4F6F8; color: #374151; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif; font-size: 16px; line-height: 1.8; }
a { color: var(--main); text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.site-header .wrap { display: flex; align-items: center; height: 60px; gap: 30px; }
.logo { color: #fff; font-size: 20px; font-weight: 700; white-space: nowrap; }
.logo:hover { color: var(--accent); }
.main-nav { display: flex; gap: 24px; flex: 1; overflow-x: auto; }
.main-nav a { color: #cbd5e1; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: #fff; }
.cta-btn { background: var(--accent); color: #1F2937 !important; font-weight: 700; padding: 8px 20px; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.cta-btn:hover { background: #fbbf24; text-decoration: none; }
.search-form input { border: none; border-radius: 4px; padding: 7px 12px; font-size: 13px; width: 140px; outline: none; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--dark) 0%, #1a4066 100%); color: #fff; padding: 70px 0; text-align: center; }
.hero h1 { font-size: 38px; margin-bottom: 16px; }
.hero p { color: #b8c9d9; font-size: 17px; margin-bottom: 28px; }
.hero .cta-btn { font-size: 16px; padding: 13px 42px; }

/* 数据条 */
.stat-bar { background: #fff; border-bottom: 1px solid #e5e7eb; }
.stat-bar .wrap { display: flex; justify-content: center; gap: 80px; padding: 26px 20px; flex-wrap: wrap; }
.stat-bar .num { font-size: 28px; font-weight: 800; color: var(--main); }
.stat-bar .lbl { font-size: 13px; color: #6b7280; }
.stat-item { text-align: center; }

/* 区块 */
.section { padding: 44px 0; }
.section-title { font-size: 24px; color: #1F2937; margin-bottom: 24px; text-align: center; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.article-card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 1px 4px rgba(15,43,70,.08); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.article-card .thumb-link { display: block; margin: -24px -24px 16px; border-radius: 10px 10px 0 0; overflow: hidden; }
.article-card img.thumb { width: 100%; height: 150px; object-fit: cover; display: block; transition: transform .3s; }
.article-card:hover img.thumb { transform: scale(1.04); }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,43,70,.12); }
.article-card .cat { display: inline-block; background: #e8f1fb; color: var(--main); font-size: 12px; padding: 2px 10px; border-radius: 10px; margin-bottom: 10px; width: fit-content; }
.article-card h3 { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }
.article-card h3 a { color: #1F2937; }
.article-card h3 a:hover { color: var(--main); text-decoration: none; }
.article-card .excerpt { font-size: 14px; color: #6b7280; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .meta { font-size: 12px; color: #9ca3af; margin-top: 12px; }

/* 特性卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border-radius: 10px; padding: 30px 26px; text-align: center; box-shadow: 0 1px 4px rgba(15,43,70,.08); }
.feature-card .icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; color: #1F2937; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #6b7280; }

/* 文章页 */
.page-body { padding: 28px 0 50px; }
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.breadcrumb { font-size: 13px; color: #9ca3af; padding: 16px 0; }
.breadcrumb .sep { margin: 0 6px; }
.content-card { background: #fff; border-radius: 10px; padding: 36px 40px; box-shadow: 0 1px 4px rgba(15,43,70,.08); }
.article-header h1 { font-size: 28px; line-height: 1.5; color: #1F2937; margin-bottom: 12px; }
.article-header .meta { font-size: 13px; color: #9ca3af; border-bottom: 1px solid #f3f4f6; padding-bottom: 16px; margin-bottom: 20px; }
.article-header .meta span { margin-right: 14px; }

.toc { background: #F8FAFC; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px 20px; margin: 20px 0; font-size: 14px; }
.toc-title { font-weight: 700; color: #1F2937; margin-bottom: 8px; }
.toc ul { list-style: none; }
.toc li { padding: 2px 0; }
.toc li.lv3 { padding-left: 16px; font-size: 13px; }
.toc a { color: #374151; }

.article-content p { margin: 1em 0; }
.article-content h2 { font-size: 20px; color: #1F2937; margin: 1.8em 0 .8em; padding-left: 12px; border-left: 4px solid var(--main); line-height: 1.5; }
.article-content h3 { font-size: 17px; color: #1F2937; margin: 1.4em 0 .6em; }
.article-content ul, .article-content ol { margin: 1em 0 1em 1.6em; }
.article-content li { margin: .3em 0; }
.article-content blockquote { border-left: 3px solid #d1d5db; padding: 4px 0 4px 16px; color: #6b7280; margin: 1em 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14px; display: block; overflow-x: auto; }
.article-content thead, .article-content tbody { display: table; width: 100%; }
.article-content th, .article-content td { border: 1px solid #e5e7eb; padding: 9px 12px; text-align: left; }
.article-content th { background: #F8FAFC; font-weight: 600; }
.article-content tr:nth-child(even) td { background: #FAFBFC; }

.inline-cta { background: linear-gradient(135deg, #fff7ed, #fef3c7); border: 1px solid #fcd34d; border-radius: 10px; padding: 22px 26px; margin: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.inline-cta .txt b { color: #92400e; font-size: 16px; }
.inline-cta .txt p { color: #b45309; font-size: 13px; margin: 2px 0 0; }

.tags-row { padding: 16px 0; border-top: 1px solid #f3f4f6; margin-top: 20px; }
.tags-row a { display: inline-block; background: #F4F6F8; border-radius: 4px; padding: 3px 12px; font-size: 13px; color: #6b7280; margin: 0 6px 6px 0; }
.prev-next { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 0; font-size: 14px; border-top: 1px solid #f3f4f6; }
.prev-next a { color: #374151; max-width: 48%; }
.related { margin-top: 24px; }
.related h2 { font-size: 17px; color: #1F2937; margin-bottom: 12px; }
.related ul { list-style: none; }
.related li { padding: 7px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; }
.related li a { color: #374151; }

/* 侧栏 */
.sidebar-box { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(15,43,70,.08); }
.sidebar-box h2 { font-size: 15px; color: #1F2937; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--main); display: inline-block; }
.sidebar-box ul { list-style: none; }
.sidebar-box li { padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #f3f4f6; }
.sidebar-box li:last-child { border: none; }
.sidebar-box li a { color: #374151; }
.tool-card { background: var(--dark); color: #fff; border-radius: 10px; padding: 24px 20px; text-align: center; margin-bottom: 18px; }
.tool-card h2 { font-size: 16px; margin-bottom: 8px; }
.tool-card p { font-size: 13px; color: #b8c9d9; margin-bottom: 16px; }

/* 列表页 */
.list-head { background: #fff; border-radius: 10px; padding: 28px 32px; margin: 20px 0; box-shadow: 0 1px 4px rgba(15,43,70,.08); }
.list-head h1 { font-size: 24px; color: #1F2937; margin-bottom: 6px; }
.list-head p { color: #6b7280; font-size: 14px; }

.pagination { padding: 26px 0; text-align: center; }
.pagination a, .pagination span { display: inline-block; padding: 6px 14px; margin: 0 3px; border-radius: 6px; font-size: 14px; background: #fff; color: #374151; }
.pagination a.cur { background: var(--main); color: #fff; }

/* 页脚 */
.site-footer { background: var(--dark); color: #94a3b8; padding: 40px 0 30px; margin-top: 20px; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { color: #94a3b8; display: block; padding: 3px 0; }
.site-footer .copyright { width: 100%; border-top: 1px solid #1e3f60; padding-top: 18px; margin-top: 10px; text-align: center; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .content-card { padding: 24px 20px; }
  .search-form { display: none; }
}

/* 广告位（营销设置）——不影响收录：原生标签输出、延迟加载、明确标注 */
.ad-slot { margin: 14px auto; max-width: 1100px; padding: 0 16px; box-sizing: border-box; }
.ad-item { position: relative; margin: 10px 0; text-align: center; }
.ad-item img { max-width: 100%; height: auto; border-radius: 6px; }
.ad-flag { display: inline-block; font-size: 11px; color: #9ca3af; border: 1px solid #e5e7eb; border-radius: 3px; padding: 0 5px; line-height: 16px; margin-bottom: 4px; letter-spacing: 1px; }
.ad-left, .ad-right { max-width: 300px; }
@media (max-width: 900px) { .ad-left, .ad-right { display: none; } }


/* 左右悬浮广告：宽屏时贴边悬浮，不挤压正文、不影响内容流（收录友好） */
@media (min-width: 1400px) {
  .ad-left  { position: fixed; left: 8px;  top: 180px; width: 160px; z-index: 50; }
  .ad-right { position: fixed; right: 8px; top: 180px; width: 160px; z-index: 50; }
}
@media (max-width: 1399px) { .ad-left, .ad-right { display: none; } }
