/* 模板4 - 红色经典风（红色主题） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; background: #f5f0eb; color: #333; font-size: 14px; }
a { text-decoration: none; color: #C0392B; }
a:hover { color: #A93226; }
.wrap { max-width: 1200px; margin: 0 auto; }

.top-notice { background: #C0392B; color: #fff; text-align: center; padding: 7px 0; font-size: 13px; letter-spacing: 1px; }

.header { background: #fff; border-bottom: 3px solid #C0392B; padding: 12px 0; }
.header .wrap { display: flex; align-items: center; }
.logo { font-size: 26px; font-weight: bold; margin-right: 40px; }
.logo a { color: #C0392B; }
.nav { display: flex; gap: 2px; }
.nav a { color: #444; padding: 10px 20px; font-size: 14px; }
.nav a:hover, .nav a.active { background: #C0392B; color: #fff; border-radius: 4px; }

.slide-banner { background: linear-gradient(135deg, #C0392B, #E74C3C); border-radius: 8px; padding: 40px 50px; margin: 20px 0; color: #fff; }
.slide-content h2 { font-size: 28px; margin-bottom: 8px; }
.slide-content p { opacity: 0.85; margin-bottom: 18px; font-size: 14px; }
.slide-btn { display: inline-block; background: rgba(255,255,255,0.2); padding: 10px 30px; border-radius: 4px; color: #fff; font-weight: bold; border: 1px solid rgba(255,255,255,0.3); }
.slide-btn:hover { background: rgba(255,255,255,0.3); color: #fff; }

.classify-bar { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-bottom: 25px; }
.cf-item { background: #fff; border: 1px solid #e8e0d8; border-radius: 6px; padding: 15px 10px; text-align: center; transition: all 0.2s; }
.cf-item:hover { border-color: #C0392B; box-shadow: 0 0 0 2px rgba(192,57,43,0.08); }
.cf-ico { display: block; font-size: 22px; font-weight: bold; color: #C0392B; margin-bottom: 5px; }
.cf-name { font-size: 13px; color: #666; }

.mod-title { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 15px; padding-bottom: 8px; border-bottom: 2px solid #C0392B; }
.mod-title h2 { font-size: 18px; color: #C0392B; }
.mod-more { color: #C0392B; font-size: 12px; font-weight: bold; }
.mod-more:hover { color: #A93226; }

.down-list { background: #fff; border-radius: 6px; margin-bottom: 20px; }
.down-item { display: flex; padding: 16px 20px; border-bottom: 1px solid #f0ebe5; align-items: center; gap: 16px; transition: background 0.15s; }
.down-item:last-child { border-bottom: none; }
.down-item:hover { background: #FFF8F5; }
.di-img { width: 60px; height: 60px; background: #f5f0eb; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.di-img img { max-width: 44px; max-height: 44px; border-radius: 4px; }
.di-text { flex: 1; min-width: 0; }
.di-text h3 { font-size: 15px; margin-bottom: 5px; }
.di-text h3 a { color: #333; }
.di-text h3 a:hover { color: #C0392B; }
.di-info { display: flex; gap: 14px; font-size: 12px; color: #999; margin-bottom: 4px; }
.di-text p { color: #aaa; font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.di-act { text-align: right; flex-shrink: 0; }
.di-date { display: block; color: #bbb; font-size: 11px; margin-bottom: 8px; }
.di-btn { display: inline-block; background: #C0392B; color: #fff; padding: 6px 20px; border-radius: 4px; font-size: 12px; }
.di-btn:hover { background: #A93226; color: #fff; }

.top-list { background: #fff; border-radius: 6px; margin-bottom: 20px; }
.top-item { display: flex; align-items: center; padding: 12px 20px; border-bottom: 1px solid #f0ebe5; }
.top-item:last-child { border-bottom: none; }
.top-item:hover { background: #FFF8F5; }
.top-n { width: 26px; height: 26px; background: #C0392B; color: #fff; border-radius: 50%; text-align: center; line-height: 26px; font-size: 12px; font-weight: bold; margin-right: 14px; }
.top-item a { flex: 1; color: #444; font-size: 14px; }
.top-item:hover a { color: #C0392B; }
.top-down { color: #bbb; font-size: 12px; }

.main-wrap { display: flex; gap: 25px; margin-bottom: 25px; }
.main-left { flex: 1; min-width: 0; }
.main-right { width: 280px; flex-shrink: 0; }

.bread { padding: 12px 0; font-size: 12px; color: #999; }
.bread a { color: #C0392B; }
.bread span { color: #666; }
.cat-current { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cat-current h1 { font-size: 18px; color: #C0392B; }
.cat-current span { color: #aaa; font-size: 12px; }

.pagination { text-align: center; margin: 20px 0; }
.pagination a, .pagination span { display: inline-block; padding: 7px 14px; margin: 0 2px; border-radius: 4px; font-size: 12px; }
.pagination a { background: #fff; color: #666; border: 1px solid #ddd; }
.pagination a:hover { background: #C0392B; color: #fff; border-color: #C0392B; }
.pagination span { background: #C0392B; color: #fff; }

.rbox { background: #fff; border-radius: 6px; padding: 18px; margin-bottom: 16px; }
.rbox h3 { font-size: 15px; color: #C0392B; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #FDE8E5; }
.rbox ul { list-style: none; }
.rbox ul li { padding: 7px 0; border-bottom: 1px dashed #f0ebe5; }
.rbox ul li:last-child { border-bottom: none; }
.rbox ul a { color: #666; font-size: 13px; display: block; }
.rbox ul a:hover { color: #C0392B; padding-left: 4px; }
.rbox-item { padding: 7px 0; border-bottom: 1px dashed #f0ebe5; }
.rbox-item:last-child { border-bottom: none; }
.rbox-item a { color: #666; font-size: 13px; }
.rbox-item a:hover { color: #C0392B; }
.rbox-links a { display: inline-block; margin: 2px 6px 2px 0; color: #999; font-size: 12px; }
.rbox-links a:hover { color: #C0392B; }

.art-detail { background: #fff; border-radius: 6px; padding: 25px; }
.art-head { text-align: center; margin-bottom: 20px; }
.art-icon { width: 80px; height: 80px; margin: 0 auto 12px; background: #f5f0eb; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.art-icon img { max-width: 60px; max-height: 60px; }
.art-head h1 { font-size: 22px; color: #333; margin-bottom: 12px; }
.art-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #999; margin-bottom: 20px; }
.dl-btn-red { display: inline-block; background: #C0392B; color: #fff; padding: 13px 45px; border-radius: 4px; font-size: 16px; font-weight: bold; transition: all 0.2s; }
.dl-btn-red:hover { background: #A93226; color: #fff; }

.art-content { text-align: left; }
.art-content h3 { color: #C0392B; font-size: 16px; margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #FDE8E5; }
.art-content p { line-height: 1.9; color: #555; margin-bottom: 10px; font-size: 14px; }
.art-features { list-style: none; padding: 8px 0; }
.art-features li { padding: 6px 0; color: #555; font-size: 14px; }

.footer { background: #2C3E50; color: rgba(255,255,255,0.6); padding: 25px 0; margin-top: 25px; text-align: center; font-size: 12px; }
.friend-links { margin-bottom: 10px; }
.friend-links a { color: rgba(255,255,255,0.5); margin: 0 8px; font-size: 12px; }
.friend-links a:hover { color: #E74C3C; }
.footer-keywords { margin-top: 5px; color: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
    .main-wrap { flex-direction: column; }
    .main-right { width: 100%; }
    .down-item { flex-wrap: wrap; }
    .di-act { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; }
    .classify-bar { grid-template-columns: repeat(3, 1fr); }
    .art-bar { flex-direction: column; align-items: center; gap: 5px; }
}
