
/* 全局样式 */
.container {
  min-height: calc(100vh - 200px);
}

/* 首页样式 */
.hero {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a3a6b;
}

.intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

.hot-section, .recent-section, .links-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hot-section h2, .recent-section h2, .links-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a3a6b;
  border-bottom: 2px solid #1a3a6b;
  padding-bottom: 0.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-card {
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.3s;
}

.video-card:hover {
  border-color: #2c5aa0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.video-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.video-card h3 a {
  color: #1a3a6b;
}

.video-card .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

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

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.link-card {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.link-card:hover {
  background: #e8f4f8;
  border-color: #2c5aa0;
}

.link-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.link-card h3 a {
  color: #1a3a6b;
}

.link-card p {
  color: #666;
  font-size: 0.95rem;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-item {
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.3s;
}

.video-item:hover {
  border-color: #2c5aa0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.video-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.video-item h3 a {
  color: #1a3a6b;
}

.video-item .summary {
  color: #555;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* 列表页样式 */
.page-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  line-height: 1.8;
}

.video-list-full {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-item-full {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}

.video-item-full:hover {
  background: #f8f9fa;
}

.video-item-full:last-child {
  border-bottom: none;
}

.rank-num {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c5aa0;
  min-width: 40px;
  text-align: center;
}

.video-content {
  flex: 1;
}

.video-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-content h3 a {
  color: #1a3a6b;
}

.tags {
  font-size: 0.9rem;
  color: #2c5aa0;
  margin: 0.5rem 0;
}

.review {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* 详情页样式 */
.video-detail {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-detail h1 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #1a3a6b;
  border-bottom: 3px solid #1a3a6b;
  padding-bottom: 0.5rem;
}

.video-detail section {
  margin-bottom: 2rem;
}

.video-detail h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.info-list {
  list-style: none;
  line-height: 2;
}

.info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.oneline-text {
  font-size: 1.1rem;
  color: #2c5aa0;
  font-weight: 500;
  line-height: 1.8;
  padding: 1rem;
  background: #f0f7ff;
  border-left: 4px solid #2c5aa0;
  border-radius: 4px;
}

.summary-text {
  line-height: 1.8;
  color: #444;
}

.summary-text p {
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  padding: 1rem;
  background: #f8f9fa;
  border-left: 4px solid #6c757d;
  border-radius: 4px;
  font-style: italic;
}

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

.related-card {
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.3s;
}

.related-card:hover {
  border-color: #2c5aa0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.related-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.related-card h3 a {
  color: #1a3a6b;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.4rem;
  }

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

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

  .video-detail {
    padding: 1.5rem;
  }

  .video-detail h1 {
    font-size: 1.5rem;
  }
}
