/* ==================== 干货科普列表页样式 ==================== */

/* Tab 导航 */
.article-list-section .tab-nav {
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 49px;
}

.article-list-section .tab-nav-item {
  position: relative;
  padding: 18px 38px;
  margin-right: 16px;
  font-size: 24px;
  color: #2e3739;
  border-radius: 20px 20px 0 0;
}
.article-list-section .tab-nav-item i {
  position: absolute;
  width: 48px;
  height: 20px;
  background-color: #ffba00;
  border-radius: 50%;
  left: 30px;
  bottom: 12px;
  z-index: 1;
  display: none;
}

.article-list-section .tab-nav-item span {
  position: relative;
  z-index: 2;
}

.article-list-section .tab-nav-item:last-child {
  margin-right: 0;
}

.article-list-section .tab-nav-item.active {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.article-list-section .tab-nav-item.active i, .article-list-section .tab-nav-item:hover i {
  display: block;
}
.article-list-section .tab-nav-item:hover {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

/* Tab 内容面板切换 */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* 列表区域 */
.article-list-section {
  width: 1512px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* 文章卡片网格 */
.article-grid {
  font-size: 0;
}

/* 文章卡片 */
.article-card {
  position: relative;
  display: inline-block;
  vertical-align: top;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #bccbdd;
  overflow: hidden;
  padding: 28px 33px 20px;
  width: 692px;
  min-height: 200px;
  cursor: pointer;
  margin: 0 120px 50px 0;
  box-sizing: border-box;
}
.article-card:nth-of-type(even) {
  margin-right: 0;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* 第一个卡片特殊样式 - 整体青色背景 */
.article-card:hover {
  background: var(--primary);
}

.article-card:hover .article-card-title {
  color: var(--white);
}

.article-card:hover .article-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

.article-card:hover .article-card-footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.article-card:hover .article-card-date {
  color: rgba(255, 255, 255, 0.8);
}

.article-card:hover .article-card-more {
  color: var(--white);
}

/* 卡片分类标签 - 右上角 */
.article-card-tag {
  position: absolute;
  top: 0;
  right: 30px;
  padding: 18px 20px;
  border-radius: 0 0 30px 30px;
  font-size: 14px;
  font-weight: 500;
  background: var(--secondary);
  color: #2e3739;
}

/* 卡片图片占位区域 */
.article-card-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* 卡片内容 */
.article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 110px;
}

.article-card:hover .article-card-title {
  color: #fff;
}

.article-card-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 14px;
}

.article-card-date {
  font-size: 14px;
  color: #5b5b5b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card-date svg {
  width: 14px;
  height: 14px;
}

.article-card-more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.article-card-more:hover {
  opacity: 0.8;
}