
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.site-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.site-header h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
}

.site-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.site-intro {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-intro h2 {
  margin-top: 0;
  color: #2c5aa0;
}

section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section h2 {
  margin-top: 0;
  color: #2c5aa0;
  border-bottom: 2px solid #2c5aa0;
  padding-bottom: 0.5rem;
}

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

.video-card {
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 8px;
  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 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

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

.video-tags {
  color: #888;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.video-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.video-list {
  margin-top: 1.5rem;
}

.video-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
}

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

.video-item h3 {
  margin: 0 0 0.5rem 0;
}

.topic-list {
  margin-top: 1rem;
}

.topic-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.topic-list li:last-child {
  border-bottom: none;
}

.section-link {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.05rem;
}

.page-intro {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  color: #555;
}

.ranked-list {
  margin-top: 1.5rem;
}

.ranked-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}

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

.ranked-content {
  flex: 1;
}

.ranked-content h3 {
  margin: 0 0 0.5rem 0;
}

.review {
  color: #666;
  font-style: italic;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid #2c5aa0;
}

.topic-group {
  margin-bottom: 3rem;
}

.topic-group h2 {
  color: #2c5aa0;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.latest-card {
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
}

.date-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #2c5aa0;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.latest-card h3 {
  margin: 0 0 0.5rem 0;
  padding-right: 60px;
}

.detail-page {
  max-width: 900px;
}

.video-detail {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-detail h1 {
  color: #1a1a1a;
  border-bottom: 3px solid #2c5aa0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.video-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.video-info p {
  margin: 0.5rem 0;
}

.highlight {
  background: #e3f2fd;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #2c5aa0;
  margin-bottom: 2rem;
}

.highlight h2 {
  margin-top: 0;
  color: #2c5aa0;
  border: none;
}

.summary h2,
.review h2 {
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.summary p,
.review p {
  line-height: 1.8;
  color: #333;
}

.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  border-top: 1px solid #e0e0e0;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem;
  }

  .site-header h1 {
    font-size: 1.8rem;
  }

  .site-subtitle {
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

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

  .ranked-item {
    flex-direction: column;
  }

  .rank-number {
    font-size: 1.2rem;
  }
}
