
/* 全局样式已在内联样式中定义，这里补充详细样式 */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* 首页样式 */
.hero { text-align: center; padding: 40px 0; }
.hero h1 { font-size: 32px; color: #2c5f8d; margin-bottom: 20px; }

.intro-section {
  background: #fff;
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  line-height: 1.8;
}
.intro-section h2 { font-size: 24px; margin-bottom: 15px; color: #333; }
.intro-section p { color: #555; }
.intro-section a { color: #2c5f8d; text-decoration: underline; }

.hot-section, .list-entry, .latest-section {
  margin: 40px 0;
}
.hot-section h2, .list-entry h2, .latest-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  border-left: 4px solid #2c5f8d;
  padding-left: 15px;
}

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

.video-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.video-card h3 { font-size: 18px; margin-bottom: 10px; }
.video-card h3 a { color: #333; text-decoration: none; }
.video-card h3 a:hover { color: #2c5f8d; }
.video-card .meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #888;
}
.video-card .meta span {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 3px;
}
.video-card .desc { font-size: 14px; color: #666; line-height: 1.6; }

.entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.entry-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}
.entry-card h3 { font-size: 22px; margin-bottom: 10px; }
.entry-card h3 a { color: #fff; text-decoration: none; }
.entry-card p { font-size: 14px; opacity: 0.95; }

.video-list { display: flex; flex-direction: column; gap: 15px; }
.video-item {
  background: #fff;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-item h4 { font-size: 16px; }
.video-item h4 a { color: #333; text-decoration: none; }
.video-item h4 a:hover { color: #2c5f8d; }
.video-item .year { font-size: 13px; color: #888; }
.video-item p { font-size: 14px; color: #666; }
.video-item .meta { font-size: 13px; color: #888; }

.more-link { text-align: center; margin-top: 30px; }
.more-link a {
  display: inline-block;
  padding: 12px 30px;
  background: #2c5f8d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.more-link a:hover { background: #1e4a6d; }

/* 详情页样式 */
.detail-page article { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.detail-page h1 { font-size: 32px; color: #2c5f8d; margin-bottom: 30px; border-bottom: 2px solid #e0e0e0; padding-bottom: 15px; }
.detail-page h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: #333;
  border-left: 4px solid #2c5f8d;
  padding-left: 12px;
}

.info-section .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.info-item { padding: 10px; background: #f9f9f9; border-radius: 5px; font-size: 15px; }
.info-item strong { color: #555; }

.oneline-section .oneline {
  font-size: 18px;
  color: #444;
  font-style: italic;
  background: #f0f7ff;
  padding: 20px;
  border-left: 4px solid #2c5f8d;
  border-radius: 5px;
  line-height: 1.8;
}

.summary-content, .review-content {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-top: 15px;
}
.review-content {
  background: #fffbf0;
  padding: 20px;
  border-radius: 5px;
  border-left: 4px solid #f39c12;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.related-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  transition: background 0.3s;
}
.related-item:hover { background: #f0f0f0; }
.related-item h4 { font-size: 16px; margin-bottom: 10px; }
.related-item h4 a { color: #333; text-decoration: none; }
.related-item h4 a:hover { color: #2c5f8d; }
.related-item p { font-size: 14px; color: #666; line-height: 1.6; }

/* 列表页样式 */
.list-page { padding: 20px; }
.list-page h1 {
  font-size: 32px;
  color: #2c5f8d;
  margin-bottom: 20px;
  text-align: center;
}
.list-page .intro {
  background: #fff;
  padding: 25px;
  margin: 20px 0 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  line-height: 1.8;
  color: #555;
}
.topic-intro { line-height: 2; }
.topic-intro p { margin-bottom: 15px; }

.groups-container { display: flex; flex-direction: column; gap: 40px; }
.year-group h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #2c5f8d;
  padding-bottom: 10px;
}

.top-list { display: flex; flex-direction: column; gap: 20px; }
.top-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.rank-number {
  font-size: 32px;
  font-weight: 700;
  color: #2c5f8d;
  min-width: 50px;
  text-align: center;
}
.top-content { flex: 1; }
.top-content h3 { font-size: 20px; margin-bottom: 8px; }
.top-content h3 a { color: #333; text-decoration: none; }
.top-content h3 a:hover { color: #2c5f8d; }
.top-content .meta { font-size: 14px; color: #888; margin-bottom: 8px; }
.top-content .tags { font-size: 13px; color: #999; margin-bottom: 12px; }
.top-content .recommend { font-size: 15px; color: #555; line-height: 1.7; }

.topic-list { display: flex; flex-direction: column; gap: 30px; }
.topic-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.topic-item h3 { font-size: 20px; margin-bottom: 10px; }
.topic-item h3 a { color: #333; text-decoration: none; }
.topic-item h3 a:hover { color: #2c5f8d; }
.topic-item .meta { font-size: 14px; color: #888; margin-bottom: 15px; }
.topic-desc p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.topic-desc .review-note {
  background: #fffbf0;
  padding: 15px;
  border-radius: 5px;
  border-left: 3px solid #f39c12;
  margin-top: 15px;
}

.latest-list { display: flex; flex-direction: column; gap: 15px; }
.latest-item {
  background: #fff;
  padding: 18px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.date-badge {
  background: #2c5f8d;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}
.latest-content { flex: 1; }
.latest-content h3 { font-size: 18px; margin-bottom: 8px; }
.latest-content h3 a { color: #333; text-decoration: none; }
.latest-content h3 a:hover { color: #2c5f8d; }
.latest-content .meta { font-size: 13px; color: #888; margin-bottom: 8px; }
.latest-content p { font-size: 14px; color: #666; line-height: 1.6; }

/* 页脚样式 */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px 20px;
  margin-top: 60px;
}
footer .container { max-width: 1200px; margin: 0 auto; text-align: center; }
footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
footer .footer-nav a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s;
}
footer .footer-nav a:hover { color: #3498db; }
footer .copyright { font-size: 14px; color: #95a5a6; }

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .video-grid { grid-template-columns: 1fr; }
  .entry-cards { grid-template-columns: 1fr; }
  .detail-page article { padding: 20px; }
  .detail-page h1 { font-size: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .top-item { flex-direction: column; }
  .rank-number { font-size: 24px; min-width: auto; }
  .latest-item { flex-direction: column; }
  .date-badge { min-width: auto; width: fit-content; }
}
