/* 韩漫网 - 深色主题+纯图首屏+下方信息条+右图卡片+纯文字列表+无图内容页，与 28/33/34/35 完全区分 */
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #0c0a09; color: #fafaf9; line-height: 1.65; }

/* 顶栏：深色细条，logo 左 nav 右 */
.hd { background: #0c0a09; border-bottom: 1px solid #292524; }
body.index-hero .hd { position: absolute; top: 0; left: 0; right: 0; z-index: 5; background: rgba(12,10,9,0.85); backdrop-filter: blur(8px); }
.hd .inner { max-width: 1000px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.hd .logo { font-size: 1.2rem; font-weight: 700; }
.hd .logo a { color: #fafaf9; text-decoration: none; }
.hd .logo a:hover { color: #f97316; }
.hd .nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hd .nav a { color: #a8a29e; text-decoration: none; font-size: 0.9rem; }
.hd .nav a:hover { color: #f97316; }
.hd .nav a.on { color: #f97316; font-weight: 500; }

/* 首屏：纯图全铺，无叠字 */
.hero { width: 100%; aspect-ratio: 21/9; min-height: 220px; max-height: 360px; background: #1c1917; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
/* 首屏下方信息条：独立一块 */
.hero-bar { width: 100%; background: #292524; padding: 24px 20px; }
.hero-bar .mw { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hero-bar h1 { margin: 0; font-size: clamp(1rem, 2.5vw, 1.35rem); font-weight: 700; color: #fafaf9; line-height: 1.4; }
.hero-bar p { margin: 4px 0 0; font-size: 0.875rem; color: #a8a29e; }
.hero-bar .btn { display: inline-block; padding: 10px 22px; background: #f97316; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; border-radius: 6px; }
.hero-bar .btn:hover { background: #ea580c; }

/* 区块通用 */
.sec { padding: 40px 0 48px; }
.sec .mw { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.sec .st { font-size: 1rem; font-weight: 700; color: #f97316; margin: 0 0 24px; }

/* 右图卡片：每块左文右图，图在右侧 */
.card-row { display: grid; grid-template-columns: 1fr 42%; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid #292524; }
.card-row:last-child { border-bottom: none; }
.card-row a { text-decoration: none; color: inherit; display: grid; grid-template-columns: 1fr 42%; gap: 24px; align-items: center; }
.card-row .txt .t { font-size: 1.05rem; font-weight: 700; color: #fafaf9; margin-bottom: 8px; }
.card-row .txt .t:hover { color: #f97316; }
.card-row .txt .d { font-size: 0.875rem; color: #a8a29e; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-row .pic { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: #1c1917; }
.card-row .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .card-row, .card-row a { grid-template-columns: 1fr; }
  .card-row .pic { aspect-ratio: 16/9; order: -1; }
}

/* 纯文字列表：无图，标题+进入 */
.text-list { list-style: none; padding: 0; margin: 0; }
.text-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid #292524; }
.text-list li:last-child { border-bottom: none; }
.text-list .t a { font-size: 1rem; font-weight: 600; color: #fafaf9; text-decoration: none; }
.text-list .t a:hover { color: #f97316; }
.text-list .go { flex-shrink: 0; font-size: 0.85rem; color: #f97316; text-decoration: none; }
.text-list .go:hover { text-decoration: underline; }
.text-list .tag { flex-shrink: 0; font-size: 0.75rem; color: #78716c; padding: 2px 8px; background: #292524; border-radius: 4px; }

/* 首页长文案 */
.prose { max-width: 680px; margin: 0 auto; padding: 44px 20px 60px; }
.prose p { font-size: 0.9375rem; color: #a8a29e; margin-bottom: 1.1em; }

/* 列表页：极简，无图，标题+进入 */
.list-pg { padding: 32px 0 56px; }
.list-pg .mw { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.list-pg .path { font-size: 0.8rem; color: #78716c; margin-bottom: 16px; }
.list-pg .path a { color: #f97316; text-decoration: none; }
.list-pg h1 { font-size: 1.3rem; color: #fafaf9; margin: 0 0 8px; }
.list-pg .lead { font-size: 0.9rem; color: #a8a29e; margin: 0 0 28px; }
.list-pg .text-list { margin: 0; }
.list-pg .back { display: inline-block; margin-top: 32px; color: #f97316; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.list-pg .back:hover { text-decoration: underline; }

/* 内容页：无顶图，顶部色条 + 正文 */
.article { padding: 0 0 56px; }
.article .bar { width: 100%; height: 6px; background: #f97316; }
.article .cnt { max-width: 640px; margin: 0 auto; padding: 28px 20px 0; }
.article .path { font-size: 0.8rem; color: #78716c; margin-bottom: 14px; }
.article .path a { color: #f97316; text-decoration: none; }
.article h1 { font-size: 1.28rem; color: #fafaf9; margin: 0 0 12px; line-height: 1.4; }
.article .meta { font-size: 0.82rem; color: #78716c; margin: 0 0 24px; }
.article .body p { font-size: 0.9375rem; color: #a8a29e; margin-bottom: 1em; }
.article .body h2 { font-size: 1.05rem; margin: 1.6em 0 0.5em; color: #fafaf9; }
.article .tags { margin-top: 28px; }
.article .tags span { display: inline-block; margin: 0 8px 8px 0; padding: 5px 12px; background: #292524; color: #f97316; border-radius: 6px; font-size: 0.8rem; }
.article .back { display: inline-block; margin-top: 28px; color: #f97316; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.article .back:hover { text-decoration: underline; }

/* 页脚 */
.ft { background: #1c1917; border-top: 1px solid #292524; padding: 28px 20px; }
.ft .mw { max-width: 1000px; margin: 0 auto; }
.ft .copy { font-size: 0.85rem; color: #78716c; margin: 0 0 12px; }
.ft .links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.ft .links a { color: #a8a29e; text-decoration: none; font-size: 0.85rem; }
.ft .links a:hover { color: #f97316; }
