/* ============================================================
   CBFI 冰泉制冷 · 新闻列表页私有样式
   位置：public/static/bingquan/css/news.css
   ============================================================ */

/* ===== 渐变页头 ===== */
.page-head{background:linear-gradient(90deg,var(--primary),var(--primary-dark));color:#fff;padding:150px 0 56px;margin-bottom:0;text-align:center}
.page-head h1{font-size:34px;font-weight:700;margin-bottom:8px}
.page-head .en{color:rgba(255,255,255,.7);font-size:14px;letter-spacing:3px;text-transform:uppercase}
.breadcrumb{font-size:13px;color:rgba(255,255,255,.75);margin-top:14px}
.breadcrumb a{color:rgba(255,255,255,.85)}
.breadcrumb i{margin:0 8px;font-size:10px}

/* ===== 页面主体 ===== */
.page-body{padding:56px 0 70px;background:#fff}
.page-flex{display:flex;gap:44px;align-items:flex-start}
.main-col{flex:1;min-width:0}

/* ===== 新闻列表 ===== */
.news-row{display:flex;gap:24px;background:#fff;border:1px solid #eef1f8;border-radius:14px;padding:22px;margin-bottom:20px;transition:var(--transition);position:relative;align-items:center}
.news-row:hover{box-shadow:0 12px 32px rgba(65,105,225,.12);transform:translateY(-3px);border-color:var(--primary)}
.news-row .thumb{width:230px;height:150px;border-radius:10px;overflow:hidden;flex-shrink:0;background:#eef1f8}
.news-row .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.news-row:hover .thumb img{transform:scale(1.06)}
.news-row .info{flex:1;min-width:0}
.news-row .info .date{font-size:12px;color:#9aa5c1;display:flex;align-items:center;gap:6px}
.news-row .info .date i{font-size:11px}
.news-row .info h3{font-size:18px;font-weight:600;margin:9px 0 8px;color:var(--text);line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.news-row .info p{font-size:14px;color:var(--gray);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-row .more{color:var(--primary);font-size:13px;flex-shrink:0;transition:var(--transition)}
.news-row:hover .more i{margin-left:6px}
.news-row a{position:absolute;inset:0;z-index:1}

/* ===== 侧栏 ===== */
.sidebar{width:330px;flex-shrink:0}
.side-box{background:#fff;border:1px solid #eef1f8;border-radius:14px;padding:26px;margin-bottom:24px}
.side-box h4{font-size:17px;color:var(--text);font-weight:600;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #f0f3fa;position:relative}
.side-box h4::after{content:'';position:absolute;left:0;bottom:-2px;width:44px;height:2px;background:var(--primary)}
.side-list li{list-style:none;display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px dashed #eef1f8;position:relative}
.side-list li:last-child{border-bottom:none}
.side-list .n{color:var(--primary);font-weight:700;font-size:13px;line-height:1.6;flex-shrink:0}
.side-list a{flex:1;font-size:14px;color:var(--text);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:var(--transition)}
.side-list li:hover a{color:var(--primary)}
.tag-cloud{display:flex;flex-wrap:wrap;gap:10px}
.tag-cloud a{font-size:13px;color:var(--gray);background:#f5f7fb;border-radius:20px;padding:6px 16px;transition:var(--transition)}
.tag-cloud a:hover{background:var(--primary);color:#fff}

/* ===== 响应式（私有部分） ===== */
@media(max-width:992px){
    .sidebar{width:260px}
}
@media(max-width:768px){
    .page-head{padding:128px 0 40px}
    .page-head h1{font-size:26px}
    .page-flex{flex-direction:column}
    .sidebar{width:100%}
    .news-row{flex-direction:column;align-items:flex-start;gap:14px;padding:16px}
    .news-row .thumb{width:100%;height:190px}
}
