html {
    font-size: 18px;
    /* background-color: rgb(207, 243, 202); */
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
     url('../Image/Background/jihetu-0-0.jpg');
    background-size: cover;
    font-family: "华文中宋";
}

body {
    background-color: rgba(255, 255, 255, 0.5);
}

/*
    ==============顶部导航栏========================
*/
/* 1. 容器：使用 Flex 布局，轻松实现左右分布、垂直居中 */
.title {
    background-color: rgb(255, 255, 255, 0.7);
    /* 如果想让整个条都吸顶，保留在这里；如果只想菜单吸顶，移下去 */
    /* position: sticky; */
    top: 0;
    z-index: 100;
    /* 确保导航栏在最上层 */
    width: 100%;
    /* Flex 核心代码 */
    display: flex;
    align-items: center;
    /* 垂直居中 */
    /* justify-content: space-between; 如果想让两端对齐可以用这个，或者用 margin-left: auto */

    padding: 0 10px;
    /* 用 padding 代替 margin */
    box-sizing: border-box;
    /* 确保 padding 不会撑大宽度 */

    /* border: 1px solid rgb(105, 105, 105); */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

/* 2. Logo 部分 */
.title>p {
    font-family: "宋体";
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    /* 不需要设置宽高和 line-height 了，Flex 会帮你居中 */
    flex-shrink: 0;
    /* 防止空间不足时被压缩 */
    cursor: pointer;
}
@media(max-width:50rem){
    .title>p{
        display:none;
    }
    .title{
        height: 3rem;
    }
}
@media (max-width:34rem) {
    .title{
        height: auto;
    }
}

/* 3. 菜单列表 */
.title>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    /* 让 li 横向排列 */
    flex-wrap: wrap;
    align-items: center;

    /* 分割线 */
    border-left: 1px solid rgb(105, 105, 105);
    padding-left: 15px;
    /* 给分割线留点空隙 */
    margin-left: 70px;
    /* 和左边文字拉开距离 */
}

/* 4. 菜单项 */
.title li {
    /* display: inline-block; 不需要了 */
    margin: 0 10px;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* 5. 链接样式 */
.title li>a {
    text-decoration: none;
    color: black;
    display: block;
    /* 让链接填满 li，点击区域更大 */
    padding: 5px 10px;
    /* 用 padding 增加点击区域 */
    font-size: 1rem;
}

/* 6. 悬停效果：加上作用域 */
.title li:hover {
    background-color: rgb(174, 174, 175);
    border-radius: 5px;
    cursor: pointer;
}

/*
==========================侧边导航======================
*/
/*左边导航栏跟右边内容块的父容器 */
.contianer {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.left-navigation {
    background-color: rgb(255, 255, 255,0.7);
    display: flex;
    flex-shrink: 0;

    /*以下为：最小高度为视口的百分之92，最高也是，如果超过了这个高度则出现滚动条*/
    min-height: 90dvh;
    /* dvh/vh : 视口单位，1vh/dvh表示当前视口的百分之1，100dvh：100% */
    max-height: 90dvh;
    overflow-y: auto;

    width: 300px;
    min-width:15%;
    /* border-right: 1px solid gray; */
    border-radius: 10px;
    /* background-color: rgb(233, 131, 131); */
    scroll-behavior: auto;
    margin-left: 10rem;
    box-shadow: 0px 2px 8px black;
}

/*
    @media - 媒体查询：用于区分不同媒体类型（如屏幕宽度、打印等），
    在css3中被扩展为“媒体查询”支持更精细的条件判断
    以下是说明当屏幕最大宽度小于 900 像素时，将 .left-navigation 的样式更改。
*/
@media (max-width:900px) {
    .left-navigation {
        width: 30%;
        margin-left: 0rem;
    }
}

.left-navigation>ul {
    margin-top: 40px;
    margin-right: 20px;
    list-style-type: none;
}

.left-navigation>#left-nav>li,
.left-navigation>#left-nav>li>a {
    /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
    margin-left: -20px;
    margin-top: 0.4rem;
    /* font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
    font-family: "宋体";
    font-weight: 700;
    cursor: pointer;
}

.left-navigation>#left-nav>li>a {
    margin-left: 0rem;
}

.left-navigation a {
    text-decoration: none;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-weight: 500;
    white-space: nowrap;
}

.left-navigation ol {
    list-style-type: disc;
    list-style-type: none;
}

.left-navigation ol>li{
margin-top: 0.4rem;
}

.left-navigation a:hover {
    background-color: rgb(174, 174, 175);
}

.left-navigation details>summary:hover {
    background-color: rgb(174, 174, 175);
    cursor: pointer;
    border-radius: 5px;
}

/*
=========================右侧 数据块==========================
*/

.data {
    background-color: rgb(255, 255, 255,0.7);
    padding: 10px 10px 10px 20px;
    margin-left: 10px;
    /* display: flex; */
    flex: 1;
    /* border-left: 1px solid gray; */
    border-radius: 10px;
    min-height: 88dvh;
    max-height: 88dvh;
    overflow-y: auto;
    /* white-space: nowrap; */
    line-height: 2rem;
    box-shadow: 0px 2px 8px black;
}

.data div {
    border-bottom: 1px solid gray;
    margin-top: 1rem;
}

.data img {
    max-width: 100%;
    height: auto;
}

.data ul,
.data ol,
.data p {
    margin-top: 0rem;
}

hr {
    width: 100%;
    align-self: flex-end;
    border: 0;
    border-top: 2px solid black;

}

/* 清楚浏览器对 p 标签的默认外边框距离 */
.data p {
    margin: 0;
}

/* 厅内展示图片样式*/
.ting-show>li {
    margin-left: 3rem;
}

.ting-show {
    padding: 0;
    margin: 0;
    justify-content: center;
}

.data span{
    color:red;
}
/*
=======================最右侧 额外信息=========================
*/
.additional-information {
    background-color: rgb(255, 255, 255,0.7);
    display: flex;
    margin-left: 10px;
    margin-right: 10rem;
    border-radius: 10px;
    padding: 10px 20px 10px 20px;
    min-width: 15%;
    min-height: 88dvh;
    max-height: 88dvh;
    box-shadow: 0px 2px 8px black;
}

@media (max-width:70rem) {
    .additional-information {
        display: none;
    }

}


/*
======================点击图片出现大图的 CSS 调整=================
*/
.lb-overlay,
.lb-outerContainer,
.lb-container {
    position: fixed !important;
    /* z-index: 9999 !important; 确保在最顶层 */
}

.lb-outerContainer {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    /* 完美居中 */
}