/* ===== 资讯列表页样式 news.css ===== */
/* P1经典标题列表 - AF石榴红系列 */

.news-section { padding: 40px 0 80px; }
.news-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 分类筛选 */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.filter-bar a {
  padding: 8px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.filter-bar a:hover, .filter-bar a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.news-item:hover {
  border-color: rgba(230,74,25,0.2);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.news-item .date {
  text-align: center;
  padding-right: 16px;
  border-right: 2px solid var(--border-light);
}
.news-item .date .day {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.news-item .date .month {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.news-item .content h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 1.5;
}
.news-item .content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .tag {
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.pagination a:hover, .pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pagination span { cursor: not-allowed; opacity: 0.5; }

@media (max-width: 768px) {
  .news-item { grid-template-columns: 60px 1fr; }
  .news-item .tag { display: none; }
  .news-item .date .day { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .news-item { grid-template-columns: 1fr; }
  .news-item .date { display: none; }
}
