/* P2-2 视频中心（/videos/）——只被 videos 页引用，不动 catalog-2026-09-2.css */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.video-card {
  display: block;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface, #ffffff);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.video-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.video-card h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 12px 16px 6px;
}

.video-card p {
  font-size: 13px;
  color: var(--text-secondary, #525252);
  margin: 0 16px 12px;
}

.video-card .post-meta {
  margin: 0 16px 14px;
  font-size: 12px;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
}

.video-card:hover .video-play,
a.video-thumb:hover .video-play {
  background: #0e7490;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.video-thumb-lg {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .video-feature {
    grid-template-columns: 1fr;
  }
}

.cat-count {
  color: var(--text-muted, #6e6e6e);
  font-weight: 400;
  font-size: 0.85em;
}
