/* ==========================================================
   亚马逊资讯站 · 仿 dsb.cn 风格模板样式
   设计要点：白底 / 红色主色 #F04343 / 直角无圆角 / 克制排版
   上传位置：/skin/amz/style.css
   ========================================================== */
*{margin:0;padding:0;box-sizing:border-box;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;color:#333;background:#fff;line-height:1.6;
}
a{color:#333;text-decoration:none;}
a:hover{color:#F04343;}
img{border:0;max-width:100%;display:block;}
ul,ol{list-style:none;}
.wrap{max-width:1200px;margin:0 auto;padding:0 15px;}

/* ---------- 顶部导航 ---------- */
.site-header{border-bottom:1px solid #f0f0f0;background:#fff;}
.header-inner{max-width:1200px;margin:0 auto;padding:0 15px;height:60px;display:flex;align-items:center;justify-content:space-between;}
.logo{display:flex;align-items:center;gap:10px;}
.logo-badge{width:38px;height:38px;background:#F04343;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;letter-spacing:1px;}
.logo-name{font-size:22px;font-weight:700;color:#F04343;}
.main-nav{display:flex;gap:28px;}
.main-nav a{font-size:16px;color:#333;padding:19px 0;border-bottom:2px solid transparent;display:block;}
.main-nav a:hover,.main-nav a.on{color:#F04343;border-bottom-color:#F04343;}
.search-box{display:flex;border:1px solid #e5e5e5;}
.search-box input{border:0;outline:0;padding:7px 10px;width:150px;font-size:13px;}
.search-box button{border:0;background:#F04343;color:#fff;padding:0 14px;cursor:pointer;font-size:13px;}

/* ---------- 快讯横条 ---------- */
.flash-bar{background:#f8f8f8;border-bottom:1px solid #f0f0f0;}
.flash-inner{max-width:1200px;margin:0 auto;padding:0 15px;height:40px;display:flex;align-items:center;gap:14px;overflow:hidden;}
.flash-tag{background:#F04343;color:#fff;font-size:13px;padding:2px 10px;flex-shrink:0;}
.flash-list{flex:1;overflow:hidden;white-space:nowrap;}
.flash-list a{font-size:13px;color:#666;margin-right:30px;}
.flash-list a:hover{color:#F04343;}

/* ---------- 主体布局 ---------- */
.main{max-width:1200px;margin:20px auto 0;padding:0 15px;display:flex;gap:25px;align-items:flex-start;}
.col-main{flex:1;min-width:0;}
.col-side{width:320px;flex-shrink:0;}

/* ---------- 焦点区 ---------- */
.focus-block{text-align:center;padding:10px 0 25px;}
.focus-block h1{font-size:30px;font-weight:700;line-height:1.4;margin-bottom:6px;}
.focus-block h1 a:hover{color:#F04343;}
.focus-sub{margin-top:16px;}
.focus-sub a{display:block;font-size:20px;font-weight:600;line-height:1.7;color:#555;}
.focus-sub a:hover{color:#F04343;}

/* ---------- 栏目区块 ---------- */
.section{margin-bottom:30px;}
.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #333;padding-bottom:9px;margin-bottom:6px;}
.section-title{font-size:20px;font-weight:700;position:relative;padding-left:12px;}
.section-title:before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:4px;background:#F04343;}
.section-more{font-size:13px;color:#999;}
.section-more:hover{color:#F04343;}
.news-list li{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #f5f5f5;}
.news-list .t{font-size:17px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.news-list .d{font-size:13px;color:#999;flex-shrink:0;}

/* ---------- 列表页（带摘要+缩略图）---------- */
.list-row{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid #f0f0f0;}
.list-row .pic{width:160px;height:110px;flex-shrink:0;overflow:hidden;background:#f5f5f5;}
.list-row .pic img{width:100%;height:100%;object-fit:cover;}
.list-row h2{font-size:19px;font-weight:700;line-height:1.5;margin-bottom:8px;}
.list-row p{font-size:14px;color:#888;line-height:1.7;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.list-row .meta{font-size:13px;color:#aaa;}
.page-nav{padding:25px 0;text-align:center;font-size:14px;color:#666;}
.page-nav a,.page-nav span{display:inline-block;padding:6px 12px;margin:0 3px;border:1px solid #e5e5e5;}
.page-nav .cur{background:#F04343;border-color:#F04343;color:#fff;}
.breadcrumb{padding:18px 0 6px;font-size:13px;color:#999;}
.breadcrumb a{color:#999;}
.breadcrumb a:hover{color:#F04343;}

/* ---------- 内容页 ---------- */
.article{padding:5px 0 20px;}
.article h1{font-size:27px;font-weight:700;line-height:1.5;margin-bottom:14px;}
.article-meta{font-size:13px;color:#999;padding-bottom:16px;border-bottom:1px solid #f0f0f0;margin-bottom:22px;}
.article-meta span{margin-right:18px;}
.article-body{font-size:16px;line-height:1.9;color:#333;}
.article-body p{margin-bottom:18px;}
.article-body img{margin:10px auto;}
.article-tags{margin-top:26px;font-size:13px;color:#999;}
.article-tags a{color:#F04343;margin-right:10px;}
.pre-next{margin-top:28px;border-top:1px solid #f0f0f0;padding-top:18px;font-size:14px;}
.pre-next p{margin-bottom:8px;color:#666;}
.pre-next a:hover{color:#F04343;}

/* ---------- 侧栏 ---------- */
.side-card{border:1px solid #f0f0f0;margin-bottom:22px;}
.side-card .hd{font-size:17px;font-weight:700;padding:12px 15px;border-bottom:2px solid #333;}
.side-card .hd i{font-style:normal;color:#F04343;}
.side-card ul{padding:8px 15px 12px;}
.rank-list li{display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed #f0f0f0;}
.rank-list li:last-child{border-bottom:0;}
.rank-list .no{width:20px;flex-shrink:0;font-weight:700;color:#999;font-style:italic;}
.rank-list li:nth-child(1) .no,.rank-list li:nth-child(2) .no,.rank-list li:nth-child(3) .no{color:#F04343;}
.rank-list a{font-size:14px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.flash-side li{padding:9px 0;border-bottom:1px dashed #f0f0f0;}
.flash-side li:last-child{border-bottom:0;}
.flash-side .ft{font-size:12px;color:#aaa;margin-bottom:2px;}
.flash-side a{font-size:14px;line-height:1.5;}
.side-ad{background:#f5f5f5;height:250px;display:flex;align-items:center;justify-content:center;color:#bbb;font-size:14px;margin-bottom:22px;}

/* ---------- 页脚 ---------- */
.site-footer{background:#333;color:#aaa;margin-top:40px;}
.foot-nav{text-align:center;padding:24px 0 10px;font-size:13px;}
.foot-nav a{color:#ccc;margin:0 12px;}
.foot-nav a:hover{color:#fff;}
.foot-copy{text-align:center;padding:0 0 26px;font-size:12px;color:#888;line-height:2;}

@media (max-width:900px){
  .main{flex-direction:column;}
  .col-side{width:100%;}
  .main-nav{display:none;}
  .search-box{display:none;}
  .focus-block h1{font-size:22px;}
}
