/* 传奇发布网 · 全站样式 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:14px;color:#333;background:#f4f4f4}
a{color:#333;text-decoration:none;transition:color .2s}
a:hover{color:#e60012}
ul,ol{list-style:none}
img{display:block;max-width:100%}
.container{width:1200px;max-width:96%;margin:0 auto}

/* 顶栏 */
.header{background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.06);position:sticky;top:0;z-index:100}
.header .container{display:flex;align-items:center;justify-content:space-between;height:64px}
h1.logo{margin:0;font-size:100%;font-weight:400;line-height:1}
.logo,.logo-link{display:flex;align-items:center;gap:8px}
.logo-text{font-size:22px;font-weight:700;color:#e60012;letter-spacing:1px}
.nav{display:flex;gap:34px}
.nav a{font-size:15px;color:#444;padding:6px 0}
.nav a:hover,.nav a[aria-current=page]{color:#e60012;font-weight:700}

/* 面包屑 */
.breadcrumb{background:#f4f4f4;padding:14px 0 4px;font-size:13px;color:#888}
.breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center}
.breadcrumb a,.breadcrumb li{color:#888}
.breadcrumb a:hover{color:#e60012}
.breadcrumb li+li::before{content:">";margin:0 6px;color:#bbb}

/* 标题（区块 / 侧栏） */
.section-title,.side-title{padding-left:12px;border-left:4px solid #e60012;color:#222;font-weight:700}
.section-title{font-size:18px;line-height:1.3;margin-bottom:14px}
.side-title{font-size:16px;padding-left:10px;margin-bottom:14px}


/* 首页区块 */
.section{background:#fff;border-radius:8px;padding:22px 26px 16px;margin-top:16px}
.news-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:50px}
.news-grid li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px dashed #ececec}
.news-grid li:nth-last-child(-n+2){border-bottom:0}
.news-grid .t{flex:1;min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-grid .t::before{content:"";display:inline-block;width:4px;height:4px;background:#ccc;border-radius:50%;margin-right:8px;vertical-align:3px}
.news-grid a:hover .t{color:#e60012}
.date-badge{flex-shrink:0;background:#e60012;color:#fff;font-size:12px;font-weight:400;padding:2px 8px;border-radius:3px}

/* 图片墙 */
.pic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding-bottom:6px}
.pic-grid img{width:100%;height:150px;object-fit:cover;border-radius:6px}
.pic-grid h3{text-align:center;font-size:14px;color:#555;padding:10px 0 4px}


/* 列表 / 详情布局 */
.page-wrap{display:flex;gap:16px;align-items:flex-start;margin:16px 0 30px}
.main-col{flex:1;min-width:0;background:#fff;border-radius:8px;padding:22px 26px}
.side-col{width:300px;flex-shrink:0}

/* 列表项 */
.article-item{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid #f0f0f0}
.article-item:last-child{border-bottom:0}
.article-item .thumb{flex-shrink:0}
.article-item .thumb img{width:200px;height:130px;object-fit:cover;border-radius:4px}
.article-item .info{flex:1;min-width:0}
.article-item .art-title{font-size:17px;line-height:1.4;margin-bottom:8px}
.article-item .art-title a:hover{color:#e60012}
.article-item .meta{font-size:12px;color:#999;margin-bottom:10px}
.article-item .meta .m{margin-right:18px}
.article-item .excerpt{font-size:13px;color:#888;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* 分页 */
.pager {clear: both;margin: 20px;overflow: hidden;margin-left: 0px;text-align: center;font-size: 12px}
.pager ul li {display: inline-block;border: 1px solid #ccc;padding: 4px 12px;margin: 0 1px;line-height: 24px;background: #fff;color: #999}
.pager ul li:hover {background: #474747;color: #fff;border: 1px solid #474747}
.pager ul li:hover a {color: #fff;}
.pager ul li.thisclass {display: inline-block;border: 1px solid #474747;padding: 4px 12px;margin: 0 1px;background: #474747;color: #fff;}
.pager ul li.thisclass a {color: #fff;}
.pager ul li a {display: block;color: #999}
.pager ul li a:hover {color: #fff;}

/* 侧栏 */
.side-box{background:#fff;border-radius:8px;padding:16px 18px;margin-bottom:16px}
.rec-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}
.rec-item .rt{width:100%;height:78px;object-fit:cover;border-radius:4px;margin-bottom:6px}
.rec-item p{font-size:12px;color:#666;line-height:1.5;height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rec-item:hover p{color:#e60012}

/* 侧栏 / 相关阅读列表 */
.hot-list li,.related li{padding:9px 0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px dashed #f0f0f0}
.hot-list li:last-child,.related li:last-child{border-bottom:0}

/* 详情页 */
.article-head{text-align:center;padding-bottom:18px;border-bottom:1px solid #f0f0f0;margin-bottom:22px}
.article-head h2{font-size:24px;color:#222;line-height:1.5;margin-bottom:12px}
.article-head .meta{font-size:13px;color:#999}
.article-head .meta span{margin:0 10px}

/* 正文 */
.article-body{font-size:15px;line-height:2;color:#444}
.article-body p{margin-bottom:18px;text-indent:2em}
.article-body .plan{text-indent:0;background:#fafafa;border-left:3px solid #e60012;padding:10px 14px;border-radius:0 4px 4px 0;margin-bottom:14px}

/* 翻页 */
.page-nav{display:flex;justify-content:space-between;gap:20px;margin-top:26px;padding-top:16px;border-top:1px solid #f0f0f0;font-size:13px;color:#888}
.page-nav a{color:#888}
.page-nav a:hover{color:#e60012}

/* 相关阅读 */
.related{margin-top:30px}
.related h2{font-size:17px;padding-bottom:10px;border-bottom:2px solid #eee;margin-bottom:6px}
.related h2 span{border-bottom:2px solid #e60012;padding-bottom:8px}
.related ul{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}

/* 页脚 */
.footer{background:#2b2b2b;color:#9a9a9a;margin-top:10px;padding:26px 0;font-size:13px;text-align:center;line-height:2}
.footer a{color:#9a9a9a}
.footer a:hover{color:#fff}

/* 移动端 */
@media (max-width:992px){
  .header .container{flex-direction:column;height:auto;padding:10px 0 8px;gap:6px}
  .nav{gap:4px 18px;flex-wrap:wrap;justify-content:center}
  .nav a{font-size:14px;white-space:nowrap;padding:4px 0}
  .section{padding:16px 14px}
  .news-grid,.related ul{grid-template-columns:1fr}
  .news-grid li:nth-last-child(2){border-bottom:1px dashed #ececec}
  .pic-grid{grid-template-columns:1fr 1fr;gap:14px}
  .pic-card img{height:120px}
  .page-wrap{flex-direction:column}
  .side-col{width:100%}
  .main-col{padding:16px 14px}
  .article-item{flex-direction:column;gap:10px}
  .article-item .thumb img{width:100%;height:180px}
  .article-head h2{font-size:20px}
  .article-body{font-size:14px}
  .article-body p{text-indent:0}
  .pager .total{width:100%;margin-left:0;text-align:center}
}


