/* UI Style 12 - Layout C */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
a { text-decoration: none; color: #2563eb; transition: color 0.3s; }
a:hover { color: #1d4ed8; }

.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

.hero { background: #fff; padding: 40px; margin-bottom: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.hero h1 { font-size: 2rem; margin-bottom: 20px; color: #1f2937; }
.hero .intro { font-size: 1.05rem; line-height: 1.8; color: #4b5563; }

section { background: #fff; padding: 30px; margin-bottom: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
section h2 { font-size: 1.75rem; margin-bottom: 20px; color: #1f2937; border-bottom: 3px solid #2563eb; padding-bottom: 10px; }
.section-link { margin-top: 20px; font-size: 1rem; color: #6b7280; }
.section-link a { color: #2563eb; font-weight: 500; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-card { border: 1px solid #e5e7eb; padding: 20px; border-radius: 8px; 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.2rem; margin-bottom: 10px; color: #1f2937; }
.video-card .meta { font-size: 0.9rem; color: #6b7280; margin-bottom: 8px; }
.video-card .desc { font-size: 0.95rem; color: #4b5563; }

.video-list { display: flex; flex-direction: column; gap: 20px; }
.video-item { border-left: 4px solid #2563eb; padding: 15px 20px; background: #f9fafb; transition: background 0.3s; }
.video-item:hover { background: #f3f4f6; }
.video-item h3 { font-size: 1.15rem; margin-bottom: 8px; color: #1f2937; }
.video-item .meta { font-size: 0.85rem; color: #6b7280; margin-bottom: 5px; }
.video-item p { font-size: 0.95rem; color: #4b5563; }

.guide-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.guide-card { border: 2px solid #2563eb; padding: 25px; border-radius: 8px; text-align: center; transition: background 0.3s, transform 0.3s; }
.guide-card:hover { background: #eff6ff; transform: scale(1.02); }
.guide-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #2563eb; }
.guide-card p { font-size: 0.95rem; color: #4b5563; }

.list-header { margin-bottom: 20px; }
.list-header h1 { font-size: 2rem; margin-bottom: 15px; color: #1f2937; }
.list-header p { font-size: 1.05rem; color: #4b5563; line-height: 1.7; }

.list-content { display: flex; flex-direction: column; gap: 20px; }
.list-card { border: 1px solid #e5e7eb; padding: 20px; border-radius: 8px; position: relative; transition: box-shadow 0.3s; }
.list-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.list-card.top { padding-left: 60px; }
.list-card .rank { position: absolute; left: 20px; top: 20px; font-size: 1.5rem; font-weight: bold; color: #2563eb; }
.list-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #1f2937; }
.list-card .meta { font-size: 0.9rem; color: #6b7280; margin-bottom: 5px; }
.list-card .tags { font-size: 0.85rem; color: #9ca3af; margin-bottom: 8px; }
.list-card .desc { font-size: 0.95rem; color: #4b5563; margin-bottom: 8px; }
.list-card .review { font-size: 0.9rem; color: #6b7280; font-style: italic; background: #f9fafb; padding: 10px; border-radius: 4px; margin-top: 10px; }

.detail article { max-width: 900px; margin: 0 auto; }
.detail header h1 { font-size: 2.2rem; margin-bottom: 30px; color: #1f2937; }
.detail section { margin-bottom: 35px; }
.detail h2 { font-size: 1.5rem; margin-bottom: 15px; color: #1f2937; border-bottom: 2px solid #2563eb; padding-bottom: 8px; }

.info-list { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.info-list dt { font-weight: 600; color: #4b5563; }
.info-list dd { color: #1f2937; }

.highlight { font-size: 1.15rem; color: #2563eb; font-weight: 500; padding: 15px; background: #eff6ff; border-radius: 6px; }

.summary-section p { font-size: 1.05rem; line-height: 1.9; color: #374151; }

.review-section .review-text { font-size: 1rem; line-height: 1.8; color: #4b5563; background: #f9fafb; padding: 20px; border-radius: 6px; border-left: 4px solid #2563eb; font-style: italic; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.related-card { border: 1px solid #e5e7eb; padding: 18px; border-radius: 6px; transition: transform 0.3s, box-shadow 0.3s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.related-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #1f2937; }
.related-card .meta { font-size: 0.85rem; color: #6b7280; margin-bottom: 6px; }
.related-card p { font-size: 0.9rem; color: #4b5563; }

footer { background: #1f2937; color: #fff; text-align: center; padding: 30px 20px; margin-top: 50px; }
footer p { font-size: 0.95rem; }

@media (max-width: 768px) {
  .container { padding: 15px; }
  .hero { padding: 25px; }
  .hero h1 { font-size: 1.5rem; }
  section { padding: 20px; }
  section h2 { font-size: 1.4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .guide-links { grid-template-columns: 1fr; }
  .info-list { grid-template-columns: 80px 1fr; gap: 10px; }
  .detail header h1 { font-size: 1.7rem; }
  .list-card.top { padding-left: 50px; }
  .list-card .rank { left: 15px; font-size: 1.3rem; }
}