/* ui-style-7 - C Layout */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; line-height: 1.6; color: #333; background: #f5f5f5; }
a { text-decoration: none; color: #0066cc; }
a:hover { color: #ff6600; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 24px; font-weight: bold; color: #ff6600; }
nav ul { display: flex; flex-wrap: nowrap; gap: 25px; align-items: center; }
nav a { color: #333; font-weight: 500; white-space: nowrap; }

.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 60px 20px; text-align: center; }
.hero h1 { font-size: 32px; margin-bottom: 20px; }
.hero p { font-size: 16px; max-width: 800px; margin: 0 auto; line-height: 1.8; }

.section { background: #fff; margin: 30px 0; padding: 40px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.section-title { font-size: 26px; margin-bottom: 25px; color: #333; border-left: 4px solid #ff6600; padding-left: 15px; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.video-card { background: #f9f9f9; border-radius: 8px; padding: 20px; transition: all 0.3s; cursor: pointer; display: block; }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.video-card h3 { font-size: 18px; margin-bottom: 10px; color: #333; }
.video-meta { font-size: 13px; color: #666; margin-bottom: 8px; }
.video-desc { font-size: 14px; color: #555; line-height: 1.6; margin-top: 12px; }
.video-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #e8f4ff; color: #0066cc; padding: 4px 10px; border-radius: 4px; font-size: 12px; }

.list-item { background: #f9f9f9; border-radius: 6px; padding: 20px; margin-bottom: 15px; transition: all 0.3s; }
.list-item:hover { background: #f0f0f0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.list-item h3 { font-size: 20px; margin-bottom: 10px; }
.list-item h3 a { color: #333; }
.list-item h3 a:hover { color: #ff6600; }
.list-item .meta { color: #666; font-size: 14px; margin-bottom: 8px; }

.detail-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 50px 20px; }
.detail-header h1 { font-size: 36px; margin-bottom: 20px; }
.detail-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
.detail-info-item { display: flex; align-items: center; }
.detail-info-item strong { margin-right: 8px; }

.detail-section { margin: 30px 0; }
.detail-section h2 { font-size: 24px; margin-bottom: 20px; color: #333; border-bottom: 2px solid #ff6600; padding-bottom: 10px; }
.detail-section p { line-height: 1.8; font-size: 15px; color: #555; margin-bottom: 15px; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.related-item { background: #f9f9f9; padding: 15px; border-radius: 6px; display: block; transition: all 0.3s; }
.related-item:hover { background: #e8e8e8; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.related-item h4 { font-size: 16px; margin-bottom: 8px; color: #333; }
.related-item p { font-size: 14px; color: #666; line-height: 1.5; }

footer { background: #333; color: #fff; text-align: center; padding: 30px 20px; margin-top: 50px; }

@media (max-width: 768px) {
  nav ul { gap: 5px; font-size: 13px; justify-content: space-between; }
  nav a { padding: 8px 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 0; text-align: center; }
  .logo { font-size: 20px; }
  .hero h1 { font-size: 24px; }
  .hero { padding: 40px 15px; }
  .section { padding: 25px 15px; }
  .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .detail-header h1 { font-size: 28px; }
  .detail-info { gap: 15px; }
  .related-grid { grid-template-columns: 1fr; }
}