       :root {
            --tech-primary: #2c3e50;
            --tech-secondary: #3498db;
            --tech-accent: #e74c3c;
            --tech-light: #ecf0f1;
            --tech-dark: #1a2530;
        }
        
        body {
            background-color: #f8f9fa;
        }
        
        .navbar {
            background: linear-gradient(135deg, var(--tech-dark), var(--tech-primary));
            box-shadow: 0 2px 4px rgba(0,0,0,.1);
        }
        
        .news-title a {
            color: var(--tech-primary);
            text-decoration: none;
            font-weight: 600;
        }
        
        .news-title a:hover {
            color: var(--tech-secondary);
            text-decoration: underline;
        }
        
        .card {
            border: none;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            transition: box-shadow 0.3s ease-in-out;
            border-radius: 8px;
        }
        
        .card:hover {
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        }
        
        .card-header {
            background-color: var(--tech-light);
            font-weight: 600;
            border-bottom: 1px solid rgba(0,0,0,.05);
        }
        
        .badge.bg-tech-category {
            background-color: var(--tech-secondary);
        }
        
        .badge.bg-tech-tag {
            background-color: #95a5a6;
        }
        
        .footer {
            background-color: var(--tech-primary);
            color: white;
        }
        
        .footer .text-muted {
            color: rgba(255,255,255,.7) !important;
        }
        
        .page-link {
            color: var(--tech-secondary);
        }
        
        .page-link:hover {
            color: var(--tech-primary);
        }
        
        .pagination .active .page-link {
            background-color: var(--tech-secondary);
            border-color: var(--tech-secondary);
        }
        
        h1, h2, h3, h4, h5 {
            color: var(--tech-dark);
        }
        
        /* 广告位样式 */
        .ad-slot {
            background-color: #fff;
            border: 1px dashed #ddd;
            border-radius: 4px;
            padding: 15px;
            text-align: center;
            color: #999;
            min-height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .ad-slot:before {
            content: "宣传位";
            font-size: 14px;
        }
        
        .ad-slot:hover {
            background-color: #f5f5f5;
            border-color: #999;
        }
         
        /* 搜索框样式优化 */
        .navbar .form-control-sm {
            height: calc(1.5em + 0.5rem + 2px);
            padding: 0.25rem 0.5rem;
            font-size: 0.875rem;
            border-radius: 0.2rem;
        }
        
        .navbar .btn-sm {
            padding: 0.25rem 0.5rem;
            font-size: 0.875rem;
            border-radius: 0.2rem;
            white-space: nowrap;
            min-width: 50px;
        }
        
        .navbar .d-flex.align-items-center {
            margin-top: 0;
            margin-bottom: 0;
        }

        