/* ===== 页面主容器 ===== */
.baidu-list-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* ===== 九宫格容器 ===== */
.baidu-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===== 九宫格卡片 ===== */
.baidu-list-card {
  width: calc(33.333% - 13.4px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.baidu-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.baidu-list-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ===== 卡片信息区域 ===== */
.baidu-list-info {
  padding: 12px;
}

.baidu-list-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}

.baidu-list-info h4:hover {
  color: #ff6600;
}

.baidu-list-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
  max-height: 3.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.baidu-list-meta {
  font-size: 13px;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #eee;
  padding-top: 6px;
}

/* ===== 链接统一去除下划线 ===== */
.baidu-list-card a,
.baidu-list-card a:hover,
.baidu-list-info h4 a {
  text-decoration: none !important;
}

/* ===== 翻页按钮样式 ===== */
.baidu-list-pagination {
  margin-top: 30px;
  text-align: center;
}

.baidu-list-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.baidu-list-pagination li,
.baidu-list-pagination a {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
}

.baidu-list-pagination a:hover {
  background-color: #f3f3f3;
  border-color: #bbb;
}

.baidu-list-pagination .thisclass a {
  background-color: #ff6600;
  color: #fff;
  border-color: #ff6600;
}

/* ===== 响应式布局 ===== */
@media (max-width: 991px) {
  .baidu-list-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .baidu-list-card {
    width: 100%;
  }
}

/* ===== Banner 栏目背景样式区块 ===== */
.baidu-list-banner {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px 5px;
  text-align: center;
  color: #fff;
  position: relative;
  border-radius: 8px;
  margin-bottom: 40px;
  overflow: hidden;
}

.baidu-list-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 半透明遮罩 */
  z-index: 0;
}

.baidu-list-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.baidu-list-banner-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

