* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        body {
            line-height: 1.6;
            color: #333;
            background-color: #f5f5f5;
        }

       .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        header {
            background-color: #06c;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            position: relative;
        }

       .logo {
            font-size: 20px;
            font-weight: normal;
            color: white;
            text-decoration: none;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

       .nav-links {
            display: flex;
            list-style: none;
            transition: all 0.3s ease;
        }

       .nav-links li {
            margin-left: 20px;
            position: relative;
        }

       .nav-links a {
            text-decoration: none;
            color: white;
            transition: all 0.3s;
            padding: 8px 12px;
            border-radius: 4px;
        }

       .nav-links a:hover {
            color: #0066cc;
            background-color: rgba(0, 102, 204, 0.1);
        }

        /* 重点显示第三个导航项，电脑端背景色为白色 */
       .nav-links li:nth-child(3) a {
            background-color: white;
            color: #06c;
            font-weight: 500;
        }

       .nav-links li:nth-child(3) a:hover {
            background-color: #e6e6e6;
        }

        /* 汉堡菜单按钮 */
       .hamburger {
            display: none;
            cursor: pointer;
            position: absolute;
            top: 15px;
            right: 15px;
            z-index: 100;
        }

       .hamburger div {
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 5px;
            transition: all 0.3s ease;
        }

        /* 新增：定义展开后的汉堡菜单按钮样式 */
       .hamburger.active div {
            background-color: black;
        }

        /* 汉堡菜单激活状态 */
       .hamburger.active div:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

       .hamburger.active div:nth-child(2) {
            opacity: 0;
        }

       .hamburger.active div:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

       .main-content {
            display: flex;
            margin: 30px 0;
        }

       .article-container {
            flex: 3;
            background: #fff;
            padding: 30px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* h1标题居中 */
        h1 {
            font-size: 28px;
            margin-bottom: 20px;
            color: #222;
            text-align: center; /* 新增：标题居中 */
        }

        h2 {
            margin-bottom: 20px;
        }

        h3 {
            margin-bottom: 12px;
        }

       .article-meta {
            color: #777;
            font-size: 14px;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
            text-align: center; /* 新增：元信息居中 */
        }

       .article-content {
            font-size: 16px;
            line-height: 1.8;
        }

       .article-content p {
            margin-bottom: 15px;
        }

       .article-content img {
            max-width: 100%;
            height: auto;
            margin: 15px auto; /* 修改：图片居中 */
            border-radius: 3px;
            display: block; /* 新增：使图片居中生效 */
        }

       .sidebar {
            flex: 1;
            margin-left: 30px;
        }

       .widget {
            background: #fff;
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        footer {
            background: #06c;
            color: white;
            padding: 30px 0;
            text-align: center;
            margin-top: 30px;
        }

       .footer-text {
            margin-bottom: 10px;
        }

       .copyright {
            font-size: 14px;
            color: white;
        }

        /* 关闭按钮默认隐藏 */
       .close-nav {
            display: none;
        }

        @media (max-width: 768px) {
           .main-content {
                flex-direction: column;
            }

           .sidebar {
                margin-left: 0;
                margin-top: 30px;
            }

            /* 响应式导航样式 */
           .hamburger {
                display: block;
            }

           .nav-links {
                position: fixed;
                right: -100%;
                top: -158px;
                height: 100vh;
                width: 70%;
                max-width: 300px;
                background: #fff;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 20px;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                z-index: 99;
            }

           .nav-links li {
                margin: 15px 0;
                margin-left: 0;
            }

           .nav-links.active {
                right: 0;
            }

            /* 第三个导航项在小屏幕上的样式，背景色为蓝色 */
           .nav-links li:nth-child(3) a {
                background-color: #06c;
                color: white;
                padding: 10px 20px;
                display: inline-block;
            }

           .nav-links li:nth-child(3) a:hover {
                background-color: #0052a3;
            }

            /* 小屏幕下导航链接字体颜色设置为黑色 */
           .nav-links a {
                color: black;
            }

            /* 移除小屏幕下关闭按钮的显示样式 */
           .close-nav {
                display: none;
            }
        }

       .no-bullets {
            list-style-type: none;
            padding-left: 0;
        }

       .widget {
            background-color: #f9f9f9;
            padding: 10px;
            margin-bottom: 20px;
        }

       .widget ul.no-bullets a {
            text-decoration: none;
            display: block;
            margin: 8px 0;
            color: black;
        }

       .widget div a {
            text-decoration: none;
            margin: 5px;
            color: black;
        }

        /* 为相关文章和标签云标题添加蓝色背景，去掉加粗，设置字号与导航一致 */
       .widget h3 {
            background-color: #06c;
            color: white;
            padding: 5px;
            margin: 0 -10px 10px -10px;
            padding-left: 15px;
            font-weight: normal;
            font-size: inherit;
        }

        /* 为相关文章的列表移除默认样式，设置自定义计数器 */
       .widget ul.no-bullets {
            list-style-type: none;
            padding-left: 20px;
            counter-reset: my-counter;
        }

       .widget ul.no-bullets li {
            position: relative;
            padding-left: 25px;
            counter-increment: my-counter;
        }

       .widget ul.no-bullets li::before {
            content: counter(my-counter) ". ";
            position: absolute;
            left: 0;
            font-weight: bold;
            color: var(--random-color);
        }