        /* 基础样式与变量定义 */
        :root {
            --primary: #0F3460;
            --secondary: #E67E22;
            --dark: #1A1A2E;
            --light: #F5F5F7;
            --accent: #16213E;
            --white-10: rgba(255, 255, 255, 0.1);
            --white-30: rgba(255, 255, 255, 0.3);
            --white-60: rgba(255, 255, 255, 0.6);
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--light);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }


        ul {
            list-style: none;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--light);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* 布局工具类 */
        .flex {
            display: flex;
        }

        .items-center {
            align-items: center;
        }

        .justify-between {
            justify-content: space-between;
        }

        .grid {
            display: grid;
        }

        .md\:grid-cols-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .lg\:grid-cols-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .lg\:grid-cols-4 {
            grid-template-columns: repeat(4, 1fr);
        }

        .gap-4 {
            gap: 1rem;
        }

        .gap-8 {
            gap: 2rem;
        }

        .gap-12 {
            gap: 3rem;
        }

        .space-y-3 > * + * {
            margin-top: 0.75rem;
        }

        .space-y-4 > * + * {
            margin-top: 1rem;
        }

        .space-y-6 > * + * {
            margin-top: 1.5rem;
        }

        /* 组件样式 */
        /* 导航栏 */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            padding: 1rem 0;
            transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
            background-color: transparent;
        }

        .navbar.scrolled {
            background-color: var(--primary);
            opacity: 0.95;
            backdrop-filter: blur(4px);
            box-shadow: var(--shadow-lg);
            padding: 0.75rem 0;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .nav-logo-icon {
            background-color: var(--primary);
            color: white;
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .navbar.scrolled .nav-logo-icon {
            background-color: var(--secondary);
        }

        .nav-logo-text {
            font-size: 1.25rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-menu-link {
            color: white;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-menu-link:hover {
            color: var(--secondary);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        /* 按钮样式 */
        .btn {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 999px;
            font-weight: 500;
            transition: var(--transition);
            text-align: center;
        }

        .btn-primary {
            background-color: var(--secondary);
            color: white;
            font-weight: 600;
            box-shadow: var(--shadow-lg);
        }

        .btn-primary:hover {
            background-color: #d35400;
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        .btn-secondary {
            background-color: var(--white-10);
            backdrop-filter: blur(4px);
            color: white;
            border: 1px solid var(--white-30);
        }

        .btn-secondary:hover {
            background-color: var(--white-30);
        }

        .btn-lg {
            padding: 1rem 2rem;
            font-size: 1.125rem;
        }

        /* 移动端菜单 */
        .menu-toggle {
            display: none;
            color: white;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: var(--primary);
            opacity: 0.95;
            backdrop-filter: blur(4px);
            padding: 1rem 0;
        }

        .mobile-menu-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .mobile-menu-link {
            color: white;
            padding: 0.5rem 0;
            border-bottom: 1px solid #333;
            transition: color 0.3s;
        }

        .mobile-menu-link:hover {
            color: var(--secondary);
        }

        .mobile-menu-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }



        /* 主内容区样式 */
.content-topimg img{max-width:100%}
        /* 面包屑导航 */
        .breadcrumb {
            margin-bottom: 2rem;
            padding: 0.75rem 0;
            color: #666;
            font-size: 0.9rem;
        }

        .breadcrumb a {
            color: #666;
        }

        .breadcrumb a:hover {
            color: var(--primary);
        }

        .breadcrumb span {
            margin: 0 0.5rem;
            color: #999;
        }

        .breadcrumb .current {
            color: var(--primary);
            font-weight: 500;
        }

        /* 页面标题 */
        .page-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--secondary);
        }

        /* 内容布局 */
        .content-wrapper {
            display: flex;
            gap: 2rem;
        }

        .article-list-container {
            flex: 3;
        }

        .sidebar {
            flex: 1;
        }

        /* 文章列表样式 */
        .article-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .article-item {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .article-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .article-image {
            width: 200px;
            height: 140px;
            object-fit: cover;
            border-radius: 0.5rem;
            flex-shrink: 0;
        }

        .article-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .article-category {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background-color: #dbeafe;
            color: #1e40af;
            border-radius: 999px;
            font-size: 0.75rem;
            margin-bottom: 0.5rem;
            width: fit-content;
        }

        .article-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.75rem;
            transition: color 0.3s;
        }

        .article-title:hover {
            color: var(--secondary);
        }

        .article-excerpt {
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1;
        }

        .article-meta {
            display: flex;
            align-items: center;
            color: #999;
            font-size: 0.85rem;
        }

        .article-date {
            display: flex;
            align-items: center;
        }

        .article-date i {
            margin-right: 0.25rem;
            font-size: 0.8rem;
        }

        .article-views {
            display: flex;
            align-items: center;
            margin-left: 1.5rem;
        }

        .article-views i {
            margin-right: 0.25rem;
            font-size: 0.8rem;
        }

        /* 分页样式 */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 3rem;
        }

        .pagination a, .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.375rem;
            transition: var(--transition);
        }

        .pagination a {
            background-color: white;
            border: 1px solid #eee;
        }

        .pagination a:hover {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .pagination .current {
            background-color: var(--primary);
            color: white;
            border: 1px solid var(--primary);
        }

        .pagination .prev, .pagination .next {
            width: auto;
            padding: 0 1rem;
        }

        /* 侧边栏样式 */
        .sidebar-widget {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: var(--shadow);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .widget-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--secondary);
        }

        .sidebar-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .sidebar-item {
            display: flex;
            gap: 0.75rem;
            transition: transform 0.3s;
        }

        .sidebar-item:hover {
            transform: translateX(5px);
        }

        .sidebar-item-image {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 0.375rem;
            flex-shrink: 0;
        }

        .sidebar-item-content {
            flex: 1;
        }

        .sidebar-item-title {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--primary);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 0.25rem;
        }

        .sidebar-item-date {
            font-size: 0.75rem;
            color: #999;
        }

        /* 无缩略图的最新文章样式 */
        .latest-articles .sidebar-item {
            display: block;
            padding-bottom: 0.75rem;
            border-bottom: 1px dashed #eee;
        }
        
        .latest-articles .sidebar-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .latest-articles .sidebar-item-title {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        /* 页脚样式 */
        .footer {
            background-color: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .footer-logo-icon {
            background-color: var(--secondary);
            color: white;
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .footer-logo-text {
            font-size: 1.25rem;
            font-weight: bold;
        }

        .footer-description {
            color: #aaa;
            margin-bottom: 1.5rem;
        }

        .footer-title {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-link {
            color: #aaa;
            transition: color 0.3s;
        }

        .footer-link:hover {
            color: var(--secondary);
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
        }

        .contact-item i {
            color: var(--secondary);
            margin-right: 0.75rem;
            margin-top: 0.25rem;
        }

        .contact-item span {
            color: #aaa;
        }

        .contact-cta {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1.25rem;
            background-color: var(--secondary);
            color: white;
            border-radius: 0.5rem;
            font-weight: 500;
            transition: var(--transition);
        }

        .contact-cta i {
            margin-right: 0.5rem;
        }

        .contact-cta:hover {
            background-color: #d35400;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background-color: var(--white-10);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }

        .social-link:hover {
            background-color: var(--secondary);
        }

        .footer-divider {
            border-top: 1px solid #333;
            padding: 2rem 0;
            margin-bottom: 2rem;
        }

        .risk-disclaimer {
            background-color: var(--white-10);
            padding: 1.5rem;
            border-radius: 0.75rem;
        }

        .disclaimer-title {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--secondary);
            margin-bottom: 0.75rem;
        }

        .disclaimer-text {
            color: #aaa;
            font-size: 0.875rem;
        }

        .footer-copyright {
            border-top: 1px solid #333;
            padding-top: 2rem;
            text-align: center;
            color: #777;
            font-size: 0.875rem;
        }
        

        /* 响应式调整 */
        @media (max-width: 1024px) {
            .nav-menu, .nav-actions {
                display: none;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .mobile-menu.show {
                display: block;
            }

            .content-wrapper {
                flex-direction: column;
            }

            .article-item {
                flex-direction: column;
            }

            .article-image {
                width: 100%;
                height: 200px;
            }
            
        }

        @media (max-width: 640px) {
            .article-image {
                height: 160px;
            }

            .page-title {
                font-size: 1.5rem;
            }

            .sidebar-item {
                flex-direction: column;
            }

            .sidebar-item-image {
                width: 100%;
                height: 120px;
            }
        }

        @media (min-width: 1025px) {
            .mobile-menu {
                display: none !important;
            }
        }
        
        
                /* 底部悬浮广告 - 修复关闭按钮样式和功能 */
        .floating-ad {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--primary);
            z-index: 50;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
            transform: translateY(100%);
            transition: transform 0.3s ease-out;
        }

        .floating-ad.show {
            transform: translateY(0);
        }

        /* 修复关闭按钮样式，确保可点击 */
        .ad-close {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10; /* 确保在广告内容上方 */
            transition: background-color 0.3s;
        }

        .ad-close:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

        .ad-content {
            padding: 1rem 0;
            padding-right: 3rem; /* 给关闭按钮留出空间 */
        }

        .ad-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        @media (min-width: 768px) {
            .ad-container {
                flex-direction: row;
                justify-content: space-between;
            }
            .ad-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
        }

        .ad-text {
            color: white;
            margin-bottom: 1rem;
            text-align: center;
        }

        @media (min-width: 768px) {
            .ad-text {
                margin-bottom: 0;
                margin-right: 1rem;
                text-align: left;
            }
        }

        .ad-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            width: 100%;
        }

        @media (min-width: 640px) {
            .ad-actions {
                flex-direction: row;
                width: auto;
            }
        }

        .ad-primary {
            display: block;
            padding: 0.75rem 1.5rem;
            background-color: var(--secondary);
            color: white;
            border-radius: 0.5rem;
            font-weight: 600;
            text-align: center;
            transition: var(--transition);
        }

        .ad-primary:hover {
            background-color: #d35400;
        }

        .ad-secondary {
            display: block;
            padding: 0.75rem 1.5rem;
            background-color: var(--white-10);
            color: white;
            border: 1px solid var(--white-30);
            border-radius: 0.5rem;
            font-weight: 500;
            text-align: center;
            transition: var(--transition);
        }

        .ad-secondary:hover {
            background-color: var(--white-30);
        }

        /* 响应式调整 */
        @media (max-width: 1024px) {
            .nav-menu, .nav-actions {
                display: none;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .mobile-menu.show {
                display: block;
            }
        }

        @media (min-width: 1025px) {
            .mobile-menu {
                display: none !important;
            }
        }