/* --- 全局重置与基础样式 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* 防止横向滚动条 */
    width: 100%;
    max-width: 100%;
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 所在位置 */
.location-position {
    font-weight: 400;
    /* font-size: 16px; */
    line-height: 30px;
    color: #999999;
    display: block;
    
}

.location-position a {
    color: #999999;
    }


.project-management-box {
    position: fixed;
    top: 40%;
    right: 10px;
    width: 80px;
    height: 80px;
    background-color: #0054a3;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 8px;
    z-index: 3;
}
.project-management-box a{
    color: #fff;
    font-size: 16px;
}

/* --- 响应式适配 --- */
@media (max-width: 768px) {
    /* 移动端页面左右留10px的padding */
    body {
        padding-left: 10px;
        padding-right: 10px;
    }
    .project-management-box {
        display: none;
    }

    /* 移动端：导航抽屉打开时显示遮罩层（不新增 DOM，用伪元素实现） */
    body.nav-drawer-open::before {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        top: 0; /* 全屏遮罩：覆盖整个视口 */
        bottom: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 998; /* 低于抽屉（nav-bar: 999），高于页面其它内容 */
        pointer-events: auto; /* 拦截点击，点击遮罩由 JS 的“点击空白关闭”逻辑处理 */
    }
}

