/* ==========================================================
   夺标标书 投标资讯列表页专属样式
   公共头部 / 公共底部 / 面包屑 / 基础重置 见 common.css
   ========================================================== */

/* 当前页面包屑：背景与列表区一致；不做常亮高亮，仅链接 hover 变色 */
.breadcrumb { background: #f7f7f8; }

/* 友情链接浅灰底 */
.friend-links { background: #F8F8F8; }

/* ============ 资讯列表区 ============ */
.news-section {
  background: #f7f7f8;
  padding: 50px 0 60px;
}

.news-list {
  background: #fff;
}

/* ============ 单条资讯 ============ */
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  padding: 30px 34px;
  border-bottom: 1px solid #eee;
}

.news-date {
  flex: 0 0 90px;
  text-align: center;
  padding-top: 2px;
  padding-right: 26px;
  border-right: 1px solid #eee;
}

.news-date .day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.news-date .ym {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray);
}

.news-body {
  flex: 1 1 auto;
  min-width: 0;
}

.news-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.news-title a {
  color: var(--text);
  transition: color .2s;
}

.news-title a:hover { color: var(--red); }

.news-time {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--gray-light);
}

.news-desc {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--red);
}

.news-more:hover { text-decoration: underline; }

/* ============ 条目 hover 红底反白 ============ */
.news-item:hover { background: var(--red); }

.news-item:hover .day,
.news-item:hover .ym,
.news-item:hover .news-title a,
.news-item:hover .news-time {
  color: #fff;
}

.news-item:hover .news-desc { color: rgba(255, 255, 255, .88); }
.news-item:hover .news-more { color: #fff; }
.news-item:hover .news-date { border-right-color: rgba(255, 255, 255, .35); }

/* ============ 分页 ============ */
.news-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 14px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  transition: all .2s;
}

.page-ico {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.page-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.page-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.page-ellipsis {
  color: var(--gray);
  padding: 0 4px;
}

.page-total {
  color: var(--gray);
  margin-left: 10px;
}

.page-jump {
  color: var(--gray);
  margin-left: 10px;
}

.jump-select {
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 8px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.jump-btn {
  height: 34px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}

.jump-btn:hover { background: var(--red-dark); }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1024px) {
  .news-section { padding: 36px 0 44px; }
}

@media (max-width: 768px) {
  .news-item {
    gap: 18px;
    padding: 22px 18px;
  }

  .news-date { flex: 0 0 64px; padding-right: 16px; }
  .news-date .day { font-size: 24px; }
  .news-date .ym { font-size: 11px; margin-top: 5px; white-space: nowrap; }

  .news-title { font-size: 15px; }
  .news-desc { font-size: 13px; line-height: 1.8; }

  .news-pager { gap: 8px; margin-top: 26px; }
  .page-btn { width: 32px; height: 32px; padding: 0; }
  .page-total, .page-jump { margin-left: 4px; }

  /* WAP 端本页友情链接照常显示 */
  .friend-links .section-head,
  .friend-links .link-list { display: block; }
  .friend-links .link-list { margin-top: 18px; font-size: 12px; line-height: 2.2; }
  .friend-logo { margin-top: 22px; }
  .friend-logo img { width: 260px; }
}

@media (max-width: 480px) {
  .news-top { flex-direction: column; gap: 4px; }
  .news-time { flex: none; }
  .news-more { margin-top: 10px; }
}

/* ============ 空列表提示 ============ */
.news-empty {
  padding: 70px 30px;
  text-align: center;
  font-size: 15px;
  color: var(--gray);
}
