/* ===== Caijing Mobile ===== 红白配色 移动优先 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6;color:#222;background:#f5f5f5}
a{color:#222;text-decoration:none}a:hover{color:#c03a2b}
img{max-width:100%;height:auto;display:block}

/* Header */
.m-header{background:#c03a2b;color:#fff;position:sticky;top:0;z-index:100}
.mh-inner{display:flex;justify-content:space-between;align-items:center;padding:0 12px;height:46px}
.mh-logo{color:#fff;font-size:17px;font-weight:700;letter-spacing:1px}
.mh-menu{background:none;border:none;color:#fff;font-size:22px;padding:8px;cursor:pointer}

/* Nav */
.m-nav{display:none;background:#c03a2b;border-top:1px solid rgba(255,255,255,.15)}
.m-nav.open{display:block}
.mn-list{display:flex;flex-wrap:wrap;padding:4px 8px}
.mn-list li{list-style:none}
.mn-list a{display:block;color:rgba(255,255,255,.9);font-size:13px;padding:6px 10px;margin:2px;border-radius:4px;background:rgba(255,255,255,.1)}
.mn-list a:hover{background:rgba(255,255,255,.2)}

/* Content */
.m-content{padding-bottom:60px}

/* Hero Card */
.hero-card{background:#fff;margin:8px;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.hc-main{display:block;position:relative}
.hc-main img{width:100%;height:190px;object-fit:cover}
.hc-overlay{position:absolute;bottom:0;left:0;right:0;padding:30px 14px 14px;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.hc-overlay h2{color:#fff;font-size:17px;line-height:1.4}
.hc-tag{background:#c03a2b;color:#fff;font-size:11px;padding:2px 8px;border-radius:3px;display:inline-block;margin-bottom:6px}
.hc-list{padding:0 14px 10px}
.hc-item{display:block;padding:8px 0;font-size:14px;color:#333;border-bottom:1px solid #f0f0f0;line-height:1.4}
.hc-item:last-child{border-bottom:none}
.hc-dot{display:inline-block;width:4px;height:4px;background:#c03a2b;border-radius:50%;margin-right:8px;vertical-align:middle}

/* Flash Bar */
.flash-bar{background:#fff;margin:0 8px 8px;padding:10px 14px;border-radius:8px;display:flex;align-items:center;gap:10px;font-size:13px;color:#666;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.fb-label{background:#c03a2b;color:#fff;padding:2px 10px;border-radius:4px;font-size:11px;font-weight:700;white-space:nowrap}

/* Section Head */
.sec-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px 6px}
.sec-head h3{font-size:16px;font-weight:700;color:#222;border-left:3px solid #c03a2b;padding-left:8px}
.sec-head a{font-size:12px;color:#999}

/* List Page */
.list-page{padding:0 8px}
.list-card{display:flex;gap:12px;background:#fff;margin-bottom:6px;padding:10px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.lc-img{width:130px;flex-shrink:0;border-radius:6px;overflow:hidden}
.lc-img img{width:100%;height:88px;object-fit:cover}
.lc-body{flex:1;min-width:0}
.lc-cat{display:inline-block;font-size:11px;color:#c03a2b;font-weight:600;margin-bottom:2px}
.lc-body h2{font-size:15px;line-height:1.4;margin-bottom:4px}
.lc-body h2 a{color:#222}.lc-body h2 a:hover{color:#c03a2b}
.lc-meta{font-size:11px;color:#bbb}

/* Category Header */
.cat-header{background:#fff;padding:12px;margin:0 8px 6px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.cat-header h1{font-size:18px;color:#c03a2b}

/* Single */
.single-article{background:#fff;margin:0;padding:14px;min-height:80vh}
.sa-cat{margin-bottom:8px}
.sa-cat a{color:#c03a2b;font-size:12px;font-weight:600}
.sa-title{font-size:20px;line-height:1.35;margin-bottom:10px}
.sa-meta{font-size:12px;color:#999;margin-bottom:14px}
.sa-img{margin-bottom:14px}
.sa-img img{width:100%;border-radius:8px;max-height:250px;object-fit:cover}
.sa-content{font-size:15px;line-height:1.8;color:#333}
.sa-content p{margin-bottom:16px}
.sa-tags{padding:12px 0;margin:14px 0;border-top:1px solid #eee;font-size:13px}
.sa-tags span{color:#999;margin-right:4px}
.sa-tags a{color:#c03a2b;margin:0 4px}
.sa-related h3{font-size:16px;color:#c03a2b;margin-bottom:10px;padding-bottom:6px;border-bottom:2px solid #c03a2b}

/* Footer */
.m-footer{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e8e8e8;z-index:100}
.mf-bar{display:flex}
.mf-bar a{flex:1;text-align:center;padding:8px 0;font-size:12px;color:#666;line-height:1}
.mf-bar a:first-child{color:#c03a2b;font-weight:600}
.mf-copy{font-size:11px;color:#bbb;text-align:center;padding:0 0 4px}
.m-content{padding-bottom:56px}

/* Pagination */
.pagination{text-align:center;padding:14px 0}
.pagination .page-numbers{display:inline-block;padding:6px 12px;margin:0 2px;font-size:13px;color:#666;background:#fff;border-radius:4px}
.pagination .page-numbers.current{background:#c03a2b;color:#fff}

/* Empty state for no-thumbnail */
.list-card .lc-img:empty,.list-card .lc-img:not([href]){display:none}
.list-card:has(.lc-img:empty){padding:10px}
.list-card .lc-img:not([href]){display:none}
