/* 百科 RSS / 动态轮播 */
.wiki-feed {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto 16px;
}

.wiki-feed-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-height: 260px;
  transition: opacity 0.22s ease;
}

.wiki-feed-track.is-fading {
  opacity: 0;
}

.wiki-feed-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(70, 90, 140, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.wiki-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(70, 90, 140, 0.14);
}

.wiki-feed-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f3f5fb;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wiki-feed-title {
  padding: 16px 18px 20px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: #1f2a44;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.wiki-feed-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.wiki-feed-dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #d5dbe8;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wiki-feed-dot.is-active {
  background: #4b7bec;
  transform: scale(1.2);
}

.wiki-feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #667085;
  padding: 48px 16px;
  font-size: 15px;
}

.wiki-feed-empty a {
  display: inline-block;
  margin-left: 8px;
  color: #4b7bec;
}

.wiki-feed-heading-link {
  color: inherit;
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  transition: color 0.2s ease;
}

.wiki-feed-heading-link:hover {
  color: #4b7bec;
}

@media (max-width: 991px) {
  .wiki-feed-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .wiki-feed-title {
    font-size: 14px;
    padding: 12px 14px 16px;
  }
}

@media (max-width: 767px) {
  .wiki-feed-track {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wiki-feed-cover {
    aspect-ratio: 16 / 9;
  }
}
