/* 默认样式适用于电脑端 */
.item {
    position: relative;
    float: right;
    margin-right: 20px;
    margin-bottom: 34px;
}

h1 {
    margin: 0;
    font-size: 40px;
    margin-top: 24px;
}

body {
    font-family: 'Bree Serif', serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll; /* 始终显示垂直滚动条 */
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;/*1500*/
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 100px;
}

.dropbtn {
    background-color: transparent;
    color: black;
    font-size: 30px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, +28%);
}

.dropdown-content .flex-container {
    display: flex;
    flex-direction: row;
    padding: 0;
    align-items: center;
}
.dropdown-content a{
    padding: 8px 16px;
}
a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: transparent;
    border: none;
    white-space: nowrap;
}

.dropdown-content a:hover {
    color: green;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.green {
    color: green;
}
.spanarrow{
    font-size: 24px;
}

img {
    width: 100%;
    height: auto;
    display: block;
}
.image-container {
    position: relative;
    margin-top: 30px; /* 保持距离为30px */
}

.imglogo {
    position: relative;
    width: 80px;
    height: auto;
    margin-right: 10px;
    margin-left: 20px;
    margin-top: 20px;
}

.imglogobottom {
    position: relative;
    margin-top: 6px;
    width: 80px;
    height: auto;
}
.body-container{
    display: flex;
    flex-direction: row;
}

.content-bottom {
    display: flex;
    flex-direction: row; /* 将内容水平排布 */
    align-items: flex-start; /* 垂直对齐顶部 */
}

.videobox {
    margin-top: 30px; /* 保持与内容上方的距离 */
    width: 100%;
    margin-left: 40px;
    margin-right: 40px;
}

video {
    width: 80%; /* 视频宽度占满父容器 */
    height: auto; /* 保持宽高比 */
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start; /* 修改为flex-start以使子项在列表标题下方 */
    margin-top: 190px;
    margin-left: auto;
    margin-right: 40px; /* 根据需要调整此边距 */
    position: relative; /* 添加相对定位，以便后续绝对定位的使用 */
}

.column {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-left: 20px; /* 根据需要调整此边距 */
}

.list-title {
    font-size: 20px; /* 根据需要调整此字体大小 */
    margin-right: 100px;
}

.sub-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* 列表项垂直排列 */
    margin-left: 14px;

}

.sub-list li {
    font-size: 14px;
    margin-bottom: 4px; /* 根据需要调整此边距 */
    margin-top: 6px;
}

.pdiv{
    margin-top: 68px;
}
.pdiv p {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 0.5; /* 设置行距为1.5倍行高，可以根据需要调整 */
    color: grey;
    font-size: 14px;
}

.line {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1px;
    margin-top: 10px;
    border-left: 1px  solid black; /* 使用border属性来绘制细线 */
    height: 46px;
}
/* 添加手机端适配样式 */

@media only screen and (max-width: 600px) {
    /* 在屏幕宽度小于等于600px时应用以下样式 */
    /*基本框架代码*/
    .item {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 24px;
        margin-top: 12px;
    }

    body {
        overflow-x: visible;
        overflow-y: scroll; /* 始终显示垂直滚动条 */
    }

    .dropdown {
        margin-right: 0px;
    }

    .dropbtn {
        margin-left: 10px;
        font-size: 20px;
    }
    .spanarrow{
        font-size: 20px;
    }
    .dropdown-content {
        min-width: 120px;
        transform: translate(-30%, 10%);
        font-size: 12px;
    }

    .dropdown-content .flex-container {
        flex-direction: row;
        justify-content: space-between;  /* 在水平方向上平均分布子元素 */
    }
    .dropdown-content a {
        padding: 8px 10px;  /* 调整下拉项的内边距 */
    }
    .imglogo {
        width: 60px;
        margin-top: 10px;
    }
    .image-container {
        margin-top: 6px; /* 保持距离为30px */
    }

    .imglogobottom {
        width: 50%; /* 相对宽度，按比例缩小 */
        max-width: 50px; /* 设置最大宽度，防止过度缩小 */
        margin-top: 4px;
    }

    .container {
        flex-direction: row;
        align-items: flex-start;
        margin-top: 20px;
        margin-right: 20px;
    }

    .column {
        flex-direction: row;
        margin-top:6px;
        margin-left: -20px;
    }

    .list-title {
        margin-right: 6px;
        font-size: 16px;
    }

    .sub-list {
        margin-left: 4px;
    }

    .sub-list li {
        font-size: 10px;
        margin-bottom: 2px; /* 调整边距 */
        margin-top: 2px; /* 调整边距 */
    }

    .pdiv {
        margin-top: 20px; /* 调整上边距 */
    }

    .pdiv p {
        margin-top: 0;
        line-height: 0.5;
        font-size: 8px;
    }

    .line {
        margin-top: 8px; /* 调整上边距 */
        height: 26px; /* 调整线的高度 */
    }
    .content-bottom,
    .videobox {
        margin: 0;
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }

    video {
        width: 100%; /* 视频宽度占满父容器 */
        height: auto; /* 保持宽高比 */
    }
}