/* 品影视 - UI Style 1 - Layout D */

body.ui-style-1 {
  --primary-color: #111111;
  --secondary-color: #e4e4e4;
}

.container { padding: 30px 20px; }

h1 { font-size: 2em; margin-bottom: 20px; color: #222; }
h2 { font-size: 1.5em; margin: 30px 0 15px; color: #333; border-left: 4px solid var(--primary-color, #007bff); padding-left: 12px; }
h3 { font-size: 1.2em; margin: 10px 0; }

a { color: #007bff; transition: color 0.2s; }
a:hover { color: #0056b3; }

.intro, .desc { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 20px 0; }
.video-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.video-card h3 { margin-top: 0; }
.video-card .meta { color: #666; font-size: 0.9em; margin: 8px 0; }
.video-card .intro { color: #555; font-size: 0.95em; line-height: 1.6; }

.video-list { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.video-item { padding: 12px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.video-item:last-child { border-bottom: none; }
.video-item .year { color: #999; font-size: 0.9em; }

.list-section, .rank-section, .latest-section { margin: 20px 0; }
.list-item, .rank-item, .latest-item { background: #fff; padding: 20px; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.list-item .num, .rank-item .rank { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; background: var(--primary-color, #007bff); color: #fff; border-radius: 50%; margin-right: 15px; font-weight: bold; }
.rank-item { display: flex; align-items: flex-start; }
.rank-content { flex: 1; }

.latest-item { display: flex; gap: 20px; }
.date-badge { min-width: 80px; height: 80px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.5em; font-weight: bold; }
.latest-content { flex: 1; }

.topic-section { margin-bottom: 40px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.topic-card { background: #fff; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.topic-card .year { color: #999; font-size: 0.85em; }

.detail { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.detail h1 { border-bottom: 3px solid var(--primary-color, #007bff); padding-bottom: 15px; }
.detail section { margin: 30px 0; }
.detail ul { list-style: none; }
.detail li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.detail li:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .container { padding: 15px; }
  h1 { font-size: 1.5em; }
  h2 { font-size: 1.2em; }
  .video-grid { grid-template-columns: 1fr; gap: 15px; }
  .topic-grid { grid-template-columns: 1fr; }
  .latest-item { flex-direction: column; }
  .date-badge { width: 100%; height: 60px; }
}