/* ========== 快讯页面样式 ========== */

.page-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
  text-align: center;
}

.page-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.page-hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
}

.news-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* 分类标签 */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.news-tab {
  padding: 12px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.news-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.news-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(14,176,133,0.3);
}

/* 新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  opacity: 1;
}

.news-item.hidden {
  display: none;
}

.news-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateX(4px);
}

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  color: white;
  text-align: center;
}

.news-day {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.news-month {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.9;
}

.news-body {
  flex: 1;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(14,176,133,0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.4;
}

.news-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-readmore {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.news-readmore:hover {
  color: var(--primary-dark);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

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

.page-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-hero-content h1 { font-size: 32px; }
  .news-item { flex-direction: column; padding: 20px; }
  .news-date { flex-direction: row; gap: 8px; padding: 10px 16px; min-width: auto; width: fit-content; }
  .news-day { font-size: 20px; }
  .news-month { margin-top: 0; }
  .news-tabs { gap: 8px; }
  .news-tab { padding: 10px 16px; font-size: 13px; }
}
