/* ====== 涓栫晫璧涗簨缃� 鍏ㄥ眬鏍峰紡 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f0f2f5; color: #1a1a1a; line-height: 1.6; }
a { text-decoration: none; color: #1a1a1a; transition: all 0.3s ease; }
a:hover { color: #0056b3; }
ul, li { list-style: none; }
.container { width: 1200px; margin: 0 auto; }

/* 椤堕儴瀵艰埅鍖� - 钃濋粦鍟嗗姟椋� */
.header-wrapper { background-color: #0a192f; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.header { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo a { font-size: 28px; color: #fff; font-weight: 800; letter-spacing: 1px; display: flex; align-items: center; }
.logo a span { color: #00a8ff; margin-right: 5px; }

/* 瀵艰埅鑿滃崟 */
.nav { display: flex; align-items: center; }
.nav li { margin: 0 15px; position: relative; }
.nav a { color: #e4e6eb; font-size: 16px; font-weight: 500; padding: 10px 5px; }
.nav a:hover, .nav .current a { color: #00a8ff; }
.nav .current a::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 100%; height: 3px; background-color: #00a8ff; border-radius: 3px; }

/* 鎼滅储妗� */
.search-form { display: flex; align-items: center; background: rgba(255,255,255,0.1); border-radius: 20px; padding: 2px; }
.search-form input { background: transparent; border: none; color: #fff; padding: 8px 15px; width: 200px; outline: none; }
.search-form input::placeholder { color: #8892b0; }
.search-form button { background: #00a8ff; color: #fff; border: none; padding: 8px 20px; border-radius: 18px; cursor: pointer; font-weight: bold; }
.search-form button:hover { background: #008cd9; }

/* 涓讳綋甯冨眬 */
.main-wrapper { margin-top: 30px; display: flex; justify-content: space-between; gap: 25px; margin-bottom: 50px; }
.content-main { flex: 1; min-width: 0; }
.sidebar { width: 340px; flex-shrink: 0; }

/* 閫氱敤鍗＄墖鏍峰紡 */
.card { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 25px; overflow: hidden; }
.card-header { padding: 18px 25px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.card-title { font-size: 18px; font-weight: bold; color: #0a192f; border-left: 4px solid #00a8ff; padding-left: 12px; line-height: 1; }
.card-more { font-size: 14px; color: #888; }
.card-more:hover { color: #0056b3; }
.card-body { padding: 20px 25px; }

/* 棣栭〉 - 澶存潯骞荤伅鍖哄煙 */
.hero-section { display: flex; gap: 20px; margin-bottom: 25px; }
.hero-slider { flex: 2; position: relative; border-radius: 10px; overflow: hidden; height: 360px; background: #000; }
.hero-slider img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.hero-slider:hover img { opacity: 1; }
.hero-slider-title { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.hero-slider-title h2 { color: #fff; font-size: 22px; font-weight: bold; }

.hero-headlines { flex: 1; background: #fff; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.top-headline h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.4; }
.top-headline h3 a { color: #0056b3; }
.top-headline p { font-size: 14px; color: #666; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sub-headlines { border-top: 1px solid #f0f0f0; padding-top: 15px; margin-top: 15px; }
.sub-headlines li { margin-bottom: 12px; }
.sub-headlines li a { font-size: 15px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-headlines li a::before { content: '鈥�'; color: #00a8ff; margin-right: 8px; }

/* 棣栭〉 - 璧勮鍒楄〃 (鐜颁唬椋庢牸) */
.news-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item:first-child { padding-top: 0; }
.news-thumb { width: 200px; height: 130px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-content p { color: #666; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 13px; color: #999; display: flex; gap: 15px; margin-top: 10px; }
.news-meta span { display: flex; align-items: center; }

/* 渚ц竟鏍� - 鎺掕姒� */
.ranking-list li { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px dashed #f0f0f0; }
.ranking-list li:last-child { border-bottom: none; }
.ranking-num { width: 24px; height: 24px; background: #f0f2f5; color: #666; text-align: center; line-height: 24px; border-radius: 4px; font-size: 12px; font-weight: bold; margin-right: 15px; flex-shrink: 0; }
.ranking-list li:nth-child(1) .ranking-num { background: #ff4757; color: #fff; }
.ranking-list li:nth-child(2) .ranking-num { background: #ffa502; color: #fff; }
.ranking-list li:nth-child(3) .ranking-num { background: #eccc68; color: #fff; }
.ranking-title { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 搴曢儴鍖哄煙 */
.footer-wrapper { background: #0a192f; color: #8892b0; padding: 50px 0 30px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; margin-bottom: 30px; }
.footer-logo h2 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.footer-logo p { font-size: 14px; max-width: 300px; }
.footer-links { display: flex; gap: 50px; }
.footer-links dl dt { color: #fff; font-size: 16px; font-weight: bold; margin-bottom: 15px; }
.footer-links dl dd { margin-bottom: 10px; }
.footer-links dl a { color: #8892b0; font-size: 14px; }
.footer-links dl a:hover { color: #00a8ff; }
.footer-bottom { text-align: center; font-size: 14px; }

/* ====== 鍐呭椤典笓灞炴牱寮� ====== */
.breadcrumb { padding: 15px 0; font-size: 14px; color: #666; }
.breadcrumb a { color: #0056b3; }
.breadcrumb a:hover { text-decoration: underline; }

.article-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid #f0f0f0; padding-bottom: 25px; }
.article-header h1 { font-size: 28px; color: #1a1a1a; margin-bottom: 15px; line-height: 1.4; font-weight: bold; }
.article-meta { display: flex; justify-content: center; gap: 20px; font-size: 14px; color: #888; }
.article-meta span { background: #f8f9fa; padding: 4px 12px; border-radius: 20px; }

.article-content { font-size: 17px; line-height: 1.9; color: #333; text-align: justify; }
.article-content p { margin-bottom: 20px; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px auto; display: block; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.article-content h2, .article-content h3 { margin: 30px 0 15px; color: #0a192f; border-left: 4px solid #00a8ff; padding-left: 12px; }

.article-tags { margin: 30px 0; display: flex; gap: 10px; align-items: center; }
.article-tags strong { font-size: 14px; color: #666; }
.article-tags a { background: #e8f4fd; color: #0056b3; padding: 5px 15px; border-radius: 4px; font-size: 14px; }
.article-tags a:hover { background: #00a8ff; color: #fff; }

.article-nav { margin-top: 40px; padding: 20px; background: #f8f9fa; border-radius: 8px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.article-nav a { font-weight: 500; }
.article-nav a:hover { color: #00a8ff; }