/* ===== 资讯列表页样式 - P1经典标题列表 ===== */

/* 列表页面头部 */
.list-page-header {
  background: var(--dark-bg);
  padding: 60px 0;
  text-align: center;
}

.list-page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 12px;
}

.list-page-header p {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* 筛选标签 */
.filter-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-style: italic;
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  cursor: pointer;
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

/* 经典标题列表 */
.news-list-section {
  padding: 50px 0;
  background: var(--light-bg);
}

.news-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-list-item {
  background: var(--white);
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(44, 31, 21, 0.04);
}

.news-list-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(44, 31, 21, 0.1);
}

.news-list-date {
  flex-shrink: 0;
  text-align: center;
  min-width: 60px;
}

.news-list-date .day {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  font-style: italic;
  line-height: 1;
  display: block;
}

.news-list-date .month {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.news-list-content {
  flex: 1;
}

.news-list-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-bg);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-list-content p {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-meta {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.news-list-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-list-arrow {
  flex-shrink: 0;
  color: var(--secondary);
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.news-list-item:hover .news-list-arrow {
  opacity: 1;
}

/* 侧边栏 */
.list-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(44, 31, 21, 0.06);
}

.widget-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-bg);
  font-style: italic;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.widget-list {
  list-style: none;
}

.widget-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.widget-list li:last-child {
  border-bottom: none;
}

.widget-list a {
  font-size: 13px;
  color: var(--text-main);
  font-style: italic;
  display: block;
  transition: color 0.3s;
}

.widget-list a:hover {
  color: var(--secondary);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 6px 14px;
  background: var(--light-bg);
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-main);
  font-style: italic;
  transition: all 0.3s;
}

.tag-cloud a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* 响应式 */
@media (max-width: 768px) {
  .list-layout {
    grid-template-columns: 1fr;
  }

  .news-list-item {
    padding: 20px;
  }

  .news-list-date .day {
    font-size: 24px;
  }

  .sidebar {
    order: 2;
  }
}
