@charset "utf-8";
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #333; background: #f5f5f5; line-height: 1.8; }
a { text-decoration: none; color: #333; }
a:hover { color: #c0392b; }
ul, ol { list-style: none; }
img { border: 0; max-width: 100%; }
.container { width: 1200px; margin: 0 auto; }

.top-bar { background: #1a1a2e; color: #aaa; font-size: 13px; padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-bar a { color: #aaa; }
.top-bar a:hover { color: #e74c3c; }

.header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); padding: 20px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 32px; font-weight: bold; color: #f1c40f; letter-spacing: 2px; }
.logo span { color: #e74c3c; }
.header-right { color: #ccc; font-size: 14px; }

.nav { background: #c0392b; }
.nav ul { display: flex; }
.nav li { position: relative; }
.nav li a { display: block; color: #fff; padding: 14px 30px; font-size: 16px; font-weight: bold; transition: background 0.3s; }
.nav li a:hover, .nav li a.active { background: #96281b; color: #f1c40f; }

.banner { width: 100%; overflow: hidden; }
.banner img { width: 100%; display: block; }

.main { padding: 20px 0; }
.main .container { display: flex; gap: 20px; }
.content { flex: 1; background: #fff; padding: 25px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.sidebar { width: 300px; }

.page-title { font-size: 24px; color: #1a1a2e; border-bottom: 3px solid #c0392b; padding-bottom: 10px; margin-bottom: 20px; }

.news-list-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px dashed #eee; }
.news-list-item:last-child { border-bottom: none; }
.news-list-item .thumb { width: 200px; height: 120px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.news-list-item .info h3 { font-size: 18px; margin-bottom: 8px; }
.news-list-item .info h3 a { color: #1a1a2e; }
.news-list-item .info h3 a:hover { color: #c0392b; }
.news-list-item .meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.news-list-item .desc { font-size: 14px; color: #666; }

.article h1 { font-size: 26px; color: #1a1a2e; margin-bottom: 15px; line-height: 1.5; }
.article .meta { font-size: 13px; color: #999; padding-bottom: 15px; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.article .meta span { margin-right: 15px; }
.article p { margin-bottom: 15px; text-indent: 2em; font-size: 15px; }
.article h2 { font-size: 20px; color: #c0392b; margin: 25px 0 15px; padding-left: 12px; border-left: 4px solid #c0392b; }
.article ul { margin: 15px 0 15px 2em; }
.article ul li { list-style: disc; margin-bottom: 8px; }
.article .img-box { text-align: center; margin: 20px 0; }
.article .img-box img { max-width: 100%; border-radius: 4px; }

.widget { background: #fff; padding: 20px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 20px; }
.widget h3 { font-size: 18px; color: #1a1a2e; border-bottom: 2px solid #c0392b; padding-bottom: 8px; margin-bottom: 15px; }
.widget ul li { padding: 6px 0; font-size: 14px; border-bottom: 1px dotted #eee; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #444; }
.widget ul li a:hover { color: #c0392b; }

.faq-item { margin-bottom: 15px; }
.faq-item .q { font-weight: bold; color: #1a1a2e; font-size: 15px; margin-bottom: 5px; }
.faq-item .q:before { content: "Q: "; color: #c0392b; }
.faq-item .a { color: #555; font-size: 14px; padding-left: 18px; }
.faq-item .a:before { content: "A: "; color: #27ae60; font-weight: bold; }

.pagination { text-align: center; padding: 20px 0; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; }
.pagination .current { background: #c0392b; color: #fff; border-color: #c0392b; }

.footer { background: #1a1a2e; color: #999; padding: 30px 0; margin-top: 30px; font-size: 13px; }
.footer .container { display: flex; justify-content: space-between; }
.footer a { color: #999; }
.footer a:hover { color: #e74c3c; }
.footer .friend-links { margin-bottom: 10px; }

.crumb { font-size: 13px; color: #999; margin-bottom: 15px; }
.crumb a { color: #999; }
.crumb a:hover { color: #c0392b; }

.tag-cloud a { display: inline-block; padding: 3px 10px; margin: 3px; background: #f0f0f0; border-radius: 3px; font-size: 13px; color: #666; }
.tag-cloud a:hover { background: #c0392b; color: #fff; }

.kuaixun { background: #fff8e1; padding: 15px; border-radius: 4px; margin-bottom: 20px; border-left: 4px solid #f39c12; }
.kuaixun h4 { color: #e67e22; margin-bottom: 8px; font-size: 15px; }
.kuaixun ul li { font-size: 13px; padding: 3px 0; }

table { width: 100%; border-collapse: collapse; margin: 15px 0; }
table th, table td { border: 1px solid #ddd; padding: 10px; text-align: center; font-size: 14px; }
table th { background: #1a1a2e; color: #fff; }
table tr:nth-child(even) { background: #f9f9f9; }

@media (max-width: 1200px) {
    .container { width: 98%; }
    .main .container { flex-direction: column; }
    .sidebar { width: 100%; }
}
