/* ===== 媒体 Meiti Theme ===== 紫色+橙色主题 图文杂志风格 */
*,*::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.7;color:#2d3436;background:#f7f8fc}
a{color:#2d3436;text-decoration:none;transition:all .25s}a:hover{color:#6c5ce7}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4{font-weight:700;line-height:1.3}
.wrap{max-width:1200px;margin:0 auto;padding:0 18px;width:100%}

/* Top Bar - 深紫 */
.topbar{background:#2d1b69;color:#ccc;font-size:12px;line-height:36px}
.topbar .wrap{display:flex;justify-content:space-between}
.topbar a{color:#ccc;margin-left:14px}.topbar a:hover{color:#fff}
.tb-date{margin-right:20px;color:#a29bfe}.tb-welcome{color:#dfe6e9}

/* Header - 紫渐变 */
.header{background:linear-gradient(135deg,#2d1b69,#6c5ce7);padding:28px 0;color:#fff}
.header .wrap{display:flex;justify-content:space-between;align-items:center}
.site-title{font-size:32px;font-weight:900;letter-spacing:2px;color:#fff}
.site-title:hover{color:#ffeaa7}
.site-desc{font-size:13px;color:#dfe6e9;margin-top:2px}
.search-box form{display:flex}
.search-box input{width:300px;padding:10px 16px;border:none;border-radius:6px 0 0 6px;font-size:14px;outline:none}
.search-box button{padding:10px 18px;background:#ffeaa7;color:#2d1b69;border:none;border-radius:0 6px 6px 0;cursor:pointer;font-size:16px;font-weight:700}

/* Navigation - 橙 */
.main-nav{background:#fff;box-shadow:0 3px 12px rgba(108,92,231,.15);position:sticky;top:0;z-index:100}
.nav-menu{display:flex}
.nav-menu li{position:relative}
.nav-menu a{display:block;padding:0 22px;line-height:48px;color:#2d3436;font-size:15px;font-weight:500}
.nav-menu a:hover,.nav-menu .current-menu-item a{color:#6c5ce7;background:#f8f7ff}
.nav-toggle{display:none;background:none;border:none;color:#6c5ce7;font-size:16px;padding:14px 16px;cursor:pointer;width:100%;text-align:left}

/* News Ticker */
.news-ticker{background:#fff;border-bottom:2px solid #6c5ce7}
.news-ticker .wrap{display:flex;align-items:center;height:36px;overflow:hidden}
.ticker-label{background:#6c5ce7;color:#fff;padding:0 14px;line-height:36px;font-size:12px;font-weight:700;white-space:nowrap}
.ticker-content{flex:1;padding:0 14px;white-space:nowrap;overflow:hidden}
.ticker-content a{font-size:13px;color:#555;margin:0 6px}.ticker-content a:hover{color:#6c5ce7}
.ticker-sep{color:#ddd;margin:0 4px}

/* Content Area */
.content{padding:22px 0}

/* Mega Featured - 大图+两小图 */
.mega-feat{display:flex;gap:16px;margin-bottom:22px;border-radius:14px;overflow:hidden}
.feat-main{flex:2;border-radius:12px;overflow:hidden;position:relative}
.feat-img{height:420px;position:relative;display:block}
.feat-overlay{position:absolute;bottom:0;left:0;right:0;padding:30px 24px 20px;background:linear-gradient(transparent,rgba(45,27,105,.85))}
.feat-overlay h2{color:#fff;font-size:22px;margin-bottom:6px}
.feat-overlay p{color:#dfe6e9;font-size:13px}
.feat-date{color:#ffeaa7;font-size:12px;margin-top:4px;display:inline-block}
.feat-side{flex:1;display:flex;flex-direction:column;gap:16px}
.feat-sm{flex:1;border-radius:12px;overflow:hidden;display:block;background-size:cover!important;position:relative;min-height:200px}
.feat-sm-overlay{position:absolute;bottom:0;left:0;right:0;padding:16px;background:linear-gradient(transparent,rgba(45,27,105,.8))}
.feat-sm-overlay h3{color:#fff;font-size:15px;margin-bottom:3px}
.feat-sm-overlay span{color:#ffeaa7;font-size:11px}

/* Hot Row */
.hot-row{display:flex;gap:12px;margin-bottom:22px}
.hot-item{flex:1;background:#fff;border-radius:10px;padding:14px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.hot-num{min-width:28px;height:28px;border-radius:8px;text-align:center;line-height:28px;font-size:13px;font-weight:700;color:#fff;background:#ddd}
.hot-num.ht{background:#6c5ce7}
.hot-item a{font-size:13px;color:#444;flex:1;line-height:1.4}.hot-item a:hover{color:#6c5ce7}

/* Magazine Grid */
.mag-grid{display:flex;gap:20px;margin-bottom:18px}
.mag-col{flex:1}
.mag-section{background:#fff;border-radius:12px;padding:18px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.mag-head{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #6c5ce7;padding-bottom:10px;margin-bottom:14px}
.mag-head h3{font-size:17px;color:#2d1b69}.mag-more{font-size:12px;color:#aaa}.mag-more:hover{color:#6c5ce7}
.mag-lead{margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #eee}
.mag-lead img{width:100%;height:200px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.mag-lead h3{font-size:16px;margin-bottom:4px}.mag-lead h3 a{color:#222}.mag-lead h3 a:hover{color:#6c5ce7}
.mag-lead p{font-size:13px;color:#888;line-height:1.5}
.mag-item{display:flex;gap:12px;padding:8px 0;border-bottom:1px dashed #eee}
.mag-item:last-child{border-bottom:none}
.mag-item img{width:70px;height:70px;object-fit:cover;border-radius:8px;flex-shrink:0}
.mag-item h4{font-size:14px;line-height:1.4}.mag-item h4 a{color:#333}.mag-item h4 a:hover{color:#6c5ce7}
.mag-date{font-size:11px;color:#bbb;display:block;margin-top:2px}

/* Banner */
.banner-row{margin-bottom:18px}
.banner-link{display:block;background:linear-gradient(135deg,#6c5ce7,#a29bfe);color:#fff;text-align:center;padding:18px;border-radius:12px;font-size:18px;font-weight:700;letter-spacing:2px}
.banner-link:hover{color:#ffeaa7;transform:scale(1.01)}

/* 3 Card Grid */
.card-3col{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}
.card-item{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:transform .25s,box-shadow .25s}
.card-item:hover{transform:translateY(-5px);box-shadow:0 8px 25px rgba(108,92,231,.15)}
.card-img img{width:100%;height:200px;object-fit:cover}
.card-body{padding:14px;position:relative}
.card-cat{display:inline-block;background:#6c5ce7;color:#fff;padding:2px 12px;border-radius:4px;font-size:11px;margin-bottom:6px}
.card-body h3{font-size:15px;margin-bottom:6px}.card-body h3 a{color:#222}.card-body h3 a:hover{color:#6c5ce7}
.card-body p{font-size:13px;color:#888;line-height:1.5;margin-bottom:8px}
.card-meta{font-size:12px;color:#bbb;display:flex;gap:14px}

/* Page Layout */
.page-layout{display:flex;gap:24px;margin-top:0}
.content-main{flex:1;min-width:0}
.sidebar{width:310px;flex-shrink:0}

/* Category Header */
.cat-header{background:#fff;border-radius:12px;padding:20px;margin-bottom:18px;border-left:4px solid #6c5ce7;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.cat-header h1{font-size:22px;color:#2d1b69}

/* List Magazine */
.list-mag{}
.list-card{display:flex;gap:20px;background:#fff;border-radius:12px;padding:18px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.05);transition:transform .2s}
.list-card:hover{transform:translateX(4px)}
.list-img{width:280px;flex-shrink:0;border-radius:8px;overflow:hidden}
.list-img img{width:100%;height:180px;object-fit:cover}
.list-img-placeholder{width:100%;height:180px;background:linear-gradient(135deg,#6c5ce7,#a29bfe);border-radius:8px}
.list-info{flex:1}.list-info h2{font-size:18px;margin-bottom:6px}
.list-info h2 a{color:#222}.list-info h2 a:hover{color:#6c5ce7}
.list-meta{font-size:12px;color:#999;margin-bottom:8px;display:flex;gap:16px}
.list-info p{font-size:14px;color:#666;line-height:1.6;margin-bottom:10px}
.list-more{font-size:13px;color:#6c5ce7;font-weight:600}.list-more:hover{text-decoration:underline}

/* Single */
.single-card{background:#fff;border-radius:12px;padding:32px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.breadcrumb{font-size:13px;color:#999;margin-bottom:18px;display:flex;gap:6px;flex-wrap:wrap}
.breadcrumb a{color:#666}.breadcrumb a:hover{color:#6c5ce7}
.bc-sep{color:#ccc}.bc-current{color:#6c5ce7}
.single-header{margin-bottom:22px}
.single-header h1{font-size:28px;color:#2d1b69;margin-bottom:12px}
.single-meta{font-size:13px;color:#999;display:flex;gap:20px;margin-bottom:18px}
.single-image img{width:100%;max-height:480px;object-fit:cover;border-radius:10px}
.single-content{font-size:16px;line-height:2;color:#333}
.single-content p{margin-bottom:20px}
.single-content h2,.single-content h3{margin:24px 0 10px;color:#2d1b69}
.single-tags{margin:22px 0;padding:14px 0;border-top:1px solid #eee}
.single-tags span{font-weight:600;color:#2d1b69}
.single-tags a{color:#666;font-size:13px;background:#f0f0f0;padding:3px 12px;border-radius:4px;margin:0 2px}
.single-tags a:hover{background:#6c5ce7;color:#fff}

/* Author Box */
.author-box{display:flex;gap:14px;padding:16px;background:#f8f7ff;border-radius:10px;margin:18px 0}
.author-avatar img{border-radius:50%}
.author-info strong{color:#2d1b69}.author-info p{font-size:13px;color:#888;margin-top:4px}

/* Related */
.related-posts{margin-top:22px;padding-top:18px;border-top:3px solid #6c5ce7}
.related-posts h3{font-size:18px;margin-bottom:14px;color:#2d1b69}

/* Widgets */
.wg{background:#fff;border-radius:12px;padding:18px;margin-bottom:18px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.wg-title{font-size:16px;color:#2d1b69;border-bottom:3px solid #6c5ce7;padding-bottom:8px;margin-bottom:12px}
.wg-hot li{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px dashed #eee}
.wg-num{min-width:24px;height:24px;border-radius:6px;text-align:center;line-height:24px;font-size:12px;font-weight:700;color:#fff;background:#ddd}
.wg-num.on{background:#6c5ce7}
.wg-hot li a{font-size:14px;color:#444;flex:1}.wg-hot li a:hover{color:#6c5ce7}
.wg ul li{padding:5px 0;border-bottom:1px dashed #eee}
.wg ul li a{font-size:14px;color:#444}.wg ul li a:hover{color:#6c5ce7}

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

/* Footer */
.footer{background:#2d1b69;color:#bbb;margin-top:30px;padding:36px 0 0}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-bottom:20px}
.fw h4{color:#fff;font-size:16px;margin-bottom:10px}
.fw a{color:#bbb;font-size:13px}.fw a:hover{color:#ffeaa7}
.footer-bar{text-align:center;padding:14px 0;border-top:1px solid rgba(255,255,255,.1);font-size:13px;color:#888}

/* Back to Top */
.back-top{position:fixed;bottom:30px;right:30px;width:42px;height:42px;background:#6c5ce7;color:#fff;border:none;border-radius:50%;font-size:20px;cursor:pointer;box-shadow:0 3px 10px rgba(108,92,231,.3);z-index:99;display:flex;align-items:center;justify-content:center}
.back-top:hover{background:#2d1b69}

/* Responsive */
@media(max-width:992px){
.mega-feat{flex-direction:column}.feat-img{height:300px}.feat-sm{min-height:150px}
.mag-grid{flex-direction:column}.card-3col{grid-template-columns:repeat(2,1fr)}
.hot-row{flex-wrap:wrap}.hot-item{min-width:45%}
.page-layout{flex-direction:column}.sidebar{width:100%}
.list-card{flex-direction:column}.list-img{width:100%}.list-img img,.list-img-placeholder{height:200px}
}
@media(max-width:768px){
.header .wrap{flex-direction:column;gap:12px}.search-box input{width:100%}
.card-3col{grid-template-columns:1fr}.nav-toggle{display:block}.nav-menu{display:none;flex-direction:column}
.nav-menu.active{display:flex}.site-title{font-size:24px}
}
@media(max-width:480px){
.footer-grid{grid-template-columns:1fr}.hot-item{min-width:100%}
}
