
/* Reset and Base */
main { padding: 2rem 0; min-height: 60vh; }

/* Footer */
footer { background: #2d3748; color: white; padding: 2rem 0; margin-top: 3rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.footer-nav a { color: #cbd5e0; text-decoration: none; }
.footer-nav a:hover { color: white; }
.copyright { text-align: center; color: #a0aec0; font-size: 0.9rem; }

/* Hero Section */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 3rem 2rem; border-radius: 8px; margin-bottom: 2rem; text-align: center; }
.hero h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }

/* Intro Section */
.intro-section { background: white; padding: 2rem; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.intro-section h2 { color: #667eea; margin-bottom: 1rem; font-size: 1.5rem; }
.intro-section p { margin-bottom: 1rem; color: #4a5568; line-height: 1.8; }
.intro-section a { color: #667eea; text-decoration: none; border-bottom: 1px solid #667eea; }
.intro-section a:hover { color: #764ba2; border-color: #764ba2; }

/* Section Styles */
section { margin-bottom: 3rem; }
section h2 { font-size: 1.6rem; color: #2d3748; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 3px solid #667eea; }

/* Video Grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.video-card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.video-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.video-card h3 a { color: #2d3748; text-decoration: none; }
.video-card h3 a:hover { color: #667eea; }
.video-card .meta { color: #718096; font-size: 0.85rem; margin-bottom: 0.5rem; }
.video-card .oneline { color: #4a5568; font-size: 0.95rem; margin-bottom: 0.5rem; }
.video-card .tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.video-card .tags span { background: #edf2f7; color: #667eea; padding: 0.2rem 0.5rem; border-radius: 3px; font-size: 0.8rem; }

/* Video List */
.video-list { display: flex; flex-direction: column; gap: 1rem; }
.video-item { background: white; padding: 1.2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.video-item h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.video-item h3 a { color: #2d3748; text-decoration: none; }
.video-item h3 a:hover { color: #667eea; }
.video-item .meta { color: #718096; font-size: 0.85rem; margin-bottom: 0.3rem; }
.video-item p { color: #4a5568; font-size: 0.95rem; }

/* Entry Cards */
.entry-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.entry-card { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-left: 4px solid #667eea; }
.entry-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.entry-card h3 a { color: #2d3748; text-decoration: none; }
.entry-card h3 a:hover { color: #667eea; }
.entry-card p { color: #4a5568; line-height: 1.6; }

/* Page Content */
.page-content { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.page-content h1 { font-size: 2rem; color: #2d3748; margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 3px solid #667eea; }
.page-intro { color: #4a5568; line-height: 1.8; margin-bottom: 2rem; padding: 1rem; background: #f7fafc; border-radius: 6px; }
.page-intro p { margin-bottom: 0.8rem; }

/* Year Group */
.year-group { margin-bottom: 2.5rem; }
.year-title { font-size: 1.4rem; color: #667eea; margin-bottom: 1rem; padding-left: 1rem; border-left: 4px solid #667eea; }

/* Top List */
.top-list { display: flex; flex-direction: column; gap: 1.5rem; }
.top-item { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.5rem; display: flex; gap: 1.5rem; transition: box-shadow 0.3s; }
.top-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.rank-number { font-size: 2rem; font-weight: bold; color: #667eea; min-width: 50px; display: flex; align-items: center; justify-content: center; }
.top-content { flex: 1; }
.top-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.top-content h3 a { color: #2d3748; text-decoration: none; }
.top-content h3 a:hover { color: #667eea; }
.top-content .meta { color: #718096; font-size: 0.9rem; margin-bottom: 0.5rem; }
.top-content .tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.8rem; }
.top-content .tags span { background: #edf2f7; color: #667eea; padding: 0.2rem 0.5rem; border-radius: 3px; font-size: 0.8rem; }
.top-content .reason { color: #4a5568; line-height: 1.6; }

/* Topic List */
.topic-intro { background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%); border-left: 4px solid #667eea; padding: 1.5rem; }
.topic-list { display: flex; flex-direction: column; gap: 2rem; }
.topic-item { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.5rem; }
.topic-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.topic-item h3 a { color: #2d3748; text-decoration: none; }
.topic-item h3 a:hover { color: #667eea; }
.topic-item .meta { color: #718096; font-size: 0.9rem; margin-bottom: 0.5rem; }
.topic-item .tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.8rem; }
.topic-item .tags span { background: #edf2f7; color: #667eea; padding: 0.2rem 0.5rem; border-radius: 3px; font-size: 0.8rem; }
.topic-item .topic-desc { color: #4a5568; line-height: 1.6; margin-bottom: 0.8rem; }
.topic-item .why-topic { color: #2d3748; padding: 0.8rem; background: #f7fafc; border-radius: 4px; font-size: 0.95rem; }

/* Latest List */
.latest-list { display: flex; flex-direction: column; gap: 1rem; }
.latest-item { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1rem; display: flex; gap: 1rem; }
.date-tag { background: #667eea; color: white; padding: 0.5rem; border-radius: 4px; font-size: 0.85rem; font-weight: bold; min-width: 100px; text-align: center; display: flex; align-items: center; justify-content: center; }
.latest-content { flex: 1; }
.latest-content h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.latest-content h3 a { color: #2d3748; text-decoration: none; }
.latest-content h3 a:hover { color: #667eea; }
.latest-content .meta { color: #718096; font-size: 0.85rem; margin-bottom: 0.3rem; }
.latest-content .brief { color: #4a5568; font-size: 0.95rem; }

/* Video Detail */
.video-detail { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.video-detail h1 { font-size: 1.8rem; color: #2d3748; margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 3px solid #667eea; }
.video-info { background: #f7fafc; padding: 1.5rem; border-radius: 6px; margin-bottom: 2rem; }
.video-info .info-row { margin-bottom: 0.8rem; display: flex; align-items: start; }
.video-info .label { font-weight: bold; color: #2d3748; min-width: 80px; }
.video-info .tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.video-info .tags span { background: white; color: #667eea; padding: 0.2rem 0.5rem; border-radius: 3px; font-size: 0.85rem; border: 1px solid #e2e8f0; }
.section-block { margin-bottom: 2rem; }
.section-block h2 { font-size: 1.3rem; color: #667eea; margin-bottom: 1rem; }
.section-block .highlight { font-size: 1.1rem; color: #2d3748; font-weight: 500; padding: 1rem; background: #fff5f5; border-left: 4px solid #667eea; }
.section-block .summary { color: #4a5568; line-height: 1.8; }
.section-block .review { color: #2d3748; line-height: 1.8; padding: 1rem; background: #f7fafc; border-radius: 6px; font-style: italic; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-card { background: #f7fafc; padding: 1rem; border-radius: 6px; border: 1px solid #e2e8f0; }
.related-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.related-card h3 a { color: #2d3748; text-decoration: none; }
.related-card h3 a:hover { color: #667eea; }
.related-card p { color: #718096; font-size: 0.9rem; }

/* More Link */
.more-link { text-align: center; margin-top: 1.5rem; }
.more-link a { color: #667eea; text-decoration: none; font-size: 1.1rem; font-weight: 500; }
.more-link a:hover { color: #764ba2; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .entry-cards { grid-template-columns: 1fr; }
  .top-item { flex-direction: column; }
  .rank-number { font-size: 1.5rem; }
  .latest-item { flex-direction: column; }
  .date-tag { min-width: auto; width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
}
