/* ===== 鸡蛋网 · 资讯页样式 ===== */
.news-list { margin: 20px 0 30px; display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: flex; gap: 18px; background: #fff; border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: .2s;
}
.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.news-cover { width: 200px; height: 130px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-title { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.5; }
.news-time { font-size: 13px; color: var(--text-3); margin-top: 10px; }
@media (max-width: 600px) {
  .news-cover { width: 120px; height: 90px; }
  .news-title { font-size: 15px; }
}

/* 详情页 */
.news-detail { max-width: 760px; margin: 40px auto 60px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.news-detail h1 { font-size: 28px; font-weight: 800; line-height: 1.4; }
.news-detail .news-time { margin: 14px 0 24px; }
.news-detail .news-cover-full { width: 100%; border-radius: 12px; margin-bottom: 24px; display: block; }
.news-detail .news-content { font-size: 16px; line-height: 1.9; color: var(--text); white-space: pre-wrap; }
@media (max-width: 600px) { .news-detail { margin: 20px auto; padding: 22px; } }

/* 两栏布局 + 侧栏（最新供求） */
.news-layout { display: flex; gap: 24px; align-items: flex-start; margin-top: 20px; }
.news-main { flex: 1; min-width: 0; }
.news-main .news-detail { max-width: none; margin: 0 0 40px; }
.news-side { width: 300px; flex-shrink: 0; position: sticky; top: 76px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 16px; }
.side-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.side-item { display: block; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.side-item:last-child { border-bottom: none; }
.side-item .s-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; }
.side-item .s-meta { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.side-item:hover .s-name { color: var(--primary); }
@media (max-width: 900px) { .news-layout { flex-direction: column; } .news-side { width: 100%; position: static; } }
