a { text-decoration: none; }

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .body {
            background: #ffffff;
            min-height: 100vh;
            color: #333333;
        }
        
        /* 导航栏样式 */
        .navbar {
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: #2c3e50;
            text-decoration: none;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 35px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #555555;
            font-weight: 600;
            font-size: 1rem;
            transition: color 0.3s ease;
            position: relative;
        }
        
        .nav-links a:hover {
            color: #3498db;
        }
        
        .nav-links a.active {
            color: #3498db;
        }
        
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #3498db;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .header h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            color: #2c3e50;
            font-weight: 800;
        }
        
        .header p {
            font-size: 1.2rem;
            color: #7f8c8d;
        }
        
        /* 头条新闻样式 */
        .featured-news {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            margin-bottom: 40px;
            border: 1px solid #f0f0f0;
        }
        
        .featured-content {
            padding: 35px;
        }
        
        .featured-category {
            background: #e74c3c;
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
            margin-bottom: 20px;
            display: inline-block;
        }
        
        .featured-title {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 20px;
            color: #2c3e50;
            line-height: 1.3;
        }
        
        .featured-summary {
            color: #7f8c8d;
            line-height: 1.7;
            font-size: 1.1rem;
            margin-bottom: 25px;
        }
        
        /* 新闻列表网格布局 */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 25px;
            margin-bottom: 50px;
        }
        
        .news-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 3px 15px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            height: 180px;
            border: 1px solid #f5f5f5;
        }
        
        .news-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }
        
        .news-image {
            width: 160px;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        
        .news-card:hover .news-image {
            transform: scale(1.03);
        }
        
        .news-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .news-category {
            display: inline-block;
            background: #3498db;
            color: white;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: bold;
            margin-bottom: 12px;
            align-self: flex-start;
        }
        
        .news-category.tech {
            background: #9b59b6;
        }
        
        .news-category.sports {
            background: #e67e22;
        }
        
        .news-category.culture {
            background: #27ae60;
        }
        
        .news-category.health {
            background: #e74c3c;
        }
        
        .news-category.education {
            background: #f39c12;
        }
        
        .news-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #2c3e50;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-summary {
            color: #7f8c8d;
            line-height: 1.5;
            font-size: 0.9rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #f0f0f0;
        }
        
        .news-date {
            color: #95a5a6;
            font-size: 0.8rem;
        }
        
        .news-source {
            color: #95a5a6;
            font-weight: 600;
            font-size: 0.8rem;
        }
        
        .footer {
            text-align: center;
            color: #7f8c8d;
            padding: 30px 20px;
            border-top: 1px solid #f0f0f0;
            margin-top: 40px;
        }
        
        /* 移动端响应式调整 */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                gap: 20px;
            }
            
            .nav-links {
                gap: 25px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .news-grid {
                grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 40px;
            padding: 0 10px;
            width: 100%;
                box-sizing: border-box;
            }
            
            .news-card {
                flex-direction: column;
                height: auto;
                margin: 0 auto;
                max-width: 400px;
            }
            
            .news-image {
                width: 100%;
                height: 160px;
            }
            
            .header h1 {
                font-size: 2.2rem;
            }
            
            .featured-title {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 480px) {
            .nav-links {
                gap: 15px;
            }
            
            .nav-links a {
                font-size: 0.9rem;
            }
            
            .header h1 {
                font-size: 1.8rem;
            }
            
            .header p {
                font-size: 1rem;
            }
            
            .container {
                padding: 20px 10px;
            }
        }
        
        
        