
/* 全局样式 */
.container { padding-bottom: 40px; }

/* 视频网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.video-card .meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
}

.video-card .oneline {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* 视频列表 */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-item {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.video-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.video-item .meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.video-item .summary,
.video-item .oneline {
  color: #555;
  line-height: 1.7;
}

.video-item .rank {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #2563eb;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  margin-right: 12px;
}

.video-item .tag,
.video-item .date {
  display: inline-block;
  padding: 4px 12px;
  background: #e0f2fe;
  color: #0c4a6e;
  border-radius: 4px;
  font-size: 13px;
  margin-right: 10px;
}

/* 详情页 */
.detail-content h2 {
  font-size: 20px;
  margin: 30px 0 15px 0;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

.detail-content h2:first-child {
  margin-top: 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.info-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.info-table td:first-child {
  width: 100px;
  font-weight: bold;
  color: #666;
}

.highlight {
  font-size: 18px;
  color: #1e40af;
  font-weight: 500;
  padding: 15px;
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  border-radius: 4px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.related-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}

.related-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.related-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 20px 15px;
  }
}
  