/* ===================帝王云 ==================== */
/* ============= www.diwangyun.com ================ */
/* ============= www.diwangyun.cn ================= */
/* ============== 代码有价，版权无价 ================= */
/* =======帝王云模板为帝王云自行开发，已办理源码著作权 ========== */
/* =======未经允许 仿站或扒站 发现必究，请尊重开发者心血 ========== */
/* ==========="愿你走完山水万城 仍与理想重逢" ============ */
/* ============模板作者：江遇:QQ 1481234828=========== */


/* 新闻列表页样式 */

.page-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--purple) 100%);
  padding: 120px 0 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header > p {
  font-size: 20px;
  opacity: 0.9;
}

.news-section {
  padding: 60px 0;
}

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

.news-item {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 0 20px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f7fafc;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.news-date {
  color: var(--text-light);
  font-size: 14px;
}

.news-category {
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.25) 100%);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-item:hover h3 {
  color: var(--gold);
}

.news-item > p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 14px;
}

.pagination-section {
  padding: 40px 0 60px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-link {
  display: inline-block;
  padding: 10px 16px;
  background: white;
  color: var(--text-gray);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.page-link:hover,
.page-link.active {
  background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 100%);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.page-dots {
  padding: 10px 16px;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .page-header {
    padding: 100px 0 50px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 90px 0 40px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header > p {
    font-size: 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-item h3 {
    font-size: 18px;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .page-link {
    padding: 8px 14px;
    font-size: 14px;
  }
}
