/* ============ 仿发布网风格 全站样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font: 14px/1.7 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #333; background: #eef1f5; }
a { color: #333; text-decoration: none; }
a:hover { color: #e33; }
ul { list-style: none; }
img { max-width: 100%; border: 0; display: block; }
.wrap { width: 1200px; margin: 0 auto; }
.clr { clear: both; }

/* 顶部 */
.topbar { background: #2c3e50; color: #bbb; font-size: 12px; height: 34px; line-height: 34px; }
.topbar .l { float: left; } .topbar .r { float: right; }
.topbar a { color: #ddd; margin-left: 12px; }
.header { background: #fff; padding: 18px 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.header .logo { float: left; }
.header .logo h1 { font-size: 30px; color: #d33; letter-spacing: 1px; }
.header .logo h1 a { color: #d33; }
.header .logo .slogan { font-size: 12px; color: #999; margin-top: 2px; }
.search { float: right; margin-top: 8px; }
.search input { width: 320px; height: 38px; border: 2px solid #2b6cb0; padding: 0 12px; outline: none; vertical-align: top; }
.search button { height: 38px; padding: 0 24px; background: #2b6cb0; color: #fff; border: 0; cursor: pointer; font-size: 14px; }
.search button:hover { background: #2563a0; }

/* 导航 */
.nav { background: linear-gradient(180deg, #2b6cb0, #1e4e8c); }
.nav ul li { float: left; }
.nav ul li a { display: block; color: #fff; padding: 0 28px; line-height: 44px; font-size: 16px; }
.nav ul li a:hover, .nav ul li a.on { background: #163a68; }
.notice { background: #fffbe6; border-bottom: 1px solid #f5e5b8; font-size: 13px; padding: 6px 0; color: #8a6d3b; }
.notice b { color: #d33; margin-right: 8px; }

/* 广告位 */
.ad-box { margin: 12px 0; border: 1px dashed #d0d0d0; background: #fff; padding: 10px; text-align: center; color: #888; font-size: 13px; }
.ad-box a { color: #2b6cb0; margin: 0 6px; }

/* 面包屑 */
.crumb { padding: 12px 0; font-size: 13px; color: #777; }
.crumb a { color: #2b6cb0; }

/* 主体布局 */
.main { width: 1200px; margin: 0 auto 20px; }
.col-2 { overflow: hidden; }
.left { width: 870px; float: left; }
.right { width: 310px; float: right; }

/* 开服表 */
.panel { background: #fff; border: 1px solid #e3e6eb; margin-bottom: 16px; }
.panel .hd { background: linear-gradient(180deg, #f8fafd, #eef2f8); border-bottom: 2px solid #2b6cb0; height: 40px; line-height: 40px; padding: 0 14px; }
.panel .hd h2 { font-size: 17px; color: #1e4e8c; float: left; }
.panel .hd h2 i { display: inline-block; width: 4px; height: 16px; background: #d33; margin-right: 8px; vertical-align: -2px; }
.panel .hd .more { float: right; font-size: 13px; color: #999; }
table.kfb { width: 100%; border-collapse: collapse; font-size: 13px; }
table.kfb th { background: #f3f6fa; color: #555; padding: 9px 8px; border-bottom: 1px solid #e3e6eb; text-align: left; }
table.kfb td { padding: 9px 8px; border-bottom: 1px solid #f0f0f0; }
table.kfb tr:nth-child(even) { background: #fafbfd; }
table.kfb tr:hover { background: #fff8e8; }
.tag-hot { background: #d33; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; margin-right: 4px; }

/* 栏目区块 */
.block { background: #fff; border: 1px solid #e3e6eb; margin-bottom: 16px; width: 424px; float: left; }
.block.mr { margin-right: 22px; }
.block .hd { border-bottom: 2px solid #2b6cb0; height: 40px; line-height: 40px; padding: 0 14px; background: #fbfcfe; }
.block .hd h2 { font-size: 16px; float: left; color: #1e4e8c; }
.block .hd h2 a { color: #1e4e8c; }
.block .hd .more { float: right; font-size: 12px; color: #999; }
.block .bd { padding: 12px 14px; }
.block .top-item { overflow: hidden; border-bottom: 1px dotted #e5e5e5; padding-bottom: 10px; margin-bottom: 8px; }
.block .top-item img { width: 140px; height: 96px; object-fit: cover; float: left; margin-right: 12px; background: #eee; }
.block .top-item .t { font-size: 15px; font-weight: bold; margin-bottom: 4px; }
.block .top-item .t a { color: #333; }
.block .top-item .d { font-size: 12px; color: #888; }
.block ul li { line-height: 30px; height: 30px; overflow: hidden; font-size: 13px; }
.block ul li .dot { color: #ccc; margin-right: 6px; }
.block ul li .date { float: right; color: #aaa; font-size: 12px; }

/* 列表页 */
.list-page ul li { line-height: 34px; height: 34px; overflow: hidden; padding: 0 14px; border-bottom: 1px dotted #eee; font-size: 14px; }
.list-page ul li .date { float: right; color: #aaa; font-size: 12px; }

/* 文章页 */
.article-box { background: #fff; border: 1px solid #e3e6eb; padding: 24px 28px; }
.article-box h1 { font-size: 24px; color: #222; line-height: 1.4; margin-bottom: 10px; }
.article-meta { color: #999; font-size: 12px; border-bottom: 1px solid #eee; padding-bottom: 12px; margin-bottom: 16px; }
.article-meta span { margin-right: 16px; }
.article-content { font-size: 15px; line-height: 1.9; color: #444; word-break: break-word; }
.article-content p { margin-bottom: 14px; text-indent: 0; }
.article-content img { margin: 10px auto; }
.article-tags { margin-top: 20px; font-size: 13px; color: #888; }
.article-tags a { display: inline-block; background: #f2f5f9; border: 1px solid #e0e6ee; padding: 2px 10px; margin-right: 8px; border-radius: 2px; color: #2b6cb0; }
.pn { margin-top: 20px; border-top: 1px solid #eee; padding-top: 14px; font-size: 13px; }
.pn p { line-height: 26px; }
.pn a { color: #2b6cb0; }
.side-hd { font-size: 16px; color: #1e4e8c; }
.side-panel { background: #fff; border: 1px solid #e3e6eb; margin-bottom: 16px; }
.side-panel .hd { background: linear-gradient(180deg,#f8fafd,#eef2f8); border-bottom: 2px solid #2b6cb0; height: 40px; line-height: 40px; padding: 0 14px; }
.side-panel .bd { padding: 10px 14px; }
.rank li { line-height: 30px; height: 30px; overflow: hidden; font-size: 13px; }
.rank li i { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; background: #ccc; color: #fff; font-style: normal; font-size: 12px; margin-right: 8px; border-radius: 2px; }
.rank li:nth-child(1) i { background: #d33; } .rank li:nth-child(2) i { background: #e67; } .rank li:nth-child(3) i { background: #2b6cb0; }

/* 分页 */
.pager { text-align: center; padding: 20px 0; }
.pager a, .pager span { display: inline-block; padding: 6px 13px; margin: 0 3px; border: 1px solid #dde; background: #fff; font-size: 13px; }
.pager span.cur { background: #2b6cb0; color: #fff; border-color: #2b6cb0; }
.pager a:hover { background: #eef4fb; }

/* 页脚 */
.footer { background: #2c3e50; color: #9aa7b4; margin-top: 24px; padding: 20px 0 24px; font-size: 13px; }
.footer .flink { border-bottom: 1px solid #3d5166; padding-bottom: 10px; margin-bottom: 12px; }
.footer .flink b { color: #cfd8e3; margin-right: 10px; }
.footer .flink a { color: #9aa7b4; margin-right: 14px; }
.footer .fnav a { color: #cfd8e3; margin-right: 14px; }
.footer .copy { margin-top: 10px; line-height: 1.9; }
.footer a:hover { color: #fff; }

/* 标签云 */
.tagcloud a { display: inline-block; padding: 4px 12px; margin: 0 8px 10px 0; background: #f2f5f9; border: 1px solid #e0e6ee; color: #2b6cb0; border-radius: 3px; font-size: 13px; }
.tagcloud a:hover { background: #2b6cb0; color: #fff; }

/* 404 */
.e404 { text-align: center; padding: 80px 0; }
.e404 h1 { font-size: 60px; color: #2b6cb0; margin-bottom: 12px; }

/* 归档 */
.arch-item { display: inline-block; padding: 6px 14px; margin: 0 10px 10px 0; background: #f2f5f9; border: 1px solid #e0e6ee; border-radius: 3px; color: #2b6cb0; }
.arch-item:hover { background: #2b6cb0; color: #fff; }
.arch-item .muted { color: #999; font-size: 12px; }
.arch-item:hover .muted { color: #eee; }

/* ============ 移动端适配（百度移动优先索引 / 搜狗移动搜索） ============ */
@media (max-width: 1240px) {
  .wrap, .main { width: 100%; padding: 0 12px; }
  .left { width: 65%; } .right { width: 34%; }
  .block { width: 48.5%; }
  .block.mr { margin-right: 3%; }
}
@media (max-width: 768px) {
  body { font-size: 14px; }
  .topbar .l { max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; float: left; }
  .header .logo h1 { font-size: 22px; }
  .search { float: none; margin-top: 10px; }
  .search input { width: calc(100% - 90px); }
  .nav ul { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .nav ul li { float: none; display: inline-block; }
  .nav ul li a { padding: 0 14px; line-height: 40px; font-size: 14px; }
  .left, .right { width: 100% !important; float: none !important; }
  .right { margin-top: 16px; }
  .block { width: 100% !important; margin-right: 0 !important; margin-bottom: 12px; }
  .kfb-wrap { overflow-x: auto; }
  table.kfb, table.list { min-width: 560px; }
  .article-box { padding: 16px; }
  .article-box h1 { font-size: 19px; }
  .article-content { font-size: 15px; }
  .article-content p { margin-bottom: 12px; }
  .pn p { white-space: normal; }
}
