/* ================================================================
   news.css — 新闻列表页专属样式
   ================================================================ */

/* ----- 页面整体背景白色 ----- */
.news-page {
  background: #ffffff;
}

/* ----- 顶部Banner大图 (100%宽度) ----- */
.news-banner {
  width: 100%;
  height: 390px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.news-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.news-banner .banner-text {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
}
.news-banner .banner-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 4px;
}
.news-banner .banner-text p {
  font-size: 1rem;
  letter-spacing: 6px;
  opacity: 0.8;
  margin-top: 6px;
}

/* ============================================================
   标题 + 面包屑区域（2px底部边框）
   ============================================================ */
.news-content-top {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0rem 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 30px;
  border-bottom: 2px solid #e8ecf0;
  box-sizing: border-box;
}

.news-left-title {
  display: flex;
  flex-direction: column;
}
.news-left-title .news-title-en {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.2;
}
.news-left-title .news-title-cn {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #999;
  margin-top: 2px;
}

.news-breadcrumb {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.9rem;
  color: #999;
  padding-bottom: 4px;
}
.news-breadcrumb .label {
  color: #999;
}
.news-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.news-breadcrumb a:hover {
  color: #e00505;
}
.news-breadcrumb .separator {
  margin: 0 6px;
  color: #ccc;
}
.news-breadcrumb .current {
  color: #e00505;
}

/* ============================================================
   新闻列表模块
   ============================================================ */
.news-list-section {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 2rem 60px;
  box-sizing: border-box;
}

/* --- 新闻列表 --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 单条新闻 */
.news-item {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e8ecf0;
  padding: 24px 0;
  transition: background 0.2s;
  gap: 24px;
  cursor: pointer;
}
.news-item:first-child {
  padding-top: 0;
}
.news-item:hover {
  background: #f8f9fa;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 4px;
}

/* 新闻日期（左侧） */
.news-item .news-date-box {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  border-radius: 4px;
  padding: 10px 0;
  text-align: center;
  min-height: 72px;
}
.news-item .news-date-box .day {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}
.news-item .news-date-box .month {
  font-size: 0.8rem;
  color: #999;
}
.news-item .news-date-box .year {
  font-size: 0.7rem;
  color: #bbb;
  margin-top: 2px;
}

/* 新闻内容（中间） */
.news-item .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.news-item .news-content .news-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.news-item:hover .news-content .news-title {
  color: #e00505;
}
.news-item .news-content .news-summary {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻标签/箭头（右侧） */
.news-item .news-more {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}
.news-item:hover .news-more {
  color: #e00505;
  transform: translateX(4px);
}

/* ============================================================
   分页
   ============================================================ */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 30px;
  margin-top: 10px;
  border-top: 1px solid #e8ecf0;
}
.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e4e8;
  background: #ffffff;
  color: #555;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 4px;
}
.news-pagination a:hover {
  border-color: #e00505;
  color: #e00505;
}
.news-pagination a.active {
  background: #e00505;
  border-color: #e00505;
  color: #ffffff;
}
.news-pagination .prev,
.news-pagination .next {
  color: #999;
}
.news-pagination .prev:hover,
.news-pagination .next:hover {
  color: #e00505;
  border-color: #e00505;
}
.news-pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.news-pagination .ellipsis {
  border: none;
  background: transparent;
  color: #999;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
  .news-banner {
    height: 260px;
  }
  .news-banner .banner-text h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 820px) {
  .news-banner {
    height: 220px;
  }
  .news-banner .banner-text h1 {
    font-size: 1.8rem;
  }
  .news-banner .banner-text p {
    font-size: 0.85rem;
    letter-spacing: 4px;
  }

  .news-content-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 1.5rem 12px;
    width: 100%;
  }
  .news-left-title .news-title-en {
    font-size: 1.5rem;
  }
  .news-left-title .news-title-cn {
    font-size: 0.85rem;
  }
  .news-breadcrumb {
    text-align: left;
    font-size: 0.8rem;
  }

  .news-list-section {
    padding: 30px 1.5rem 50px;
  }

  .news-item {
    padding: 18px 0;
    gap: 16px;
  }
  .news-item .news-date-box {
    flex: 0 0 60px;
    min-height: 60px;
    padding: 8px 0;
  }
  .news-item .news-date-box .day {
    font-size: 1.3rem;
  }
  .news-item .news-date-box .month {
    font-size: 0.7rem;
  }
  .news-item .news-date-box .year {
    font-size: 0.6rem;
  }
  .news-item .news-content .news-title {
    font-size: 0.95rem;
  }
  .news-item .news-content .news-summary {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }
  .news-item .news-more {
    flex: 0 0 30px;
    font-size: 0.85rem;
  }
}

@media (max-width: 520px) {
  .news-banner {
    height: 160px;
  }
  .news-banner .banner-text h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  .news-banner .banner-text p {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .news-content-top {
    padding: 20px 1rem 10px;
    width: 100%;
  }
  .news-left-title .news-title-en {
    font-size: 1.2rem;
  }
  .news-left-title .news-title-cn {
    font-size: 0.75rem;
  }
  .news-breadcrumb {
    font-size: 0.7rem;
  }

  .news-list-section {
    padding: 20px 1rem 40px;
  }

  .news-item {
    padding: 14px 0;
    gap: 12px;
    flex-wrap: wrap;
  }
  .news-item .news-date-box {
    flex: 0 0 52px;
    min-height: 52px;
    padding: 6px 0;
  }
  .news-item .news-date-box .day {
    font-size: 1.1rem;
  }
  .news-item .news-date-box .month {
    font-size: 0.6rem;
  }
  .news-item .news-date-box .year {
    font-size: 0.55rem;
  }
  .news-item .news-content .news-title {
    font-size: 0.88rem;
  }
  .news-item .news-content .news-summary {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }
  .news-item .news-more {
    flex: 0 0 24px;
    font-size: 0.75rem;
  }

  .news-pagination {
    gap: 4px;
    padding-top: 20px;
  }
  .news-pagination a,
  .news-pagination span {
    min-width: 30px;
    height: 30px;
    font-size: 0.75rem;
    padding: 0 8px;
  }
}