/* 文章独立详情页样式（由构建脚本生成的页面共用） */
.news-detail-wrap{max-width:1200px;margin:0 auto;padding:0 20px;}
.news-detail-header h2{font-size:28px;color:#222;margin:0 0 12px;line-height:1.3;text-align:center;}
.sub-title{font-size:17px;color:#666;margin-bottom:12px;line-height:1.4;text-align:center;}
.meta-line{font-size:14px;color:#777;text-align:center;margin-bottom:30px;}
.meta-line a{color:#2188ed;text-decoration:none;}
.pl-byline{display:inline-block;color:#1667d6 !important;font-weight:600;margin-right:8px;}
.news-content-wrap{overflow:hidden;}
.news-detail-img{width:48%;height:auto;border-radius:6px;display:block;box-shadow:0 8px 20px rgba(0,0,0,.12);float:left;margin:0 24px 16px 0;}
.col-right{line-height:1.8;color:#333;font-size:16px;}
.col-right p{margin-bottom:16px;}
.col-right h3{font-size:19px;color:#222;margin:22px 0 10px;}
.col-right ul{margin:0 0 16px 22px;}
.col-right li{margin-bottom:7px;}
.col-right img{max-width:100%;height:auto;}
.img-action{clear:both;margin-top:20px;display:flex;gap:14px;align-items:center;}
.btn-like,.btn-share{padding:7px 14px;border:1px solid #ccc;background:#fff;border-radius:4px;cursor:pointer;font-size:14px;display:flex;align-items:center;gap:6px;}
.btn-like:hover,.btn-share:hover{background:#f5f5f5;}
.btn-like:disabled{opacity:.6;cursor:default;}
.share-box{margin-top:12px;display:none;flex-wrap:wrap;gap:10px;}
.share-box.active{display:flex;}
.share-icon{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;text-decoration:none;}
.share-fb{background:#1877f2;}
.share-x{background:#000;}
.share-yt{background:#ff0000;}
.share-tg{background:#26a5e4;}
.share-wa{background:#25d366;}
.share-in{background:#0a66c2;}
.share-rd{background:#ff4500;}
.share-vk{background:#45668e;}
.share-mail{background:#7b8a9d;}
.share-copy{background:#1667d6;border:0;cursor:pointer;padding:0;font-family:inherit;}
.share-copy.copied{background:#1a9e6a !important;}
/* 图标统一白色，避免深色背景下图标发黑看不清 */
.share-icon i,.share-icon svg{color:#fff !important;fill:#fff !important;}
.divider-line{width:100%;height:1px;background:#ddd;margin:45px 0;}
.related-title{font-size:22px;color:#222;margin-bottom:24px;}
.related-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.related-card{border:1px solid #eee;border-radius:6px;overflow:hidden;}
.related-card img{width:100%;height:180px;object-fit:cover;display:block;}
.related-card-text{padding:14px;}
.related-card-text h4{margin:0 0 8px;font-size:15px;line-height:1.4;}
.related-card-text a{color:#222;text-decoration:none;}
.related-card-text p{font-size:13px;color:#777;margin:0;}
.back-wrap{margin-top:32px;}
.btn{display:inline-block;padding:9px 24px;background:#2188ed;color:#fff;text-decoration:none;border-radius:4px;font-size:14px;}
@media (max-width:768px){
  .news-detail-img{float:none;width:100%;margin:0 0 20px 0;}
  .related-wrap{grid-template-columns:1fr;}
  .news-detail-header h2{font-size:22px;}
  .sub-title{font-size:15px;}
  /* 全局移动端规则把 p 压到 13px，这里让正文列表与段落字号一致，避免一大一小 */
  .col-right li{font-size:13px !important;line-height:1.6 !important;}
}

/* 视频独立详情页 */
.crumbs{font-size:13px;color:#888;margin-bottom:18px;}
.crumbs a{color:#2188ed;text-decoration:none;}
.video-detail-player{max-width:900px;margin:0 auto;background:#000;border-radius:8px;overflow:hidden;}
.video-detail-player video{display:block;width:100%;height:auto;max-height:72vh;}
@media (max-width:768px){
  .crumbs{font-size:12px;}
  .video-detail-player{border-radius:4px;}
}

/* ===== 白底化覆盖：独立页也会被全局深色主题(site-nav.css)染黑，这里强制白底黑字 ===== */
html{background:#ffffff !important}
body{background:#ffffff !important;color:#1f2d3d !important}
body section.container{background:#ffffff !important}
.news-detail-header h1{color:#12263f !important;text-align:center !important}
.news-detail-header h2{color:#12263f !important;text-align:center !important}
.sub-title{color:#5b6b7f !important}
.meta-line{color:#8a97a8 !important}
.col-right,.col-right p,.col-right li{color:#33445a !important}
.col-right h3{color:#12263f !important}
.crumbs{color:#8a97a8 !important}
.crumbs a{color:#1667d6 !important}
.related-title{color:#12263f !important}
.related-card{background:#ffffff !important;border-color:#e2e9f2 !important}
.related-card-text h4,.related-card-text a{color:#1f2d3d !important}
.related-card-text p{color:#5b6b7f !important}
.divider-line{background:#e2e9f2 !important}
.btn-like,.btn-share{background:#ffffff !important;border-color:#c7d5e6 !important;color:#1f2d3d !important}
.btn{background:#0077b6 !important;color:#ffffff !important}
