@charset "UTF-8";
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background-color: #f8f8f8;
            color: #333;
            line-height: 1.6;
        }
        
        /* 导航栏样式 */
        .navbar {
            background: linear-gradient(135deg, #2f2f8d 0%, #243e81 100%);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }
        
        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #fff; 
            text-decoration: none;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
        }
        
        .logo span {
            color: #f1f1f1;
            margin-left: 5px;
        }
        
        .logo-icon {
            margin-right: 8px;
            font-size: 24px;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #f1f1f1;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }
        
        .nav-links a:hover {
            color: #ff6b81;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #ff6b81;
            transition: width 0.3s;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .mobile-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: #f1f1f1;
        }
        
        /* 瀑布流样式 */
        .container {
            max-width: 1400px;
            margin: 30px auto;
            padding: 0 10px;
        }
        
        .section-title {
            text-align: center;
            margin: 40px 0 30px;
            font-size: 36px;
            color: #323283;
            position: relative;
            font-weight: 600;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: #ff6b81;
            margin: 15px auto;
            border-radius: 2px;
        }
        
        .gallery {
            column-count: 4;
            column-gap: 10px;
        }
        
        .gallery-item {
            break-inside: avoid;
            margin-bottom: 20px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background: #fff;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }
        
        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }
        
        .gallery-img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.05);
        }
        
        .gallery-title {
            padding: 15px;
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            color: #16213e;
            background: #fff;
            margin: 0;
        }
        
        /* 图片和标题分开的链接样式 */
        .gallery-img-link, .gallery-title-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .gallery-title-link:hover {
            text-decoration: none;
            color: inherit;
        }
        
        .gallery-img-link:hover {
            text-decoration: none;
        }
        
        /* 友情链接样式 */
        .links-section {
            background: #f8f8f8;
            padding: 30px 0;
            margin-top: 40px;
            text-align: center;
        }
        
        .links-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .links-title {
            font-size: 20px;
            color: #16213e;
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .links-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
        }
        
        .links-list a {
            color: #555;
            text-decoration: none;
            transition: color 0.3s;
            font-size: 15px;
        }
        
        .links-list a:hover {
            color: #ff6b81;
        }
        
        /* 页脚样式 */
        footer {
            background: #323283;
            color: #f1f1f1;
            padding: 10px 0 15px;
            text-align: center;
        }
        
        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .copyright {
            font-size: 14px;
            color: #fff;
            margin-top: 15px;
        }
        
        .copyright a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .copyright a:hover {
            color: #ff6b81;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .gallery {
                column-count: 3;
            }
        }
        
        @media (max-width: 768px) {
            .gallery {
                column-count: 2;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: #1b1b49;
                flex-direction: column;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links li {
                margin: 0;
                padding: 15px 15px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .mobile-toggle {
                display: block;
            }
        }
        
        @media (max-width: 576px) {
            .gallery {
                column-count: 2;
            }
            
            .section-title {
                font-size: 28px;
            }
        }
        
        /* 新增样式 - 面包屑导航 */
        .breadcrumb-container {
            max-width: 1400px;
            margin: 20px auto 0;
            padding: 0 10px;
        }
        
        .breadcrumb {
            background: #fff;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            font-size: 15px;
        }
        
        .breadcrumb a {
            color: #323283;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .breadcrumb a:hover {
            color: #ff6b81;
        }
        
        .breadcrumb span {
            color: #666;
            margin: 0 8px;
        }
        
        .breadcrumb .current {
            color: #ff6b81;
            font-weight: 500;
        }
        
        /* 新增样式 - 分页导航（无框包裹） */
        .pagination-container {
            max-width: 1400px;
            margin: 30px auto 50px;
            padding: 0 20px;
            text-align: center;
        }
        
        .pagination {
            display: inline-flex;
            gap: 5px;
        }
        
        .pagination a, .pagination span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .pagination a {
            color: #323283;
            background: #f0f0f0;
        }
        
        .pagination a:hover {
            background: #ff6b81;
            color: #fff;
            transform: translateY(-2px);
        }
        
        .pagination .current {
            background: #323283;
            color: #fff;
        }
        
        .pagination .dots {
            color: #999;
            background: transparent;
        }

        /* 以下为文章页新增样式 */
        /* 文章内容区域布局 */
        .article-container {
            max-width: 1400px;
            margin: 30px auto;
            padding: 0 10px;
            display: flex;
            gap: 30px;
        }
        
        /* 左侧文章内容区 */
        .article-content {
            flex: 3;
            background: #fff;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .article-header {
            margin-bottom: 25px;
        }
        
        .article-title {
            font-size: 28px;
            color: #323283;
            margin-bottom: 15px;
            line-height: 1.3;
        }
        
        .article-meta {
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .article-meta i {
            color: #ff6b81;
            margin-right: 5px;
        }
        
        .article-divider {
            height: 2px;
            background: #f0f0f0;
            margin: 20px 0 30px;
        }
        
        .article-body {
            font-size: 16px;
            line-height: 1.8;
            color: #333;
        }
        
        .article-body p {
            margin-bottom: 20px;
        }
        
        .article-body img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
        
        /* 上下篇导航 */
        .article-navigation {
            margin: 40px 0;
            display: flex;
            justify-content: space-between;
            padding-top: 20px;
            border-top: 1px solid #f0f0f0;
        }
        
        .article-nav-link {
            color: #323283;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: color 0.3s;
        }
        
        .article-nav-link:hover {
            color: #ff6b81;
        }
        
        .prev-link {
            justify-content: flex-start;
        }
        
        .next-link {
            justify-content: flex-end;
        }
        
        /* 相关推荐 */
        .related-posts {
            margin-top: 50px;
        }
        
        .related-title {
            font-size: 20px;
            color: #323283;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff6b81;
            display: inline-block;
        }
        
        .related-list {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding-bottom: 10px;
        }
        
        .related-item {
            min-width: 250px;
        }
        
        /* 右侧边栏 */
        .sidebar {
            flex: 1;
        }
        
        .sidebar-title {
            font-size: 20px;
            color: #323283;
            margin: 0 0 20px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff6b81;
            display: inline-block;
        }
        
        .sidebar-section {
            background: #fff;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
        
        .popular-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .article-container {
                flex-direction: column;
            }
            
            .sidebar {
                order: 2;
            }
            
            .article-content {
                order: 1;
            }
        }
        
        @media (max-width: 768px) {
            .article-content {
                padding: 20px;
            }
            
            .article-title {
                font-size: 24px;
            }
            
            .article-navigation {
                flex-direction: column;
                gap: 15px;
            }
            
            .next-link {
                justify-content: flex-start;
            }
            
            /* 相关推荐在平板端改为3列布局 */
            .related-list {
                display: block;
                column-count: 3;
                column-gap: 20px;
                overflow-x: visible;
            }
            
            .related-item {
                min-width: auto;
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            /* 相关推荐在手机端改为1列布局*/
            .related-list {
                column-count: 1;
            }
        }