:root { --primary-color: #E60012; --primary-text: #E33314; --bg-color: #F5F5F7; --text-main: #333; --text-muted: #999; --font-family: "PingFang SC", "Microsoft YaHei", sans-serif; --border-radius-lg: 25px; --border-radius-md: 10px; --border-radius-sm: 5px; }
body { font-family: var(--font-family); margin: 0; padding: 0; color: var(--text-main); background: #fff; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary-color); }
.container { width: 1200px; margin: 0 auto; padding: 0; box-sizing: border-box; }
.box { background-color: var(--bg-color); border-radius: var(--border-radius-md); padding: 20px 25px; box-sizing: border-box; }
/* Header */
.header-top { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.logo { height: 66px; }
.header-badges { display: flex; gap: 20px; align-items: center; }
.header-badges img { height: 26px; }
.header-badges .vertical-line { height: 36px; width: 1px; background-color: #D7D7D7; }
.header-nav { border-top: 5px solid var(--primary-color); background: var(--bg-color); height: 75px; display: flex; align-items: center; border-bottom: 1px solid #D7D7D7; }
.nav-menu { display: flex; justify-content: space-between; width: 100%; list-style: none; padding: 0; margin: 0; font-size: 20px; font-weight: 200; }
.nav-menu a { color: #555; position: relative; display: flex; align-items: center; height: 75px; }
.nav-menu a.active { color: var(--primary-color); font-weight: 650; position: relative; }
.nav-menu a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 5px; background-color: var(--primary-color); border-radius: 2px; }
/* Main Content */
main { padding-top: 25px; }
.top-news-image { width: 1200px; position: relative; border-radius: var(--border-radius-sm); overflow: hidden; margin-left: 0px; /* margin-top: 25px; margin-bottom: 25px; */ }
.top-news-image img { width: 100%; height: 100%; object-fit: cover; margin-top: 25px;border-radius: var(--border-radius-sm); }
/* Layout */
.news-layout { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; }
/* Left Column (Article Detail) */
.article-main-content { flex: 1; width: 750px; display: flex; flex-direction: column; }
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 25px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-color); }
.article-header { margin-bottom: 15px; }
.article-header h1 { font-size: 38px; color: var(--text-main); line-height: 1.4; font-weight: 500; margin: 0 0 20px 0; }
.article-meta { display: flex; gap: 30px; font-size: 16px; color: var(--text-muted); font-weight: 200; background-color: var(--bg-color); padding: 15px 20px; border-radius: var(--border-radius-md); }
.article-body { font-size: 20px; color: var(--text-main); line-height: 1.8; font-weight: 200; }
.article-body p { margin-bottom: 20px; text-align: justify; }
.article-image { margin: 30px 0; text-align: center; display: flex; justify-content: center; }
.article-image img { max-width: 100%; border-radius: var(--border-radius-md); display: block; }
.article-image-group { display: flex; gap: 15px; margin: 30px 0; justify-content: space-between; }
.article-image-group img { width: calc(33.333% - 10px); border-radius: var(--border-radius-md); object-fit: cover; display: block; }
.article-tags { display: flex; gap: 15px; margin-top: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.article-tags .tag { display: inline-block; padding: 8px 25px; background-color: #EAEAEA; color: #555; border-radius: 20px; font-size: 14px; transition: background-color 0.3s, color 0.3s; }
.article-tags .tag:hover { background-color: var(--primary-color); color: #fff; }
.related-recommendations { margin-top: 20px; background-color: var(--bg-color); border-radius: var(--border-radius-md); padding: 20px 25px; }
.related-recommendations .section-title { font-size: 20px; font-weight: 650; color: var(--primary-text); margin: 0 0 20px; display: flex; align-items: center; position: relative; padding-left: 15px; z-index: 1; }
.related-recommendations .section-title::before { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 14px; background-image: url('../images/u38.png'); background-size: contain; background-repeat: no-repeat; z-index: -1; }
.related-list { display: flex; gap: 20px; }
.related-item { /* flex: 1; */ width: 33%; display: flex; flex-direction: column; gap: 15px; color: var(--text-main); text-decoration: none; background: transparent; }
.related-item:hover .title { color: var(--primary-color); }
.related-item img { width: 100%; height: 132px; border-radius: var(--border-radius-md); object-fit: cover; }
.related-item .title { font-size: 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; width: 100%; max-width: 220px;}
/* Right Column (Sidebar) */
.sidebar { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.sidebar-section { background-color: var(--bg-color); border-radius: var(--border-radius-md); padding: 15px; }
.sidebar-ad { border-radius: var(--border-radius-md);}
.sidebar-title { font-size: 20px; font-weight: 650; color: var(--primary-text); margin: 0 0 20px; display: flex; align-items: center; position: relative; padding-left: 15px; z-index: 1; }
.sidebar-title::before { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 14px; background-image: url('../images/u38.png'); /* background-image: url(''); */ background-size: contain; background-repeat: no-repeat; z-index: -1; }
.hot-news-list { list-style: none; padding: 0; margin: 0; }
.hot-news-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.hot-news-item:last-child { margin-bottom: 0; }
.hot-news-item .rank { width: 22px; height: 22px; background-color: #ccc; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 14px; flex-shrink: 0; margin-top: 3px; }
.hot-news-item.top-3 .rank { background-color: var(--primary-color); }
.hot-news-item .title { font-size: 18px; color: var(--text-main); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.hot-news-item:hover .title { color: var(--primary-color); }
/* App Downloads */
.app-download-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; background-color: #fff; padding: 15px; border-radius: var(--border-radius-md); height: 100px; /* 添加固定高度，与图片高度一致 */ }
.app-download-item:last-child { margin-bottom: 0; }
.app-download-item img { width: 100px; height: 100px; border-radius: 10px; flex-shrink: 0; }
.app-download-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; /* 关键：使第一个子元素在顶部，最后一个在底部 */ height: 100%; /* 确保与父容器高度一致 */ }
.app-download-info h4 { font-size: 16px; font-weight: 650; margin: 0 0 5px; color: var(--text-main); }
.app-download-info p { font-size: 14px; color: var(--text-muted); margin: 0; }
/* Footer */
footer { margin-top: 30px; background: #F5F5F7; padding: 30px 0 50px; border-top: 5px solid var(--primary-color); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.footer-text { font-size: 14px; color: var(--text-muted); line-height: 2; font-weight: 200; }
.footer-text p { margin: 5px 0; }
.footer-text a { color: #F2001D; }
.footer-badges { display: flex; align-items: center; }
.footer-badges .footer-logo { height: 66px; margin-left: 60px; }
.footer-badges .footer-saomiao { display: flex; flex-direction: column; background: #fff; padding: 5px; justify-content: center; }
.footer-badges .footer-saomiao .footer-erweima { height: 88px; margin-bottom: 5px; }
.footer-badges .footer-saomiao span { font-size: 12px; color: var(--text-muted); }