/* ===== news.css - 资讯列表页样式 (P2卡片网格) ===== */

/* ---- News Hero ---- */
.news-hero {
  position: relative;
  height: 300px;
  background-color: #1C1C1C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-content {
  text-align: center;
}

.news-hero-content h1 {
  font-size: 30px;
  color: #FFFFFF;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.news-hero-content .hero-line {
  width: 50px;
  height: 3px;
  background-color: #C8A96B;
  margin: 0 auto;
}

/* ---- P2 卡片网格布局 ---- */
.news-section {
  padding: 60px 0;
  background-color: #FAFAFA;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  background-color: #FFFFFF;
  border: 1px solid #F0F0F0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: #C8A96B;
  box-shadow: 0 6px 20px rgba(200,169,107,0.1);
  transform: translateY(-3px);
}

.news-card-body {
  padding: 25px;
}

.news-card-tag {
  display: inline-block;
  padding: 3px 12px;
  background-color: #F7E7CE;
  color: #8B6914;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.news-card h3 {
  font-size: 16px;
  color: #1C1C1C;
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-card p {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999999;
  border-top: 1px solid #F5F5F5;
  padding-top: 12px;
}

.news-card-meta a {
  color: #C8A96B;
  font-weight: 600;
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}

.page-item {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  transition: all 0.2s ease;
}

.page-item:hover {
  background-color: #C8A96B;
  color: #FFFFFF;
  border-color: #C8A96B;
}

.page-item.active {
  background-color: #C8A96B;
  color: #FFFFFF;
  border-color: #C8A96B;
}

.page-item.disabled {
  color: #CCCCCC;
  cursor: not-allowed;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-hero {
    height: 220px;
  }
  .news-hero-content h1 {
    font-size: 24px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}
