/* ===== 凤凰 Fenghuang Theme ===== 橙红色系 杂志风 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.7;color:#222;background:#f4f5f7}
a{color:#222;text-decoration:none}a:hover{color:#d32f2f}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 12px;width:100%}

/* Top Bar */
.topbar{background:#c62828;color:rgba(255,255,255,.85);font-size:11px;line-height:32px}
.topbar .wrap{display:flex;justify-content:space-between}
.tb-date{color:#ffcdd2}.tb-slogan{color:#ffcdd2}

/* Header */
.header{background:#d32f2f;padding:16px 0}
.header .wrap{display:flex;justify-content:space-between;align-items:center}
.logo h1{color:#fff;font-size:24px;font-weight:900;letter-spacing:2px}
.h-search form{display:flex}
.h-search input{width:220px;padding:7px 12px;border:none;border-radius:4px 0 0 4px;font-size:13px;outline:none}
.h-search button{padding:7px 14px;background:#ff8f00;color:#fff;border:none;border-radius:0 4px 4px 0;cursor:pointer;font-size:14px}

/* Nav */
.nav{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);position:sticky;top:0;z-index:100}
.nav .wrap{display:flex;align-items:center}
.nav-list{display:flex}
.nav-list li{list-style:none}
.nav-list a{display:block;padding:0 16px;line-height:44px;font-size:14px;color:#333;font-weight:500}
.nav-list a:hover,.current-menu-item a{color:#d32f2f;background:#fff5f5}
.nav-toggle{display:none;background:none;border:none;font-size:16px;padding:12px 14px;cursor:pointer;color:#333}

/* Content */
.content{padding:16px 0}

/* Mega Feature Row */
.mega-row{display:flex;gap:12px;margin-bottom:16px}
.mega-main{flex:2;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.mega-link{display:block;position:relative}
.mega-link img{width:100%;height:380px;object-fit:cover}
.mega-overlay{position:absolute;bottom:0;left:0;right:0;padding:28px 18px 16px;background:linear-gradient(transparent,rgba(0,0,0,.75))}
.mega-cat{display:inline-block;background:#d32f2f;color:#fff;padding:1px 10px;border-radius:3px;font-size:11px;margin-bottom:6px}
.mega-overlay h2{color:#fff;font-size:20px;line-height:1.35}
.mega-side{flex:1;display:flex;flex-direction:column;gap:12px}
.mega-sm{flex:1;border-radius:10px;overflow:hidden;display:block;position:relative;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.mega-sm img{width:100%;height:185px;object-fit:cover}
.ms-overlay{position:absolute;bottom:0;left:0;right:0;padding:14px;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.ms-overlay span{color:#ffcdd2;font-size:10px;display:block;margin-bottom:2px}
.ms-overlay h3{color:#fff;font-size:14px;line-height:1.3}

/* Hot Row */
.hot-row{display:flex;gap:10px;margin-bottom:16px;background:#fff;border-radius:10px;padding:14px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.hot-item{flex:1;display:flex;align-items:center;gap:6px;font-size:12px;color:#444;line-height:1.3;min-width:0}
.hot-num{min-width:20px;height:20px;border-radius:4px;text-align:center;line-height:20px;font-size:11px;font-weight:700;color:#fff;background:#ddd;flex-shrink:0}
.hot-num.t{background:#d32f2f}
.hot-item:hover{color:#d32f2f}

/* Section Head */
.sec-head{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px}
.sec-head h3{font-size:17px;font-weight:700;color:#222;border-left:4px solid #d32f2f;padding-left:10px}
.sec-head a{font-size:12px;color:#999}.sec-head a:hover{color:#d32f2f}

/* Grid 3 Column */
.grid-3col{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}
.gc-item{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}
.gc-item:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.1)}
.gc-img img{width:100%;height:185px;object-fit:cover}
.gc-body{padding:12px}
.gc-tag{display:inline-block;background:#d32f2f;color:#fff;padding:1px 8px;border-radius:3px;font-size:10px;margin-bottom:4px}
.gc-body h3{font-size:14px;line-height:1.4;margin-bottom:4px}.gc-body h3 a{color:#222}
.gc-body h3 a:hover{color:#d32f2f}
.gc-body p{font-size:12px;color:#888;line-height:1.5;margin-bottom:6px}
.gc-date{font-size:11px;color:#bbb}

/* Two Column */
.two-col{display:flex;gap:16px;margin-bottom:16px}
.tc{flex:1;background:#fff;border-radius:10px;padding:14px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.tc .sec-head{margin-top:0}
.lead-item{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #f0f0f0}
.lead-item img{width:100%;height:160px;object-fit:cover;border-radius:6px;margin-bottom:6px}
.lead-item h4{font-size:15px;margin-bottom:4px}.lead-item h4 a{color:#222;line-height:1.4}
.lead-item p{font-size:12px;color:#888;line-height:1.5}
.sm-item{padding:5px 0;border-bottom:1px dashed #eee;font-size:13px}.sm-item a{color:#444}
.sm-item a:hover{color:#d32f2f}

/* Simple List */
.simple-list{background:#fff;border-radius:10px;padding:14px;box-shadow:0 1px 4px rgba(0,0,0,.05);margin-bottom:16px}
.sl-item{display:flex;align-items:center;padding:7px 0;border-bottom:1px dashed #eee;font-size:14px}
.sl-item:last-child{border-bottom:none}
.sl-dot{color:#d32f2f;margin-right:8px;font-size:10px}
.sl-item a{flex:1;color:#444}.sl-item a:hover{color:#d32f2f}
.sl-date{font-size:11px;color:#bbb;margin-left:8px}

/* Layout */
.layout{display:flex;gap:22px}
.main-col{flex:1;min-width:0}
.side-col{width:300px;flex-shrink:0}

/* Page Head */
.page-head{background:#fff;border-radius:10px;padding:16px;margin-bottom:16px;border-left:4px solid #d32f2f;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.page-head h1{font-size:20px;color:#222}

/* Post List */
.post-list{}
.pl-item{display:flex;gap:16px;background:#fff;border-radius:10px;padding:14px;margin-bottom:10px;box-shadow:0 1px 4px rgba(0,0,0,.05);transition:transform .2s}
.pl-item:hover{transform:translateX(3px)}
.pl-img{width:260px;flex-shrink:0;border-radius:6px;overflow:hidden}
.pl-img img{width:100%;height:160px;object-fit:cover}
.pl-info{flex:1}.pl-info h2{font-size:17px;margin-bottom:6px}
.pl-info h2 a{color:#222}.pl-info h2 a:hover{color:#d32f2f}
.pl-info p{font-size:13px;color:#888;line-height:1.5;margin-bottom:6px}
.pl-meta{font-size:11px;color:#bbb;display:flex;gap:10px}

/* Single Post */
.single-post{background:#fff;border-radius:10px;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.breadcrumb{font-size:12px;color:#999;margin-bottom:14px;display:flex;gap:4px}
.breadcrumb a{color:#666}
.sp-title{font-size:24px;color:#222;margin-bottom:12px;line-height:1.3}
.sp-meta{font-size:12px;color:#999;margin-bottom:16px;display:flex;gap:16px}
.sp-img{margin-bottom:16px}
.sp-img img{width:100%;max-height:400px;object-fit:cover;border-radius:8px}
.sp-content{font-size:15px;line-height:1.9;color:#333}
.sp-content p{margin-bottom:16px}
.sp-tags{margin:16px 0;padding:12px 0;border-top:1px solid #eee;font-size:13px}
.sp-tags span{color:#999;margin-right:4px;font-weight:600}
.sp-tags a{color:#d32f2f;font-size:12px;background:#fff5f5;padding:2px 10px;border-radius:4px;margin:0 2px}
.sp-tags a:hover{background:#d32f2f;color:#fff}

/* Related */
.related{margin-top:18px;padding-top:16px;border-top:3px solid #d32f2f}
.related h3{font-size:16px;color:#d32f2f;margin-bottom:12px}

/* Sidebar */
.widget{background:#fff;border-radius:10px;padding:16px;margin-bottom:14px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.w-title{font-size:15px;color:#d32f2f;border-bottom:2px solid #d32f2f;padding-bottom:8px;margin-bottom:10px}
.w-hot li{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px dashed #eee}
.w-num{min-width:22px;height:22px;border-radius:4px;text-align:center;line-height:22px;font-size:11px;font-weight:700;color:#fff;background:#ddd}
.w-num.t{background:#d32f2f}
.w-hot li a{font-size:13px;color:#444;flex:1}.w-hot li a:hover{color:#d32f2f}

/* Pagination */
.pagination{text-align:center;margin:16px 0}
.pagination .page-numbers{display:inline-block;padding:6px 12px;margin:0 2px;border:1px solid #ddd;border-radius:6px;font-size:13px;color:#666}
.pagination .page-numbers.current,.pagination .page-numbers:hover{background:#d32f2f;color:#fff;border-color:#d32f2f}

/* Footer */
.footer{background:#1a1a2e;color:#bbb;margin-top:20px;padding:20px 0 14px}
.f-links{display:flex;justify-content:center;gap:18px;margin-bottom:10px;flex-wrap:wrap}
.f-links a{color:#aaa;font-size:13px}.f-links a:hover{color:#fff}
.f-copy{text-align:center;font-size:12px;color:#777}

/* Responsive */
@media(max-width:992px){
.mega-row{flex-direction:column}
.mega-link img{height:280px}
.mega-side{flex-direction:row}
.mega-sm{flex:1}
.mega-sm img{height:160px}
.hot-row{flex-wrap:wrap}
.hot-item{flex:1;min-width:40%}
.grid-3col{grid-template-columns:repeat(2,1fr)}
.two-col{flex-direction:column}
.layout{flex-direction:column}
.side-col{width:100%}
}
@media(max-width:768px){
.header .wrap{flex-direction:column;gap:10px}
.h-search input{width:100%}
.nav-toggle{display:block}
.nav-list{display:none;flex-direction:column;width:100%}
.nav-list.open{display:flex}
.nav{position:relative}
.nav .wrap{flex-wrap:wrap}
.mega-link img{height:220px}
.mega-side{flex-direction:column}
.mega-sm img{height:150px}
.hot-item{min-width:100%}
.grid-3col{grid-template-columns:1fr}
.pl-item{flex-direction:column}
.pl-img{width:100%}.pl-img img{height:200px}
}
