@charset "UTF-8";
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        /* 导航栏样式 */
        .navbar {
            background: linear-gradient(135deg, #feac5e, #c779d0);
            padding: 0 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 60px;
        }
        
        .logo {
            color: white;
            font-size: 28px;
            font-weight: bold;
            text-decoration: none;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-item {
            margin-left: 30px;
        }
        
        .nav-link {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 4px;
        }
        
        .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            cursor: pointer;
            position: relative;
            padding: 8px;
            background: transparent;
            border: none;
        }
        
        .hamburger span {
            display: block;
            width: 24px;
            height: 2px;
            background-color: white;
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 1px;
        }
        
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }
        
        /* 搜索区域样式 */
        .search-section {
            padding: 40px 20px;
            text-align: center;
            background: linear-gradient(135deg, #feac5e, #c779d0);
            color: white;
        }
        
        .search-container {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .search-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .search-box {
            display: flex;
            margin-top: 20px;
        }
        
        .search-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            font-size: 16px;
        }
        
        .search-button {
            background: #feac5e;
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.3s ease;
        }
        
        .search-button:hover {
            background: #555;
        }
        
        /* 瀑布流图片区域样式 */
        .gallery-section {
            max-width: 1400px;
            margin: 20px auto;
            padding: 0 10px;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.6rem;
            color: #ff863d;
        }
        
        .masonry {
            column-count: 4;
            column-gap: 10px;
        }
        
        .masonry-item {
            break-inside: avoid;
            margin-bottom: 15px;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .masonry-item:hover {
            transform: translateY(-5px);
        }
        
        .masonry-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .masonry-img {
            width: 100%;
            height: auto;
            display: block;
            transition: opacity 0.3s ease;
        }

        .masonry-img:hover {
            opacity: 0.9;
        }
        
        .masonry-title {
            padding: 10px;
            text-align: center;
        }
        
        .masonry-title h3 {
            font-size: 18px;
            margin: 0;
            color: #333;
        }
        
        /* 友情链接区域样式 */
        .links-section {
            max-width: 1400px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        .links-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
        }
        
        .links-container a {
            color: #666;
            text-decoration: none;
            transition: color 0.3s ease;
            padding: 5px 10px;
        }
        
        .links-container a:hover {
            color: #c779d0;
            background-color: rgba(200, 121, 208, 0.1);
            border-radius: 4px;
        }
        
        /* 页脚样式 */
        .footer {
            background: linear-gradient(135deg, #feac5e, #d591dd); 
            color: #fff;
            text-align: center;
            padding: 20px;
            margin-top: 40px;
        }
        
        .footer a {
            color: #fff;
            text-decoration: none;
            transition: underline 0.3s ease;
        }

        .footer a:hover {
            text-decoration: underline;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .masonry {
                column-count: 3;
            }
        }
        
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }
            
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 60px;
                flex-direction: column;
                background: linear-gradient(135deg, #feac5e, #c779d0);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
                z-index: 999;
                padding: 20px 0;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-item {
                margin: 15px 0;
            }
            
            .masonry {
                column-count: 2;
            }
            
            .search-title {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 480px) {
            .masonry {
                column-count: 2;
            }
            
            .search-title {
                font-size: 1.8rem;
            }

            .logo {
                font-size: 24px;
            }
        }
        /* 面包屑导航样式 */
        .breadcrumb-section {
            padding: 20px 0;
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }
        
        .breadcrumb-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .breadcrumb {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        
        .breadcrumb-item {
            margin-right: 5px;
            font-size: 14px;
        }
        
        .breadcrumb-item:not(:last-child)::after {
            content: ">";
            margin-left: 5px;
            color: #999;
        }
        
        .breadcrumb-item a {
            color: #c779d0;
            text-decoration: none;
        }
        
        .breadcrumb-item a:hover {
            text-decoration: underline;
        }
        
        .breadcrumb-item.active {
            color: #666;
        }
        
        /* 分页导航样式 */
        .pagination-section {
            max-width: 1400px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
        }
        
        .page-item {
            margin: 0 5px;
        }
        
        .page-link {
            display: block;
            padding: 8px 15px;
            background-color: white;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            text-decoration: none;
            color: #c779d0;
            transition: all 0.3s ease;
        }
        
        .page-link:hover {
            background-color: #f5f5f5;
        }
        
        .page-item.active .page-link {
            background-color: #c779d0;
            color: white;
            border-color: #c779d0;
        }
        
        .page-item.disabled .page-link {
            color: #999;
            pointer-events: none;
            background-color: #f8f9fa;
        }
        
        /* 响应式分页调整 */
        @media (max-width: 480px) {
            .page-link {
                padding: 6px 10px;
                font-size: 14px;
            }
        }

        /* 文章页新增样式 */
        .article-container {
            max-width: 1400px;
            margin: 15px auto;
            padding: 0 10px;
            display: flex;
            gap: 10px;
        }
        
        .article-content {
            flex: 3;
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .article-title {
            font-size: 2rem;
            color: #333;
            margin-bottom: 20px;
            line-height: 1.3;
        }
        
        .article-meta {
            color: #666;
            font-size: 14px;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .article-meta span {
            margin-right: 15px;
        }
        
        .article-body {
            margin-bottom: 30px;
            line-height: 1.8;
        }
        
        .article-body p {
            margin-bottom: 15px;
        }
        
        .article-body img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
        
        .article-navigation {
            display: flex;
            justify-content: space-between;
            margin: 30px 0;
            padding: 20px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        
        .prev-article, .next-article {
            flex: 1;
        }
        
        .prev-article {
            text-align: left;
        }
        
        .next-article {
            text-align: right;
        }
        
        .article-nav-link {
            color: #c779d0;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .article-nav-link:hover {
            color: #feac5e;
            text-decoration: underline;
        }
        
        /* 相关推荐样式 */
        .related-articles {
            margin-top: 40px;
            width: 100%;
        }
        
        .related-title {
            font-size: 1.5rem;
            color: #ff863d;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f5f5f5;
        }
        
        .related-list {
            list-style: none;
            width: 100%;
        }
        
        .related-item {
            padding: 12px 0;
            border-bottom: 1px dashed #eee;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px; 
        }
        
        .related-item:last-child {
            border-bottom: none;
        }
        
        .related-title-link {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block; 
            line-height: 1.5;
            max-width: calc(100% - 100px); 
        }
        
        .related-title-link:hover {
            color: #c779d0;
            text-decoration: underline;
        }
        
        .related-date {
            color: #999;
            font-size: 14px;
            margin-left: auto; 
            flex-shrink: 0; 
        }
        
        .sidebar {
            flex: 1;
        }
        
        .sidebar-title {
            font-size: 1.5rem;
            color: #ff863d;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f5f5f5;
        }
        
        .sidebar-hot {
            column-count: 2;
            column-gap: 10px;
        }
        
        /* 响应式优化 */
        @media (max-width: 992px) {
            .article-container {
                flex-direction: column;
            }
            
            .article-title {
                font-size: 1.8rem;
            }
            
            .related-title-link {
                max-width: calc(100% - 90px);
            }
        }
        
        @media (max-width: 768px) {
            .article-content {
                padding: 10px;
            }
            
            .article-title {
                font-size: 1.6rem;
            }
            
            .article-navigation {
                flex-direction: column;
                gap: 15px;
            }
            
            .prev-article, .next-article {
                text-align: left;
            }
            
            .related-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
                padding: 15px 0;
            }
            
            .related-title-link {
                max-width: 100%; 
                width: 100%;
            }
            
            .related-date {
                margin-left: 0;
                margin-top: 2px;
                align-self: flex-start; 
                width: 100%;
            }
        }
        
        @media (max-width: 480px) {
            .article-title {
                font-size: 1.4rem;
            }
            
            .sidebar-hot {
                column-count: 2;
            }
            
            .related-item {
                padding: 12px 0;
            }
            
            .related-date {
                font-size: 13px;
            }
            
            .related-title-link {
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }