/* 文章列表样式 */
.article-list-container {
  min-height: 60vh;
}

.article-list-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 文章网格布局 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* 文章卡片 */
.article-card {
  background:url(../images/card.jpg) no-repeat center;
  border-radius: 0;
  background-size: cover;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* 文章链接 */
.article-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 25px;
}

/* 文章标题 */
.article-card-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 15px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.article-card:hover .article-card-title {
  color: #3a4ba8;
}

/* 文章日期 */
.article-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cccccc;
  margin-bottom: 15px;
}

.article-date i {
  font-size: 14px;
}

/* 文章摘要 */
.article-excerpt {
  font-size: 14px;
  color: #999999;
  line-height: 1.8;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

/* Learn more 链接 */
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #535353;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.article-card:hover .article-read-more {
  gap: 10px;
  color: #fff;
}

.article-details-container .article-card:hover .article-read-more {
  color: #3a4ba8;
}

.article-read-more .more-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('/module/images/more2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

.article-card:hover .article-read-more .more-icon {
  background-image: url('/module/images/more1.png');
}

/* 分页样式 */
.article-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}

.article-pagination .uk-pagination {
  margin: 0;
}

.article-pagination li {
  margin: 0 5px;
}

.article-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.article-pagination a:hover {
  background: #101b6e;
  color: #fff;
  border-color: #101b6e;
}

.article-pagination .uk-active a {
  background: #101b6e;
  color: #fff;
  border-color: #101b6e;
}

.article-pagination .uk-disabled a {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .article-list-container {
    padding: 40px 0 60px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-card-title {
    font-size: 14px;
    min-height: auto;
  }

  .article-link {
    padding: 25px 20px;
  }

  .article-excerpt {
    font-size: 13px;
  }

  .article-pagination {
    margin-top: 40px;
  }

  .article-pagination a {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .article-list-wrapper {
    padding: 0 15px;
  }

  .article-link {
    padding: 20px 15px;
  }

  .article-card-title {
    font-size: 15px;
  }
}
