/* 资讯分类页：左栏是一块白面板（轮播 + 文章列表，细线分隔），右栏侧栏各一块白面板；分类导览、两栏版面、侧栏在 main.css（与资讯详情页共用） */

/* ===== 轮播（widget/art_slider） ===== */
.lb-art-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.lb-art-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.lb-art-slide {
  position: relative;
  min-width: 100%;
}

.lb-art-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.lb-art-slide-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 20px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.lb-art-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.lb-asd {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.lb-asd.lb-active {
  width: 22px;
  background: var(--art-blue);
}

/* ===== 文章列表：左缩图、右标题／摘要／日期＋阅读数 ===== */
.lb-art-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 卡片之间用细线分隔，第一张不画 */
.lb-art-card {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--bg-elev);
}

.lb-art-card:first-child {
  border-top: none;
}

.lb-art-card-thumb {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.lb-art-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.lb-art-card:hover .lb-art-card-thumb img {
  transform: scale(1.05);
}

.lb-art-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.lb-art-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.lb-art-card-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lb-art-card-title a:hover {
  color: var(--art-blue);
}

.lb-art-card-desc {
  display: -webkit-box;
  margin: 0 0 auto;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lb-art-card-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.lb-art-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lb-art-empty {
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 767px) {
  .lb-art-slide-caption {
    padding: 30px 15px 28px;
    font-size: 15px;
  }

  .lb-art-card {
    gap: 12px;
    padding: 14px 0;
  }

  .lb-art-card-thumb {
    width: 120px;
  }

  .lb-art-card-title {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .lb-art-card-desc {
    -webkit-line-clamp: 1;
  }
}
