/* 韩漫网37 - 青绿配色+双行顶栏药丸导航+无图首屏+圆图单栏+图标网格+内容页居中卡片图，与 28/33-36 完全区分 */
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #ecfeff; color: #164e63; line-height: 1.65; }

/* 顶栏：双行 - 第一行 logo 居中，第二行药丸式导航 */
.hd { background: #0e7490; color: #fff; padding: 16px 20px 20px; }
.hd .logo-wrap { text-align: center; margin-bottom: 14px; }
.hd .logo { font-size: 1.4rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: 0.05em; }
.hd .logo:hover { color: #a5f3fc; }
.hd .nav-pill { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: rgba(255,255,255,0.2); border-radius: 999px; padding: 6px; max-width: 560px; margin: 0 auto; }
.hd .nav-pill a { padding: 8px 16px; border-radius: 999px; color: #cffafe; text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.hd .nav-pill a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.hd .nav-pill a.on { background: #fff; color: #0e7490; }

/* 首屏：无图，纯文字块 + 双按钮 */
.hero-txt { max-width: 720px; margin: 0 auto; padding: 48px 20px 44px; text-align: center; }
.hero-txt h1 { margin: 0; font-size: clamp(1.2rem, 3.5vw, 1.6rem); font-weight: 800; color: #164e63; line-height: 1.35; }
.hero-txt p { margin: 16px 0 24px; font-size: 0.95rem; color: #0e7490; line-height: 1.55; }
.hero-txt .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-txt .btns a { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.hero-txt .btns .pri { background: #0e7490; color: #fff; }
.hero-txt .btns .pri:hover { background: #155e75; }
.hero-txt .btns .sec { background: #fff; color: #0e7490; border: 2px solid #0e7490; }
.hero-txt .btns .sec:hover { background: #cffafe; }

/* 区块通用 */
.sec { padding: 36px 0 44px; }
.sec .mw { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.sec .st { font-size: 1.05rem; font-weight: 700; color: #0e7490; margin: 0 0 20px; }

/* 单栏圆图列表：每行 圆形图左 + 文右 */
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid #a5f3fc; }
.feed li:last-child { border-bottom: none; }
.feed .thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: #a5f3fc; }
.feed .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed .txt { flex: 1; min-width: 0; }
.feed .txt .t { display: block; font-size: 1rem; font-weight: 700; color: #164e63; text-decoration: none; margin-bottom: 6px; }
.feed .txt .t:hover { color: #0e7490; }
.feed .txt .d { font-size: 0.85rem; color: #0e7490; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 图标网格：无图，圆底数字/图标 + 标题 */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.icon-grid a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; background: #fff; border-radius: 16px; text-decoration: none; color: inherit; box-shadow: 0 2px 12px rgba(14,116,144,0.08); }
.icon-grid a:hover { box-shadow: 0 4px 20px rgba(14,116,144,0.12); }
.icon-grid .icon { width: 52px; height: 52px; border-radius: 50%; background: #0e7490; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.icon-grid .label { font-size: 0.9rem; font-weight: 600; color: #164e63; }
@media (max-width: 560px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* 列表页：同款圆图单栏 */
.list-pg { padding: 32px 0 52px; }
.list-pg .mw { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.list-pg .path { font-size: 0.8rem; color: #0e7490; margin-bottom: 14px; }
.list-pg .path a { color: #0891b2; text-decoration: none; }
.list-pg h1 { font-size: 1.3rem; color: #164e63; margin: 0 0 8px; }
.list-pg .lead { font-size: 0.9rem; color: #0e7490; margin: 0 0 24px; }
.list-pg .feed { margin: 0; }
.list-pg .back { display: inline-block; margin-top: 28px; color: #0e7490; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.list-pg .back:hover { text-decoration: underline; }

/* 内容页：居中卡片图（非全宽）+ 正文 */
.article { padding: 0 0 52px; }
.article .img-card { max-width: 560px; margin: 0 auto 28px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(14,116,144,0.15); aspect-ratio: 16/9; background: #a5f3fc; }
.article .img-card img { width: 100%; height: 100%; object-fit: cover; }
.article .cnt { max-width: 620px; margin: 0 auto; padding: 0 20px; }
.article .path { font-size: 0.8rem; color: #0e7490; margin-bottom: 12px; }
.article .path a { color: #0891b2; text-decoration: none; }
.article h1 { font-size: 1.28rem; color: #164e63; margin: 0 0 12px; line-height: 1.4; }
.article .meta { font-size: 0.82rem; color: #0e7490; margin: 0 0 22px; }
.article .body p { font-size: 0.9375rem; color: #155e75; margin-bottom: 1em; }
.article .body h2 { font-size: 1.05rem; margin: 1.6em 0 0.5em; color: #164e63; }
.article .tags { margin-top: 26px; }
.article .tags span { display: inline-block; margin: 0 8px 8px 0; padding: 5px 14px; background: #cffafe; color: #0e7490; border-radius: 999px; font-size: 0.8rem; }
.article .back { display: inline-block; margin-top: 24px; color: #0e7490; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.article .back:hover { text-decoration: underline; }

/* 页脚 */
.ft { background: #0e7490; color: #a5f3fc; padding: 28px 20px; }
.ft .mw { max-width: 820px; margin: 0 auto; }
.ft .copy { font-size: 0.85rem; margin: 0 0 12px; }
.ft .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.ft .links a { color: #cffafe; text-decoration: none; font-size: 0.85rem; }
.ft .links a:hover { color: #fff; }
