@charset "UTF-8";
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            line-height: 1.6;
            background: linear-gradient(135deg, #f3a183 0%, #ec6f66 100%);
            min-height: 100vh;
        }

        /* 导航栏样式 */
        .navbar {
            background: linear-gradient(135deg, #ec6f66 0%, #f3a183 100%);
            padding: 1rem 0;
            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;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            padding-bottom: 5px;
        }

        /* 导航菜单下划线效果 */
        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: white;
            transition: width 0.3s ease;
        }

        .nav-menu a:hover {
            color: #ffe;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* 搜索区域 */
        .search-section {
            text-align: center;
            padding: 5rem 0;
            background: rgba(255,255,255,0.1);
            margin-bottom: 2rem;
        }

        .search-container {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .search-title {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .search-box {
            display: flex;
            gap: 0;
        }

        .search-input {
            flex: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 25px 0 0 25px;
            font-size: 1rem;
            outline: none;
        }

        .search-btn {
            padding: 15px 30px;
            background: #ec6f66;
            color: white;
            border: none;
            border-radius: 0 25px 25px 0;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }

        .search-btn:hover {
            background: #d45a52;
        }

        /* 瀑布流 */
        .gallery-section {
            max-width: 1400px;
            margin: 0 auto 3rem;
            padding: 0 10px;
        }

        .gallery-title {
            color: white;
            text-align: center;
            margin-bottom: 2rem;
            font-size: 2rem;
        }

        .masonry-grid {
            column-count: 4;
            column-gap: 10px;
        }

        .masonry-item {
            break-inside: avoid;
            margin-bottom: 15px;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: transform 0.3s;
        }

        .masonry-item:hover {
            transform: translateY(-5px);
        }

        .masonry-item a {
            text-decoration: none;
            color: inherit;
        }

        .masonry-img {
            width: 100%;
            height: auto;
            display: block;
        }

        .masonry-title {
            padding: 10px;
            text-align: center;
        }

        .masonry-title h3 {
            font-size: 1.1rem;
            color: #333;
            margin: 0;
        }

        /* 友情链接 */
        .links-section {
            background: rgba(255,255,255,0.9);
            padding: 1.5rem 0;
            text-align: center;
        }

        .links-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .links-title {
            color: #ec6f66;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .links-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .links-grid a {
            color: #666;
            text-decoration: none;
            transition: color 0.3s;
        }

        .links-grid a:hover {
            color: #ec6f66;
        }

        /* 页脚区域 */
        .footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 1rem 0;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer a {
            color: #ffe;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .masonry-grid {
                column-count: 3;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background: linear-gradient(135deg, #ec6f66 0%, #f3a183 100%);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 27px rgba(0,0,0,0.05);
                padding: 2rem 0;
            }

            .nav-menu.active {
                left: 0;
            }

            .masonry-grid {
                column-count: 2;
            }

            .search-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .masonry-grid {
                column-count: 2;
            }
            
            .search-title {
                font-size: 1.8rem;
            }
            
            .search-input, .search-btn {
                padding: 12px 15px;
            }
        }

        /* 面包屑导航样式 */
        .breadcrumbs-section {
            background: rgba(255,255,255,0.1);
            padding: 1rem 0;
            margin-bottom: 1rem;
        }

        .breadcrumbs-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .breadcrumbs {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            color: white;
        }

        .breadcrumbs li {
            display: inline-block;
        }

        .breadcrumbs li:not(:last-child)::after {
            content: "/";
            margin-left: 0.5rem;
            color: rgba(255,255,255,0.7);
        }

        .breadcrumbs a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .breadcrumbs a:hover {
            opacity: 0.8;
        }

        /* 分页导航样式 */
        .pagination-section {
            background: rgba(255,255,255,0.9);
            padding: 1.5rem 0;
            text-align: center;
        }

        .pagination-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .pagination {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            list-style: none;
        }

        .pagination a,
        .pagination span {
            display: inline-block;
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            color: #666;
            background: white;
            border: 1px solid #eee;
            transition: all 0.3s;
        }

        .pagination a:hover {
            background: #ec6f66;
            color: white;
            border-color: #ec6f66;
        }

        .pagination .current {
            background: #ec6f66;
            color: white;
            border-color: #ec6f66;
            font-weight: bold;
        }

        /* 文章页样式 */
        .article-container {
            max-width: 1400px;
            margin: 0 auto 3rem;
            padding: 0 10px;
            display: flex;
            gap: 0.5rem;
        }

        .article-main {
            flex: 3;
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .article-title {
            color: #333;
            font-size: 1.6rem;
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }

        .article-meta {
            color: #666;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }

        .article-content {
            color: #333;
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .article-content p {
            margin-bottom: 0.5rem;
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
        }

        /* 上一篇下一篇样式优化*/
        .article-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 2rem 0;
            padding: 1rem 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .article-nav-prev {
            color: #ec6f66;
            text-decoration: none;
            transition: opacity 0.3s;
            min-width: 120px;
        }

        .article-nav-next {
            color: #ec6f66;
            text-decoration: none;
            transition: opacity 0.3s;
            min-width: 120px;
            text-align: right; 
        }

        .article-nav-prev:hover,
        .article-nav-next:hover {
            opacity: 0.8;
        }

        .related-posts {
            margin-top: 2rem;
        }

        .related-title {
            color: #333;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #ec6f66;
        }

        .related-list {
            list-style: none;
        }

        .related-item {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .related-item:last-child {
            border-bottom: none;
        }

        .related-link {
            color: #333;
            text-decoration: none;
            transition: color 0.3s;
            flex: 1;
            min-width: 150px;
        }

        .related-link:hover {
            color: #ec6f66;
        }

        .related-meta {
            color: #999;
            font-size: 0.9rem;
            margin-top: 0; 
            white-space: nowrap;
        }

        .sidebar {
            flex: 1;
        }

        .sidebar-title {
            color: #d45a52;
            font-size: 1.5rem;
            margin-bottom: 1rem;
			padding-top: 10px;
        }

        .sidebar-masonry {
            column-count: 2;
            column-gap: 10px;
        }

        /* 侧边栏样式 */
        .sidebar-wrapper {
            background: white;
            border-radius: 10px;
            padding: 0.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        @media (max-width: 768px) {
            .article-container {
                flex-direction: column;
            }
            
        .article-main {
            padding: 1rem;
        }
			
            .article-title {
                font-size: 1.5rem;
            }

            .related-item {
                align-items: flex-start;
            }

            .related-meta {
                white-space: normal;
                margin-top: 0.3rem;
            }

            .article-nav-prev,
            .article-nav-next {
                min-width: auto;
                flex: 1; 
            }
        }

        @media (max-width: 480px) {
            .article-navigation {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.8rem;
            }

            .article-nav-prev,
            .article-nav-next {
                min-width: auto;
                text-align: left; 
                width: 100%;
            }
        }