
/* Layout variant C */
.ui-style-14 {
  --primary-color: #e11d48;
  --text-color: #333;
  --bg-color: #f5f5f5;
  --card-bg: #fff;
}

/* Typography */
h1 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary-color); line-height: 1.3; }
h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--text-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 0.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; line-height: 1.8; }

/* Intro section */
.intro { background: var(--card-bg); padding: 2rem; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.intro h1 { margin-bottom: 1rem; }
.intro .description { font-size: 1.1rem; color: #555; margin-bottom: 0.5rem; }
.intro .tags { color: #777; font-size: 0.95rem; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.video-card { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); 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 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.video-card h3 a { color: var(--text-color); }
.video-card h3 a:hover { color: var(--primary-color); }
.video-card .meta { font-size: 0.85rem; color: #777; margin-bottom: 0.5rem; }
.video-card .oneline { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 0.5rem; }
.video-card .tags-small { font-size: 0.8rem; color: #999; }

/* Video list */
.video-list { margin-top: 1rem; }
.video-item { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: box-shadow 0.2s; }
.video-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.video-item h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.video-item h3 a { color: var(--text-color); }
.video-item h3 a:hover { color: var(--primary-color); }
.video-item .meta { font-size: 0.9rem; color: #777; margin-bottom: 0.5rem; }
.video-item .oneline { font-size: 1rem; color: var(--primary-color); margin-bottom: 0.5rem; font-weight: 500; }
.video-item .summary { font-size: 0.95rem; color: #555; line-height: 1.7; }
.video-item .review { font-size: 0.9rem; color: #666; font-style: italic; margin-top: 0.5rem; }

/* Link cards */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.link-card { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: transform 0.2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.link-card h3 a { color: var(--primary-color); font-size: 1.2rem; }
.link-card p { font-size: 0.95rem; color: #666; margin: 0; }

/* Ranking list */
.ranking-item { display: flex; align-items: flex-start; gap: 1rem; }
.ranking-item .rank { font-size: 2rem; font-weight: bold; color: var(--primary-color); min-width: 50px; text-align: center; }
.ranking-item .item-content { flex: 1; }

/* Topic groups */
.topic-group { margin-bottom: 3rem; }
.topic-group h2 { color: var(--primary-color); }

/* Latest list */
.latest-item { display: flex; align-items: flex-start; gap: 1rem; }
.latest-item .date-badge { background: var(--primary-color); color: #fff; padding: 0.5rem 1rem; border-radius: 4px; font-weight: bold; min-width: 60px; text-align: center; }
.latest-item .item-content { flex: 1; }

/* Detail page */
.video-detail { background: var(--card-bg); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.video-detail h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.video-detail section { margin-bottom: 2rem; }
.basic-info ul { list-style: none; padding: 0; }
.basic-info li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.basic-info li:last-child { border-bottom: none; }
.highlight { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 1.5rem; border-radius: 8px; }
.highlight h2 { color: #fff; border: none; }
.oneline-big { font-size: 1.3rem; font-weight: 500; margin: 0; }
.plot-summary p { font-size: 1.05rem; line-height: 2; }
.review { background: #f8f9fa; padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--primary-color); }
.review p { margin: 0; font-size: 1rem; line-height: 1.8; }

/* Page description */
.page-desc { font-size: 1.1rem; color: #666; margin-bottom: 2rem; padding: 1rem; background: var(--card-bg); border-radius: 8px; }

/* Sections */
section { margin-bottom: 3rem; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card, .video-item { padding: 1rem; }
  .video-detail { padding: 1rem; }
  .video-detail h1 { font-size: 1.6rem; }
  .ranking-item .rank { font-size: 1.5rem; min-width: 40px; }
  .latest-item .date-badge { min-width: 50px; font-size: 0.9rem; padding: 0.4rem 0.8rem; }
  .link-cards { grid-template-columns: 1fr; }
}
