/* 艾瑞风格版式 - 原创实现（白底、蓝点缀、左图卡片流） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font: 14px/1.8 "PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif; color: #333; background: #fff; }
a { color: #333; text-decoration: none; transition: color .15s; }
a:hover { color: #1e9fd2; }
ul { list-style: none; }
img { display: block; }
.wrap { width: 1200px; max-width: 96%; margin: 0 auto; }
.f-cb::after { content: ""; display: block; clear: both; }

/* ===== 顶部伙伴条 ===== */
.partner { background: #fafafa; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #999; }
.partner-inner { height: 32px; display: flex; align-items: center; gap: 14px; }
.partner a { color: #999; }
.partner a:hover { color: #1e9fd2; }
.partner .sep { color: #ddd; }

/* ===== 站头：白底 logo + 导航 + 搜索 ===== */
.masthead { background: #fff; border-bottom: 1px solid #eee; }
.masthead-inner { display: flex; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; margin-right: 50px; height: 72px; }
.logo-img { height: 50px; width: auto; display: block; }
.mainnav { display: flex; flex: 1; }
.mainnav > a { display: block; padding: 0 22px; font-size: 17px; color: #333; height: 72px; line-height: 72px; position: relative; }
.mainnav > a:hover, .mainnav > a.active { color: #1e9fd2; }
.mainnav > a.active::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: #1e9fd2; }
.top-actions { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.top-actions .btn-login { border: 1px solid #1e9fd2; color: #1e9fd2; padding: 4px 16px; border-radius: 3px; }
.top-actions .btn-login:hover { background: #1e9fd2; color: #fff; }

/* ===== 主体两栏 ===== */
.main-area { display: flex; gap: 30px; padding: 24px 0 40px; }
.col-main { flex: 1; min-width: 0; }
.col-side { width: 340px; flex: none; }

/* 板块标题（艾瑞式简洁 h2 + 更多） */
.m-hd { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 14px; }
.m-hd:first-child { margin-top: 0; }
.m-hd h2 { font-size: 22px; color: #333; padding-left: 12px; border-left: 4px solid #1e9fd2; line-height: 1.2; }
.m-hd .more { font-size: 13px; color: #999; }
.m-hd .more:hover { color: #1e9fd2; }

/* ===== 今日热点（编号榜单）===== */
.hot-list { border: 1px solid #f0f0f0; padding: 6px 20px; }
.hot-list li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.hot-list li:last-child { border-bottom: none; }
.hot-list .nub { width: 22px; height: 22px; border-radius: 50%; background: #eef6fc; color: #1e9fd2; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex: none; }
.hot-list li:nth-child(-n+3) .nub { background: #1e9fd2; color: #fff; }
.hot-list a { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-list .time { font-size: 12px; color: #bbb; margin-left: 12px; }

/* ===== 资讯流卡片（左图角标 + 右文）===== */
.news-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.news-item:hover { background: #fcfcfc; }
.u-img { width: 210px; height: 130px; flex: none; position: relative; overflow: hidden; background: #eef3f8; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #c3d4e5; }
.u-img img { width: 100%; height: 100%; object-fit: cover; }
.u-img .sort { position: absolute; left: 0; top: 0; background: rgba(30,159,210,.92); color: #fff; font-size: 12px; padding: 2px 10px; line-height: 1.6; }
.news-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-txt h3 { font-size: 19px; line-height: 1.5; margin-bottom: 8px; }
.news-txt h3 a { color: #333; font-weight: 600; }
.news-txt h3 a:hover { color: #1e9fd2; }
.news-txt p { color: #888; font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.news-foot .link a { color: #1e9fd2; margin-right: 12px; }
.news-foot .time { color: #aaa; }

/* ===== 侧栏 ===== */
.side-panel { border: 1px solid #f0f0f0; padding: 18px 20px; margin-bottom: 24px; }
.side-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.side-hd h3 { font-size: 18px; padding-left: 10px; border-left: 3px solid #1e9fd2; line-height: 1.2; }
.rank-list li { display: flex; align-items: center; padding: 9px 0; border-bottom: 1px dashed #f0f0f0; }
.rank-list li:last-child { border-bottom: none; }
.rank-list .nub { width: 20px; height: 20px; border-radius: 3px; background: #f2f2f2; color: #999; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-right: 10px; flex: none; }
.rank-list li:nth-child(-n+3) .nub { background: #1e9fd2; color: #fff; }
.rank-list a { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-news li { padding: 8px 0; border-bottom: 1px dotted #eee; font-size: 14px; }
.side-news li:last-child { border-bottom: none; }
.side-news a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { background: #f5f7f9; color: #666; padding: 4px 14px; font-size: 13px; border-radius: 2px; }
.tag-cloud a:hover { background: #1e9fd2; color: #fff; }

/* ===== 栏目列表页 ===== */
.channel-head { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 4px; }
.channel-head h1 { font-size: 24px; padding-left: 12px; border-left: 4px solid #1e9fd2; line-height: 1.3; }
.channel-count { font-size: 12px; color: #aaa; }
.pager { display: flex; gap: 8px; margin: 24px 0; }
.pager a { min-width: 34px; text-align: center; padding: 5px 10px; border: 1px solid #e0e0e0; color: #666; font-size: 13px; border-radius: 2px; }
.pager a:hover, .pager a.on { background: #1e9fd2; border-color: #1e9fd2; color: #fff; }

/* ===== 文章页 ===== */
.crumb { font-size: 12px; color: #999; padding: 14px 0; border-bottom: 1px solid #f5f5f5; margin-bottom: 20px; }
.crumb a { color: #1e9fd2; }
.article-title { font-size: 30px; line-height: 1.45; color: #222; margin-bottom: 14px; }
.article-meta { display: flex; gap: 20px; font-size: 13px; color: #aaa; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; }
.article-cover { width: 100%; border-radius: 3px; margin-bottom: 18px; }
.article-content { font-size: 16px; line-height: 2.1; color: #333; }
.article-content p { margin-bottom: 18px; }
.article-content img { max-width: 100%; margin: 10px auto; }
.article-content h2, .article-content h3 { margin: 24px 0 12px; color: #1e9fd2; }
.article-tags { margin-top: 28px; padding-top: 16px; border-top: 1px solid #f0f0f0; display: flex; gap: 10px; flex-wrap: wrap; }
.article-tags a { background: #f5f7f9; color: #1e9fd2; padding: 3px 12px; font-size: 13px; border-radius: 2px; }

/* ===== 页脚 ===== */
.footer { background: #313743; color: #9ca1a6; margin-top: 30px; padding: 30px 0; text-align: center; font-size: 13px; line-height: 2.1; }
.footer a { color: #9ca1a6; margin: 0 8px; }
.footer a:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
  .main-area { flex-direction: column; }
  .col-side { width: 100%; }
  .mainnav { overflow-x: auto; }
  .mainnav > a { height: 56px; line-height: 56px; font-size: 15px; padding: 0 14px; }
  .masthead-inner { height: 60px; }
  .logo-img { height: 26px; }
  .u-img { width: 130px; height: 88px; font-size: 26px; }
  .news-txt h3 { font-size: 16px; }
}
