/* 韩国漫画网 - 极简顶栏+分屏首屏+交错列表+窄横幅内容页，与 28/33/34 完全区分 */
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #f1f5f9; color: #0f172a; line-height: 1.65; }

/* 顶栏：白底、居中 logo + 导航，底边框 */
.hd { background: #fff; border-bottom: 1px solid #e2e8f0; }
.hd .inner { max-width: 1000px; margin: 0 auto; padding: 16px 20px; text-align: center; }
.hd .logo { display: block; font-size: 1.4rem; font-weight: 700; color: #0f766e; text-decoration: none; margin-bottom: 12px; }
.hd .logo:hover { color: #0d9488; }
.hd .nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.hd .nav a { color: #475569; text-decoration: none; font-size: 0.9rem; padding: 4px 0; }
.hd .nav a:hover { color: #0f766e; }
.hd .nav a.on { color: #0f766e; font-weight: 600; }

/* 首屏：分屏布局 - 左图右文（桌面）/ 上图下文（移动） */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 42vh; max-height: 420px; }
.hero .img-wrap { background: #0f172a; overflow: hidden; }
.hero .img-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero .panel { background: #0f172a; color: #fff; padding: 40px 28px; display: flex; flex-direction: column; justify-content: center; }
.hero .panel h1 { margin: 0; font-size: clamp(1.1rem, 2.8vw, 1.5rem); font-weight: 700; line-height: 1.35; color: #f0fdfa; }
.hero .panel p { margin: 14px 0 20px; font-size: 0.9rem; color: #99f6e4; line-height: 1.5; }
.hero .panel .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .panel .btns a { display: inline-block; padding: 10px 20px; font-size: 0.9rem; font-weight: 500; text-decoration: none; border-radius: 8px; }
.hero .panel .btns .pri { background: #0d9488; color: #fff; }
.hero .panel .btns .pri:hover { background: #0f766e; }
.hero .panel .btns .sec { background: transparent; color: #99f6e4; border: 1px solid #2dd4bf; }
.hero .panel .btns .sec:hover { background: rgba(45,212,191,0.15); }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero .img-wrap { min-height: 200px; }
  .hero .panel { padding: 28px 20px; }
}

/* 区块通用 */
.sec { padding: 36px 0 44px; }
.sec .mw { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.sec .st { font-size: 1rem; font-weight: 700; color: #0f766e; margin: 0 0 20px; text-transform: none; }

/* 首块：一大卡（左图右文）+ 下方三小卡 */
.featured { margin-bottom: 24px; }
.featured .big { display: grid; grid-template-columns: 38% 1fr; gap: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(15,23,42,0.06); }
.featured .big a { display: contents; text-decoration: none; color: inherit; }
.featured .big .pic { aspect-ratio: 4/5; overflow: hidden; }
.featured .big .pic img { width: 100%; height: 100%; object-fit: cover; }
.featured .big .info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.featured .big .info .t { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; line-height: 1.35; }
.featured .big .info .d { font-size: 0.875rem; color: #64748b; line-height: 1.55; }
.featured .big .info .go { margin-top: 14px; font-size: 0.85rem; color: #0d9488; font-weight: 600; }
.featured .big .info .go:hover { text-decoration: underline; }
.featured .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.featured .row .c { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(15,23,42,0.05); }
.featured .row .c a { display: block; text-decoration: none; color: inherit; }
.featured .row .c .pic { aspect-ratio: 4/3; overflow: hidden; }
.featured .row .c .pic img { width: 100%; height: 100%; object-fit: cover; }
.featured .row .c .t { padding: 12px; font-size: 0.9rem; font-weight: 600; color: #0f172a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 650px) {
  .featured .big { grid-template-columns: 1fr; }
  .featured .big .pic { aspect-ratio: 16/10; }
  .featured .row { grid-template-columns: 1fr; }
}

/* 交错列表：奇偶行左右交替 */
.zigzag { list-style: none; padding: 0; margin: 0; }
.zigzag li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid #e2e8f0; }
.zigzag li:last-child { border-bottom: none; }
.zigzag li:nth-child(even) { direction: rtl; }
.zigzag li:nth-child(even) > * { direction: ltr; }
.zigzag .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #e2e8f0; }
.zigzag .thumb img { width: 100%; height: 100%; object-fit: cover; }
.zigzag .txt a { font-size: 1rem; font-weight: 600; color: #0f172a; text-decoration: none; }
.zigzag .txt a:hover { color: #0d9488; }
.zigzag .txt .d { font-size: 0.85rem; color: #64748b; margin-top: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) {
  .zigzag li { grid-template-columns: 1fr; gap: 12px; direction: ltr; }
  .zigzag li:nth-child(even) { direction: ltr; }
  .zigzag .thumb { aspect-ratio: 16/9; }
}

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

/* 列表页：行卡（小图+标题+描述+链接） */
.list-pg { padding: 28px 0 48px; }
.list-pg .mw { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.list-pg .path { font-size: 0.8rem; color: #64748b; margin-bottom: 14px; }
.list-pg .path a { color: #0d9488; text-decoration: none; }
.list-pg h1 { font-size: 1.3rem; color: #0f172a; margin: 0 0 8px; }
.list-pg .lead { font-size: 0.9rem; color: #64748b; margin: 0 0 24px; }
.list-pg .rows { display: flex; flex-direction: column; gap: 16px; }
.list-pg .row { display: flex; gap: 20px; align-items: center; padding: 18px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(15,23,42,0.04); }
.list-pg .row a { display: flex; gap: 20px; align-items: center; text-decoration: none; color: inherit; flex: 1; min-width: 0; }
.list-pg .row .thumb { width: 100px; height: 74px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #e2e8f0; }
.list-pg .row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-pg .row .t { font-weight: 600; font-size: 0.95rem; color: #0f172a; flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-pg .row .arr { flex-shrink: 0; color: #0d9488; font-size: 0.9rem; }
.list-pg .back { display: inline-block; margin-top: 28px; color: #0d9488; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.list-pg .back:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .list-pg .row a { flex-direction: column; align-items: flex-start; }
  .list-pg .row .thumb { width: 100%; height: 120px; }
}

/* 内容页：窄横幅图 + 单栏正文（无侧栏、无相关块） */
.article { padding: 0 0 48px; }
.article .banner { width: 100%; height: 180px; background: #0f172a; overflow: hidden; }
.article .banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.article .cnt { max-width: 620px; margin: 0 auto; padding: 28px 20px 0; }
.article .path { font-size: 0.8rem; color: #64748b; margin-bottom: 12px; }
.article .path a { color: #0d9488; text-decoration: none; }
.article h1 { font-size: 1.28rem; color: #0f172a; margin: 0 0 10px; line-height: 1.4; }
.article .meta { font-size: 0.82rem; color: #64748b; margin: 0 0 22px; }
.article .body p { font-size: 0.9375rem; color: #334155; margin-bottom: 1em; }
.article .body h2 { font-size: 1.05rem; margin: 1.6em 0 0.5em; color: #0f172a; }
.article .tags { margin-top: 26px; }
.article .tags span { display: inline-block; margin: 0 8px 8px 0; padding: 5px 12px; background: #ccfbf1; color: #0f766e; border-radius: 20px; font-size: 0.8rem; }
.article .back { display: inline-block; margin-top: 24px; color: #0d9488; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.article .back:hover { text-decoration: underline; }

/* 页脚 */
.ft { background: #0f172a; color: #94a3b8; padding: 24px 20px; }
.ft .mw { max-width: 1000px; margin: 0 auto; }
.ft .copy { font-size: 0.85rem; margin: 0 0 10px; }
.ft .links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.ft .links a { color: #99f6e4; text-decoration: none; font-size: 0.85rem; }
.ft .links a:hover { color: #ccfbf1; }
